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

ci: Switch to lerna-lite, setup changelog preset #46

Merged
merged 1 commit into from
Nov 10, 2022

Conversation

yuqiora
Copy link
Contributor

@yuqiora yuqiora commented Oct 27, 2022

  • use lerna-lite
    • the limited scope is sufficient for our purposes
    • it has various nice extra features
    • enable sync workspace
    • include author login in changelog
  • use conventionalcommits changelog preset
    • proper handling of breaking changes and "!" suffix
    • potential more control over commit types in changelog
  • build the lib on prepack to ensure we publish the latest state
  • adjust lerna options in prerelease script

I have good experience with lerna-lite on https://github.com/salsita/configurator-sdk and I think it would be good to have it here as well. The changelog preset to get proper versioning when breaking changes are introduced. E.g. #44.

@yuqiora yuqiora requested a review from goce-cz October 27, 2022 10:30
@yuqiora yuqiora changed the base branch from next to remove-release-tools October 27, 2022 11:54
Copy link
Collaborator

@goce-cz goce-cz left a comment

Choose a reason for hiding this comment

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

Nice :shipit:

Base automatically changed from remove-release-tools to next November 10, 2022 08:15
- use lerna-lite
  - the limited scope is sufficient for our purposes
  - it has various nice extra features
  - enable sync workspace
  - include author login in changelog
- use conventionalcommits changelog preset
  - proper handling of breaking changes and "!" suffix
  - potential more control over commit types in changelog
- build the lib on `prepack` to ensure we publish the latest state
- adjust lerna options in prerelease script
@yuqiora yuqiora merged commit 70d11dc into next Nov 10, 2022
@yuqiora yuqiora deleted the lerna-lite-and-preset branch November 10, 2022 08:21
yuqiora added a commit that referenced this pull request Nov 22, 2022
- use lerna-lite
  - the limited scope is sufficient for our purposes
  - it has various nice extra features
  - enable sync workspace
  - include author login in changelog
- use conventionalcommits changelog preset
  - proper handling of breaking changes and "!" suffix
  - potential more control over commit types in changelog
- build the lib on `prepack` to ensure we publish the latest state
- adjust lerna options in prerelease script
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