nx 19.1.0-canary.20240516-d581cef → 19.1.0-canary.20240518-3523720
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/migrate/migrate.js +5 -2
- package/src/core/graph/main.js +1 -1
- package/src/daemon/server/server.js +1 -1
- package/src/generators/utils/json.js +2 -1
- package/src/utils/find-matching-projects.js +1 -13
- package/src/utils/json.js +1 -1
- package/src/utils/package-manager.js +14 -5
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "nx",
|
3
|
-
"version": "19.1.0-canary.
|
3
|
+
"version": "19.1.0-canary.20240518-3523720",
|
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": "19.1.0-canary.
|
69
|
+
"@nrwl/tao": "19.1.0-canary.20240518-3523720"
|
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": "19.1.0-canary.
|
85
|
-
"@nx/nx-darwin-arm64": "19.1.0-canary.
|
86
|
-
"@nx/nx-linux-x64-gnu": "19.1.0-canary.
|
87
|
-
"@nx/nx-linux-x64-musl": "19.1.0-canary.
|
88
|
-
"@nx/nx-win32-x64-msvc": "19.1.0-canary.
|
89
|
-
"@nx/nx-linux-arm64-gnu": "19.1.0-canary.
|
90
|
-
"@nx/nx-linux-arm64-musl": "19.1.0-canary.
|
91
|
-
"@nx/nx-linux-arm-gnueabihf": "19.1.0-canary.
|
92
|
-
"@nx/nx-win32-arm64-msvc": "19.1.0-canary.
|
93
|
-
"@nx/nx-freebsd-x64": "19.1.0-canary.
|
84
|
+
"@nx/nx-darwin-x64": "19.1.0-canary.20240518-3523720",
|
85
|
+
"@nx/nx-darwin-arm64": "19.1.0-canary.20240518-3523720",
|
86
|
+
"@nx/nx-linux-x64-gnu": "19.1.0-canary.20240518-3523720",
|
87
|
+
"@nx/nx-linux-x64-musl": "19.1.0-canary.20240518-3523720",
|
88
|
+
"@nx/nx-win32-x64-msvc": "19.1.0-canary.20240518-3523720",
|
89
|
+
"@nx/nx-linux-arm64-gnu": "19.1.0-canary.20240518-3523720",
|
90
|
+
"@nx/nx-linux-arm64-musl": "19.1.0-canary.20240518-3523720",
|
91
|
+
"@nx/nx-linux-arm-gnueabihf": "19.1.0-canary.20240518-3523720",
|
92
|
+
"@nx/nx-win32-arm64-msvc": "19.1.0-canary.20240518-3523720",
|
93
|
+
"@nx/nx-freebsd-x64": "19.1.0-canary.20240518-3523720"
|
94
94
|
},
|
95
95
|
"nx-migrations": {
|
96
96
|
"migrations": "./migrations.json",
|
@@ -377,9 +377,9 @@ const LEGACY_NRWL_PACKAGE_GROUP = [
|
|
377
377
|
];
|
378
378
|
async function normalizeVersionWithTagCheck(pkg, version) {
|
379
379
|
// This doesn't seem like a valid version, lets check if its a tag on the registry.
|
380
|
-
if (version && !(0, semver_1.
|
380
|
+
if (version && !(0, semver_1.parse)(version)) {
|
381
381
|
try {
|
382
|
-
return (0, package_manager_1.
|
382
|
+
return (0, package_manager_1.resolvePackageVersionUsingRegistry)(pkg, version);
|
383
383
|
}
|
384
384
|
catch {
|
385
385
|
// fall through to old logic
|
@@ -634,6 +634,9 @@ async function getPackageMigrationsUsingInstall(packageName, packageVersion) {
|
|
634
634
|
}
|
635
635
|
result = { ...migrations, packageGroup, version: packageJson.version };
|
636
636
|
}
|
637
|
+
catch (e) {
|
638
|
+
logger_1.logger.warn(`Unable to fetch migrations for ${packageName}@${packageVersion}: ${e.message}`);
|
639
|
+
}
|
637
640
|
finally {
|
638
641
|
await cleanup();
|
639
642
|
}
|