@webhikers/cli 1.1.16 → 1.1.18
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/package.json +1 -1
- package/src/commands/create.js +2 -11
package/package.json
CHANGED
package/src/commands/create.js
CHANGED
|
@@ -128,16 +128,7 @@ export async function createCommand(name) {
|
|
|
128
128
|
writeFileSync(resolve(projectDir, ".env"), envContent, "utf-8");
|
|
129
129
|
console.log(c.green(" ✓ .env written"));
|
|
130
130
|
|
|
131
|
-
// --- 5.
|
|
132
|
-
let gitRepo;
|
|
133
|
-
try {
|
|
134
|
-
gitRepo = runCapture("git remote get-url origin", { cwd: projectDir });
|
|
135
|
-
} catch {
|
|
136
|
-
console.error(c.red("Error: No git remote 'origin' found."));
|
|
137
|
-
process.exit(1);
|
|
138
|
-
}
|
|
139
|
-
|
|
140
|
-
// --- 6. Setup Coolify deployment ---
|
|
131
|
+
// --- 5. Setup Coolify deployment ---
|
|
141
132
|
console.log(c.cyan("\n4/5 Setting up Coolify deployment..."));
|
|
142
133
|
console.log(` Domain: ${c.bold(domain)}`);
|
|
143
134
|
|
|
@@ -166,7 +157,7 @@ export async function createCommand(name) {
|
|
|
166
157
|
docker_compose_domains: [
|
|
167
158
|
{ name: "app", domain: `https://${domain}` },
|
|
168
159
|
],
|
|
169
|
-
instant_deploy:
|
|
160
|
+
instant_deploy: true,
|
|
170
161
|
});
|
|
171
162
|
const appUuid = app.uuid;
|
|
172
163
|
|