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

fix: Update peerDependencies to fix lerna version tasks #3914

Merged
merged 21 commits into from
Mar 30, 2023

Conversation

bdbch
Copy link
Member

@bdbch bdbch commented Mar 30, 2023

Please describe your changes

This PR fixes issues we ran into with lerna not being able to update our package-lock because of invalid peerDependencies. This PR solves this issue.

It also includes a change for the versioning task. The version task now won't push and commit automatically anymore. I think it's a good idea, because that way the developer can:

  1. Verify the changes made by Lerna
  2. Test versioning and packaging updates
  3. Have control over the tagging process

Sure makes things a bit more complicated but also allows for more fine grained control.

How did you accomplish your changes

I went through all packages one by one and replaced the peerDependencies to their correct versions.

How have you tested your changes

I created local test versions including new package-lock files and it worked out fine. bumped up to 2.1.0-pre.0 for a test.

How can we verify your changes

Clone my pull request and run npm run release:minor:pre and see if the versions + the package-lock are updated.

Remarks

Nothing to add here.

Checklist

  • The changes are not breaking the editor
  • Added tests where possible
  • Followed the guidelines
  • Fixed linting issues

Related issues

No related issues.

@bdbch bdbch added Status: Review Category: Open Source The issue or pull reuqest is related to the open source packages of Tiptap. labels Mar 30, 2023
@bdbch bdbch requested a review from svenadlung March 30, 2023 08:18
@bdbch bdbch self-assigned this Mar 30, 2023
@bdbch bdbch added this to the 2.1.0 Release milestone Mar 30, 2023
@netlify
Copy link

netlify bot commented Mar 30, 2023

Deploy Preview for tiptap-embed ready!

Name Link
🔨 Latest commit b78e3fd
🔍 Latest deploy log https://app.netlify.com/sites/tiptap-embed/deploys/64256595f5caba00087bc74a
😎 Deploy Preview https://deploy-preview-3914--tiptap-embed.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site settings.

@bdbch bdbch force-pushed the feature/release-deps-fix branch from aff7d57 to b621aff Compare March 30, 2023 09:44
@bdbch bdbch merged commit 0c1bba3 into develop Mar 30, 2023
@bdbch bdbch deleted the feature/release-deps-fix branch March 30, 2023 10:36
bdbch added a commit that referenced this pull request Mar 30, 2023
* v2.1.0-rc.0

* revert version to 2.0.0

* dev: temporarily disable commits for release

* dev: set back lerna version

* disable commits for releases by default

* chore(core): add peerDeps

* chore(extension-blockquote): add peerDeps

* chore: add peerDeps

* chore: add peerDeps

* chore: add peerDeps

* chore: add peerDeps

* chore: add peerDeps

* chore: add peerDeps

* chore: add peerDeps

* chore: add peerDeps

* chore: revert 2.1.0 test changes

* chore: allow react 17 and upwards

* chore: update package-lock.json

* chore: move y-prosemirror to peerDeps

* chore: move y-prosemirror to dev deps

* chore: move y-prosemirror to dev deps
aliasliao pushed a commit to aliasliao/tiptap that referenced this pull request May 24, 2023
)

* v2.1.0-rc.0

* revert version to 2.0.0

* dev: temporarily disable commits for release

* dev: set back lerna version

* disable commits for releases by default

* chore(core): add peerDeps

* chore(extension-blockquote): add peerDeps

* chore: add peerDeps

* chore: add peerDeps

* chore: add peerDeps

* chore: add peerDeps

* chore: add peerDeps

* chore: add peerDeps

* chore: add peerDeps

* chore: add peerDeps

* chore: revert 2.1.0 test changes

* chore: allow react 17 and upwards

* chore: update package-lock.json

* chore: move y-prosemirror to peerDeps

* chore: move y-prosemirror to dev deps

* chore: move y-prosemirror to dev deps
andrewlu0 pushed a commit to trybaseplate/tiptap that referenced this pull request Oct 20, 2023
)

* v2.1.0-rc.0

* revert version to 2.0.0

* dev: temporarily disable commits for release

* dev: set back lerna version

* disable commits for releases by default

* chore(core): add peerDeps

* chore(extension-blockquote): add peerDeps

* chore: add peerDeps

* chore: add peerDeps

* chore: add peerDeps

* chore: add peerDeps

* chore: add peerDeps

* chore: add peerDeps

* chore: add peerDeps

* chore: add peerDeps

* chore: revert 2.1.0 test changes

* chore: allow react 17 and upwards

* chore: update package-lock.json

* chore: move y-prosemirror to peerDeps

* chore: move y-prosemirror to dev deps

* chore: move y-prosemirror to dev deps
andrewlu0 pushed a commit to trybaseplate/tiptap that referenced this pull request Oct 20, 2023
)

* v2.1.0-rc.0

* revert version to 2.0.0

* dev: temporarily disable commits for release

* dev: set back lerna version

* disable commits for releases by default

* chore(core): add peerDeps

* chore(extension-blockquote): add peerDeps

* chore: add peerDeps

* chore: add peerDeps

* chore: add peerDeps

* chore: add peerDeps

* chore: add peerDeps

* chore: add peerDeps

* chore: add peerDeps

* chore: add peerDeps

* chore: revert 2.1.0 test changes

* chore: allow react 17 and upwards

* chore: update package-lock.json

* chore: move y-prosemirror to peerDeps

* chore: move y-prosemirror to dev deps

* chore: move y-prosemirror to dev deps
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Category: Open Source The issue or pull reuqest is related to the open source packages of Tiptap.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants