Skip to content

Commit

Permalink
Use new nodeModulesDir option
Browse files Browse the repository at this point in the history
  • Loading branch information
redabacha committed Oct 9, 2024
1 parent d4004f3 commit 0795f97
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 10 deletions.
8 changes: 4 additions & 4 deletions integration/helpers/vite-deno-template/deno.jsonc
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
{
"tasks": {
"build": "deno run -A 'npm:@remix-run/dev@*' vite:build",
"dev": "deno run -A 'npm:@remix-run/dev@*' vite:dev",
"typecheck": "deno check '**/*' && deno run -A npm:typescript@^5.5.4/tsc",
"build": "deno run -A npm:@remix-run/dev vite:build",
"dev": "deno run -A npm:@remix-run/dev vite:dev",
"typecheck": "deno check '**/*' && deno run -A npm:typescript/tsc",
"typegen": "deno types > ./app/deno.d.ts"
},
"exclude": ["app/", "build/"],
"nodeModulesDir": true,
"nodeModulesDir": "manual",
"unstable": ["kv"],
"imports": {
// These remix packages should be treated like workspace:* dependencies.
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"nodeModulesDir": true,
"nodeModulesDir": "manual",
"imports": {
"is-odd": "npm:[email protected]"
}
Expand Down
10 changes: 5 additions & 5 deletions templates/deno/deno.json
Original file line number Diff line number Diff line change
@@ -1,18 +1,18 @@
{
"tasks": {
"build": "deno run -A npm:@remix-run/dev@^2.11.2 vite:build",
"build": "deno run -A npm:@remix-run/dev vite:build",
"deploy": "deployctl deploy --prod --include=deno.json,deno.lock,build,server.production.ts --project=<your deno deploy project> ./server.production.ts",
"dev": "deno run -A npm:@remix-run/dev@^2.11.2 vite:dev",
"lint": "deno lint && deno run -A npm:eslint@^8.57.0 --ignore-path .gitignore --cache --cache-location ./node_modules/.cache/eslint .",
"dev": "deno run -A npm:@remix-run/dev vite:dev",
"lint": "deno lint && deno run -A npm:eslint --ignore-path .gitignore --cache --cache-location ./node_modules/.cache/eslint .",
"start": "deno serve -A --parallel ./server.production.ts",
"typecheck": "deno check '**/*' && deno run -A npm:typescript@^5.5.4/tsc",
"typecheck": "deno check '**/*' && deno run -A npm:typescript/tsc",
"typegen": "deno types > ./app/deno.d.ts"
},
"exclude": [
"app/",
"build/"
],
"nodeModulesDir": true,
"nodeModulesDir": "manual",
"imports": {
"@remix-run/dev": "npm:@remix-run/dev@^2.11.2",
"@remix-run/react": "npm:@remix-run/react@^2.11.2",
Expand Down

0 comments on commit 0795f97

Please sign in to comment.