@onreza/nrz 0.48.5 → 0.48.6
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/README.md +9 -0
- package/package.json +1 -1
- package/scripts/postinstall.js +9 -9
package/README.md
CHANGED
|
@@ -9,6 +9,15 @@ npm install -g @onreza/nrz
|
|
|
9
9
|
npm install -g @onreza/nrz@beta # prerelease channel
|
|
10
10
|
```
|
|
11
11
|
|
|
12
|
+
With npm 12 or newer, allow the native binary installer explicitly:
|
|
13
|
+
|
|
14
|
+
```bash
|
|
15
|
+
npm install -g --allow-scripts=@onreza/nrz @onreza/nrz
|
|
16
|
+
npm install -g --allow-scripts=@onreza/nrz @onreza/nrz@beta
|
|
17
|
+
```
|
|
18
|
+
|
|
19
|
+
This permits nrz's postinstall script to download and verify the native binary.
|
|
20
|
+
|
|
12
21
|
After installation the `nrz` binary is available in your `$PATH`.
|
|
13
22
|
|
|
14
23
|
## Usage
|
package/package.json
CHANGED
package/scripts/postinstall.js
CHANGED
|
@@ -13,19 +13,19 @@ const __dirname = dirname(__filename);
|
|
|
13
13
|
|
|
14
14
|
const MANIFEST = {
|
|
15
15
|
"assets": {
|
|
16
|
-
"linux-x64": "https://github.com/ONREZA/nrz-cli/releases/download/v0.48.
|
|
17
|
-
"darwin-x64": "https://github.com/ONREZA/nrz-cli/releases/download/v0.48.
|
|
18
|
-
"darwin-arm64": "https://github.com/ONREZA/nrz-cli/releases/download/v0.48.
|
|
19
|
-
"win32-x64": "https://github.com/ONREZA/nrz-cli/releases/download/v0.48.
|
|
16
|
+
"linux-x64": "https://github.com/ONREZA/nrz-cli/releases/download/v0.48.6/nrz-linux-x64.tar.gz",
|
|
17
|
+
"darwin-x64": "https://github.com/ONREZA/nrz-cli/releases/download/v0.48.6/nrz-darwin-x64.tar.gz",
|
|
18
|
+
"darwin-arm64": "https://github.com/ONREZA/nrz-cli/releases/download/v0.48.6/nrz-darwin-arm64.tar.gz",
|
|
19
|
+
"win32-x64": "https://github.com/ONREZA/nrz-cli/releases/download/v0.48.6/nrz-win32-x64.tar.gz"
|
|
20
20
|
},
|
|
21
21
|
"checksums": {
|
|
22
|
-
"linux-x64": "
|
|
23
|
-
"darwin-x64": "
|
|
24
|
-
"darwin-arm64": "
|
|
25
|
-
"win32-x64": "
|
|
22
|
+
"linux-x64": "c268d3d9e4456ca6c3e4c707540d23306fbcd85379ac44010a1855ce4ec9f747",
|
|
23
|
+
"darwin-x64": "8084bc7b40f3eadb5178c2e358c414490cdc863a93685b2806329173876131fe",
|
|
24
|
+
"darwin-arm64": "1e435fa4504bf8a99109a4b785bc505e139b9a259960d15342d56d6fa9d2255e",
|
|
25
|
+
"win32-x64": "ae571a2c504853bea5e3cbe8aa9fbf788fb683ad0f3629825dd9b277f23e1017"
|
|
26
26
|
},
|
|
27
27
|
"binName": "nrz",
|
|
28
|
-
"version": "0.48.
|
|
28
|
+
"version": "0.48.6"
|
|
29
29
|
};
|
|
30
30
|
|
|
31
31
|
const platformKey = `${platform}-${arch}`;
|