Deno
DARST uses Deno for security and performance. Here is everything you should know:
Install
You should have Deno installed. You can install it from the official website or copy and paste the following command.
Package management
While DARST uses Deno for scripts and tasks, NPM is still used for package management as it offers better compatibility.
So any packages installed or removed should be done with NPM
Tasks and Scripts
Deno is used for running tasks and scripts within DARST. Tasks for astro
and shadcn
CLI’s have been added.
Linting and Formatting
Deno is also used for linting and formatting the source code. Experimental flags
been enabled to also allow for formatting .astro
files.
Formatting and linting configuration can be changed from deno.json
.