Initialize a NestJS project configured to run with Deno.
Requirements: Deno 2, Git, and an internet connection.
deno run -A jsr:@scriptcamilo/init-deno-nestjs my-apiTo pin the CLI version:
deno run -A jsr:@scriptcamilo/init-deno-nestjs@0.1.0 my-apiThen:
cd my-api
deno task devThe -A flag grants all permissions. The CLI can instead be run with explicit
permissions (Git itself needs network and environment access in addition to the
permissions granted to the Deno process):
deno run --allow-run=git --allow-read --allow-write --allow-net \
--allow-env jsr:@scriptcamilo/init-deno-nestjs my-api- Clones the latest template with
git clone --depth 1. - Removes the template's Git history.
- Initializes a new, empty Git repository on the
mainbranch.
- It does not install dependencies or create a commit.
- It does not rename package internals or edit template files.
- It does not configure databases, authentication, or infrastructure.
Existing destination directories are never overwritten. If creation fails, the CLI attempts to remove only the incomplete directory created by that run.
deno task fmt
deno task lint
deno task check
deno task test
deno task publish:dryMIT