@nx/workspace 0.0.0-pr-28808-ca32248 → 0.0.0-pr-28808-bceb02f
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
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@nx/workspace",
|
|
3
|
-
"version": "0.0.0-pr-28808-
|
|
3
|
+
"version": "0.0.0-pr-28808-bceb02f",
|
|
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": {
|
|
@@ -38,12 +38,12 @@
|
|
|
38
38
|
}
|
|
39
39
|
},
|
|
40
40
|
"dependencies": {
|
|
41
|
-
"@nx/devkit": "0.0.0-pr-28808-
|
|
41
|
+
"@nx/devkit": "0.0.0-pr-28808-bceb02f",
|
|
42
42
|
"chalk": "^4.1.0",
|
|
43
43
|
"enquirer": "~2.3.6",
|
|
44
44
|
"tslib": "^2.3.0",
|
|
45
45
|
"yargs-parser": "21.1.1",
|
|
46
|
-
"nx": "0.0.0-pr-28808-
|
|
46
|
+
"nx": "0.0.0-pr-28808-bceb02f"
|
|
47
47
|
},
|
|
48
48
|
"publishConfig": {
|
|
49
49
|
"access": "public"
|
|
@@ -18,12 +18,7 @@ async function createPreset(tree, options) {
|
|
|
18
18
|
const addPlugin = process.env.NX_ADD_PLUGINS !== 'false' &&
|
|
19
19
|
nxJson.useInferencePlugins !== false;
|
|
20
20
|
if (options.preset === presets_1.Preset.Apps) {
|
|
21
|
-
|
|
22
|
-
return initGenerator(tree, {
|
|
23
|
-
formatter: options.formatter,
|
|
24
|
-
addTsPlugin: false,
|
|
25
|
-
addTsConfigBase: true,
|
|
26
|
-
});
|
|
21
|
+
return;
|
|
27
22
|
}
|
|
28
23
|
else if (options.preset === presets_1.Preset.AngularMonorepo) {
|
|
29
24
|
const { applicationGenerator: angularApplicationGenerator, } = require('@nx' + '/angular/generators');
|
|
@@ -71,6 +66,7 @@ async function createPreset(tree, options) {
|
|
|
71
66
|
addPlugin,
|
|
72
67
|
nxCloudToken: options.nxCloudToken,
|
|
73
68
|
useTsSolution: true,
|
|
69
|
+
formatter: options.formatter,
|
|
74
70
|
});
|
|
75
71
|
}
|
|
76
72
|
else if (options.preset === presets_1.Preset.ReactStandalone) {
|
|
@@ -87,6 +83,7 @@ async function createPreset(tree, options) {
|
|
|
87
83
|
unitTestRunner: options.bundler === 'vite' ? 'vitest' : 'jest',
|
|
88
84
|
addPlugin,
|
|
89
85
|
nxCloudToken: options.nxCloudToken,
|
|
86
|
+
formatter: options.formatter,
|
|
90
87
|
});
|
|
91
88
|
}
|
|
92
89
|
else if (options.preset === presets_1.Preset.RemixMonorepo) {
|
|
@@ -101,6 +98,7 @@ async function createPreset(tree, options) {
|
|
|
101
98
|
addPlugin,
|
|
102
99
|
nxCloudToken: options.nxCloudToken,
|
|
103
100
|
useTsSolution: true,
|
|
101
|
+
formatter: options.formatter,
|
|
104
102
|
});
|
|
105
103
|
}
|
|
106
104
|
else if (options.preset === presets_1.Preset.RemixStandalone) {
|
|
@@ -115,6 +113,7 @@ async function createPreset(tree, options) {
|
|
|
115
113
|
unitTestRunner: 'vitest',
|
|
116
114
|
addPlugin,
|
|
117
115
|
nxCloudToken: options.nxCloudToken,
|
|
116
|
+
formatter: options.formatter,
|
|
118
117
|
});
|
|
119
118
|
}
|
|
120
119
|
else if (options.preset === presets_1.Preset.VueMonorepo) {
|
|
@@ -186,6 +185,7 @@ async function createPreset(tree, options) {
|
|
|
186
185
|
e2eTestRunner: options.e2eTestRunner ?? 'playwright',
|
|
187
186
|
addPlugin,
|
|
188
187
|
useTsSolution: true,
|
|
188
|
+
formatter: options.formatter,
|
|
189
189
|
});
|
|
190
190
|
}
|
|
191
191
|
else if (options.preset === presets_1.Preset.NextJsStandalone) {
|
|
@@ -201,6 +201,7 @@ async function createPreset(tree, options) {
|
|
|
201
201
|
e2eTestRunner: options.e2eTestRunner ?? 'playwright',
|
|
202
202
|
rootProject: true,
|
|
203
203
|
addPlugin,
|
|
204
|
+
formatter: options.formatter,
|
|
204
205
|
});
|
|
205
206
|
}
|
|
206
207
|
else if (options.preset === presets_1.Preset.WebComponents) {
|
|
@@ -250,6 +251,7 @@ async function createPreset(tree, options) {
|
|
|
250
251
|
nxCloudToken: options.nxCloudToken,
|
|
251
252
|
bundler: options.bundler ?? 'webpack',
|
|
252
253
|
useTsSolution: true,
|
|
254
|
+
formatter: options.formatter,
|
|
253
255
|
});
|
|
254
256
|
}
|
|
255
257
|
else if (options.preset === presets_1.Preset.Expo) {
|
|
@@ -262,6 +264,7 @@ async function createPreset(tree, options) {
|
|
|
262
264
|
addPlugin,
|
|
263
265
|
nxCloudToken: options.nxCloudToken,
|
|
264
266
|
useTsSolution: true,
|
|
267
|
+
formatter: options.formatter,
|
|
265
268
|
});
|
|
266
269
|
}
|
|
267
270
|
else if (options.preset === presets_1.Preset.TS) {
|