diff options
| author | nsfisis <nsfisis@gmail.com> | 2025-10-06 02:39:35 +0900 |
|---|---|---|
| committer | nsfisis <nsfisis@gmail.com> | 2025-10-06 02:39:35 +0900 |
| commit | 623a3733bf44c655d98917afac3f7858bca36f05 (patch) | |
| tree | 598fdbbf87fce11456613573fb799ac5ae810d41 /services/blog/deno.jsonc | |
| parent | 706e7a1230f7c55ebf1ebf4f2404a0d3a07d5737 (diff) | |
| download | nsfisis.dev-623a3733bf44c655d98917afac3f7858bca36f05.tar.gz nsfisis.dev-623a3733bf44c655d98917afac3f7858bca36f05.tar.zst nsfisis.dev-623a3733bf44c655d98917afac3f7858bca36f05.zip | |
refactor(blog/nuldoc): use Deno permission set
Diffstat (limited to 'services/blog/deno.jsonc')
| -rw-r--r-- | services/blog/deno.jsonc | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/services/blog/deno.jsonc b/services/blog/deno.jsonc index d42fd765..5ae2eef5 100644 --- a/services/blog/deno.jsonc +++ b/services/blog/deno.jsonc @@ -18,6 +18,16 @@ "jsxImportSource": "myjsx", "jsxImportSourceTypes": "myjsx-types", }, + "permissions": { + "default": { + "read": ["."], + "write": ["."], + "net": ["127.0.0.1:8000"], + "env": [ + "VSCODE_TEXTMATE_DEBUG", // VSCODE_TEXTMATE_DEBUG is read by shiki. + ], + }, + } "tasks": { "check": "deno check nuldoc-src/main.ts && deno lint -- nuldoc-src/ && deno fmt --check -- nuldoc-src/", "fmt": "deno fmt -- nuldoc-src", |
