Skip to content

Commit

Permalink
fix: missing peer dependency from @auto-it/core requested by ts-node
Browse files Browse the repository at this point in the history
```
$ yarn add auto
➤ YN0002: │ @auto-it/core@npm:10.43.0 doesn't provide @types/node, requested by ts-node

$ yarn explain peer-requirements
➤ YN0000: @auto-it/core@npm:10.43.0 doesn't provide @types/node, breaking the following requirements:

➤ YN0000: ts-node@npm:10.9.1 → * ✘
```

See https://yarnpkg.com/advanced/error-codes#yn0002---missing_peer_dependency

fixes #2343
  • Loading branch information
snebjorn committed Mar 23, 2023
1 parent efaafd4 commit 20d36a2
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions packages/core/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -81,6 +81,11 @@
"peerDependencies": {
"typescript": ">=2.7"
},
"peerDependenciesMeta": {
"@types/node": {
"optional": true
}
},
"devDependencies": {
"@types/dotenv": "^8.2.0",
"@types/env-ci": "^3.1.0",
Expand Down

0 comments on commit 20d36a2

Please sign in to comment.