-
Notifications
You must be signed in to change notification settings - Fork 2
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
React+Vite boilerplate #19
Conversation
Here's a "boilerplate of the boilerplate", so to speak 😄 Generated with When setting this up and running checks on it, I wrestled with some |
Next up: finish & test this boilerplate Later: update this boilerplate to use our code generator, once that is implemented |
8e71923
to
dc24704
Compare
@advl I'm getting an interesting error on
the boilerplate uses Interestingly, the error doesn't happen if i run So, steps for recreation:
Have you ever run into something like this before when working with a monorepo? |
On the react types : these should be removed as they are already provided by react 17 and above? |
7cc3b9d
to
7267f27
Compare
I have fixed the build error: it was a race condition due to using Regarding react types: these have been added as peer dependencies so that the CI passes. Otherwise, I found information on the React 19 guide that seems to suggest installation of the types is still necessary; see here CI is now passing and there is an executable node script for initializing a boilerplate, so I'm happy with this. I'll write some QA instructions shortly and move this to ready for review. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Minor questions related to configs.
356cb4a
to
e26506a
Compare
This comment was marked as outdated.
This comment was marked as outdated.
40d58a2
to
78aa994
Compare
update lockfile
beecf1c
to
4622eaa
Compare
911428b
to
9cad11f
Compare
9cad11f
to
581ace7
Compare
@advl Updated per our discussions today: React Core UI - Storybook type checking fixesThe errors arose from me trying to remove
I have used option # 2, Boilerplate TsconfigThe boilerplate's typescript configuration has been brought more into line with the other packages - it now has a The building config file has been named Open questionIt feels a bit strange to add a dependency just so that we can build with a tsconfig other than We either have to break with our current convention of Have a look when you can, please. |
Last task: cleanup the tsconfig.app.json in the boilerplate, try and use just one config @jmuzina |
Creates a boilerplate with Vite that can be used to generating React applications using our design system.
Fixes WD-16920
QA
bun i
apps/boilerplate-react-vite
bun run dev
Screenshot