Skip to content

Switch to using deno to build and develop the site #1

@taoeffect

Description

@taoeffect

Problem

The Node.js ecosystem is very vulnerable to supply-chain attacks. These threaten (you) the developer, as well as our users.

Solution

See this PR: okTurtles/chel#58

We can replace all of thenpm run * commands with deno task * equivalents that use deno run with appropriate permissions.

Add a deno.json file and remove the tasks from package.json. In fact, I don't think we need a package.json file anymore, a deno.json file will replace it and a deno.lock file will replace package-lock.json when you start using commands like deno task build => deno run --allow-read --allow-write=. npm:astro build.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions