Compare commits
2 Commits
67b2eef7ae
...
4964dd7823
Author | SHA1 | Date | |
---|---|---|---|
4964dd7823 | |||
d941abde0f |
@ -1 +1,2 @@
|
|||||||
deno.lock
|
deno.lock
|
||||||
|
.env
|
8
.vscode/launch.json
vendored
8
.vscode/launch.json
vendored
@ -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"
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
}
|
}
|
3
.vscode/settings.json
vendored
3
.vscode/settings.json
vendored
@ -1,3 +0,0 @@
|
|||||||
{
|
|
||||||
"deno.enable": true
|
|
||||||
}
|
|
4
cli.tsx
4
cli.tsx
@ -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"];
|
||||||
|
|
||||||
|
14
deno.jsonc
14
deno.jsonc
@ -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",
|
||||||
|
20
deno__.json
20
deno__.json
@ -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",
|
|
||||||
}
|
|
||||||
}
|
|
Loading…
Reference in New Issue
Block a user