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

Add react-router-monorepo template #924

Merged
merged 3 commits into from
Oct 18, 2024
Merged

Add react-router-monorepo template #924

merged 3 commits into from
Oct 18, 2024

Conversation

gabro
Copy link
Member

@gabro gabro commented Oct 18, 2024

I find myself often wasting a bunch of time setting up a Bento monorepo, so I figured we could use some template mechanism.
I've kept it extremely simple, no fancy template generators/scaffolding, just a directory we can clone using a tool like degit

The workflow is then:

pnpx degit buildo/bento-design-system/templates/react-router-monorepo my-new-project
cd my-new-project
pnpm install
pnpm dev

and you're good to go.

We can add as many templates as we like, at the moment I've chosen RRv7, since it's the one I'm betting on for future projects.

The only other minor thing I've added to this PR is to automatically update the Bento version in the template when we release a new one.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant