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 authored 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
Original file line number Diff line number Diff line change
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
Original file line number Diff line number Diff line change
@@ -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
Original file line number Diff line number Diff line change
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
Original file line number Diff line number Diff line change
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.