Skip to content

Commit 22c37cc

Browse files
chore: remove explicit peer dependencies
We currently list monocle-ts and newtype-ts as explicit dependencies, since these two packages are peer dependencies of io-ts-types[^1] and npm 6 doesn't automatically install peer dependencies (like npm 7 does). This commit removes the explicit peer dependencies, because when npm 7+ is used the behavior will be the same. Additionally, in npm 6 these to packages won't be installed but they aren't needed, so there will be no breaking change. [^1]: https://github.com/gcanti/io-ts-types/blob/master/package.json#L40-L41
1 parent 029e2b3 commit 22c37cc

File tree

3 files changed

+6
-14
lines changed

3 files changed

+6
-14
lines changed

package-lock.json

Lines changed: 5 additions & 9 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

packages/io-ts-http/package.json

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -20,9 +20,7 @@
2020
"@api-ts/response": "0.0.0-semantically-released",
2121
"fp-ts": "2.11.8",
2222
"io-ts": "2.1.3",
23-
"io-ts-types": "0.5.16",
24-
"monocle-ts": "2.3.10",
25-
"newtype-ts": "0.3.4"
23+
"io-ts-types": "0.5.16"
2624
},
2725
"devDependencies": {
2826
"@types/chai": "4.2.12",

packages/superagent-wrapper/package.json

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,8 +33,6 @@
3333
"express": "4.17.1",
3434
"io-ts-types": "0.5.16",
3535
"mocha": "9.0.3",
36-
"monocle-ts": "2.3.10",
37-
"newtype-ts": "0.3.4",
3836
"nyc": "15.1.0",
3937
"ts-node": "9.0.0",
4038
"typescript": "4.5.5"

0 commit comments

Comments
 (0)