Skip to content

Commit

Permalink
Merge pull request #114 from crashmax-dev/fix/export-types
Browse files Browse the repository at this point in the history
fix: unable to resolve types with `"moduleResolution": "bundler"`
  • Loading branch information
crashmax-dev committed Jul 7, 2023
2 parents 0d174d1 + 210bd14 commit 54e1107
Show file tree
Hide file tree
Showing 6 changed files with 13 additions and 12 deletions.
3 changes: 2 additions & 1 deletion packages/fireworks-js/package.json
Expand Up @@ -11,7 +11,8 @@
"module": "./dist/index.es.js",
"exports": {
"require": "./dist/index.cjs.js",
"import": "./dist/index.es.js"
"import": "./dist/index.es.js",
"types": "./dist/index.d.ts"
},
"files": [
"dist"
Expand Down
3 changes: 2 additions & 1 deletion packages/preact/package.json
Expand Up @@ -11,7 +11,8 @@
"module": "./dist/index.es.js",
"exports": {
"require": "./dist/index.cjs.js",
"import": "./dist/index.es.js"
"import": "./dist/index.es.js",
"types": "./dist/index.d.ts"
},
"files": [
"dist"
Expand Down
3 changes: 2 additions & 1 deletion packages/react/package.json
Expand Up @@ -11,7 +11,8 @@
"module": "./dist/index.es.js",
"exports": {
"require": "./dist/index.cjs.js",
"import": "./dist/index.es.js"
"import": "./dist/index.es.js",
"types": "./dist/index.d.ts"
},
"files": [
"dist"
Expand Down
3 changes: 2 additions & 1 deletion packages/solid/package.json
Expand Up @@ -11,7 +11,8 @@
"module": "./dist/index.es.js",
"exports": {
"require": "./dist/index.cjs.js",
"import": "./dist/index.es.js"
"import": "./dist/index.es.js",
"types": "./dist/index.d.ts"
},
"files": [
"dist"
Expand Down
10 changes: 3 additions & 7 deletions packages/vue/package.json
Expand Up @@ -5,14 +5,10 @@
"description": "A simple fireworks library!",
"homepage": "https://fireworks.js.org",
"types": "./dist/index.d.ts",
"main": "./dist/index.cjs.js",
"main": "./dist/index.umd.js",
"module": "./dist/index.es.js",
"jsdelivr": "./dist/index.umd.js",
"unpkg": "./dist/index.umd.js",
"module": "./dist/index.es.js",
"exports": {
"require": "./dist/index.umd.js",
"default": "./dist/index.es.js"
},
"files": [
"dist"
],
Expand Down Expand Up @@ -50,6 +46,6 @@
"vue-tsc": "1.0.9"
},
"peerDependencies": {
"vue": ">=2.7.0"
"vue": ">=3.0.0"
}
}
3 changes: 2 additions & 1 deletion packages/web/package.json
Expand Up @@ -11,7 +11,8 @@
"module": "./dist/index.es.js",
"exports": {
"require": "./dist/index.cjs.js",
"import": "./dist/index.es.js"
"import": "./dist/index.es.js",
"types": "./dist/index.d.ts"
},
"files": [
"dist"
Expand Down

0 comments on commit 54e1107

Please sign in to comment.