Skip to content

Commit

Permalink
🏷️ chore: Update types in package.json (#1033)
Browse files Browse the repository at this point in the history
  • Loading branch information
duckception authored Dec 6, 2023
1 parent b7ef438 commit 49b5c0f
Show file tree
Hide file tree
Showing 8 changed files with 16 additions and 24 deletions.
9 changes: 3 additions & 6 deletions packages/core/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,14 +3,11 @@
"version": "0.0.0",
"type": "module",
"exports": {
".": {
"import": {
"types": "./types/index.d.ts",
"default": "./dist/index.js"
}
}
"types": "./types/index.d.ts",
"default": "./dist/index.js"
},
"main": "./dist/index.js",
"types": "./types/index.d.ts",
"bin": "./dist/cli/index.js",
"files": [
"dist",
Expand Down
1 change: 1 addition & 0 deletions packages/core/tsup.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ export default defineConfig({
outDir: 'dist',
format: 'esm',
splitting: false,
treeshake: true,
sourcemap: true,
external: ['playwright-core']
})
9 changes: 3 additions & 6 deletions packages/fixtures/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,14 +3,11 @@
"version": "0.0.0",
"type": "module",
"exports": {
".": {
"import": {
"types": "./types/index.d.ts",
"default": "./dist/index.js"
}
}
"types": "./types/index.d.ts",
"default": "./dist/index.js"
},
"main": "./dist/index.js",
"types": "./types/index.d.ts",
"files": [
"dist",
"src",
Expand Down
1 change: 1 addition & 0 deletions packages/fixtures/tsup.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ export default defineConfig({
outDir: 'dist',
format: 'esm',
splitting: false,
treeshake: true,
sourcemap: true,
external: ['@playwright/test']
})
9 changes: 3 additions & 6 deletions release/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,14 +3,11 @@
"version": "3.0.0",
"type": "module",
"exports": {
".": {
"import": {
"types": "./types/index.d.ts",
"default": "./dist/index.js"
}
}
"types": "./types/index.d.ts",
"default": "./dist/index.js"
},
"main": "./dist/index.js",
"types": "./types/index.d.ts",
"bin": "./dist/cli.js",
"files": [
"dist",
Expand Down
1 change: 1 addition & 0 deletions release/tsup.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,5 +6,6 @@ export default defineConfig({
outDir: 'dist',
format: 'esm',
splitting: false,
treeshake: true,
sourcemap: false
})
9 changes: 3 additions & 6 deletions wallets/metamask/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,14 +3,11 @@
"version": "0.0.0",
"type": "module",
"exports": {
".": {
"import": {
"types": "./types/index.d.ts",
"default": "./dist/index.js"
}
}
"types": "./types/index.d.ts",
"default": "./dist/index.js"
},
"main": "./dist/index.js",
"types": "./types/index.d.ts",
"files": [
"dist",
"src",
Expand Down
1 change: 1 addition & 0 deletions wallets/metamask/tsup.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ export default defineConfig({
outDir: 'dist',
format: 'esm',
splitting: false,
treeshake: true,
sourcemap: true,
external: ['@playwright/test']
})

0 comments on commit 49b5c0f

Please sign in to comment.