Skip to content

Commit 423aa49

Browse files
committed
fix(scripts): postinstall adjustment and cleanup
1 parent 46c718d commit 423aa49

File tree

19 files changed

+232
-27
lines changed

19 files changed

+232
-27
lines changed

package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@nstudio/xplat-source",
3-
"version": "8.0.0",
3+
"version": "8.0.1",
44
"description": "Cross-platform (xplat) tools for Nx workspaces.",
55
"homepage": "https://nstudio.io/xplat",
66
"private": true,
@@ -23,6 +23,7 @@
2323
"documentation": "./scripts/documentation/documentation.sh && yarn format && ./scripts/documentation/check-documentation.sh",
2424
"debug": "node --debug-brk ./node_modules/@angular/cli/bin/ng g command",
2525
"publish-local": "./scripts/publish_local.sh",
26+
"publish-npm": "./scripts/publish.sh",
2627
"changelog": "conventional-changelog -p angular -i CHANGELOG.md -s",
2728
"reset.changelog": "conventional-changelog -p angular -i CHANGELOG.md -s -r 0",
2829
"contributors": "githubcontrib --owner nstudio --repo $(basename $(pwd)) --cols 6 --showlogin true --filter gitter-badger --sortOrder desc | pbcopy"

packages/angular/src/schematics/application/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ export default function(options: Schema) {
3838
missingArgument(
3939
'name',
4040
'Provide a name for your app.',
41-
'ng g @nstudio/angular:app my-app'
41+
'nx g @nstudio/angular:app my-app'
4242
)
4343
);
4444
}

packages/angular/src/schematics/elements/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ let componentSymbolList: string;
3636
let htmlElements: string;
3737
export default function(options: ElementsOptions) {
3838
if (!options.builderModule) {
39-
const example = `ng g @nstudio/angular:elements menu --barrel=@mycompany/ui --components=menu,footer`;
39+
const example = `nx g @nstudio/angular:elements menu --barrel=@mycompany/ui --components=menu,footer`;
4040
if (!options.name) {
4141
throw new SchematicsException(
4242
missingArgument(

packages/angular/src/schematics/helpers/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ export default function(options: IHelperSchema) {
1717
missingArgument(
1818
'name',
1919
'Provide the name of the helper to generate.',
20-
'ng g @nstudio/angular:helpers applitools --target=web-myapp'
20+
'nx g @nstudio/angular:helpers applitools --target=web-myapp'
2121
)
2222
);
2323
}

packages/angular/src/schematics/helpers/schema.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
},
1616
"target": {
1717
"type": "string",
18-
"description": "Some helpers support targeting to generate the helper for a specific target. ie: ng g @nstudio/angular:helpers applitools --target=web-myapp"
18+
"description": "Some helpers support targeting to generate the helper for a specific target. ie: nx g @nstudio/angular:helpers applitools --target=web-myapp"
1919
}
2020
},
2121
"required": []

packages/electron-angular/src/schematics/application/index.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ export default function(options: XplatElectrontHelpers.SchemaApp) {
4444
missingArgument(
4545
'name',
4646
'Provide a name for your Electron app.',
47-
'ng g @nstudio/electron-angular:app name'
47+
'nx g @nstudio/electron-angular:app name'
4848
)
4949
);
5050
}
@@ -53,7 +53,7 @@ export default function(options: XplatElectrontHelpers.SchemaApp) {
5353
missingArgument(
5454
'target',
5555
'Provide the name of the web app in your workspace to use inside the electron app.',
56-
'ng g @nstudio/electron-angular:app name --target web-myapp'
56+
'nx g @nstudio/electron-angular:app name --target web-myapp'
5757
)
5858
);
5959
}

packages/electron/src/schematics/application/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ export default function(options: XplatElectrontHelpers.SchemaApp) {
4343
missingArgument(
4444
'name',
4545
'Provide a name for your Electron app.',
46-
'ng g @nstudio/electron:app name'
46+
'nx g @nstudio/electron:app name'
4747
)
4848
);
4949
}

packages/ionic-angular/src/schematics/application/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ export default function(options: ApplicationOptions) {
3737
missingArgument(
3838
'name',
3939
'Provide a name for your Ionic app.',
40-
'ng g @nstudio/ionic-angular:app name'
40+
'nx g @nstudio/ionic-angular:app name'
4141
)
4242
);
4343
}

packages/ionic/src/schematics/application/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ export default function(options: Schema) {
3232
missingArgument(
3333
'name',
3434
'Provide a name for your Ionic app.',
35-
'ng g @nstudio/ionic:app name'
35+
'nx g @nstudio/ionic:app name'
3636
)
3737
);
3838
}

packages/nativescript-angular/src/schematics/application/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ export default function(options: Schema) {
3838
missingArgument(
3939
'name',
4040
'Provide a name for your NativeScript app.',
41-
'ng g @nstudio/nativescript-angular:app name'
41+
'nx g @nstudio/nativescript-angular:app name'
4242
)
4343
);
4444
}

0 commit comments

Comments
 (0)