@nx/js 0.0.0-pr-32946-64cab2a → 0.0.0-pr-32947-7d6ca22

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/js",
3
- "version": "0.0.0-pr-32946-64cab2a",
3
+ "version": "0.0.0-pr-32947-7d6ca22",
4
4
  "private": false,
5
5
  "description": "The JS plugin for Nx contains executors and generators that provide the best experience for developing JavaScript and TypeScript projects. ",
6
6
  "repository": {
@@ -39,8 +39,8 @@
39
39
  "@babel/preset-env": "^7.23.2",
40
40
  "@babel/preset-typescript": "^7.22.5",
41
41
  "@babel/runtime": "^7.22.6",
42
- "@nx/devkit": "0.0.0-pr-32946-64cab2a",
43
- "@nx/workspace": "0.0.0-pr-32946-64cab2a",
42
+ "@nx/devkit": "0.0.0-pr-32947-7d6ca22",
43
+ "@nx/workspace": "0.0.0-pr-32947-7d6ca22",
44
44
  "@zkochan/js-yaml": "0.0.7",
45
45
  "babel-plugin-const-enum": "^1.0.1",
46
46
  "babel-plugin-macros": "^3.1.0",
@@ -60,7 +60,7 @@
60
60
  "tslib": "^2.3.0"
61
61
  },
62
62
  "devDependencies": {
63
- "nx": "0.0.0-pr-32946-64cab2a"
63
+ "nx": "0.0.0-pr-32947-7d6ca22"
64
64
  },
65
65
  "peerDependencies": {
66
66
  "verdaccio": "^6.0.5"
@@ -1 +1 @@
1
- {"version":3,"file":"add-release-config.d.ts","sourceRoot":"","sources":["../../../../../../../packages/js/src/generators/library/utils/add-release-config.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,iBAAiB,EAIjB,oBAAoB,EAIpB,IAAI,EAEL,MAAM,YAAY,CAAC;AAIpB;;GAEG;AACH,wBAAsB,6BAA6B,CACjD,IAAI,EAAE,IAAI,EACV,WAAW,EAAE,MAAM,EACnB,oBAAoB,EAAE,oBAAoB,GACzC,OAAO,CAAC,IAAI,CAAC,CAuFf;AAED;;;GAGG;AACH,wBAAsB,gCAAgC,CACpD,IAAI,EAAE,IAAI,EACV,WAAW,EAAE,MAAM,EACnB,oBAAoB,EAAE,oBAAoB,EAC1C,sBAAsB,GAAE,MAAe,iCA4BxC;AAuBD,wBAAsB,YAAY,CAAC,IAAI,EAAE,IAAI,GAAG,OAAO,CAAC,iBAAiB,CAAC,CAKzE"}
1
+ {"version":3,"file":"add-release-config.d.ts","sourceRoot":"","sources":["../../../../../../../packages/js/src/generators/library/utils/add-release-config.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,iBAAiB,EAIjB,oBAAoB,EAIpB,IAAI,EAEL,MAAM,YAAY,CAAC;AAIpB;;GAEG;AACH,wBAAsB,6BAA6B,CACjD,IAAI,EAAE,IAAI,EACV,WAAW,EAAE,MAAM,EACnB,oBAAoB,EAAE,oBAAoB,GACzC,OAAO,CAAC,IAAI,CAAC,CAuFf;AAED;;;GAGG;AACH,wBAAsB,gCAAgC,CACpD,IAAI,EAAE,IAAI,EACV,WAAW,EAAE,MAAM,EACnB,oBAAoB,EAAE,oBAAoB,EAC1C,sBAAsB,GAAE,MAAe,iCA2BxC;AAuBD,wBAAsB,YAAY,CAAC,IAAI,EAAE,IAAI,GAAG,OAAO,CAAC,iBAAiB,CAAC,CAKzE"}
@@ -99,7 +99,6 @@ async function addReleaseConfigForNonTsSolution(tree, projectName, projectConfig
99
99
  packageRoot,
100
100
  },
101
101
  };
102
- // TODO: re-evaluate this config in new versions
103
102
  projectConfiguration.release = {
104
103
  version: {
105
104
  manifestRootsToUpdate: [packageRoot],
@@ -1 +1 @@
1
- {"version":3,"file":"version-actions.d.ts","sourceRoot":"","sources":["../../../../../packages/js/src/release/version-actions.ts"],"names":[],"mappings":"AAAA,OAAO,EAGL,YAAY,EAEZ,IAAI,EAGL,MAAM,YAAY,CAAC;AAGpB,OAAO,EAAE,yBAAyB,EAAE,cAAc,EAAE,MAAM,YAAY,CAAC;AACvE,OAAO,KAAK,EAAE,6BAA6B,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AAM3E,eAAO,MAAM,yBAAyB,EAAE,yBAkBvC,CAAC;AAKF,MAAM,CAAC,OAAO,OAAO,gBAAiB,SAAQ,cAAc;IAC1D,sBAAsB,WAAoB;IAEpC,oCAAoC,CAAC,IAAI,EAAE,IAAI,GAAG,OAAO,CAAC;QAC9D,cAAc,EAAE,MAAM,CAAC;QACvB,YAAY,EAAE,MAAM,CAAC;KACtB,CAAC;IAkBI,8BAA8B,CAClC,IAAI,EAAE,IAAI,EACV,8BAA8B,EAAE,6BAA6B,CAAC,gCAAgC,CAAC,GAC9F,OAAO,CAAC;QACT,cAAc,EAAE,MAAM,CAAC;QACvB,OAAO,EAAE,MAAM,CAAC;KACjB,CAAC;IAkEI,8BAA8B,CAClC,IAAI,EAAE,IAAI,EACV,YAAY,EAAE,YAAY,EAC1B,qBAAqB,EAAE,MAAM,GAC5B,OAAO,CAAC;QACT,cAAc,EAAE,MAAM,GAAG,IAAI,CAAC;QAC9B,oBAAoB,EAAE,MAAM,GAAG,IAAI,CAAC;KACrC,CAAC;IA+BI,oBAAoB,CACxB,IAAI,EAAE,IAAI,EACV,UAAU,EAAE,MAAM,GACjB,OAAO,CAAC,MAAM,EAAE,CAAC;IAcd,yBAAyB,CAC7B,IAAI,EAAE,IAAI,EACV,YAAY,EAAE,YAAY,EAC1B,oBAAoB,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,GAC3C,OAAO,CAAC,MAAM,EAAE,CAAC;IAwFpB,OAAO,CAAC,yBAAyB;CAyClC"}
@@ -136,13 +136,13 @@ class JsVersionActions extends release_1.VersionActions {
136
136
  'peerDependencies',
137
137
  'optionalDependencies',
138
138
  ];
139
- // TODO(v22): Flip this to all by default
140
139
  const preserveMatchingDependencyRanges = this.finalConfigForProject.preserveMatchingDependencyRanges === true
141
140
  ? dependencyTypes
142
141
  : this.finalConfigForProject.preserveMatchingDependencyRanges ===
143
142
  false
144
143
  ? []
145
- : this.finalConfigForProject.preserveMatchingDependencyRanges || [];
144
+ : this.finalConfigForProject.preserveMatchingDependencyRanges ||
145
+ dependencyTypes;
146
146
  for (const depType of dependencyTypes) {
147
147
  if (json[depType]) {
148
148
  for (const [dep, version] of Object.entries(dependenciesToUpdate)) {