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 structure #16

Merged
merged 9 commits into from
Nov 8, 2022
Merged

Monorepo structure #16

merged 9 commits into from
Nov 8, 2022

Conversation

inigomarquinez
Copy link
Member

@inigomarquinez inigomarquinez commented Nov 7, 2022

What’s the focus of this PR

This PR prepares the repository to store both CuckooJS CLI and CuckooJS Schematics, using npm workspaces.

It also fixes some minor details and adds some features both to CLI and Schematics packages.

Finally, it adds GitHub actions to publish the cli and schematics to the np public registry when a new release is published (see .github/workflows folder)

How to review this PR

  • Review the code under each of the packages
  • Review the workflows to publish to the npm public registry
  • If you want to test it locally, clone the branch, run npm link --workspaces from the root folder and then try to use the CLI (cuckoo new app) or try to run a schematic (schematics @guidesmiths/cuckoojs-schematics:gitignore --directory=.).

Before submitting this PR, I made sure:

  • The code builds clean without any errors or warnings
  • I'm using our guidelines
  • I've added unit tests if feasible

@inigomarquinez inigomarquinez added the enhancement New feature or request label Nov 7, 2022
@inigomarquinez inigomarquinez self-assigned this Nov 7, 2022
Copy link
Contributor

@neodmy neodmy left a comment

Choose a reason for hiding this comment

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

🏅

@inigomarquinez inigomarquinez merged commit 507d36c into main Nov 8, 2022
@inigomarquinez inigomarquinez deleted the monorepo branch November 8, 2022 15:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants