@depot/cli 0.0.1-cli.2.36.4 → 0.0.1-cli.2.36.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/bin/depot +1 -1
- package/install.js +1 -1
- package/lib/main.js +1 -1
- package/package.json +10 -10
package/bin/depot
CHANGED
|
@@ -176,7 +176,7 @@ for your current platform.`);
|
|
|
176
176
|
"node_modules",
|
|
177
177
|
".cache",
|
|
178
178
|
"@depot/cli",
|
|
179
|
-
`pnpapi-${pkg.replace("/", "-")}-${"2.36.
|
|
179
|
+
`pnpapi-${pkg.replace("/", "-")}-${"2.36.6"}-${path.basename(subpath)}`
|
|
180
180
|
);
|
|
181
181
|
if (!fs.existsSync(binTargetPath)) {
|
|
182
182
|
fs.mkdirSync(path.dirname(binTargetPath), { recursive: true });
|
package/install.js
CHANGED
|
@@ -225,7 +225,7 @@ function maybeOptimizePackage(binPath) {
|
|
|
225
225
|
}
|
|
226
226
|
}
|
|
227
227
|
async function downloadDirectlyFromNPM(pkg, subpath, binPath) {
|
|
228
|
-
const url = `https://registry.npmjs.org/${pkg}/-/${pkg.replace("@depot/
|
|
228
|
+
const url = `https://registry.npmjs.org/${pkg}/-/${pkg.replace("@depot/", "")}-${versionFromPackageJSON}.tgz`;
|
|
229
229
|
console.error(`[@depot/cli] Trying to download ${JSON.stringify(url)}`);
|
|
230
230
|
try {
|
|
231
231
|
fs.writeFileSync(binPath, extractFileFromTarGzip(await fetch(url), subpath));
|
package/lib/main.js
CHANGED
|
@@ -2342,7 +2342,7 @@ for your current platform.`);
|
|
|
2342
2342
|
"node_modules",
|
|
2343
2343
|
".cache",
|
|
2344
2344
|
"@depot/cli",
|
|
2345
|
-
`pnpapi-${pkg.replace("/", "-")}-${"2.36.
|
|
2345
|
+
`pnpapi-${pkg.replace("/", "-")}-${"2.36.6"}-${path3.basename(subpath)}`
|
|
2346
2346
|
);
|
|
2347
2347
|
if (!fs.existsSync(binTargetPath)) {
|
|
2348
2348
|
fs.mkdirSync(path3.dirname(binTargetPath), { recursive: true });
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@depot/cli",
|
|
3
|
-
"version": "0.0.1-cli.2.36.
|
|
3
|
+
"version": "0.0.1-cli.2.36.6",
|
|
4
4
|
"description": "Depot CLI",
|
|
5
5
|
"repository": "https://github.com/depot/cli",
|
|
6
6
|
"license": "MIT",
|
|
@@ -13,15 +13,15 @@
|
|
|
13
13
|
"main": "lib/main.js",
|
|
14
14
|
"types": "lib/main.d.ts",
|
|
15
15
|
"optionalDependencies": {
|
|
16
|
-
"@depot/cli-darwin-arm64": "0.0.1-cli.2.36.
|
|
17
|
-
"@depot/cli-darwin-x64": "0.0.1-cli.2.36.
|
|
18
|
-
"@depot/cli-linux-arm": "0.0.1-cli.2.36.
|
|
19
|
-
"@depot/cli-linux-arm64": "0.0.1-cli.2.36.
|
|
20
|
-
"@depot/cli-linux-ia32": "0.0.1-cli.2.36.
|
|
21
|
-
"@depot/cli-linux-x64": "0.0.1-cli.2.36.
|
|
22
|
-
"@depot/cli-win32-arm64": "0.0.1-cli.2.36.
|
|
23
|
-
"@depot/cli-win32-ia32": "0.0.1-cli.2.36.
|
|
24
|
-
"@depot/cli-win32-x64": "0.0.1-cli.2.36.
|
|
16
|
+
"@depot/cli-darwin-arm64": "0.0.1-cli.2.36.6",
|
|
17
|
+
"@depot/cli-darwin-x64": "0.0.1-cli.2.36.6",
|
|
18
|
+
"@depot/cli-linux-arm": "0.0.1-cli.2.36.6",
|
|
19
|
+
"@depot/cli-linux-arm64": "0.0.1-cli.2.36.6",
|
|
20
|
+
"@depot/cli-linux-ia32": "0.0.1-cli.2.36.6",
|
|
21
|
+
"@depot/cli-linux-x64": "0.0.1-cli.2.36.6",
|
|
22
|
+
"@depot/cli-win32-arm64": "0.0.1-cli.2.36.6",
|
|
23
|
+
"@depot/cli-win32-ia32": "0.0.1-cli.2.36.6",
|
|
24
|
+
"@depot/cli-win32-x64": "0.0.1-cli.2.36.6"
|
|
25
25
|
},
|
|
26
26
|
"publishConfig": {
|
|
27
27
|
"access": "public"
|