seedfast 1.24.2 → 1.24.4
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/index.js +1 -1
- package/package.json +7 -7
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 = { darwin_x64: { name: [ 'seedfast_darwin_amd64' ], bin: 'seedfast' }, win32_x64: { name: [ 'seedfast_windows_amd64' ], bin: 'seedfast.exe' }, linux_x64: { name: [ 'seedfast_linux_amd64' ], bin: 'seedfast' }, linux_arm64: { name: [ 'seedfast_linux_arm64' ], 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,19 +1,19 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "seedfast",
|
|
3
|
-
"version": "1.24.
|
|
3
|
+
"version": "1.24.4",
|
|
4
4
|
"bin": {
|
|
5
5
|
"seedfast": "index.js"
|
|
6
6
|
},
|
|
7
7
|
"optionalDependencies": {
|
|
8
|
-
"
|
|
9
|
-
"
|
|
10
|
-
"
|
|
11
|
-
"
|
|
12
|
-
"seedfast_darwin_arm64": "1.24.
|
|
8
|
+
"seedfast_darwin_amd64": "1.24.4",
|
|
9
|
+
"seedfast_windows_amd64": "1.24.4",
|
|
10
|
+
"seedfast_linux_amd64": "1.24.4",
|
|
11
|
+
"seedfast_linux_arm64": "1.24.4",
|
|
12
|
+
"seedfast_darwin_arm64": "1.24.4"
|
|
13
13
|
},
|
|
14
14
|
"os": [
|
|
15
|
-
"win32",
|
|
16
15
|
"darwin",
|
|
16
|
+
"win32",
|
|
17
17
|
"linux"
|
|
18
18
|
],
|
|
19
19
|
"cpu": [
|