Rollo
Rolloโ€ข19h ago

๐Ÿฆ• 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."
}
{
"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"
}
}
{
"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
react-router-templates/deno at main ยท remix-run/react-router-templ...
Contribute to remix-run/react-router-templates development by creating an account on GitHub.
0 Replies
No replies yetBe the first to reply to this messageJoin

Did you find this page helpful?