@nx/workspace 20.3.0-canary.20241212-0d1c960 → 20.3.0-canary.20241213-0d6667d
Sign up to get free protection for your applications and to get access to all the features.
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@nx/workspace",
|
3
|
-
"version": "20.3.0-canary.
|
3
|
+
"version": "20.3.0-canary.20241213-0d6667d",
|
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": "20.3.0-canary.
|
41
|
+
"@nx/devkit": "20.3.0-canary.20241213-0d6667d",
|
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": "20.3.0-canary.
|
46
|
+
"nx": "20.3.0-canary.20241213-0d6667d"
|
47
47
|
},
|
48
48
|
"publishConfig": {
|
49
49
|
"access": "public"
|
@@ -330,7 +330,11 @@ function setUpWorkspacesInPackageJson(tree, options) {
|
|
330
330
|
options.preset === presets_1.Preset.NextJs ||
|
331
331
|
options.preset === presets_1.Preset.ReactMonorepo ||
|
332
332
|
options.preset === presets_1.Preset.ReactNative ||
|
333
|
-
options.preset === presets_1.Preset.RemixMonorepo
|
333
|
+
options.preset === presets_1.Preset.RemixMonorepo ||
|
334
|
+
options.preset === presets_1.Preset.VueMonorepo ||
|
335
|
+
options.preset === presets_1.Preset.Nuxt ||
|
336
|
+
options.preset === presets_1.Preset.NodeMonorepo ||
|
337
|
+
options.preset === presets_1.Preset.Express) &&
|
334
338
|
options.workspaces)) {
|
335
339
|
const workspaces = options.workspaceGlobs ?? ['packages/**'];
|
336
340
|
if (options.packageManager === 'pnpm') {
|
@@ -129,6 +129,8 @@ async function createPreset(tree, options) {
|
|
129
129
|
e2eTestRunner: options.e2eTestRunner ?? 'playwright',
|
130
130
|
addPlugin,
|
131
131
|
nxCloudToken: options.nxCloudToken,
|
132
|
+
useTsSolution: options.workspaces,
|
133
|
+
formatter: options.formatter,
|
132
134
|
});
|
133
135
|
}
|
134
136
|
else if (options.preset === presets_1.Preset.VueStandalone) {
|
@@ -157,6 +159,8 @@ async function createPreset(tree, options) {
|
|
157
159
|
e2eTestRunner: options.e2eTestRunner ?? 'playwright',
|
158
160
|
addPlugin,
|
159
161
|
nxCloudToken: options.nxCloudToken,
|
162
|
+
useTsSolution: options.workspaces,
|
163
|
+
formatter: options.formatter,
|
160
164
|
});
|
161
165
|
}
|
162
166
|
else if (options.preset === presets_1.Preset.NuxtStandalone) {
|
@@ -229,6 +233,8 @@ async function createPreset(tree, options) {
|
|
229
233
|
linter: options.linter,
|
230
234
|
e2eTestRunner: options.e2eTestRunner ?? 'jest',
|
231
235
|
addPlugin,
|
236
|
+
useTsSolution: options.workspaces,
|
237
|
+
formatter: options.formatter,
|
232
238
|
});
|
233
239
|
}
|
234
240
|
else if (options.preset === presets_1.Preset.Express) {
|
@@ -239,6 +245,8 @@ async function createPreset(tree, options) {
|
|
239
245
|
linter: options.linter,
|
240
246
|
e2eTestRunner: options.e2eTestRunner ?? 'jest',
|
241
247
|
addPlugin,
|
248
|
+
useTsSolution: options.workspaces,
|
249
|
+
formatter: options.formatter,
|
242
250
|
});
|
243
251
|
}
|
244
252
|
else if (options.preset === presets_1.Preset.ReactNative) {
|
@@ -321,6 +329,8 @@ async function createPreset(tree, options) {
|
|
321
329
|
rootProject: false,
|
322
330
|
e2eTestRunner: options.e2eTestRunner ?? 'jest',
|
323
331
|
addPlugin,
|
332
|
+
useTsSolution: options.workspaces,
|
333
|
+
formatter: options.formatter,
|
324
334
|
});
|
325
335
|
}
|
326
336
|
else {
|