@nx/web 22.1.0-beta.7 → 22.1.0-beta.8

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/web",
3
- "version": "22.1.0-beta.7",
3
+ "version": "22.1.0-beta.8",
4
4
  "private": false,
5
5
  "description": "The Nx Plugin for Web Components contains generators for managing Web Component applications and libraries within an Nx workspace. It provides:\n\n\n- Integration with libraries such as Jest, Playwright, Cypress, and Storybook.\n\n- Scaffolding for creating buildable libraries that can be published to npm.\n\n- Utilities for automatic workspace refactoring.",
6
6
  "repository": {
@@ -35,12 +35,12 @@
35
35
  "http-server": "^14.1.0",
36
36
  "picocolors": "^1.1.0",
37
37
  "tslib": "^2.3.0",
38
- "@nx/devkit": "22.1.0-beta.7",
39
- "@nx/js": "22.1.0-beta.7"
38
+ "@nx/devkit": "22.1.0-beta.8",
39
+ "@nx/js": "22.1.0-beta.8"
40
40
  },
41
41
  "devDependencies": {
42
- "nx": "22.1.0-beta.7",
43
- "@nx/vitest": "22.1.0-beta.7"
42
+ "nx": "22.1.0-beta.8",
43
+ "@nx/vitest": "22.1.0-beta.8"
44
44
  },
45
45
  "publishConfig": {
46
46
  "access": "public"
@@ -1 +1 @@
1
- {"version":3,"file":"application.d.ts","sourceRoot":"","sources":["../../../../../../packages/web/src/generators/application/application.ts"],"names":[],"mappings":"AAAA,OAAO,EAML,iBAAiB,EASjB,IAAI,EAKL,MAAM,YAAY,CAAC;AAkBpB,OAAO,EAAE,MAAM,EAAE,MAAM,UAAU,CAAC;AA2PlC,wBAAsB,oBAAoB,CAAC,IAAI,EAAE,IAAI,EAAE,MAAM,EAAE,MAAM,8BAKpE;AAED,wBAAsB,4BAA4B,CAAC,IAAI,EAAE,IAAI,EAAE,MAAM,EAAE,MAAM,8BAkW5E;AA0DD,eAAe,oBAAoB,CAAC"}
1
+ {"version":3,"file":"application.d.ts","sourceRoot":"","sources":["../../../../../../packages/web/src/generators/application/application.ts"],"names":[],"mappings":"AAAA,OAAO,EAML,iBAAiB,EASjB,IAAI,EAKL,MAAM,YAAY,CAAC;AAkBpB,OAAO,EAAE,MAAM,EAAE,MAAM,UAAU,CAAC;AA2PlC,wBAAsB,oBAAoB,CAAC,IAAI,EAAE,IAAI,EAAE,MAAM,EAAE,MAAM,8BAKpE;AAED,wBAAsB,4BAA4B,CAAC,IAAI,EAAE,IAAI,EAAE,MAAM,EAAE,MAAM,8BAiW5E;AA0DD,eAAe,oBAAoB,CAAC"}
@@ -262,7 +262,8 @@ async function applicationGeneratorInternal(host, schema) {
262
262
  }
263
263
  if (options.bundler !== 'vite' && options.unitTestRunner === 'vitest') {
264
264
  const { createOrEditViteConfig } = (0, devkit_1.ensurePackage)('@nx/vite', versions_2.nxVersion);
265
- const { configurationGenerator } = (0, devkit_1.ensurePackage)('@nx/vitest', versions_2.nxVersion);
265
+ (0, devkit_1.ensurePackage)('@nx/vitest', versions_2.nxVersion);
266
+ const { configurationGenerator } = await Promise.resolve().then(() => require('@nx/vitest/generators'));
266
267
  const vitestTask = await configurationGenerator(host, {
267
268
  uiFramework: 'none',
268
269
  project: options.projectName,