@nx/js 20.8.1 → 20.8.3
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": "20.8.
|
|
3
|
+
"version": "20.8.3",
|
|
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": "20.8.
|
|
43
|
-
"@nx/workspace": "20.8.
|
|
42
|
+
"@nx/devkit": "20.8.3",
|
|
43
|
+
"@nx/workspace": "20.8.3",
|
|
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",
|
|
@@ -656,7 +656,7 @@ To fix this you will either need to add a package.json file at that location, or
|
|
|
656
656
|
// Return the version data so that it can be leveraged by the overall version command
|
|
657
657
|
return {
|
|
658
658
|
data: versionData,
|
|
659
|
-
callback: async (tree, opts) => {
|
|
659
|
+
callback: async (tree, { generatorOptions, ...opts }) => {
|
|
660
660
|
const changedFiles = [];
|
|
661
661
|
const deletedFiles = [];
|
|
662
662
|
for (const cb of deleteVersionPlanCallbacks) {
|
|
@@ -666,6 +666,7 @@ To fix this you will either need to add a package.json file at that location, or
|
|
|
666
666
|
changedFiles.push(...(await (0, update_lock_file_1.updateLockFile)(cwd, {
|
|
667
667
|
...opts,
|
|
668
668
|
useLegacyVersioning: true,
|
|
669
|
+
options: generatorOptions,
|
|
669
670
|
})));
|
|
670
671
|
return { changedFiles, deletedFiles };
|
|
671
672
|
},
|
|
@@ -8,11 +8,12 @@ const release_1 = require("nx/release");
|
|
|
8
8
|
const npm_config_1 = require("../utils/npm-config");
|
|
9
9
|
const update_lock_file_1 = require("./utils/update-lock-file");
|
|
10
10
|
const chalk = require("chalk");
|
|
11
|
-
const afterAllProjectsVersioned = async (cwd, opts) => {
|
|
11
|
+
const afterAllProjectsVersioned = async (cwd, { rootVersionActionsOptions, ...opts }) => {
|
|
12
12
|
return {
|
|
13
13
|
changedFiles: await (0, update_lock_file_1.updateLockFile)(cwd, {
|
|
14
14
|
...opts,
|
|
15
15
|
useLegacyVersioning: false,
|
|
16
|
+
options: rootVersionActionsOptions,
|
|
16
17
|
}),
|
|
17
18
|
deletedFiles: [],
|
|
18
19
|
};
|