From d941abde0fbc172cf87c6e69cc3e6b5fb663e482 Mon Sep 17 00:00:00 2001 From: Seth Trowbridge Date: Sat, 4 May 2024 08:12:06 -0400 Subject: [PATCH] version deploy ctl update to new exclusion glob patterns --- .gitingore | 3 ++- .vscode/launch.json | 8 ++++++-- .vscode/settings.json | 3 --- cli.tsx | 4 ++-- deno.jsonc | 14 +++++++------- deno__.json | 20 -------------------- 6 files changed, 17 insertions(+), 35 deletions(-) delete mode 100644 .vscode/settings.json delete mode 100644 deno__.json diff --git a/.gitingore b/.gitingore index 941fcf1..485fc86 100644 --- a/.gitingore +++ b/.gitingore @@ -1 +1,2 @@ -deno.lock \ No newline at end of file +deno.lock +.env \ No newline at end of file diff --git a/.vscode/launch.json b/.vscode/launch.json index a00fbf1..affbfb4 100644 --- a/.vscode/launch.json +++ b/.vscode/launch.json @@ -5,13 +5,17 @@ "version": "0.2.0", "configurations": [ { - "request": "launch", "name": "Debug Serve Mode", + "request": "launch", "type": "node", - "cwd": "${workspaceFolder}/example", "runtimeExecutable": "deno", "runtimeArgs": ["task", "debug"], "attachSimplePort": 9229 + }, + { + "name":"Attach", + "request": "attach", + "type": "node" } ] } \ No newline at end of file diff --git a/.vscode/settings.json b/.vscode/settings.json deleted file mode 100644 index b943dbc..0000000 --- a/.vscode/settings.json +++ /dev/null @@ -1,3 +0,0 @@ -{ - "deno.enable": true -} \ No newline at end of file diff --git a/cli.tsx b/cli.tsx index 0bc3741..dd059b7 100644 --- a/cli.tsx +++ b/cli.tsx @@ -118,12 +118,12 @@ if(arg._.length) "-A", "--no-lock", `--config=${config.path}`, - "https://deno.land/x/deploy/deployctl.ts", + "https://deno.land/x/deploy@1.12.0/deployctl.ts", "deploy", `--project=${useProject}`, `--token=${useToken}`, `--import-map=${imports.path}`, - `--exclude=.*,.*/,`, + `--exclude=.*`, ...scanProd, RootHost+"run.tsx"]; diff --git a/deno.jsonc b/deno.jsonc index 5c84f45..aab72ec 100644 --- a/deno.jsonc +++ b/deno.jsonc @@ -6,16 +6,16 @@ "@preact/signals": "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", - ">able/": "http://localhost:4507/", + ">able/": "./", ">able/app.tsx": "./app.tsx" }, "tasks": { - "check": "deno run -A --no-lock http://localhost:4507/cli.tsx check", - "local": "deno run -A --no-lock http://localhost:4507/cli.tsx local", - "debug": "deno run -A --no-lock http://localhost:4507/cli.tsx debug", - "serve": "deno run -A --no-lock http://localhost:4507/cli.tsx serve", - "cloud": "deno run -A --no-lock http://localhost:4507/cli.tsx cloud", - "install": "deno install -A -r -f -n able http://localhost:4507/cli.tsx" + "check": "deno run -A --no-lock ./cli.tsx check", + "local": "deno run -A --no-lock ./cli.tsx local", + "debug": "deno run -A --no-lock ./cli.tsx debug", + "serve": "deno run -A --no-lock ./cli.tsx serve", + "cloud": "deno run -A --no-lock ./cli.tsx cloud", + "install": "deno install -A -r -f -n able ./cli.tsx" }, "compilerOptions": { "jsx": "react-jsx", diff --git a/deno__.json b/deno__.json deleted file mode 100644 index cc26f5d..0000000 --- a/deno__.json +++ /dev/null @@ -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", - } -} \ No newline at end of file -- 2.34.1