nx 18.1.0-canary.20240306-cc2f655 → 18.1.0-canary.20240307-84d96cc
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 +12 -12
- package/src/command-line/init/init-v2.js +2 -1
- package/src/core/graph/main.js +1 -1
- package/src/core/graph/polyfills.js +1 -1
- package/src/core/graph/styles.css +1 -1
- package/src/executors/run-commands/run-commands.impl.d.ts +4 -1
- package/src/executors/run-commands/run-commands.impl.js +34 -14
- package/src/plugins/js/lock-file/lock-file.js +13 -1
- package/src/project-graph/plugins/plugin-pool.js +16 -19
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "nx",
|
3
|
-
"version": "18.1.0-canary.
|
3
|
+
"version": "18.1.0-canary.20240307-84d96cc",
|
4
4
|
"private": false,
|
5
5
|
"description": "The core Nx plugin contains the core functionality of Nx like the project graph, nx commands and task orchestration.",
|
6
6
|
"repository": {
|
@@ -66,7 +66,7 @@
|
|
66
66
|
"yargs-parser": "21.1.1",
|
67
67
|
"node-machine-id": "1.1.12",
|
68
68
|
"ora": "5.3.0",
|
69
|
-
"@nrwl/tao": "18.1.0-canary.
|
69
|
+
"@nrwl/tao": "18.1.0-canary.20240307-84d96cc"
|
70
70
|
},
|
71
71
|
"peerDependencies": {
|
72
72
|
"@swc-node/register": "^1.8.0",
|
@@ -81,16 +81,16 @@
|
|
81
81
|
}
|
82
82
|
},
|
83
83
|
"optionalDependencies": {
|
84
|
-
"@nx/nx-darwin-x64": "18.1.0-canary.
|
85
|
-
"@nx/nx-darwin-arm64": "18.1.0-canary.
|
86
|
-
"@nx/nx-linux-x64-gnu": "18.1.0-canary.
|
87
|
-
"@nx/nx-linux-x64-musl": "18.1.0-canary.
|
88
|
-
"@nx/nx-win32-x64-msvc": "18.1.0-canary.
|
89
|
-
"@nx/nx-linux-arm64-gnu": "18.1.0-canary.
|
90
|
-
"@nx/nx-linux-arm64-musl": "18.1.0-canary.
|
91
|
-
"@nx/nx-linux-arm-gnueabihf": "18.1.0-canary.
|
92
|
-
"@nx/nx-win32-arm64-msvc": "18.1.0-canary.
|
93
|
-
"@nx/nx-freebsd-x64": "18.1.0-canary.
|
84
|
+
"@nx/nx-darwin-x64": "18.1.0-canary.20240307-84d96cc",
|
85
|
+
"@nx/nx-darwin-arm64": "18.1.0-canary.20240307-84d96cc",
|
86
|
+
"@nx/nx-linux-x64-gnu": "18.1.0-canary.20240307-84d96cc",
|
87
|
+
"@nx/nx-linux-x64-musl": "18.1.0-canary.20240307-84d96cc",
|
88
|
+
"@nx/nx-win32-x64-msvc": "18.1.0-canary.20240307-84d96cc",
|
89
|
+
"@nx/nx-linux-arm64-gnu": "18.1.0-canary.20240307-84d96cc",
|
90
|
+
"@nx/nx-linux-arm64-musl": "18.1.0-canary.20240307-84d96cc",
|
91
|
+
"@nx/nx-linux-arm-gnueabihf": "18.1.0-canary.20240307-84d96cc",
|
92
|
+
"@nx/nx-win32-arm64-msvc": "18.1.0-canary.20240307-84d96cc",
|
93
|
+
"@nx/nx-freebsd-x64": "18.1.0-canary.20240307-84d96cc"
|
94
94
|
},
|
95
95
|
"nx-migrations": {
|
96
96
|
"migrations": "./migrations.json",
|
@@ -19,6 +19,7 @@ const add_nx_to_npm_repo_1 = require("./implementation/add-nx-to-npm-repo");
|
|
19
19
|
const add_nx_to_monorepo_1 = require("./implementation/add-nx-to-monorepo");
|
20
20
|
const path_1 = require("path");
|
21
21
|
async function initHandler(options) {
|
22
|
+
process.env.NX_RUNNING_NX_INIT = 'true';
|
22
23
|
const version = process.env.NX_VERSION ?? ((0, semver_1.prerelease)(versions_1.nxVersion) ? 'next' : 'latest');
|
23
24
|
if (process.env.NX_VERSION) {
|
24
25
|
output_1.output.log({ title: `Using version ${process.env.NX_VERSION}` });
|
@@ -80,7 +81,7 @@ async function initHandler(options) {
|
|
80
81
|
if (!detectPluginsResponse.updatePackageScripts) {
|
81
82
|
const rootPackageJsonPath = (0, path_1.join)(repoRoot, 'package.json');
|
82
83
|
const json = (0, fileutils_1.readJsonFile)(rootPackageJsonPath);
|
83
|
-
json.nx = {};
|
84
|
+
json.nx = { includedScripts: [] };
|
84
85
|
(0, fileutils_1.writeJsonFile)(rootPackageJsonPath, json);
|
85
86
|
}
|
86
87
|
if (useNxCloud) {
|