@ohos-ports/nx 23.2.0-beta.0 → 23.2.0-beta.1
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/dist/bin/nx.js +3 -3
- package/dist/src/utils/versions.js +1 -1
- package/package.json +3 -3
package/dist/bin/nx.js
CHANGED
|
@@ -198,13 +198,13 @@ function resolveNx(workspace) {
|
|
|
198
198
|
const installPath = (0, installation_directory_1.getNxInstallationPath)(root);
|
|
199
199
|
if ((0, fs_1.existsSync)(installPath)) {
|
|
200
200
|
const installRequire = (0, module_1.createRequire)((0, path_1.join)(installPath, 'package.json'));
|
|
201
|
-
return installRequire.resolve('nx/bin/nx.js');
|
|
201
|
+
return installRequire.resolve('@ohos-ports/nx/bin/nx.js');
|
|
202
202
|
}
|
|
203
203
|
}
|
|
204
204
|
catch { }
|
|
205
205
|
// check for root install
|
|
206
206
|
const rootRequire = (0, module_1.createRequire)((0, path_1.join)(root, 'package.json'));
|
|
207
|
-
return rootRequire.resolve('nx/bin/nx.js');
|
|
207
|
+
return rootRequire.resolve('@ohos-ports/nx/bin/nx.js');
|
|
208
208
|
}
|
|
209
209
|
function isNxCloudCommand(command) {
|
|
210
210
|
const nxCloudCommands = [
|
|
@@ -295,7 +295,7 @@ function getLocalNxVersion(workspace) {
|
|
|
295
295
|
}
|
|
296
296
|
try {
|
|
297
297
|
const externalRequire = (0, module_1.createRequire)((0, path_1.join)(searchPath, 'package.json'));
|
|
298
|
-
const pkgJsonPath = externalRequire.resolve('nx/package.json');
|
|
298
|
+
const pkgJsonPath = externalRequire.resolve('@ohos-ports/nx/package.json');
|
|
299
299
|
return require(pkgJsonPath).version;
|
|
300
300
|
}
|
|
301
301
|
catch { }
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ohos-ports/nx",
|
|
3
|
-
"version": "23.2.0-beta.
|
|
3
|
+
"version": "23.2.0-beta.1",
|
|
4
4
|
"private": false,
|
|
5
5
|
"type": "commonjs",
|
|
6
6
|
"description": "The core Nx plugin contains the core functionality of Nx like the project graph, nx commands and task orchestration.",
|
|
@@ -191,10 +191,10 @@
|
|
|
191
191
|
"@nx/nx-linux-arm-gnueabihf": "23.2.0",
|
|
192
192
|
"@nx/nx-linux-arm64-gnu": "23.2.0",
|
|
193
193
|
"@nx/nx-linux-arm64-musl": "23.2.0",
|
|
194
|
-
"@nx/nx-linux-x64-gnu": "23.2.0",
|
|
195
194
|
"@nx/nx-linux-x64-musl": "23.2.0",
|
|
196
195
|
"@nx/nx-win32-arm64-msvc": "23.2.0",
|
|
197
|
-
"@nx/nx-win32-x64-msvc": "23.2.0"
|
|
196
|
+
"@nx/nx-win32-x64-msvc": "23.2.0",
|
|
197
|
+
"@ohos-ports/nx-nx-linux-x64-gnu": "^23.2.0-beta.0"
|
|
198
198
|
},
|
|
199
199
|
"nx-migrations": {
|
|
200
200
|
"migrations": "./migrations.json",
|