11ty/eleventy

Fewer permission requests for Deno

zachleat opened this issue · 2 comments

v2 and v3 seem to work fine with Deno, although our test runner ava does not so we can not yet run the full Eleventy test suite.

deno --allow-read --allow-write npm:@11ty/eleventy
deno --allow-read --allow-write npm:@11ty/eleventy@canary
deno --allow-read --allow-write npm:@11ty/eleventy@canary

Noting that --allow-write is only necessary when using --to=fs (not --dryrun).

These additional permissions are requested:

  • env access
  • node:os.cpus() via fs.walk and fast-glob

Can we reduce some of these?

This repository is now using lodash style issue management for enhancements. This means enhancement issues will now be closed instead of leaving them open.

View the enhancement backlog here. Don’t forget to upvote the top comment with 👍!

Once this work is complete we can add Deno to the package manager commands on the official docs alongside pnpm and yarn as noted here #2876 (comment)