@nx/angular 20.1.0-canary.20241030-62f58eb → 20.1.0-canary.20241031-ce05a98

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/angular",
3
- "version": "20.1.0-canary.20241030-62f58eb",
3
+ "version": "20.1.0-canary.20241031-ce05a98",
4
4
  "private": false,
5
5
  "description": "The Nx Plugin for Angular contains executors, generators, and utilities for managing Angular applications and libraries within an Nx workspace. It provides: \n\n- Integration with libraries such as Storybook, Jest, ESLint, Tailwind CSS, Playwright and Cypress. \n\n- Generators to help scaffold code quickly (like: Micro Frontends, Libraries, both internal to your codebase and publishable to npm) \n\n- Single Component Application Modules (SCAMs) \n\n- NgRx helpers. \n\n- Utilities for automatic workspace refactoring.",
6
6
  "repository": {
@@ -80,12 +80,12 @@
80
80
  "webpack-merge": "^5.8.0",
81
81
  "webpack": "^5.88.0",
82
82
  "@module-federation/enhanced": "0.6.9",
83
- "@nx/devkit": "20.1.0-canary.20241030-62f58eb",
84
- "@nx/js": "20.1.0-canary.20241030-62f58eb",
85
- "@nx/eslint": "20.1.0-canary.20241030-62f58eb",
86
- "@nx/webpack": "20.1.0-canary.20241030-62f58eb",
87
- "@nx/web": "20.1.0-canary.20241030-62f58eb",
88
- "@nx/workspace": "20.1.0-canary.20241030-62f58eb",
83
+ "@nx/devkit": "20.1.0-canary.20241031-ce05a98",
84
+ "@nx/js": "20.1.0-canary.20241031-ce05a98",
85
+ "@nx/eslint": "20.1.0-canary.20241031-ce05a98",
86
+ "@nx/webpack": "20.1.0-canary.20241031-ce05a98",
87
+ "@nx/web": "20.1.0-canary.20241031-ce05a98",
88
+ "@nx/workspace": "20.1.0-canary.20241031-ce05a98",
89
89
  "piscina": "^4.4.0"
90
90
  },
91
91
  "peerDependencies": {
@@ -10,7 +10,7 @@ async function addVitest(tree, options) {
10
10
  '@analogjs/vite-plugin-angular': versions_1.analogVitestAngular,
11
11
  }, undefined, true);
12
12
  }
13
- const { createOrEditViteConfig, viteConfigurationGenerator } = (0, devkit_1.ensurePackage)('@nx/vite', versions_1.nxVersion);
13
+ const { createOrEditViteConfig, vitestGenerator } = (0, devkit_1.ensurePackage)('@nx/vite', versions_1.nxVersion);
14
14
  const relativeTestSetupPath = (0, devkit_1.joinPathFragments)('src', 'test-setup.ts');
15
15
  const setupFile = (0, devkit_1.joinPathFragments)(options.projectRoot, relativeTestSetupPath);
16
16
  if (!tree.exists(setupFile)) {
@@ -27,12 +27,13 @@ getTestBed().initTestEnvironment(
27
27
  platformBrowserDynamicTesting()
28
28
  );
29
29
  `);
30
- await viteConfigurationGenerator(tree, {
30
+ await vitestGenerator(tree, {
31
31
  project: options.name,
32
- newProject: true,
33
32
  uiFramework: 'none',
34
- includeVitest: true,
33
+ skipViteConfig: true,
35
34
  testEnvironment: 'jsdom',
35
+ coverageProvider: 'v8',
36
+ addPlugin: false,
36
37
  });
37
38
  createOrEditViteConfig(tree, {
38
39
  project: options.name,