Skip to content

fix: Deno Instructions Not WorkingΒ #4593

@gbrohammer

Description

@gbrohammer

Steps to Reproduce

1. deno add -D npm:@commitlint/cli npm:@commitlint/config-conventional
2. echo "export default { extends: ['@commitlint/config-conventional'] };" > commitlint.config.mjs
3. deno task --eval commitlint --from HEAD~1 --to HEAD --verbose

Current Behavior

Task commitlint "--from" "HEAD~1" "--to" "HEAD" "--verbose" error: Could not find referrer npm package 'file:///var/home/ge-org/.cache/deno/npm/registry.npmjs.org/@commitlint/cli/20.3.1/lib/cli.js' (@commitlint/cli@20.3.1).

Expected Behavior

The command should work according to the setup instructions.

Affected packages

  • cli
  • core
  • prompt
  • config-angular

Possible Solution

No response

Context

no package.json file

commitlint --version

@commitlint/cli@^20.3.1

git --version

v2.52.0

node --version

deno v2.6.4

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions