RolloR
Denoβ€’4mo ago
Rollo

πŸ¦• Deno adds to package.json instead of deno.jsonc.

Here's my package.json for react-router-v7 deno template (https://github.com/remix-run/react-router-templates/tree/main/deno)
{
  "name": "rr7-deno",
  "comment": "This only exists to help vite module resolution. Do not use this file, instread use deno.json."
}

When i do deno add npm:@antfu/eslint-config, it adds it to the
package.json
instead of deno.jsonc.
{
  "name": "rr7-deno",
  "comment": "This only exists to help vite module resolution. Do not use this file, instread use deno.json.",
  "dependencies": {
    "@antfu/eslint-config": "^5.3.0"
  }
}


How do i make sure package entries are made in the correct file?

Thanks!
GitHub
Contribute to remix-run/react-router-templates development by creating an account on GitHub.
react-router-templates/deno at main Β· remix-run/react-router-templ...
Was this page helpful?