@oodarun/cli 0.1.6 → 0.1.8
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/dist/cli.js +3 -1
- package/package.json +1 -1
package/dist/cli.js
CHANGED
|
@@ -1804,6 +1804,8 @@ async function deployToolsViaRest(projectName, token, projectRoot, onProgress) {
|
|
|
1804
1804
|
uploads.push(writeFile(`${projectRoot}/ooda-vite-plugin.mjs`, OODA_VITE_PLUGIN));
|
|
1805
1805
|
uploads.push(writeFile("/tmp/ooda-patch-config.mjs", OODA_CONFIG_PATCH_SCRIPT));
|
|
1806
1806
|
await Promise.all(uploads);
|
|
1807
|
+
await exec(`mkdir -p "${projectRoot}/node_modules" && ln -sf $(node -e "console.log(require.resolve('ws').replace(/\\/ws\\.js$/,''))" 2>/dev/null || echo /usr/local/lib/node_modules/ws) "${projectRoot}/node_modules/ws" 2>/dev/null`).catch(() => {
|
|
1808
|
+
});
|
|
1807
1809
|
const patchResult = await exec(`node /tmp/ooda-patch-config.mjs "${projectRoot}" 2>&1`).catch((err) => {
|
|
1808
1810
|
const msg = err instanceof Error ? err.message : String(err);
|
|
1809
1811
|
log(`Config patch failed: ${msg}`);
|
|
@@ -5341,7 +5343,7 @@ async function deployFromGitHubFlow(target, apiToken, claudeToken) {
|
|
|
5341
5343
|
}
|
|
5342
5344
|
|
|
5343
5345
|
// src/cli/index.ts
|
|
5344
|
-
var CLI_VERSION = "0.1.
|
|
5346
|
+
var CLI_VERSION = "0.1.8";
|
|
5345
5347
|
function formatMutationError(result) {
|
|
5346
5348
|
const parts = [];
|
|
5347
5349
|
if (result.status !== void 0) parts.push(String(result.status));
|