seedfast 2.3.0 → 2.4.0
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 +1 -1
- package/index.js +1 -1
- package/package.json +8 -8
package/README.md
CHANGED
|
@@ -36,7 +36,7 @@ brew install argon-it/tap/seedfast
|
|
|
36
36
|
|
|
37
37
|
### Download Binary
|
|
38
38
|
|
|
39
|
-
Download the latest release for your platform from
|
|
39
|
+
Download the latest release for your platform from [https://download.seedfa.st/seedfast/latest/](https://download.seedfa.st/seedfast/latest/). Pinned versions are available at `https://download.seedfa.st/seedfast/v<version>/<artifact>` (for example `https://download.seedfa.st/seedfast/latest/seedfast_Darwin_arm64.tar.gz`).
|
|
40
40
|
|
|
41
41
|
### From Source
|
|
42
42
|
|
package/index.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
const path = require('path');
|
|
3
3
|
const child_process = require('child_process');
|
|
4
|
-
const mapping = {
|
|
4
|
+
const mapping = { linux_x64: { name: [ 'seedfast_linux_amd64' ], bin: 'seedfast' }, linux_arm64: { name: [ 'seedfast_linux_arm64' ], bin: 'seedfast' }, win32_x64: { name: [ 'seedfast_windows_amd64' ], bin: 'seedfast.exe' }, darwin_x64: { name: [ 'seedfast_darwin_amd64' ], bin: 'seedfast' }, darwin_arm64: { name: [ 'seedfast_darwin_arm64' ], bin: 'seedfast' } };
|
|
5
5
|
const definition = mapping[process.platform + '_' + process.arch];
|
|
6
6
|
const packageJsonPath = require.resolve(path.join(...definition.name, 'package.json'));
|
|
7
7
|
const packagePath = path.join(path.dirname(packageJsonPath), definition.bin);
|
package/package.json
CHANGED
|
@@ -1,20 +1,20 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "seedfast",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.4.0",
|
|
4
4
|
"bin": {
|
|
5
5
|
"seedfast": "index.js"
|
|
6
6
|
},
|
|
7
7
|
"optionalDependencies": {
|
|
8
|
-
"
|
|
9
|
-
"
|
|
10
|
-
"seedfast_windows_amd64": "2.
|
|
11
|
-
"
|
|
12
|
-
"seedfast_darwin_arm64": "2.
|
|
8
|
+
"seedfast_linux_amd64": "2.4.0",
|
|
9
|
+
"seedfast_linux_arm64": "2.4.0",
|
|
10
|
+
"seedfast_windows_amd64": "2.4.0",
|
|
11
|
+
"seedfast_darwin_amd64": "2.4.0",
|
|
12
|
+
"seedfast_darwin_arm64": "2.4.0"
|
|
13
13
|
},
|
|
14
14
|
"os": [
|
|
15
|
-
"darwin",
|
|
16
15
|
"linux",
|
|
17
|
-
"win32"
|
|
16
|
+
"win32",
|
|
17
|
+
"darwin"
|
|
18
18
|
],
|
|
19
19
|
"cpu": [
|
|
20
20
|
"x64",
|