Skip to content

Commit

Permalink
add optional node peer deps to fix disabled TS skipLibCheck
Browse files Browse the repository at this point in the history
  • Loading branch information
ryanatkn committed Oct 5, 2024
1 parent 09555d4 commit 578f632
Show file tree
Hide file tree
Showing 4 changed files with 23 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .changeset/heavy-sheep-play.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@ryanatkn/belt': patch
---

add optional peer dep `@types/node` to fix disabled TS `skipLibCheck`
8 changes: 8 additions & 0 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 8 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,14 @@
"utilities",
"web"
],
"peerDependencies": {
"@types/node": "^22.7.4"
},
"peerDependenciesMeta": {
"@types/node": {
"optional": true
}
},
"devDependencies": {
"@changesets/changelog-git": "^0.2.0",
"@ryanatkn/eslint-config": "^0.5.5",
Expand Down
2 changes: 2 additions & 0 deletions src/routes/package.ts
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,8 @@ export const package_json = {
type: 'module',
engines: {node: '>=20.17'},
keywords: ['js', 'typescript', 'utilities', 'web'],
peerDependencies: {'@types/node': '^22.7.4'},
peerDependenciesMeta: {'@types/node': {optional: true}},
devDependencies: {
'@changesets/changelog-git': '^0.2.0',
'@ryanatkn/eslint-config': '^0.5.5',
Expand Down

0 comments on commit 578f632

Please sign in to comment.