@napi-rs/cli 1.3.2 → 1.3.3
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/CHANGELOG.md +6 -0
- package/package.json +1 -1
- package/scripts/index.js +2 -2
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,12 @@
|
|
|
3
3
|
All notable changes to this project will be documented in this file.
|
|
4
4
|
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
5
5
|
|
|
6
|
+
## [1.3.3](https://github.com/napi-rs/napi-rs/compare/@napi-rs/cli@1.3.2...@napi-rs/cli@1.3.3) (2021-09-19)
|
|
7
|
+
|
|
8
|
+
### Bug Fixes
|
|
9
|
+
|
|
10
|
+
- **cli:** version of binary optional dependencies should be pinned ([27dbca8](https://github.com/napi-rs/napi-rs/commit/27dbca814c90bacbbb54e75a66eee56cb7372324))
|
|
11
|
+
|
|
6
12
|
## [1.3.2](https://github.com/napi-rs/napi-rs/compare/@napi-rs/cli@1.3.1...@napi-rs/cli@1.3.2) (2021-09-14)
|
|
7
13
|
|
|
8
14
|
### Bug Fixes
|
package/package.json
CHANGED
package/scripts/index.js
CHANGED
|
@@ -23310,7 +23310,7 @@ var require_package = __commonJS({
|
|
|
23310
23310
|
"cli/package.json"(exports2, module2) {
|
|
23311
23311
|
module2.exports = {
|
|
23312
23312
|
name: "@napi-rs/cli",
|
|
23313
|
-
version: "1.3.
|
|
23313
|
+
version: "1.3.3",
|
|
23314
23314
|
description: "Cli tools for napi-rs",
|
|
23315
23315
|
keywords: ["cli", "rust", "napi", "n-api", "neon"],
|
|
23316
23316
|
author: "LongYinan <lynweklm@gmail.com>",
|
|
@@ -29068,7 +29068,7 @@ var PrePublishCommand = class extends import_clipanion6.Command {
|
|
|
29068
29068
|
yield VersionCommand.updatePackageJson(this.prefix, this.configFileName);
|
|
29069
29069
|
yield updatePackageJson(packageJsonPath, {
|
|
29070
29070
|
optionalDependencies: platforms.reduce((acc, cur) => {
|
|
29071
|
-
acc[`${packageName}-${cur.platformArchABI}`] =
|
|
29071
|
+
acc[`${packageName}-${cur.platformArchABI}`] = `${version}`;
|
|
29072
29072
|
return acc;
|
|
29073
29073
|
}, {})
|
|
29074
29074
|
});
|