nx 19.0.0-beta.2 → 19.0.0-beta.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +12 -12
- package/src/command-line/init/implementation/react/index.js +1 -1
- package/src/core/graph/main.js +1 -1
- package/src/executors/run-commands/run-commands.impl.d.ts +1 -0
- package/src/executors/run-commands/run-commands.impl.js +2 -1
- package/src/executors/run-commands/schema.json +5 -0
@@ -39,6 +39,7 @@ const propKeys = [
|
|
39
39
|
'usePty',
|
40
40
|
'streamOutput',
|
41
41
|
'verbose',
|
42
|
+
'forwardAllArgs',
|
42
43
|
];
|
43
44
|
async function default_1(options, context) {
|
44
45
|
registerProcessListener();
|
@@ -135,7 +136,7 @@ function normalizeOptions(options) {
|
|
135
136
|
options.parsedArgs = parseArgs(unparsedCommandArgs, options.unknownOptions, options.args);
|
136
137
|
options.unparsedCommandArgs = unparsedCommandArgs;
|
137
138
|
options.commands.forEach((c) => {
|
138
|
-
c.command = interpolateArgsIntoCommand(c.command, options, c.forwardAllArgs ?? true);
|
139
|
+
c.command = interpolateArgsIntoCommand(c.command, options, c.forwardAllArgs ?? options.forwardAllArgs ?? true);
|
139
140
|
});
|
140
141
|
return options;
|
141
142
|
}
|
@@ -135,6 +135,11 @@
|
|
135
135
|
"$source": "unparsed"
|
136
136
|
},
|
137
137
|
"x-priority": "internal"
|
138
|
+
},
|
139
|
+
"forwardAllArgs": {
|
140
|
+
"type": "boolean",
|
141
|
+
"description": "Whether arguments should be forwarded when interpolation is not present.",
|
142
|
+
"default": true
|
138
143
|
}
|
139
144
|
},
|
140
145
|
"additionalProperties": true,
|