Skip to content

Commit

Permalink
fix: add missing types to exports (cypress-io#22498)
Browse files Browse the repository at this point in the history
Co-authored-by: Matt Henkes <[email protected]>
  • Loading branch information
2 people authored and rubinda committed Jul 13, 2022
1 parent 4208ced commit 042d7f4
Showing 1 changed file with 10 additions and 5 deletions.
15 changes: 10 additions & 5 deletions cli/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -119,26 +119,31 @@
"exports": {
".": {
"import": "./index.mjs",
"require": "./index.js"
"require": "./index.js",
"types": "./types/index.d.ts"
},
"./vue": {
"import": "./vue/dist/cypress-vue.esm-bundler.js",
"require": "./vue/dist/cypress-vue.cjs.js"
"require": "./vue/dist/cypress-vue.cjs.js",
"types": "./vue/dist/index.d.ts"
},
"./vue2": {
"import": "./vue2/dist/cypress-vue2.esm-bundler.js",
"require": "./vue2/dist/cypress-vue2.cjs.js"
"require": "./vue2/dist/cypress-vue2.cjs.js",
"types": "./vue2/dist/index.d.ts"
},
"./package.json": {
"import": "./package.json",
"require": "./package.json"
},
"./react": {
"import": "./react/dist/cypress-react.esm-bundler.js",
"require": "./react/dist/cypress-react.cjs.js"
"require": "./react/dist/cypress-react.cjs.js",
"types": "./react/dist/index.d.ts"
},
"./mount-utils": {
"require": "./mount-utils/dist/index.js"
"require": "./mount-utils/dist/index.js",
"types": "./mount-utils/dist/index.d.ts"
}
},
"workspaces": {
Expand Down

0 comments on commit 042d7f4

Please sign in to comment.