@bafsllc/nx-serverless
Advanced tools
Comparing version 0.0.6 to 0.0.7
{ | ||
"name": "@bafsllc/nx-serverless", | ||
"version": "0.0.6", | ||
"version": "0.0.7", | ||
"main": "src/index.js", | ||
@@ -5,0 +5,0 @@ "schematics": "./collection.json", |
@@ -37,2 +37,4 @@ import { BuilderContext, BuilderOutput } from "@angular-devkit/architect"; | ||
readyWhen: string; | ||
debugPort?: number; | ||
debugHost?: number; | ||
} | ||
@@ -39,0 +41,0 @@ declare const _default: import("@angular-devkit/architect/src/internal").Builder<ServerlessExecuteBuilderOptions & JsonObject>; |
@@ -69,7 +69,7 @@ "use strict"; | ||
const args = []; | ||
if (options.inspect === true) { | ||
options.inspect = "inspect" /* Inspect */; | ||
} | ||
if (options.inspect) { | ||
args.push(`--${options.inspect}=${options.host}:${options.port}`); | ||
args.push(`--inspect=${options.debugHost}:${options.debugPort}`); | ||
delete options.inspect; | ||
delete options.debugHost; | ||
delete options.debugPort; | ||
} | ||
@@ -76,0 +76,0 @@ args.push("offline"); |
@@ -55,2 +55,4 @@ import { | ||
readyWhen: string; | ||
debugPort?: number; | ||
debugHost?: number; | ||
} | ||
@@ -140,8 +142,8 @@ | ||
const args = []; | ||
if (options.inspect === true) { | ||
options.inspect = InspectType.Inspect; | ||
} | ||
if (options.inspect) { | ||
args.push(`--${options.inspect}=${options.host}:${options.port}`); | ||
args.push(`--inspect=${options.debugHost}:${options.debugPort}`); | ||
delete options.inspect; | ||
delete options.debugHost; | ||
delete options.debugPort; | ||
} | ||
@@ -148,0 +150,0 @@ args.push("offline"); |
@@ -26,7 +26,8 @@ { | ||
}, | ||
"host": { | ||
"debugHost": { | ||
"type": "string", | ||
"default": "localhost", | ||
"description": "The host to inspect the process on" | ||
}, | ||
"port": { | ||
"debugPort": { | ||
"type": "number", | ||
@@ -36,2 +37,6 @@ "default": "9229", | ||
}, | ||
"port": { | ||
"type": "number", | ||
"description": "The port for serverless offline to listen on for HTTP requests." | ||
}, | ||
"sourceMap": { | ||
@@ -38,0 +43,0 @@ "type": "boolean", |
Sorry, the diff of this file is not supported yet
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
233588
4081
4