version deploy ctl #12

Merged
SethTrowbridge merged 1 commits from fix-deploy into master 2024-05-04 08:18:25 -04:00
6 changed files with 17 additions and 35 deletions

View File

@ -1 +1,2 @@
deno.lock deno.lock
.env

8
.vscode/launch.json vendored
View File

@ -5,13 +5,17 @@
"version": "0.2.0", "version": "0.2.0",
"configurations": [ "configurations": [
{ {
"request": "launch",
"name": "Debug Serve Mode", "name": "Debug Serve Mode",
"request": "launch",
"type": "node", "type": "node",
"cwd": "${workspaceFolder}/example",
"runtimeExecutable": "deno", "runtimeExecutable": "deno",
"runtimeArgs": ["task", "debug"], "runtimeArgs": ["task", "debug"],
"attachSimplePort": 9229 "attachSimplePort": 9229
},
{
"name":"Attach",
"request": "attach",
"type": "node"
} }
] ]
} }

View File

@ -1,3 +0,0 @@
{
"deno.enable": true
}

View File

@ -118,12 +118,12 @@ if(arg._.length)
"-A", "-A",
"--no-lock", "--no-lock",
`--config=${config.path}`, `--config=${config.path}`,
"https://deno.land/x/deploy/deployctl.ts", "https://deno.land/x/deploy@1.12.0/deployctl.ts",
"deploy", "deploy",
`--project=${useProject}`, `--project=${useProject}`,
`--token=${useToken}`, `--token=${useToken}`,
`--import-map=${imports.path}`, `--import-map=${imports.path}`,
`--exclude=.*,.*/,`, `--exclude=.*`,
...scanProd, ...scanProd,
RootHost+"run.tsx"]; RootHost+"run.tsx"];

View File

@ -6,16 +6,16 @@
"@preact/signals": "https://esm.sh/@preact/signals@1.2.1", "@preact/signals": "https://esm.sh/@preact/signals@1.2.1",
"signals-original": "https://esm.sh/@preact/signals@1.2.1", "signals-original": "https://esm.sh/@preact/signals@1.2.1",
"@twind/core": "https://esm.sh/@twind/core@1.1.3", "@twind/core": "https://esm.sh/@twind/core@1.1.3",
">able/": "http://localhost:4507/", ">able/": "./",
">able/app.tsx": "./app.tsx" ">able/app.tsx": "./app.tsx"
}, },
"tasks": { "tasks": {
"check": "deno run -A --no-lock http://localhost:4507/cli.tsx check", "check": "deno run -A --no-lock ./cli.tsx check",
"local": "deno run -A --no-lock http://localhost:4507/cli.tsx local", "local": "deno run -A --no-lock ./cli.tsx local",
"debug": "deno run -A --no-lock http://localhost:4507/cli.tsx debug", "debug": "deno run -A --no-lock ./cli.tsx debug",
"serve": "deno run -A --no-lock http://localhost:4507/cli.tsx serve", "serve": "deno run -A --no-lock ./cli.tsx serve",
"cloud": "deno run -A --no-lock http://localhost:4507/cli.tsx cloud", "cloud": "deno run -A --no-lock ./cli.tsx cloud",
"install": "deno install -A -r -f -n able http://localhost:4507/cli.tsx" "install": "deno install -A -r -f -n able ./cli.tsx"
}, },
"compilerOptions": { "compilerOptions": {
"jsx": "react-jsx", "jsx": "react-jsx",

View File

@ -1,20 +0,0 @@
{
"compilerOptions": { "lib": ["deno.window", "dom"],
"jsx": "react-jsx",
"jsxImportSource": "react"
},
"imports":
{
"react":"https://esm.sh/preact@10.15.1/compat",
"react/":"https://esm.sh/preact@10.15.1/compat/",
"react-original":"https://esm.sh/preact@10.15.1/compat",
},
"tasks":
{
"local": "deno run -A --reload=http://localhost:4507 --no-lock ./run-local.tsx --port=1234",
"serve": "deno run -A --reload=http://localhost:4507 --no-lock ./run-serve.tsx --port=1234",
"cloud": "deno run -A --reload=http://localhost:4507 --no-lock ./run-deploy.tsx",
"debug": "deno run -A --reload=http://localhost:4507 --no-lock --inspect-wait ./run-serve.tsx --port=1234",
}
}