-
Notifications
You must be signed in to change notification settings - Fork 506
Open
Labels
kind: supportAsking for support with something or a specific use caseAsking for support with something or a specific use casescope: docsDocumentation could be improved. Or changes that only affect docsDocumentation could be improved. Or changes that only affect docsscope: integrationRelated to an integration, not necessarily to core (but could influence core)Related to an integration, not necessarily to core (but could influence core)topic: monorepoRelated to Lerna monoreposRelated to Lerna monorepos
Milestone
Description
I am currently setting up a fresh monorepo structure using Lerna and TSDX to build out a component library.
I have read and followed the various links related to #122 but wanted to check if there is anything to consider when using TSDX inside a lerna monorepo before some kind of official monorepo template (might) land.
My current thinking is to:
- Setup the monorepo via lerna as normal
- Setup the yarn workspaces integration with lerna
- Add
tsdx
as adevDependency
at the root level - Run
npx tsdx create mylib-package-a
for each package inside thepackages/*
folder - Add npm scripts at the root level that use
lerna run [flags]
to eitherstart
,watch
,test
orbuild
each individual package folder as one command.
Is that roughly the right approach for using TSDX inside a monorepo structure?
tibuurcio, Bessonov, retrospct, danprince and transitive-bullshit
Metadata
Metadata
Assignees
Labels
kind: supportAsking for support with something or a specific use caseAsking for support with something or a specific use casescope: docsDocumentation could be improved. Or changes that only affect docsDocumentation could be improved. Or changes that only affect docsscope: integrationRelated to an integration, not necessarily to core (but could influence core)Related to an integration, not necessarily to core (but could influence core)topic: monorepoRelated to Lerna monoreposRelated to Lerna monorepos