Skip to content

Commit 6fc953a

Browse files
committed
remove standalone flag, account for routing flag in subapp
1 parent 886203b commit 6fc953a

2 files changed

Lines changed: 6 additions & 5 deletions

File tree

README.md

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,12 +22,11 @@ The branch names reveal which options were used to generate them. The options ar
2222
- **-noApp:** scaffolds the project with `--createApplication=flase`
2323
- **-pwa:** includes configuration for the app to be a progressive web app, added with `ng add @angular/pwa`
2424
- **-route:** includes configuration for routing, added with the `--routing=true` flag when generating the original project
25-
- **-standalone:** scaffolds the project with the `--standalone` flag
2625
- **-subApp:** includes an application project, added with `ng generate application the-application`
2726
- **-worker:** includes a web worker, added with `ng generate web-worker app`
2827

2928
## Generating new diffs
3029

3130
1. Start from `master`
3231
1. Ensure you have opted out analytics by running `ng analytics off`
33-
1. `npm run gen -- X.X.X [-eslint] [-fire] [-lib] [-mat] [-noApp] [-pwa] [-route] [-standalone] [-subApp] [-worker]`
32+
1. `npm run gen -- X.X.X [-eslint] [-fire] [-lib] [-mat] [-noApp] [-pwa] [-route] [-subApp] [-worker]`

generate-version.ts

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -19,8 +19,8 @@ runAndCommit(`npm install --save-dev @angular/cli@${version}`, {});
1919
runAndCommit(
2020
`npx ng new ${projectName} --create-application=${!flags.has(
2121
"-noApp"
22-
)} --routing=${flags.has("-route")} --standalone=${flags.has(
23-
"-standalone"
22+
)} --routing=${flags.has(
23+
"-route"
2424
)} --skip-install --interactive=false --style=scss`,
2525
{}
2626
);
@@ -37,7 +37,9 @@ if (flags.has("-eslint")) {
3737
}
3838
if (flags.has("-subApp")) {
3939
runAndCommit(
40-
`npx ng generate application ${applicationName} --skip-install --interactive=false`
40+
`npx ng generate application ${applicationName} --routing=${flags.has(
41+
"-route"
42+
)} --skip-install --interactive=false`
4143
);
4244
}
4345
if (flags.has("-lib")) {

0 commit comments

Comments
 (0)