pallium 0.9.2 → 0.9.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/README.md +8 -1
- package/package.json +1 -1
- package/scripts/test.js +2 -2
package/README.md
CHANGED
|
@@ -12,7 +12,14 @@ The package installs the matching Pallium release binary from GitHub into
|
|
|
12
12
|
platform, it falls back to:
|
|
13
13
|
|
|
14
14
|
```bash
|
|
15
|
-
go install github.com/tszaks/pallium@v0.9.
|
|
15
|
+
go install github.com/tszaks/pallium@v0.9.3
|
|
16
|
+
```
|
|
17
|
+
|
|
18
|
+
GitHub Packages mirror:
|
|
19
|
+
|
|
20
|
+
```bash
|
|
21
|
+
npm config set @tszaks:registry https://npm.pkg.github.com
|
|
22
|
+
npm install -g @tszaks/pallium
|
|
16
23
|
```
|
|
17
24
|
|
|
18
25
|
Supported prebuilt platforms:
|
package/package.json
CHANGED
package/scripts/test.js
CHANGED
|
@@ -6,8 +6,8 @@ const { assetName, parseChecksum, platformKey } = require("./lib");
|
|
|
6
6
|
|
|
7
7
|
assert.match(platformKey(), /^(darwin|linux|win32|freebsd|openbsd|aix|sunos)-/);
|
|
8
8
|
if (["darwin-arm64", "darwin-amd64", "linux-arm64", "linux-amd64"].includes(platformKey())) {
|
|
9
|
-
assert.match(assetName(), /^pallium_0\.9\.
|
|
9
|
+
assert.match(assetName(), /^pallium_0\.9\.3_(darwin|linux)_(arm64|amd64)\.tar\.gz$/);
|
|
10
10
|
}
|
|
11
|
-
assert.equal(parseChecksum("abc123 pallium_0.9.
|
|
11
|
+
assert.equal(parseChecksum("abc123 pallium_0.9.3_darwin_arm64.tar.gz\n", "pallium_0.9.3_darwin_arm64.tar.gz"), "abc123");
|
|
12
12
|
|
|
13
13
|
console.log("pallium npm wrapper tests passed");
|