@nx/web 22.1.0 → 22.1.1

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",
3
+ "version": "22.1.1",
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",
39
- "@nx/js": "22.1.0"
38
+ "@nx/devkit": "22.1.1",
39
+ "@nx/js": "22.1.1"
40
40
  },
41
41
  "devDependencies": {
42
- "nx": "22.1.0",
43
- "@nx/vitest": "22.1.0"
42
+ "nx": "22.1.1",
43
+ "@nx/vitest": "22.1.1"
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,8BAiW5E;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,8BAmW5E;AA0DD,eAAe,oBAAoB,CAAC"}
@@ -258,6 +258,7 @@ async function applicationGeneratorInternal(host, schema) {
258
258
  includeLib: false,
259
259
  includeVitest: options.unitTestRunner === 'vitest',
260
260
  inSourceTests: options.inSourceTests,
261
+ useEsmExtension: true,
261
262
  }, false);
262
263
  }
263
264
  if (options.bundler !== 'vite' && options.unitTestRunner === 'vitest') {
@@ -279,6 +280,7 @@ async function applicationGeneratorInternal(host, schema) {
279
280
  includeLib: false,
280
281
  includeVitest: true,
281
282
  inSourceTests: options.inSourceTests,
283
+ useEsmExtension: true,
282
284
  }, true);
283
285
  }
284
286
  if ((options.bundler === 'vite' || options.unitTestRunner === 'vitest') &&