nx 19.0.7 → 19.0.8
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/.eslintrc.json +1 -2
- package/package.json +13 -13
- package/src/command-line/release/utils/github.js +1 -1
- package/src/command-line/reset/reset.js +1 -1
- package/src/core/graph/main.js +1 -1
- package/src/native/index.js +2 -1
- package/src/native/native-file-cache-location.d.ts +1 -1
- package/src/native/native-file-cache-location.js +15 -2
- package/src/plugins/js/lock-file/utils/pnpm-normalizer.js +3 -3
- package/src/project-graph/utils/project-configuration-utils.js +4 -0
- package/src/utils/fileutils.js +1 -1
- package/src/utils/package-json.js +2 -1
package/.eslintrc.json
CHANGED
@@ -100,8 +100,7 @@
|
|
100
100
|
"events", // This is coming from @storybook/builder-manager since it uses the browser polyfill
|
101
101
|
"process", // This is coming from @storybook/builder-manager since it uses the browser polyfill
|
102
102
|
"prettier", // This is coming from @storybook/builder-manager since it uses the browser polyfill
|
103
|
-
"util"
|
104
|
-
"js-yaml" // The rule is failing with alias dependencies
|
103
|
+
"util" // This is coming from @storybook/builder-manager since it uses the browser polyfill
|
105
104
|
]
|
106
105
|
}
|
107
106
|
]
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "nx",
|
3
|
-
"version": "19.0.
|
3
|
+
"version": "19.0.8",
|
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": {
|
@@ -39,6 +39,7 @@
|
|
39
39
|
"dependencies": {
|
40
40
|
"@yarnpkg/lockfile": "^1.1.0",
|
41
41
|
"@yarnpkg/parsers": "3.0.0-rc.46",
|
42
|
+
"@zkochan/js-yaml": "0.0.7",
|
42
43
|
"axios": "^1.6.0",
|
43
44
|
"chalk": "^4.1.0",
|
44
45
|
"cli-cursor": "3.1.0",
|
@@ -52,7 +53,6 @@
|
|
52
53
|
"fs-extra": "^11.1.0",
|
53
54
|
"ignore": "^5.0.4",
|
54
55
|
"jest-diff": "^29.4.1",
|
55
|
-
"js-yaml": "npm:@zkochan/js-yaml@0.0.7",
|
56
56
|
"jsonc-parser": "3.2.0",
|
57
57
|
"lines-and-columns": "~2.0.3",
|
58
58
|
"minimatch": "9.0.3",
|
@@ -69,7 +69,7 @@
|
|
69
69
|
"yargs-parser": "21.1.1",
|
70
70
|
"node-machine-id": "1.1.12",
|
71
71
|
"ora": "5.3.0",
|
72
|
-
"@nrwl/tao": "19.0.
|
72
|
+
"@nrwl/tao": "19.0.8"
|
73
73
|
},
|
74
74
|
"peerDependencies": {
|
75
75
|
"@swc-node/register": "^1.8.0",
|
@@ -84,16 +84,16 @@
|
|
84
84
|
}
|
85
85
|
},
|
86
86
|
"optionalDependencies": {
|
87
|
-
"@nx/nx-darwin-x64": "19.0.
|
88
|
-
"@nx/nx-darwin-arm64": "19.0.
|
89
|
-
"@nx/nx-linux-x64-gnu": "19.0.
|
90
|
-
"@nx/nx-linux-x64-musl": "19.0.
|
91
|
-
"@nx/nx-win32-x64-msvc": "19.0.
|
92
|
-
"@nx/nx-linux-arm64-gnu": "19.0.
|
93
|
-
"@nx/nx-linux-arm64-musl": "19.0.
|
94
|
-
"@nx/nx-linux-arm-gnueabihf": "19.0.
|
95
|
-
"@nx/nx-win32-arm64-msvc": "19.0.
|
96
|
-
"@nx/nx-freebsd-x64": "19.0.
|
87
|
+
"@nx/nx-darwin-x64": "19.0.8",
|
88
|
+
"@nx/nx-darwin-arm64": "19.0.8",
|
89
|
+
"@nx/nx-linux-x64-gnu": "19.0.8",
|
90
|
+
"@nx/nx-linux-x64-musl": "19.0.8",
|
91
|
+
"@nx/nx-win32-x64-msvc": "19.0.8",
|
92
|
+
"@nx/nx-linux-arm64-gnu": "19.0.8",
|
93
|
+
"@nx/nx-linux-arm64-musl": "19.0.8",
|
94
|
+
"@nx/nx-linux-arm-gnueabihf": "19.0.8",
|
95
|
+
"@nx/nx-win32-arm64-msvc": "19.0.8",
|
96
|
+
"@nx/nx-freebsd-x64": "19.0.8"
|
97
97
|
},
|
98
98
|
"nx-migrations": {
|
99
99
|
"migrations": "./migrations.json",
|
@@ -223,7 +223,7 @@ async function resolveGithubToken() {
|
|
223
223
|
const ghCLIPath = (0, path_1.joinPathFragments)(process.env.XDG_CONFIG_HOME || (0, path_1.joinPathFragments)((0, node_os_1.homedir)(), '.config'), 'gh', 'hosts.yml');
|
224
224
|
if ((0, node_fs_1.existsSync)(ghCLIPath)) {
|
225
225
|
const yamlContents = await node_fs_1.promises.readFile(ghCLIPath, 'utf8');
|
226
|
-
const { load } = require('js-yaml');
|
226
|
+
const { load } = require('@zkochan/js-yaml');
|
227
227
|
const ghCLIConfig = load(yamlContents);
|
228
228
|
if (ghCLIConfig['github.com']) {
|
229
229
|
// Web based session (the token is already embedded in the config)
|
@@ -14,7 +14,7 @@ async function resetHandler() {
|
|
14
14
|
await client_1.daemonClient.stop();
|
15
15
|
output_1.output.log({ title: 'Daemon Server - Stopped' });
|
16
16
|
try {
|
17
|
-
(0, fs_extra_1.rmSync)(native_file_cache_location_1.
|
17
|
+
(0, fs_extra_1.rmSync)((0, native_file_cache_location_1.getNativeFileCacheLocation)(), { recursive: true, force: true });
|
18
18
|
}
|
19
19
|
catch (e) {
|
20
20
|
// ignore, deleting the native file cache is not critical and can fail if another process is locking the file
|