@meetploy/cli 1.11.1 → 1.11.2
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.
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
<!doctype html>
|
|
2
|
+
<html lang="en">
|
|
3
|
+
<head>
|
|
4
|
+
<meta charset="UTF-8" />
|
|
5
|
+
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
|
6
|
+
<title>Ploy Dev Dashboard</title>
|
|
7
|
+
<script type="module" crossorigin src="/assets/main-X-CWS305.js"></script>
|
|
8
|
+
<link rel="stylesheet" crossorigin href="/assets/main-Bsiap3cJ.css">
|
|
9
|
+
</head>
|
|
10
|
+
<body>
|
|
11
|
+
<div id="root"></div>
|
|
12
|
+
</body>
|
|
13
|
+
</html>
|
package/dist/index.js
CHANGED
|
@@ -3999,12 +3999,18 @@ async function authCommand(options) {
|
|
|
3999
3999
|
// src/commands/build.ts
|
|
4000
4000
|
init_cli();
|
|
4001
4001
|
function detectPackageManager() {
|
|
4002
|
-
|
|
4003
|
-
|
|
4004
|
-
|
|
4005
|
-
|
|
4006
|
-
|
|
4007
|
-
|
|
4002
|
+
let dir = process.cwd();
|
|
4003
|
+
while (dir !== "/") {
|
|
4004
|
+
if (existsSync(join(dir, "pnpm-lock.yaml"))) {
|
|
4005
|
+
return "pnpm";
|
|
4006
|
+
}
|
|
4007
|
+
if (existsSync(join(dir, "yarn.lock"))) {
|
|
4008
|
+
return "yarn";
|
|
4009
|
+
}
|
|
4010
|
+
if (existsSync(join(dir, "package-lock.json"))) {
|
|
4011
|
+
return "npm";
|
|
4012
|
+
}
|
|
4013
|
+
dir = join(dir, "..");
|
|
4008
4014
|
}
|
|
4009
4015
|
return "npm";
|
|
4010
4016
|
}
|
|
@@ -4049,10 +4055,10 @@ function runWranglerBuild(entrypoint, ployConfig) {
|
|
|
4049
4055
|
args2 = ["wrangler", "build", "--config", tempConfigPath];
|
|
4050
4056
|
} else if (packageManager === "yarn") {
|
|
4051
4057
|
command2 = "yarn";
|
|
4052
|
-
args2 = ["wrangler", "build", "--config", tempConfigPath];
|
|
4058
|
+
args2 = ["dlx", "wrangler", "build", "--config", tempConfigPath];
|
|
4053
4059
|
} else {
|
|
4054
4060
|
command2 = "pnpm";
|
|
4055
|
-
args2 = ["wrangler", "build", "--config", tempConfigPath];
|
|
4061
|
+
args2 = ["exec", "wrangler", "build", "--config", tempConfigPath];
|
|
4056
4062
|
}
|
|
4057
4063
|
console.log(`Running: ${command2} ${args2.join(" ")}`);
|
|
4058
4064
|
const child = spawn(command2, args2, {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@meetploy/cli",
|
|
3
|
-
"version": "1.11.
|
|
3
|
+
"version": "1.11.2",
|
|
4
4
|
"private": false,
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -41,8 +41,8 @@
|
|
|
41
41
|
"esbuild": "^0.24.0",
|
|
42
42
|
"hono": "^4.7.0",
|
|
43
43
|
"openapi-fetch": "0.14.0",
|
|
44
|
-
"workerd": "
|
|
45
|
-
"wrangler": "
|
|
44
|
+
"workerd": "catalog:",
|
|
45
|
+
"wrangler": "catalog:",
|
|
46
46
|
"yaml": "2.8.1"
|
|
47
47
|
},
|
|
48
48
|
"devDependencies": {
|