@nx/angular 0.0.0-pr-29720-ac29e9e → 0.0.0-pr-30418-6fbe6c1

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
@@ -1341,10 +1341,6 @@
1341
1341
  "version": "~19.0.0",
1342
1342
  "alwaysAddToPackageJson": false
1343
1343
  },
1344
- "@angular/google-maps": {
1345
- "version": "~19.0.0",
1346
- "alwaysAddToPackageJson": false
1347
- },
1348
1344
  "ng-packagr": {
1349
1345
  "version": "~19.0.0",
1350
1346
  "alwaysAddToPackageJson": false
@@ -1541,10 +1537,6 @@
1541
1537
  "version": "~19.1.0",
1542
1538
  "alwaysAddToPackageJson": false
1543
1539
  },
1544
- "@angular/google-maps": {
1545
- "version": "~19.1.0",
1546
- "alwaysAddToPackageJson": false
1547
- },
1548
1540
  "ng-packagr": {
1549
1541
  "version": "~19.1.0",
1550
1542
  "alwaysAddToPackageJson": false
@@ -1606,10 +1598,6 @@
1606
1598
  "version": "~19.2.1",
1607
1599
  "alwaysAddToPackageJson": false
1608
1600
  },
1609
- "@angular/google-maps": {
1610
- "version": "~19.2.1",
1611
- "alwaysAddToPackageJson": false
1612
- },
1613
1601
  "ng-packagr": {
1614
1602
  "version": "~19.2.0",
1615
1603
  "alwaysAddToPackageJson": false
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nx/angular",
3
- "version": "0.0.0-pr-29720-ac29e9e",
3
+ "version": "0.0.0-pr-30418-6fbe6c1",
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": {
@@ -72,14 +72,14 @@
72
72
  "semver": "^7.5.3",
73
73
  "tslib": "^2.3.0",
74
74
  "webpack-merge": "^5.8.0",
75
- "@nx/devkit": "0.0.0-pr-29720-ac29e9e",
76
- "@nx/js": "0.0.0-pr-29720-ac29e9e",
77
- "@nx/eslint": "0.0.0-pr-29720-ac29e9e",
78
- "@nx/webpack": "0.0.0-pr-29720-ac29e9e",
79
- "@nx/rspack": "0.0.0-pr-29720-ac29e9e",
80
- "@nx/module-federation": "0.0.0-pr-29720-ac29e9e",
81
- "@nx/web": "0.0.0-pr-29720-ac29e9e",
82
- "@nx/workspace": "0.0.0-pr-29720-ac29e9e",
75
+ "@nx/devkit": "0.0.0-pr-30418-6fbe6c1",
76
+ "@nx/js": "0.0.0-pr-30418-6fbe6c1",
77
+ "@nx/eslint": "0.0.0-pr-30418-6fbe6c1",
78
+ "@nx/webpack": "0.0.0-pr-30418-6fbe6c1",
79
+ "@nx/rspack": "0.0.0-pr-30418-6fbe6c1",
80
+ "@nx/module-federation": "0.0.0-pr-30418-6fbe6c1",
81
+ "@nx/web": "0.0.0-pr-30418-6fbe6c1",
82
+ "@nx/workspace": "0.0.0-pr-30418-6fbe6c1",
83
83
  "piscina": "^4.4.0"
84
84
  },
85
85
  "peerDependencies": {
@@ -4,6 +4,7 @@ exports.addProject = addProject;
4
4
  const devkit_1 = require("@nx/devkit");
5
5
  const target_defaults_utils_1 = require("@nx/devkit/src/generators/target-defaults-utils");
6
6
  const add_release_config_1 = require("@nx/js/src/generators/library/utils/add-release-config");
7
+ const use_legacy_versioning_1 = require("nx/src/command-line/release/config/use-legacy-versioning");
7
8
  async function addProject(tree, libraryOptions) {
8
9
  const project = {
9
10
  name: libraryOptions.name,
@@ -36,7 +37,8 @@ async function addProject(tree, libraryOptions) {
36
37
  defaultConfiguration: 'production',
37
38
  };
38
39
  if (libraryOptions.publishable) {
39
- await (0, add_release_config_1.addReleaseConfigForNonTsSolution)(tree, libraryOptions.name, project);
40
+ const nxJson = (0, devkit_1.readJson)(tree, 'nx.json');
41
+ await (0, add_release_config_1.addReleaseConfigForNonTsSolution)((0, use_legacy_versioning_1.shouldUseLegacyVersioning)(nxJson.release), tree, libraryOptions.name, project);
40
42
  }
41
43
  }
42
44
  (0, devkit_1.addProjectConfiguration)(tree, libraryOptions.name, project);