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

Monorepo #231

Merged
merged 31 commits into from
Mar 14, 2024
Merged

Monorepo #231

merged 31 commits into from
Mar 14, 2024

Conversation

GarthDB
Copy link
Member

@GarthDB GarthDB commented Feb 21, 2024

Description

Migrated from Lerna to Moon for monorepo management.
Setting up Changeset for release management
Setting up automated releases on NPM
Migrate from Jest to Ava for better module support

Motivation

This better aligns the project with Spectrum Tokens.

Screenshots

To-do list

  • I have read the CONTRIBUTING document.
  • Verify Changeset bot works correctly
  • Verify CI test runner in GitHub Actions works correctly
  • Verify automated publishing
  • This pull request is ready to merge.

Copy link

changeset-bot bot commented Mar 5, 2024

🦋 Changeset detected

Latest commit: e90f4c3

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 2 packages
Name Type
@adobe/leonardo-contrast-colors Patch
@adobe/leonardo-ui Patch

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

.moon/toolchain.yml Outdated Show resolved Hide resolved
package.json Outdated Show resolved Hide resolved
@GarthDB GarthDB marked this pull request as ready for review March 14, 2024 16:08
@GarthDB GarthDB merged commit 342c9ca into main Mar 14, 2024
3 checks passed
@GarthDB GarthDB deleted the monorepo branch March 14, 2024 17:08
thierryc pushed a commit to thierryc/leonardo that referenced this pull request Mar 29, 2024
* feat: add prettier config and test npm script
* fix: remove obsolete npm scripts for prettier
* fix: run prettier on packages/contrast-color/**
* fix: remove package-lock.json
* replaced yarn with pnpm everywhere
* make nodeJS version flexible
* fix: add husky pre-commit for git hook
* refactor: move lint-staged to pnpm script
* fix: added husky commitlint workflow
* chore: added changeset config
* fix: added pre-commit husky script
* fix: replace npx with pnpm in node scripts
* ci: added simple github workflow to running tests
* refactor: moved scripts to moon tasks to make it easy to test in CI
* chore: update moon config to use Node v20.11
* test: fix test input for contrast-colors
* chore: update copyright
* ci: added release automation

---------

Co-authored-by: Frank Karstens <[email protected]>
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