Skip to content

feat(typescript): make typescript a peer dependency#944

Merged
jhiode merged 3 commits into
nextfrom
typescript-peerdep
Sep 10, 2019
Merged

feat(typescript): make typescript a peer dependency#944
jhiode merged 3 commits into
nextfrom
typescript-peerdep

Conversation

@jhiode

@jhiode jhiode commented Sep 10, 2019

Copy link
Copy Markdown
Contributor

BREAKING CHANGE:

In order to improve flexibility we changed TypeScript to be a peer dependency now.
Please install at least v3.6.0 of the typescript package.

@ZauberNerd

Copy link
Copy Markdown
Contributor

Why 3.6 instead of ^3.0.0?
Also: I think you should have a short summary after the words BREAKING CHANGE: - the first line will be put into the change log.

Comment thread packages/spec/integration/typescript/package.json Outdated
@jhiode
jhiode force-pushed the typescript-peerdep branch 2 times, most recently from 4255432 to f9c1561 Compare September 10, 2019 08:50
@jhiode

jhiode commented Sep 10, 2019

Copy link
Copy Markdown
Contributor Author

We use 3.2 now because that allows to use a package name in the extends field (See microsoft/TypeScript#27348).

Comment thread packages/typescript/package.json Outdated
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.
@jhiode
jhiode merged commit 0101031 into next Sep 10, 2019
@jhiode
jhiode deleted the typescript-peerdep branch September 10, 2019 09:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants