@nx/workspace 22.3.0-canary.20251215-e864b6a → 22.3.0-canary.20251217-6323dba

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": "22.3.0-canary.20251215-e864b6a",
3
+ "version": "22.3.0-canary.20251217-6323dba",
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,7 +38,7 @@
38
38
  }
39
39
  },
40
40
  "dependencies": {
41
- "@nx/devkit": "22.3.0-canary.20251215-e864b6a",
41
+ "@nx/devkit": "22.3.0-canary.20251217-6323dba",
42
42
  "@zkochan/js-yaml": "0.0.7",
43
43
  "chalk": "^4.1.0",
44
44
  "enquirer": "~2.3.6",
@@ -46,10 +46,10 @@
46
46
  "semver": "^7.6.3",
47
47
  "tslib": "^2.3.0",
48
48
  "yargs-parser": "21.1.1",
49
- "nx": "22.3.0-canary.20251215-e864b6a"
49
+ "nx": "22.3.0-canary.20251217-6323dba"
50
50
  },
51
51
  "devDependencies": {
52
- "nx": "22.3.0-canary.20251215-e864b6a"
52
+ "nx": "22.3.0-canary.20251217-6323dba"
53
53
  },
54
54
  "publishConfig": {
55
55
  "access": "public"
@@ -22,7 +22,7 @@ jobs:
22
22
  vmImage: 'ubuntu-latest'
23
23
  steps:
24
24
  - checkout: self
25
- fetchDepth: 0
25
+ fetchDepth: '0'
26
26
  fetchFilter: tree:0<% if(!useRunMany){ %>
27
27
  # Set Azure Devops CLI default settings
28
28
  - bash: az devops configure --defaults organization=$(System.TeamFoundationCollectionUri) project=$(System.TeamProject)
@@ -1 +1 @@
1
- {"version":3,"file":"extract-base-configs.d.ts","sourceRoot":"","sources":["../../../../../../../packages/workspace/src/generators/move/lib/extract-base-configs.ts"],"names":[],"mappings":"AAAA,OAAO,EAGL,oBAAoB,EACpB,IAAI,EACL,MAAM,YAAY,CAAC;AAGpB,wBAAgB,wBAAwB,CAAC,IAAI,EAAE,IAAI,GAAG,IAAI,CASzD;AAED,wBAAsB,0BAA0B,CAAC,IAAI,EAAE,IAAI,GAAG,OAAO,CAAC,IAAI,CAAC,CAS1E;AAED,wBAAgB,qCAAqC,CACnD,IAAI,EAAE,IAAI,EACV,WAAW,EAAE,oBAAoB,GAChC,IAAI,CAaN"}
1
+ {"version":3,"file":"extract-base-configs.d.ts","sourceRoot":"","sources":["../../../../../../../packages/workspace/src/generators/move/lib/extract-base-configs.ts"],"names":[],"mappings":"AAAA,OAAO,EAGL,oBAAoB,EACpB,IAAI,EACL,MAAM,YAAY,CAAC;AAGpB,wBAAgB,wBAAwB,CAAC,IAAI,EAAE,IAAI,GAAG,IAAI,CASzD;AAED,wBAAsB,0BAA0B,CAAC,IAAI,EAAE,IAAI,GAAG,OAAO,CAAC,IAAI,CAAC,CAS1E;AAED,wBAAgB,qCAAqC,CACnD,IAAI,EAAE,IAAI,EACV,WAAW,EAAE,oBAAoB,GAChC,IAAI,CAcN"}
@@ -30,8 +30,7 @@ async function maybeExtractJestConfigBase(tree) {
30
30
  function maybeMigrateEslintConfigIfRootProject(tree, rootProject) {
31
31
  let migrateConfigToMonorepoStyle;
32
32
  try {
33
- migrateConfigToMonorepoStyle = require('@nx/' +
34
- 'eslint/src/generators/init/init-migration').migrateConfigToMonorepoStyle;
33
+ migrateConfigToMonorepoStyle = require('@nx/' + 'eslint/src/generators/init/init-migration').migrateConfigToMonorepoStyle;
35
34
  }
36
35
  catch {
37
36
  // eslint not installed
@@ -21,7 +21,7 @@ async function createPreset(tree, options) {
21
21
  return;
22
22
  }
23
23
  else if (options.preset === presets_1.Preset.AngularMonorepo) {
24
- const { applicationGenerator: angularApplicationGenerator, } = require('@nx' + '/angular/generators');
24
+ const { applicationGenerator: angularApplicationGenerator } = require('@nx' + '/angular/generators');
25
25
  if (options.bundler &&
26
26
  !['webpack', 'rspack', 'esbuild'].includes(options.bundler)) {
27
27
  throw new Error(`Invalid bundler: ${options.bundler}. Please use one of the following: 'esbuild', 'webpack', 'rspack'.`);
@@ -43,7 +43,7 @@ async function createPreset(tree, options) {
43
43
  });
44
44
  }
45
45
  else if (options.preset === presets_1.Preset.AngularStandalone) {
46
- const { applicationGenerator: angularApplicationGenerator, } = require('@nx' + '/angular/generators');
46
+ const { applicationGenerator: angularApplicationGenerator } = require('@nx' + '/angular/generators');
47
47
  if (options.bundler &&
48
48
  !['webpack', 'rspack', 'esbuild'].includes(options.bundler)) {
49
49
  throw new Error(`Invalid bundler: ${options.bundler}. Please use one of the following: 'esbuild', 'webpack', 'rspack'.`);
@@ -66,8 +66,7 @@ async function createPreset(tree, options) {
66
66
  });
67
67
  }
68
68
  else if (options.preset === presets_1.Preset.ReactMonorepo) {
69
- const { applicationGenerator: reactApplicationGenerator } = require('@nx' +
70
- '/react');
69
+ const { applicationGenerator: reactApplicationGenerator } = require('@nx' + '/react');
71
70
  return reactApplicationGenerator(tree, {
72
71
  name: options.workspaces ? undefined : options.name,
73
72
  directory: (0, path_1.join)('apps', options.name),
@@ -87,8 +86,7 @@ async function createPreset(tree, options) {
87
86
  });
88
87
  }
89
88
  else if (options.preset === presets_1.Preset.ReactStandalone) {
90
- const { applicationGenerator: reactApplicationGenerator } = require('@nx' +
91
- '/react');
89
+ const { applicationGenerator: reactApplicationGenerator } = require('@nx' + '/react');
92
90
  const bundler = options.bundler ?? 'vite';
93
91
  return reactApplicationGenerator(tree, {
94
92
  name: options.name,
@@ -107,8 +105,7 @@ async function createPreset(tree, options) {
107
105
  });
108
106
  }
109
107
  else if (options.preset === presets_1.Preset.VueMonorepo) {
110
- const { applicationGenerator: vueApplicationGenerator } = require('@nx' +
111
- '/vue');
108
+ const { applicationGenerator: vueApplicationGenerator } = require('@nx' + '/vue');
112
109
  return vueApplicationGenerator(tree, {
113
110
  name: options.workspaces ? undefined : options.name,
114
111
  directory: (0, path_1.join)('apps', options.name),
@@ -124,8 +121,7 @@ async function createPreset(tree, options) {
124
121
  });
125
122
  }
126
123
  else if (options.preset === presets_1.Preset.VueStandalone) {
127
- const { applicationGenerator: vueApplicationGenerator } = require('@nx' +
128
- '/vue');
124
+ const { applicationGenerator: vueApplicationGenerator } = require('@nx' + '/vue');
129
125
  return vueApplicationGenerator(tree, {
130
126
  name: options.name,
131
127
  directory: '.',
@@ -139,8 +135,7 @@ async function createPreset(tree, options) {
139
135
  });
140
136
  }
141
137
  else if (options.preset === presets_1.Preset.Nuxt) {
142
- const { applicationGenerator: nuxtApplicationGenerator } = require('@nx' +
143
- '/nuxt');
138
+ const { applicationGenerator: nuxtApplicationGenerator } = require('@nx' + '/nuxt');
144
139
  return nuxtApplicationGenerator(tree, {
145
140
  name: options.workspaces ? undefined : options.name,
146
141
  directory: (0, path_1.join)('apps', options.name),
@@ -156,8 +151,7 @@ async function createPreset(tree, options) {
156
151
  });
157
152
  }
158
153
  else if (options.preset === presets_1.Preset.NuxtStandalone) {
159
- const { applicationGenerator: nuxtApplicationGenerator } = require('@nx' +
160
- '/nuxt');
154
+ const { applicationGenerator: nuxtApplicationGenerator } = require('@nx' + '/nuxt');
161
155
  return nuxtApplicationGenerator(tree, {
162
156
  name: options.name,
163
157
  directory: '.',
@@ -171,8 +165,7 @@ async function createPreset(tree, options) {
171
165
  });
172
166
  }
173
167
  else if (options.preset === presets_1.Preset.NextJs) {
174
- const { applicationGenerator: nextApplicationGenerator } = require('@nx' +
175
- '/next');
168
+ const { applicationGenerator: nextApplicationGenerator } = require('@nx' + '/next');
176
169
  return nextApplicationGenerator(tree, {
177
170
  name: options.workspaces ? undefined : options.name,
178
171
  directory: (0, path_1.join)('apps', options.name),
@@ -189,8 +182,7 @@ async function createPreset(tree, options) {
189
182
  });
190
183
  }
191
184
  else if (options.preset === presets_1.Preset.NextJsStandalone) {
192
- const { applicationGenerator: nextApplicationGenerator } = require('@nx' +
193
- '/next');
185
+ const { applicationGenerator: nextApplicationGenerator } = require('@nx' + '/next');
194
186
  return nextApplicationGenerator(tree, {
195
187
  name: options.name,
196
188
  directory: '.',
@@ -206,8 +198,7 @@ async function createPreset(tree, options) {
206
198
  });
207
199
  }
208
200
  else if (options.preset === presets_1.Preset.WebComponents) {
209
- const { applicationGenerator: webApplicationGenerator } = require('@nx' +
210
- '/web');
201
+ const { applicationGenerator: webApplicationGenerator } = require('@nx' + '/web');
211
202
  return webApplicationGenerator(tree, {
212
203
  name: options.workspaces ? undefined : options.name,
213
204
  directory: (0, path_1.join)('apps', options.name),
@@ -220,8 +211,7 @@ async function createPreset(tree, options) {
220
211
  });
221
212
  }
222
213
  else if (options.preset === presets_1.Preset.Nest) {
223
- const { applicationGenerator: nestApplicationGenerator } = require('@nx' +
224
- '/nest');
214
+ const { applicationGenerator: nestApplicationGenerator } = require('@nx' + '/nest');
225
215
  return nestApplicationGenerator(tree, {
226
216
  name: options.workspaces ? undefined : options.name,
227
217
  directory: (0, path_1.join)('apps', options.name),
@@ -235,7 +225,7 @@ async function createPreset(tree, options) {
235
225
  });
236
226
  }
237
227
  else if (options.preset === presets_1.Preset.Express) {
238
- const { applicationGenerator: expressApplicationGenerator, } = require('@nx' + '/express');
228
+ const { applicationGenerator: expressApplicationGenerator } = require('@nx' + '/express');
239
229
  return expressApplicationGenerator(tree, {
240
230
  name: options.workspaces ? undefined : options.name,
241
231
  directory: (0, path_1.join)('apps', options.name),
@@ -249,8 +239,7 @@ async function createPreset(tree, options) {
249
239
  });
250
240
  }
251
241
  else if (options.preset === presets_1.Preset.ReactNative) {
252
- const { reactNativeApplicationGenerator } = require('@nx' +
253
- '/react-native');
242
+ const { reactNativeApplicationGenerator } = require('@nx' + '/react-native');
254
243
  return reactNativeApplicationGenerator(tree, {
255
244
  name: options.workspaces ? undefined : options.name,
256
245
  directory: (0, path_1.join)('apps', options.name),
@@ -301,8 +290,7 @@ async function createPreset(tree, options) {
301
290
  });
302
291
  }
303
292
  else if (options.preset === presets_1.Preset.NodeStandalone) {
304
- const { applicationGenerator: nodeApplicationGenerator } = require('@nx' +
305
- '/node');
293
+ const { applicationGenerator: nodeApplicationGenerator } = require('@nx' + '/node');
306
294
  const bundler = options.bundler === 'webpack' ? 'webpack' : 'esbuild';
307
295
  return nodeApplicationGenerator(tree, {
308
296
  bundler,
@@ -319,8 +307,7 @@ async function createPreset(tree, options) {
319
307
  });
320
308
  }
321
309
  else if (options.preset === presets_1.Preset.NodeMonorepo) {
322
- const { applicationGenerator: nodeApplicationGenerator } = require('@nx' +
323
- '/node');
310
+ const { applicationGenerator: nodeApplicationGenerator } = require('@nx' + '/node');
324
311
  const bundler = options.bundler === 'webpack' ? 'webpack' : 'esbuild';
325
312
  return nodeApplicationGenerator(tree, {
326
313
  bundler,