Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Upgrade TS to 3.8.3 and simplify transition config types #1103

Merged
merged 10 commits into from
Apr 4, 2020

Conversation

davidkpiano
Copy link
Member

This should also fix the "Type instantiation is excessively deep and possibly infinite." errors. microsoft/TypeScript#37613

@changeset-bot
Copy link

changeset-bot bot commented Mar 30, 2020

🦋 Changeset is good to go

Latest commit: 20de55e

We got this.

This PR includes changesets to release 7 packages
Name Type
xstate Minor
@xstate/analytics Major
@xstate/graph Major
@xstate/immer Major
@xstate/react Major
@xstate/test Major
@xstate/vue Major

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@Andarist
Copy link
Member

Andarist commented Apr 3, 2020

Have u maybe deleted yarn.lock and regenerated it by doing a fresh install? Changes to yarn.lock seem to be too big for what you have changed in package.jsons .

@codesandbox-ci
Copy link

codesandbox-ci bot commented Apr 4, 2020

This pull request is automatically built and testable in CodeSandbox.

To see build info of the built libraries, click here or the icon next to each commit SHA.

Latest deployment of this branch, based on commit 20de55e:

Sandbox Source
zen-jones-r15w4 Configuration
gifted-joliot-txuk1 Configuration

} = getDependencyVersionRange(dependentPkgJSON, nextRelease.name); // Firstly we check if it is a peerDependency because if it is, our dependent bump type needs to be major.

- if (depTypes.includes("peerDependencies") && nextRelease.type !== "patch" && (!releases.has(dependent) || releases.has(dependent) && releases.get(dependent).type !== "major")) {
+ if (depTypes.includes("peerDependencies") && nextRelease.type === "major" && (!releases.has(dependent) || releases.has(dependent) && releases.get(dependent).type !== "major")) {
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

well - this has existed for a reason :p it allows us to minor-bump XState without major-bumping dependencies its peer-dependent packages

I can bring this patch back later though

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please do - I was unable to build without following the instructions and removing this patch.

Co-Authored-By: Mateusz Burzyński <mateuszburzynski@gmail.com>
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.

None yet

2 participants