@neon-rs/cli 0.0.179 → 0.0.181
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/index.js +5 -5
- package/package.json +8 -8
package/index.js
CHANGED
|
@@ -45876,7 +45876,8 @@ const bump_OPTIONS = [
|
|
|
45876
45876
|
{ name: 'verbose', alias: 'v', type: Boolean, defaultValue: false },
|
|
45877
45877
|
{ name: 'dir', alias: 'd', type: String, defaultValue: null },
|
|
45878
45878
|
{ name: 'workspaces', type: Boolean, defaultValue: false },
|
|
45879
|
-
{ name: '
|
|
45879
|
+
{ name: 'bins', alias: 'b', type: String, defaultValue: null },
|
|
45880
|
+
{ name: 'binaries', type: String, defaultValue: null }
|
|
45880
45881
|
];
|
|
45881
45882
|
async function subdirs(dir) {
|
|
45882
45883
|
const entries = await promises_namespaceObject.readdir(dir);
|
|
@@ -45895,7 +45896,7 @@ class Bump {
|
|
|
45895
45896
|
return [
|
|
45896
45897
|
{ name: '-d, --dir <dir>', summary: 'Run `npm version <version>` in another directory.' },
|
|
45897
45898
|
{ name: '--workspaces', summary: 'Run `npm version --workspaces <version>` in the current directory.' },
|
|
45898
|
-
{ name: '-b, --
|
|
45899
|
+
{ name: '-b, --bins <dir>', summary: 'Run `npm version --force <version>` on all binary packages in <dir>.' },
|
|
45899
45900
|
{ name: '', summary: 'The --force parameter causes npm to ignore `os` and `cpu` constraints in the binary packages\' manifests that might not match the current system.' },
|
|
45900
45901
|
{ name: '<version>', summary: 'The new package version. (Default: $npm_package_version)' },
|
|
45901
45902
|
{ name: '-v, --verbose', summary: 'Enable verbose logging. (Default: false)' }
|
|
@@ -45917,7 +45918,7 @@ class Bump {
|
|
|
45917
45918
|
this._verbose = options.verbose;
|
|
45918
45919
|
this._dir = options.dir || null;
|
|
45919
45920
|
this._workspaces = options.workspaces;
|
|
45920
|
-
this._binaries = options.binaries || null;
|
|
45921
|
+
this._binaries = options.bins || options.binaries || null;
|
|
45921
45922
|
if ([this._dir, this._workspaces, this._binaries].filter(x => !!x).length > 1) {
|
|
45922
45923
|
throw new Error("Only one of --dir, --workspaces, or --binaries can be specified.");
|
|
45923
45924
|
}
|
|
@@ -46728,7 +46729,7 @@ class Tarball {
|
|
|
46728
46729
|
this.log(`npm pack failed with exit code ${result.exitCode}`);
|
|
46729
46730
|
process.exit(result.exitCode);
|
|
46730
46731
|
}
|
|
46731
|
-
//
|
|
46732
|
+
// NOTE: This is a workaround for https://github.com/npm/cli/issues/3405
|
|
46732
46733
|
const tarball = JSON.parse(result.stdout)[0].filename.replace('@', '').replace('/', '-');
|
|
46733
46734
|
this.log(`tarball filename: ${tarball}`);
|
|
46734
46735
|
const dest = external_node_path_namespaceObject.join(this._outDir, tarball);
|
|
@@ -47153,7 +47154,6 @@ function summaries() {
|
|
|
47153
47154
|
{ name: CommandName.Help, summary: Help.summary() },
|
|
47154
47155
|
{ name: CommandName.Dist, summary: Dist.summary() },
|
|
47155
47156
|
{ name: CommandName.Bump, summary: Bump.summary() },
|
|
47156
|
-
{ name: CommandName.Tarball, summary: Tarball.summary() },
|
|
47157
47157
|
{ name: CommandName.AddPlatform, summary: AddPlatform.summary() },
|
|
47158
47158
|
{ name: CommandName.UpdatePlatforms, summary: UpdatePlatforms.summary() },
|
|
47159
47159
|
{ name: CommandName.RustTarget, summary: RustTarget.summary() },
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@neon-rs/cli",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.181",
|
|
4
4
|
"description": "Command-line build tool for Neon modules.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"exports": "./index.js",
|
|
@@ -27,12 +27,12 @@
|
|
|
27
27
|
},
|
|
28
28
|
"homepage": "https://github.com/dherman/neon-rs#readme",
|
|
29
29
|
"optionalDependencies": {
|
|
30
|
-
"@cargo-messages/android-arm-eabi": "0.0.
|
|
31
|
-
"@cargo-messages/darwin-arm64": "0.0.
|
|
32
|
-
"@cargo-messages/darwin-x64": "0.0.
|
|
33
|
-
"@cargo-messages/linux-arm-gnueabihf": "0.0.
|
|
34
|
-
"@cargo-messages/linux-x64-gnu": "0.0.
|
|
35
|
-
"@cargo-messages/win32-arm64-msvc": "0.0.
|
|
36
|
-
"@cargo-messages/win32-x64-msvc": "0.0.
|
|
30
|
+
"@cargo-messages/android-arm-eabi": "0.0.181",
|
|
31
|
+
"@cargo-messages/darwin-arm64": "0.0.181",
|
|
32
|
+
"@cargo-messages/darwin-x64": "0.0.181",
|
|
33
|
+
"@cargo-messages/linux-arm-gnueabihf": "0.0.181",
|
|
34
|
+
"@cargo-messages/linux-x64-gnu": "0.0.181",
|
|
35
|
+
"@cargo-messages/win32-arm64-msvc": "0.0.181",
|
|
36
|
+
"@cargo-messages/win32-x64-msvc": "0.0.181"
|
|
37
37
|
}
|
|
38
38
|
}
|