File tree Expand file tree Collapse file tree 19 files changed +232
-27
lines changed
electron-angular/src/schematics/application
electron/src/schematics/application
ionic-angular/src/schematics/application
ionic/src/schematics/application
nativescript-angular/src/schematics/application
nativescript/src/schematics Expand file tree Collapse file tree 19 files changed +232
-27
lines changed Original file line number Diff line number Diff line change 1
1
{
2
2
"name" : " @nstudio/xplat-source" ,
3
- "version" : " 8.0.0 " ,
3
+ "version" : " 8.0.1 " ,
4
4
"description" : " Cross-platform (xplat) tools for Nx workspaces." ,
5
5
"homepage" : " https://nstudio.io/xplat" ,
6
6
"private" : true ,
23
23
"documentation" : " ./scripts/documentation/documentation.sh && yarn format && ./scripts/documentation/check-documentation.sh" ,
24
24
"debug" : " node --debug-brk ./node_modules/@angular/cli/bin/ng g command" ,
25
25
"publish-local" : " ./scripts/publish_local.sh" ,
26
+ "publish-npm" : " ./scripts/publish.sh" ,
26
27
"changelog" : " conventional-changelog -p angular -i CHANGELOG.md -s" ,
27
28
"reset.changelog" : " conventional-changelog -p angular -i CHANGELOG.md -s -r 0" ,
28
29
"contributors" : " githubcontrib --owner nstudio --repo $(basename $(pwd)) --cols 6 --showlogin true --filter gitter-badger --sortOrder desc | pbcopy"
Original file line number Diff line number Diff line change @@ -38,7 +38,7 @@ export default function(options: Schema) {
38
38
missingArgument (
39
39
'name' ,
40
40
'Provide a name for your app.' ,
41
- 'ng g @nstudio/angular:app my-app'
41
+ 'nx g @nstudio/angular:app my-app'
42
42
)
43
43
) ;
44
44
}
Original file line number Diff line number Diff line change @@ -36,7 +36,7 @@ let componentSymbolList: string;
36
36
let htmlElements : string ;
37
37
export default function ( options : ElementsOptions ) {
38
38
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` ;
40
40
if ( ! options . name ) {
41
41
throw new SchematicsException (
42
42
missingArgument (
Original file line number Diff line number Diff line change @@ -17,7 +17,7 @@ export default function(options: IHelperSchema) {
17
17
missingArgument (
18
18
'name' ,
19
19
'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'
21
21
)
22
22
) ;
23
23
}
Original file line number Diff line number Diff line change 15
15
},
16
16
"target" : {
17
17
"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"
19
19
}
20
20
},
21
21
"required" : []
Original file line number Diff line number Diff line change @@ -44,7 +44,7 @@ export default function(options: XplatElectrontHelpers.SchemaApp) {
44
44
missingArgument (
45
45
'name' ,
46
46
'Provide a name for your Electron app.' ,
47
- 'ng g @nstudio/electron-angular:app name'
47
+ 'nx g @nstudio/electron-angular:app name'
48
48
)
49
49
) ;
50
50
}
@@ -53,7 +53,7 @@ export default function(options: XplatElectrontHelpers.SchemaApp) {
53
53
missingArgument (
54
54
'target' ,
55
55
'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'
57
57
)
58
58
) ;
59
59
}
Original file line number Diff line number Diff line change @@ -43,7 +43,7 @@ export default function(options: XplatElectrontHelpers.SchemaApp) {
43
43
missingArgument (
44
44
'name' ,
45
45
'Provide a name for your Electron app.' ,
46
- 'ng g @nstudio/electron:app name'
46
+ 'nx g @nstudio/electron:app name'
47
47
)
48
48
) ;
49
49
}
Original file line number Diff line number Diff line change @@ -37,7 +37,7 @@ export default function(options: ApplicationOptions) {
37
37
missingArgument (
38
38
'name' ,
39
39
'Provide a name for your Ionic app.' ,
40
- 'ng g @nstudio/ionic-angular:app name'
40
+ 'nx g @nstudio/ionic-angular:app name'
41
41
)
42
42
) ;
43
43
}
Original file line number Diff line number Diff line change @@ -32,7 +32,7 @@ export default function(options: Schema) {
32
32
missingArgument (
33
33
'name' ,
34
34
'Provide a name for your Ionic app.' ,
35
- 'ng g @nstudio/ionic:app name'
35
+ 'nx g @nstudio/ionic:app name'
36
36
)
37
37
) ;
38
38
}
Original file line number Diff line number Diff line change @@ -38,7 +38,7 @@ export default function(options: Schema) {
38
38
missingArgument (
39
39
'name' ,
40
40
'Provide a name for your NativeScript app.' ,
41
- 'ng g @nstudio/nativescript-angular:app name'
41
+ 'nx g @nstudio/nativescript-angular:app name'
42
42
)
43
43
) ;
44
44
}
You can’t perform that action at this time.
0 commit comments