Skip to content

Commit

Permalink
fix(deps): remove user dep on deno (#452)
Browse files Browse the repository at this point in the history
We accidentally introduced a dependency on deno at site build time by
including a command that uses `deno` in a post-install hook.

The intent was to run it before typechecking, so including it in the
build command is fine and won't run for users.
  • Loading branch information
serhalp authored Sep 9, 2024
1 parent 8334674 commit 2717e5a
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions packages/remix-edge-adapter/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -40,9 +40,10 @@
],
"scripts": {
"prepack": "pnpm run build",
"postinstall": "deno types > deno.d.ts",
"build": "tsup-node src/index.ts src/vite/plugin.ts --format esm,cjs --dts --target node16 --clean",
"build:watch": "pnpm run build --watch"
"build": "pnpm run build:src && pnpm run build:types",
"build:src": "tsup-node src/index.ts src/vite/plugin.ts --format esm,cjs --dts --target node16 --clean",
"build:types": "deno types > deno.d.ts",
"build:watch": "pnpm run build:src --watch"
},
"repository": {
"type": "git",
Expand Down

0 comments on commit 2717e5a

Please sign in to comment.