Skip to content

Commit 7e8a836

Browse files
committed
chore: update deps
BREAKING CHANGE: Requires Node >= 12
1 parent c9c7b53 commit 7e8a836

File tree

4 files changed

+12792
-24200
lines changed

4 files changed

+12792
-24200
lines changed

.github/workflows/ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ jobs:
1212
strategy:
1313
matrix:
1414
platform: [ubuntu-latest, macos-latest, windows-latest]
15-
node-version: ['10', '>=14']
15+
node-version: ['12', '>=14']
1616

1717
name: ${{ matrix.platform }} / Node.js v${{ matrix.node-version }}
1818
runs-on: ${{ matrix.platform }}

index.js

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -175,18 +175,19 @@ class NgxScriptsCli {
175175
};
176176

177177
if (!options.fast) {
178-
const buildOptions = ['run', 'build'].concat(
179-
options.yarn ? [] : ['-s', '--']
180-
);
178+
const buildOptions = [
179+
'run',
180+
'build',
181+
...(options.yarn ? [] : ['-s', '--'])
182+
];
181183
buildOptions.push(`--base-href=${options['base-href']}`);
182184

183185
if (options.dev) {
184186
buildOptions.push('--prod=false');
185187
}
186188

187189
if (options.configuration) {
188-
buildOptions.push('--configuration');
189-
buildOptions.push(options.configuration);
190+
buildOptions.push('--configuration', options.configuration);
190191
}
191192

192193
if (options.app) {

0 commit comments

Comments
 (0)