dreaded-fixes #7
13
cli.tsx
13
cli.tsx
@ -99,8 +99,8 @@ if(arg._.length)
|
|||||||
}
|
}
|
||||||
case "cloud" :
|
case "cloud" :
|
||||||
{
|
{
|
||||||
let useToken = await collect("DENO_DEPLOY_TOKEN", arg, env);
|
const useToken = await collect("DENO_DEPLOY_TOKEN", arg, env);
|
||||||
let useProject = await collect("DENO_DEPLOY_PROJECT", arg, env);
|
const useProject = await collect("DENO_DEPLOY_PROJECT", arg, env);
|
||||||
|
|
||||||
let scanProd:string[]|string|null = prompt(`Do you want to deploy to *production*?`);
|
let scanProd:string[]|string|null = prompt(`Do you want to deploy to *production*?`);
|
||||||
if(scanProd)
|
if(scanProd)
|
||||||
@ -113,7 +113,7 @@ if(arg._.length)
|
|||||||
scanProd = [];
|
scanProd = [];
|
||||||
}
|
}
|
||||||
|
|
||||||
await SubProcess([
|
const command = [
|
||||||
"run",
|
"run",
|
||||||
"-A",
|
"-A",
|
||||||
"--no-lock",
|
"--no-lock",
|
||||||
@ -123,10 +123,11 @@ if(arg._.length)
|
|||||||
`--project=${useProject}`,
|
`--project=${useProject}`,
|
||||||
`--token=${useToken}`,
|
`--token=${useToken}`,
|
||||||
`--import-map=${imports.path}`,
|
`--import-map=${imports.path}`,
|
||||||
|
`--exclude=.*,.*/,`,
|
||||||
...scanProd,
|
...scanProd,
|
||||||
...Deno.args,
|
RootHost+"run.tsx"];
|
||||||
RootHost+"run.tsx"]);
|
|
||||||
|
await SubProcess(command);
|
||||||
|
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user