@neon-rs/cli 0.0.179 → 0.0.180

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.
Files changed (2) hide show
  1. package/index.js +4 -3
  2. 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: 'binaries', alias: 'b', type: String, defaultValue: null }
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, --binaries <dir>', summary: 'Run `npm version --force <version>` on all binary packages in <dir>.' },
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
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@neon-rs/cli",
3
- "version": "0.0.179",
3
+ "version": "0.0.180",
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.179",
31
- "@cargo-messages/darwin-arm64": "0.0.179",
32
- "@cargo-messages/darwin-x64": "0.0.179",
33
- "@cargo-messages/linux-arm-gnueabihf": "0.0.179",
34
- "@cargo-messages/linux-x64-gnu": "0.0.179",
35
- "@cargo-messages/win32-arm64-msvc": "0.0.179",
36
- "@cargo-messages/win32-x64-msvc": "0.0.179"
30
+ "@cargo-messages/android-arm-eabi": "0.0.180",
31
+ "@cargo-messages/darwin-arm64": "0.0.180",
32
+ "@cargo-messages/darwin-x64": "0.0.180",
33
+ "@cargo-messages/linux-arm-gnueabihf": "0.0.180",
34
+ "@cargo-messages/linux-x64-gnu": "0.0.180",
35
+ "@cargo-messages/win32-arm64-msvc": "0.0.180",
36
+ "@cargo-messages/win32-x64-msvc": "0.0.180"
37
37
  }
38
38
  }