[go: nahoru, domu]

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

Decouple publishing packages from publishing CLIs #1778

Merged
merged 20 commits into from
Jun 28, 2024
Merged

Conversation

nvie
Copy link
Collaborator
@nvie nvie commented Jun 27, 2024

Splits publishing create-liveblocks-app and @liveblocks/codemod off from the rest of our public packages. Our public packages need to be strictly versioned together, but making a patch to our codemod script is not something that requires a bump to the rest of the public packages.

This PR splits those up. I've moved these workspaces into a new top-level tools/* dir, a sibling to packages/*. This will hopefully make it clearer they are on a separate versioning scheme. They are not dependencies that users will pin as dependencies, but just run as CLI commands.

You always want to be running the latest versions of these CLI tools (i.e. npx create-liveblocks-app@latest), so I've settled for a versioning scheme of 2.<YYYYMMDD>.0 (the last patch version can be incremented if you need to publish more than once on a single day). There is no semantic versioning here. But if ever we really must, we can by bumping the 2 to 3. I'm starting with 2 as a major here, because 2.1.0 is already out there, and 2.20240627.0 is "higher".

Fixes LB-869.

@nvie nvie self-assigned this Jun 27, 2024
@nvie nvie merged commit 608ffc1 into main Jun 28, 2024
66 of 68 checks passed
@nvie nvie deleted the split-publish-pkgs branch June 28, 2024 09:39
@nvie
Copy link
Collaborator Author
nvie commented Jun 28, 2024

Nice, thanks for all the additions, @marcbouchenoire 🙌 !

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