@nx/angular 21.6.0-canary.20250915-98c47f0 → 21.6.0-canary.20250917-93fcc48
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/migrations.json
CHANGED
@@ -1915,21 +1915,6 @@
|
|
1915
1915
|
}
|
1916
1916
|
}
|
1917
1917
|
},
|
1918
|
-
"21.3.5-jest": {
|
1919
|
-
"version": "21.3.5-beta.0",
|
1920
|
-
"requires": {
|
1921
|
-
"@angular/compiler-cli": ">=18.0.0 <21.0.0",
|
1922
|
-
"@angular/core": ">=18.0.0 <21.0.0",
|
1923
|
-
"@angular/platform-browser-dynamic": ">=18.0.0 <21.0.0",
|
1924
|
-
"jest": "^30.0.0"
|
1925
|
-
},
|
1926
|
-
"packages": {
|
1927
|
-
"jest-preset-angular": {
|
1928
|
-
"version": "~15.0.0",
|
1929
|
-
"alwaysAddToPackageJson": false
|
1930
|
-
}
|
1931
|
-
}
|
1932
|
-
},
|
1933
1918
|
"21.4.0-ngrx": {
|
1934
1919
|
"version": "21.4.0-beta.3",
|
1935
1920
|
"requires": {
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@nx/angular",
|
3
|
-
"version": "21.6.0-canary.
|
3
|
+
"version": "21.6.0-canary.20250917-93fcc48",
|
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": {
|
@@ -58,14 +58,14 @@
|
|
58
58
|
"migrations": "./migrations.json"
|
59
59
|
},
|
60
60
|
"dependencies": {
|
61
|
-
"@nx/devkit": "21.6.0-canary.
|
62
|
-
"@nx/eslint": "21.6.0-canary.
|
63
|
-
"@nx/js": "21.6.0-canary.
|
64
|
-
"@nx/module-federation": "21.6.0-canary.
|
65
|
-
"@nx/rspack": "21.6.0-canary.
|
66
|
-
"@nx/web": "21.6.0-canary.
|
67
|
-
"@nx/webpack": "21.6.0-canary.
|
68
|
-
"@nx/workspace": "21.6.0-canary.
|
61
|
+
"@nx/devkit": "21.6.0-canary.20250917-93fcc48",
|
62
|
+
"@nx/eslint": "21.6.0-canary.20250917-93fcc48",
|
63
|
+
"@nx/js": "21.6.0-canary.20250917-93fcc48",
|
64
|
+
"@nx/module-federation": "21.6.0-canary.20250917-93fcc48",
|
65
|
+
"@nx/rspack": "21.6.0-canary.20250917-93fcc48",
|
66
|
+
"@nx/web": "21.6.0-canary.20250917-93fcc48",
|
67
|
+
"@nx/webpack": "21.6.0-canary.20250917-93fcc48",
|
68
|
+
"@nx/workspace": "21.6.0-canary.20250917-93fcc48",
|
69
69
|
"@phenomnomnominal/tsquery": "~5.0.1",
|
70
70
|
"@typescript-eslint/type-utils": "^8.0.0",
|
71
71
|
"enquirer": "~2.3.6",
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"add-jest.d.ts","sourceRoot":"","sources":["../../../../../../packages/angular/src/generators/utils/add-jest.ts"],"names":[],"mappings":"AAAA,OAAO,EAIL,KAAK,IAAI,EACV,MAAM,YAAY,CAAC;AAIpB,MAAM,MAAM,cAAc,GAAG;IAC3B,IAAI,EAAE,MAAM,CAAC;IACb,WAAW,EAAE,MAAM,CAAC;IACpB,eAAe,EAAE,OAAO,CAAC;IACzB,MAAM,EAAE,OAAO,CAAC;IAChB,SAAS,CAAC,EAAE,OAAO,CAAC;CACrB,CAAC;AAEF,wBAAsB,OAAO,CAC3B,IAAI,EAAE,IAAI,EACV,OAAO,EAAE,cAAc,GACtB,OAAO,CAAC,IAAI,CAAC,
|
1
|
+
{"version":3,"file":"add-jest.d.ts","sourceRoot":"","sources":["../../../../../../packages/angular/src/generators/utils/add-jest.ts"],"names":[],"mappings":"AAAA,OAAO,EAIL,KAAK,IAAI,EACV,MAAM,YAAY,CAAC;AAIpB,MAAM,MAAM,cAAc,GAAG;IAC3B,IAAI,EAAE,MAAM,CAAC;IACb,WAAW,EAAE,MAAM,CAAC;IACpB,eAAe,EAAE,OAAO,CAAC;IACzB,MAAM,EAAE,OAAO,CAAC;IAChB,SAAS,CAAC,EAAE,OAAO,CAAC;CACrB,CAAC;AAEF,wBAAsB,OAAO,CAC3B,IAAI,EAAE,IAAI,EACV,OAAO,EAAE,cAAc,GACtB,OAAO,CAAC,IAAI,CAAC,CAsDf"}
|
@@ -11,7 +11,11 @@ async function addJest(tree, options) {
|
|
11
11
|
(0, devkit_1.addDependenciesToPackageJson)(tree, {
|
12
12
|
// TODO(leo): jest-preset-angular still needs this until https://github.com/thymikee/jest-preset-angular/pull/3079 is merged
|
13
13
|
'@angular/platform-browser-dynamic': pkgVersions.angularVersion,
|
14
|
-
}, {
|
14
|
+
}, {
|
15
|
+
// force jest v29.7.0, Angular doesn't support Jest v30 yet: https://github.com/angular/angular-cli/pull/30761
|
16
|
+
jest: '^29.7.0',
|
17
|
+
'jest-preset-angular': pkgVersions.jestPresetAngularVersion,
|
18
|
+
}, undefined, true);
|
15
19
|
}
|
16
20
|
const { configurationGenerator } = (0, devkit_1.ensurePackage)('@nx/jest', versions_1.nxVersion);
|
17
21
|
await configurationGenerator(tree, {
|
package/src/utils/versions.d.ts
CHANGED
@@ -23,7 +23,7 @@ export declare const postcssUrlVersion = "~10.1.3";
|
|
23
23
|
export declare const autoprefixerVersion = "^10.4.0";
|
24
24
|
export declare const tsNodeVersion = "10.9.1";
|
25
25
|
export declare const lessVersion = "^4.3.0";
|
26
|
-
export declare const jestPresetAngularVersion = "~
|
26
|
+
export declare const jestPresetAngularVersion = "~14.6.1";
|
27
27
|
export declare const typesNodeVersion = "20.19.9";
|
28
28
|
export declare const jasmineMarblesVersion = "^0.9.2";
|
29
29
|
export declare const jsoncEslintParserVersion = "^2.1.0";
|
package/src/utils/versions.js
CHANGED
@@ -26,7 +26,7 @@ exports.postcssUrlVersion = '~10.1.3';
|
|
26
26
|
exports.autoprefixerVersion = '^10.4.0';
|
27
27
|
exports.tsNodeVersion = '10.9.1';
|
28
28
|
exports.lessVersion = '^4.3.0';
|
29
|
-
exports.jestPresetAngularVersion = '~
|
29
|
+
exports.jestPresetAngularVersion = '~14.6.1';
|
30
30
|
exports.typesNodeVersion = '20.19.9';
|
31
31
|
exports.jasmineMarblesVersion = '^0.9.2';
|
32
32
|
exports.jsoncEslintParserVersion = '^2.1.0';
|