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

chore: use npm workspaces #9

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

Barbapapazes
Copy link
Contributor

@Barbapapazes Barbapapazes commented Feb 16, 2025

Hello 👋,

I set up npm workspaces in this project to easily manage the dependencies from the root and the linked packages. This way, you've just to run npm install in the root folder and automatically, all the dependencies will be installed and the package @fusion/vue will be linked. Also, and because every packages share the same lockfile, you ensure consistency across all your packages.

I use the npm workspaces feature because you're using npm but you have to know that pnpm is way better to manage mono-repos.

@aarondfrancis
Copy link
Contributor

Hmm I would love for this to be simpler than it currently is!

Help me understand better, as this is not my area of expertise: does this simplify usage for the end user as well? I.e. not the playground apps but someone installing it for real.

What I do like about the current setup is that it mirrors how a user would install it into their application, so it gives me a good smoke test as to how it works.

Are there any other drawbacks?

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