Skip to content

Commit

Permalink
Move generated-code-dependencies to peerDependencies.
Browse files Browse the repository at this point in the history
I'm tempted to remove these dependencies all together because at this
point ts-proto has many different flags that can change whether the
generated code actually does/does not use certain dependencies.

I.e. users using the "only types" output probably don't want
ts-proto to bring in any dependencies. I guess in that case, they
could be using ts-proto as a devDependency.

Fixes #147.
  • Loading branch information
stephenh committed Oct 24, 2020
1 parent d4ed102 commit da5f10a
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -37,10 +37,12 @@
"uglify-js": "^3.9.2"
},
"dependencies": {
"ts-poet": "^1.0.1"
},
"peerDependencies": {
"@types/object-hash": "^1.3.0",
"dataloader": "^1.4.0",
"object-hash": "^1.3.1",
"protobufjs": "^6.8.8",
"ts-poet": "^1.0.1"
"protobufjs": "^6.8.8"
}
}

0 comments on commit da5f10a

Please sign in to comment.