Skip to content

Commit

Permalink
fix: use node-linker=hoisted in npmrc to avoid devvit type errors
Browse files Browse the repository at this point in the history
  • Loading branch information
virtuallyunknown committed Dec 25, 2024
1 parent 0108a08 commit 0b7dca6
Show file tree
Hide file tree
Showing 2 changed files with 2,164 additions and 37 deletions.
6 changes: 5 additions & 1 deletion .npmrc
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
prefer-workspace-packages=true
link-workspace-packages=deep
save-workspace-protocol=false
save-workspace-protocol=false

# Use node-linker hoisted to mimic npm and fix devvit typescript errors
# https://pnpm.io/npmrc#node-linker
node-linker=hoisted
Loading

0 comments on commit 0b7dca6

Please sign in to comment.