@seyuna/cli 0.0.2-dev.12 → 0.0.2-dev.13
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/install.js +2 -2
- package/package.json +4 -4
package/install.js
CHANGED
|
@@ -12,7 +12,7 @@ const BINARY_DISTRIBUTION_PACKAGES = {
|
|
|
12
12
|
};
|
|
13
13
|
|
|
14
14
|
// Adjust the version you want to install.
|
|
15
|
-
const BINARY_DISTRIBUTION_VERSION = "0.0.2-dev.
|
|
15
|
+
const BINARY_DISTRIBUTION_VERSION = "0.0.2-dev.13";
|
|
16
16
|
|
|
17
17
|
|
|
18
18
|
// Windows binaries end with .exe so we need to special case them.
|
|
@@ -85,7 +85,7 @@ function extractFileFromTarball(tarballBuffer, filepath) {
|
|
|
85
85
|
async function downloadBinaryFromNpm() {
|
|
86
86
|
// Download the tarball of the right binary distribution package
|
|
87
87
|
const tarballDownloadBuffer = await makeRequest(
|
|
88
|
-
`https://registry.npmjs.org
|
|
88
|
+
`https://registry.npmjs.org/@seyuna/cli/-/${platformSpecificPackageName}-${BINARY_DISTRIBUTION_VERSION}.tgz`
|
|
89
89
|
);
|
|
90
90
|
|
|
91
91
|
const tarballBuffer = zlib.unzipSync(tarballDownloadBuffer);
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@seyuna/cli",
|
|
3
|
-
"version": "0.0.2-dev.
|
|
3
|
+
"version": "0.0.2-dev.13",
|
|
4
4
|
"main": "./index.js",
|
|
5
5
|
"bin": {
|
|
6
6
|
"seyuna": "./bin/seyuna"
|
|
@@ -15,8 +15,8 @@
|
|
|
15
15
|
"node": ">=18"
|
|
16
16
|
},
|
|
17
17
|
"optionalDependencies": {
|
|
18
|
-
"@seyuna/cli-darwin": "0.0.2-dev.
|
|
19
|
-
"@seyuna/cli-linux": "0.0.2-dev.
|
|
20
|
-
"@seyuna/cli-win32": "0.0.2-dev.
|
|
18
|
+
"@seyuna/cli-darwin": "0.0.2-dev.13",
|
|
19
|
+
"@seyuna/cli-linux": "0.0.2-dev.13",
|
|
20
|
+
"@seyuna/cli-win32": "0.0.2-dev.13"
|
|
21
21
|
}
|
|
22
22
|
}
|