Skip to content

Commit

Permalink
chore: reintroduce typescript as optional peerDependency
Browse files Browse the repository at this point in the history
devDeps: pin to typescript ~5.2.0 in devDeps only

@typescript-eslint/typescript-estree is only used for linting and
shouldn't affect runtime dependencies.
  • Loading branch information
legobeat committed Oct 23, 2023
1 parent 9db3ebd commit 726d2c2
Showing 1 changed file with 10 additions and 2 deletions.
12 changes: 10 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,14 @@
"ts-graphviz": "^1.8.1",
"walkdir": "^0.4.1"
},
"peerDependencies": {
"typescript": "^3.9.5 || ^4.9.5 || ^5"
},
"peerDependenciesMeta": {
"typescript": {
"optional": true
}
},
"devDependencies": {
"@aptoma/eslint-config": "^7.0.1",
"auto-changelog": "^2.4.0",
Expand All @@ -66,6 +74,6 @@
"mz": "^2.7.0",
"release-it": "^15.6.0",
"should": "^13.2.3",
"typescript": "<=5.2.0"
"typescript": "^5.0.4 <5.2"
}
}
}

0 comments on commit 726d2c2

Please sign in to comment.