Skip to content

Commit

Permalink
fix(env): Copy .d.mts file
Browse files Browse the repository at this point in the history
  • Loading branch information
tommy351 committed Apr 21, 2024
1 parent c98b372 commit 5282065
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 4 deletions.
1 change: 0 additions & 1 deletion .changeset/wise-glasses-deliver.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@
"@kosko/common-utils": patch
"@kosko/config": patch
"create-kosko": patch
"@kosko/env": patch
"@kosko/exec-utils": patch
"@kosko/generate": patch
"@kosko/helm": patch
Expand Down
12 changes: 9 additions & 3 deletions packages/env/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,15 +16,21 @@
"types": "dist/index.d.ts",
"sideEffects": false,
"scripts": {
"build": "build-scripts"
"build": "build-scripts && cp dist/index.d.ts dist/index.d.mts"
},
"exports": {
"node": {
"import": "./dist/index.node.mjs",
"import": {
"types": "./dist/index.d.mts",
"default": "./dist/index.node.mjs"
},
"types": "./dist/index.d.ts",
"require": "./index.node.cjs"
},
"import": "./dist/index.base.mjs",
"import": {
"types": "./dist/index.d.mts",
"default": "./dist/index.node.mjs"
},
"types": "./dist/index.d.ts",
"require": "./index.node.cjs"
},
Expand Down

0 comments on commit 5282065

Please sign in to comment.