Skip to content

Commit

Permalink
fix: types not read when moduleResolution is not "node" (#302)
Browse files Browse the repository at this point in the history
fixes #298
  • Loading branch information
voliva committed Jul 11, 2023
1 parent 155fb04 commit 6aa83dd
Show file tree
Hide file tree
Showing 4 changed files with 18 additions and 15 deletions.
16 changes: 8 additions & 8 deletions package-lock.json

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

7 changes: 4 additions & 3 deletions packages/core/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,13 +13,14 @@
"import": "./dist/core.es2019.mjs",
"require": "./dist/index.cjs"
},
"default": "./dist/core.es2017.js"
"default": "./dist/core.es2017.js",
"types": "./dist/index.d.ts"
},
"./package.json": "./package.json"
},
"module": "./dist/core.es2017.js",
"main": "./dist/index.js",
"typings": "./dist/index.d.ts",
"types": "./dist/index.d.ts",
"files": [
"dist"
],
Expand Down Expand Up @@ -50,7 +51,7 @@
"Victor Oliva (https://github.com/voliva)"
],
"dependencies": {
"@rx-state/core": "0.1.2",
"@rx-state/core": "0.1.3",
"use-sync-external-store": "^1.0.0"
},
"devDependencies": {
Expand Down
5 changes: 3 additions & 2 deletions packages/dom/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,13 +13,14 @@
"import": "./dist/dom.es2019.mjs",
"require": "./dist/index.cjs"
},
"default": "./dist/dom.es2017.js"
"default": "./dist/dom.es2017.js",
"types": "./dist/index.d.ts"
},
"./package.json": "./package.json"
},
"module": "./dist/dom.es2017.js",
"main": "./dist/index.js",
"typings": "./dist/index.d.ts",
"types": "./dist/index.d.ts",
"files": [
"dist"
],
Expand Down
5 changes: 3 additions & 2 deletions packages/utils/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,13 +13,14 @@
"import": "./dist/utils.es2019.mjs",
"require": "./dist/index.cjs"
},
"default": "./dist/utils.es2017.js"
"default": "./dist/utils.es2017.js",
"types": "./dist/index.d.ts"
},
"./package.json": "./package.json"
},
"module": "./dist/utils.es2017.js",
"main": "./dist/index.js",
"typings": "./dist/index.d.ts",
"types": "./dist/index.d.ts",
"files": [
"dist"
],
Expand Down

0 comments on commit 6aa83dd

Please sign in to comment.