Skip to content

Commit

Permalink
build: fix failure to reference type definitions
Browse files Browse the repository at this point in the history
  • Loading branch information
mizdra committed Sep 18, 2022
1 parent 50d5456 commit a016a3d
Show file tree
Hide file tree
Showing 3 changed files with 26 additions and 3 deletions.
7 changes: 6 additions & 1 deletion package.json
Expand Up @@ -104,5 +104,10 @@
}
},
"packageManager": "pnpm@7.9.5",
"prettier": "@mizdra/prettier-config-mizdra"
"prettier": "@mizdra/prettier-config-mizdra",
"pnpm": {
"patchedDependencies": {
"msw@0.47.3": "patches/msw@0.47.3.patch"
}
}
}
12 changes: 12 additions & 0 deletions patches/msw@0.47.3.patch
@@ -0,0 +1,12 @@
diff --git a/package.json b/package.json
index 89136d298d5619b20c4272b5e2aa850a0f6e5c0d..7146cb182616530b5c6e766e253bc1fa4ae5c84d 100644
--- a/package.json
+++ b/package.json
@@ -12,6 +12,7 @@
"default": "./lib/native/index.js"
},
"./node": {
+ "types": "./lib/node/index.d.ts",
"require": "./lib/node/index.js",
"default": "./lib/node/index.mjs"
}
10 changes: 8 additions & 2 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit a016a3d

Please sign in to comment.