@launchframe/cli 1.0.0-beta.1 → 1.0.0-beta.3
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
CHANGED
|
@@ -158,6 +158,22 @@ async function deployInit() {
|
|
|
158
158
|
process.exit(1);
|
|
159
159
|
}
|
|
160
160
|
|
|
161
|
+
// Create symlink for docker-compose.override.yml -> docker-compose.prod.yml
|
|
162
|
+
const symlinkSpinner = ora('Creating docker-compose.override.yml symlink...').start();
|
|
163
|
+
|
|
164
|
+
try {
|
|
165
|
+
await executeSSH(
|
|
166
|
+
vpsUser,
|
|
167
|
+
vpsHost,
|
|
168
|
+
`cd ${vpsAppFolder}/infrastructure && ln -sf docker-compose.prod.yml docker-compose.override.yml`
|
|
169
|
+
);
|
|
170
|
+
symlinkSpinner.succeed('Docker Compose override symlink created');
|
|
171
|
+
} catch (error) {
|
|
172
|
+
symlinkSpinner.fail('Failed to create symlink');
|
|
173
|
+
console.log(chalk.red(`\n❌ Error: ${error.message}\n`));
|
|
174
|
+
process.exit(1);
|
|
175
|
+
}
|
|
176
|
+
|
|
161
177
|
// Check if waitlist is running and stop it (full-app deployment)
|
|
162
178
|
try {
|
|
163
179
|
const { stdout: psOutput } = await executeSSH(
|
|
@@ -172,6 +172,16 @@ async function buildFullAppImages(projectRoot, projectName, githubOrg, envFilePa
|
|
|
172
172
|
websiteBuildArgs
|
|
173
173
|
);
|
|
174
174
|
}
|
|
175
|
+
|
|
176
|
+
// Build docs (optional service - VitePress documentation)
|
|
177
|
+
if (installedServices.includes('docs')) {
|
|
178
|
+
await buildAndPushImage(
|
|
179
|
+
'docs',
|
|
180
|
+
path.join(projectRoot, 'docs'),
|
|
181
|
+
registry,
|
|
182
|
+
projectName
|
|
183
|
+
);
|
|
184
|
+
}
|
|
175
185
|
}
|
|
176
186
|
|
|
177
187
|
/**
|