build: 🔒 narrow dev:add_package script deno net permissions

This commit is contained in:
Julien Oculi 2024-06-15 16:24:29 +02:00
parent e9b3437775
commit e44401415a

View file

@ -9,7 +9,7 @@
"preview": "deno run -A main.ts", "preview": "deno run -A main.ts",
"update": "deno run -A -r https://fresh.deno.dev/update .", "update": "deno run -A -r https://fresh.deno.dev/update .",
"serve": "deno task preview", "serve": "deno task preview",
"dev:add_package": "deno run --allow-net --allow-read=./deno.json --allow-write=./deno.json,./packages --allow-run=git,deno ./scripts/add_package.ts" "dev:add_package": "deno run --allow-net=git.cohabit.fr --allow-read=. --allow-write=./deno.json,./packages --allow-run=git,deno ./scripts/add_package.ts"
}, },
"fmt": { "fmt": {
"singleQuote": true, "singleQuote": true,