-
Notifications
You must be signed in to change notification settings - Fork 0
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
Initial tasks #1
Comments
Monorepo management: https://turbo.build/repo/docs |
This scenario is the one I have the least grasp on how to best handle:
|
https://storybook.js.org/ allows us to develop react components in a vacuum, so you can validate that the UI works on mocked data prior to testing it with LabKey. It seems like https://github.com/wclr/yalc is the solution most people recommend for the monorepo->labkey dependency issue. yalc publishes your package to a local npm registry and temporarily updates your package.json to point at the local versions. the workflow looks something like:
and whenever you make a change in the monorepo, you can use |
The basic idea with this project is that we have a lot of duplicated code/code we want to use in multiple places throughout our LabKey plugins, so we want to pull modules/components out into a standalone repo. This repo will end up containing a set of NPM packages that we can use as dependencies throughout DiscvrLabkeyModules. As such, we need to set up a monorepo management system. I recommend Turborepo. They have good quickstart documentation and |
Research:
Implementation:
We anticipate to begin with these packages:
We may eventually also want project-specific repos, such as mgap or mcc.
The text was updated successfully, but these errors were encountered: