@nx/workspace 18.1.0-canary.20240221-abc0cf8 → 18.1.0-canary.20240222-5d6abe4
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 +4 -4
- package/src/generators/new/generate-preset.js +1 -0
- package/src/generators/new/new.d.ts +1 -0
- package/src/generators/new/schema.json +4 -0
- package/src/generators/preset/preset.js +2 -0
- package/src/generators/preset/schema.d.ts +1 -0
- package/src/generators/preset/schema.json +4 -0
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@nx/workspace",
|
|
3
|
-
"version": "18.1.0-canary.
|
|
3
|
+
"version": "18.1.0-canary.20240222-5d6abe4",
|
|
4
4
|
"private": false,
|
|
5
5
|
"description": "The Workspace plugin contains executors and generators that are useful for any Nx workspace. It should be present in every Nx workspace and other plugins build on it.",
|
|
6
6
|
"repository": {
|
|
@@ -61,13 +61,13 @@
|
|
|
61
61
|
}
|
|
62
62
|
},
|
|
63
63
|
"dependencies": {
|
|
64
|
-
"@nx/devkit": "18.1.0-canary.
|
|
64
|
+
"@nx/devkit": "18.1.0-canary.20240222-5d6abe4",
|
|
65
65
|
"chalk": "^4.1.0",
|
|
66
66
|
"enquirer": "~2.3.6",
|
|
67
67
|
"tslib": "^2.3.0",
|
|
68
68
|
"yargs-parser": "21.1.1",
|
|
69
|
-
"nx": "18.1.0-canary.
|
|
70
|
-
"@nrwl/workspace": "18.1.0-canary.
|
|
69
|
+
"nx": "18.1.0-canary.20240222-5d6abe4",
|
|
70
|
+
"@nrwl/workspace": "18.1.0-canary.20240222-5d6abe4"
|
|
71
71
|
},
|
|
72
72
|
"publishConfig": {
|
|
73
73
|
"access": "public"
|
|
@@ -82,6 +82,10 @@
|
|
|
82
82
|
"description": "Enable Server-Side Rendering (SSR) and Static Site Generation (SSG/Prerendering) for the Angular application.",
|
|
83
83
|
"type": "boolean",
|
|
84
84
|
"default": false
|
|
85
|
+
},
|
|
86
|
+
"prefix": {
|
|
87
|
+
"description": "The prefix to use for Angular component and directive selectors.",
|
|
88
|
+
"type": "string"
|
|
85
89
|
}
|
|
86
90
|
},
|
|
87
91
|
"additionalProperties": true
|
|
@@ -33,6 +33,7 @@ async function createPreset(tree, options) {
|
|
|
33
33
|
e2eTestRunner: options.e2eTestRunner ?? 'cypress',
|
|
34
34
|
bundler: options.bundler,
|
|
35
35
|
ssr: options.ssr,
|
|
36
|
+
prefix: options.prefix,
|
|
36
37
|
});
|
|
37
38
|
}
|
|
38
39
|
else if (options.preset === presets_1.Preset.AngularStandalone) {
|
|
@@ -49,6 +50,7 @@ async function createPreset(tree, options) {
|
|
|
49
50
|
e2eTestRunner: options.e2eTestRunner ?? 'cypress',
|
|
50
51
|
bundler: options.bundler,
|
|
51
52
|
ssr: options.ssr,
|
|
53
|
+
prefix: options.prefix,
|
|
52
54
|
});
|
|
53
55
|
}
|
|
54
56
|
else if (options.preset === presets_1.Preset.ReactMonorepo) {
|
|
@@ -99,6 +99,10 @@
|
|
|
99
99
|
"description": "Enable Server-Side Rendering (SSR) and Static Site Generation (SSG/Prerendering) for the Angular application.",
|
|
100
100
|
"type": "boolean",
|
|
101
101
|
"default": false
|
|
102
|
+
},
|
|
103
|
+
"prefix": {
|
|
104
|
+
"description": "The prefix to use for Angular component and directive selectors.",
|
|
105
|
+
"type": "string"
|
|
102
106
|
}
|
|
103
107
|
},
|
|
104
108
|
"required": ["preset", "name"]
|