Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions .lefthook.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,6 @@ pre-commit:
stage_fixed: true
- run: mise exec -- yarn lint
- run: mise exec -- yarn build
- run: mise exec -- yarn install --mode=update-lockfile && git add yarn.lock
- run: mise exec -- yarn test/ install --mode=update-lockfile && git add test/yarn.lock
- run: mise exec -- yarn install --mode=update-lockfile && yarn dedupe --mode=update-lockfile && git add yarn.lock
- run: mise exec -- yarn test/ install --mode=update-lockfile && yarn test/ dedupe --mode=update-lockfile && git add test/yarn.lock
- run: mise exec -- yarn knip
27 changes: 20 additions & 7 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,9 @@
"description": "Transforms module resolution paths using TypeScript path mapping and/or custom paths",
"type": "module",
"exports": {
".": {
"types": "./dist/index.d.ts",
"default": "./dist/index.js"
},
"./plugins/nx": "./dist/plugins/nx.js"
".": "./dist/index.mjs",
"./plugins/nx": "./dist/plugins/nx.mjs",
"./package.json": "./package.json"
},
"files": [
"dist",
Expand All @@ -17,7 +15,7 @@
],
"scripts": {
"compile": "tsc",
"build": "yarn clean && yarn compile",
"build": "tsdown",
"test": "yarn test/ test",
"release": "changelogen --release --push",
"--------------": "",
Expand All @@ -32,6 +30,17 @@
"prepack": "yarn build",
"knip": "knip"
},
"tsdown": {
"entry": [
"src/index.ts",
"src/plugins/*.ts"
],
"exports": true,
"unbundle": false,
"dts": true,
"format": "esm",
"clean": true
},
"keywords": [
"typescript",
"transform",
Expand Down Expand Up @@ -65,6 +74,7 @@
"oxfmt": "^0.60.0",
"oxlint": "^1.75.0",
"ts-patch": "^3.3.0",
"tsdown": "^0.22.14",
"typescript": "^5.9.3"
},
"peerDependencies": {
Expand All @@ -76,5 +86,8 @@
"engines": {
"node": ">=22"
},
"packageManager": "yarn@4.17.1+sha512.ccbfabf7d7b6b32075088be9386fb9a2e00bb6887ef07fa56effabc890a56d53da1ccc4128d62db245fcbd3961b236d75335bdf7d5320ed6eafb7588b7ad4697"
"packageManager": "yarn@4.17.1+sha512.ccbfabf7d7b6b32075088be9386fb9a2e00bb6887ef07fa56effabc890a56d53da1ccc4128d62db245fcbd3961b236d75335bdf7d5320ed6eafb7588b7ad4697",
"inlinedDependencies": {
"ts-patch": "3.3.0"
}
}
Loading
Loading