Skip to content

Commit

Permalink
feat(typescript): make typescript a peer dependency
Browse files Browse the repository at this point in the history
In order to improve flexibility we decided to let you chose the version of TypeScript you want to use.
Please add the `typescript` package to your project.

BREAKING CHANGE: TypeScript is now a peer dependency.
  • Loading branch information
jhiode authored and actions-user committed Oct 7, 2019
1 parent 31067c2 commit aa0c2ee
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 6 deletions.
9 changes: 7 additions & 2 deletions packages/typescript/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,13 @@
},
"dependencies": {
"hops-mixin": "^11.9.1",
"ts-loader": "^6.0.0",
"typescript": "^3.2.1"
"ts-loader": "^6.0.0"
},
"peerDependencies": {
"typescript": "^3.2.0"
},
"devDependencies": {
"typescript": "^3.2.0"
},
"homepage": "https://github.com/xing/hops/tree/master/packages/typescript#readme"
}
8 changes: 4 additions & 4 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -12722,10 +12722,10 @@ typedarray@^0.0.6:
resolved "https://registry.yarnpkg.com/typedarray/-/typedarray-0.0.6.tgz#867ac74e3864187b1d3d47d996a78ec5c8830777"
integrity sha1-hnrHTjhkGHsdPUfZlqeOxciDB3c=

typescript@^3.2.1:
version "3.6.3"
resolved "https://registry.yarnpkg.com/typescript/-/typescript-3.6.3.tgz#fea942fabb20f7e1ca7164ff626f1a9f3f70b4da"
integrity sha512-N7bceJL1CtRQ2RiG0AQME13ksR7DiuQh/QehubYcghzv20tnh+MQnQIuJddTmsbqYj+dztchykemz0zFzlvdQw==
typescript@^3.2.0:
version "3.6.2"
resolved "https://registry.yarnpkg.com/typescript/-/typescript-3.6.2.tgz#105b0f1934119dde543ac8eb71af3a91009efe54"
integrity sha512-lmQ4L+J6mnu3xweP8+rOrUwzmN+MRAj7TgtJtDaXE5PMyX2kCrklhg3rvOsOIfNeAWMQWO2F1GPc1kMD2vLAfw==

uglify-js@^3.1.4:
version "3.6.0"
Expand Down

0 comments on commit aa0c2ee

Please sign in to comment.