Skip to content

Commit

Permalink
fix: correct package exports (#4707)
Browse files Browse the repository at this point in the history
  • Loading branch information
userquin committed Dec 9, 2023
1 parent 13ff97a commit 37388d6
Show file tree
Hide file tree
Showing 4 changed files with 13 additions and 3 deletions.
5 changes: 3 additions & 2 deletions packages/browser/package.json
Expand Up @@ -25,17 +25,18 @@
"default": "./dist/providers.js"
},
"./providers/webdriverio": {
"types": "./dist/providers/webdriverio.d.ts"
"types": "./providers/webdriverio.d.ts"
},
"./providers/playwright": {
"types": "./dist/providers/playwright.d.ts"
"types": "./providers/playwright.d.ts"
},
"./*": "./*"
},
"main": "./dist/index.js",
"module": "./dist/index.js",
"types": "./dist/index.d.ts",
"files": [
"*.d.ts",
"dist",
"providers"
],
Expand Down
2 changes: 1 addition & 1 deletion packages/browser/providers.d.ts
@@ -1,4 +1,4 @@
import type { BrowserProvider } from 'vitest/nide'
import type { BrowserProvider } from 'vitest/node'

declare const webdriverio: BrowserProvider
declare const playwright: BrowserProvider
Expand Down
2 changes: 2 additions & 0 deletions packages/ui/package.json
Expand Up @@ -29,7 +29,9 @@
"main": "./dist/index.js",
"module": "./dist/index.js",
"types": "./dist/index.d.ts",

"files": [
"*.d.ts",
"dist"
],
"scripts": {
Expand Down
7 changes: 7 additions & 0 deletions packages/utils/package.json
Expand Up @@ -41,6 +41,13 @@
"main": "./dist/index.js",
"module": "./dist/index.js",
"types": "./dist/index.d.ts",
"typesVersions": {
"*": {
"source-map": [
"dist/source-map.d.ts"
]
}
},
"files": [
"*.d.ts",
"dist"
Expand Down

0 comments on commit 37388d6

Please sign in to comment.