SteveS
Denoβ€’9mo agoβ€’
7 replies
Steve

How to use permissions with node scripts

I wanted to setup an Angular project with deno and i noticed that if i run
deno task ng
or
deno task serve
it just runs those commands from the package.json without using the deno permission system. I guess that makes sense for compatibility reasons but I want to run
ng
with only the permissions it needs e.g.
--allow-read=. --allow-net
or something like that. Is there any way of doing that? Are other people doing Angular 19 projects with deno and have a working setup with minimal permissions?
Was this page helpful?