3 ms·
Some lessons from monorepos: Node Version Manager (nvm) with .nvmrc helps local conformance to a specific version of Node.js. It's a chore to discover inter-r
by turtleyacht 2y ago
Some lessons from monorepos:
Node Version Manager (nvm) with .nvmrc helps local conformance to a specific version of Node.js.
It's a chore to discover inter-repo dependencies, like utils/ depends on a/ and b/; it's a good thing to add to the docs.
`npm pack` with `file:/absolute/path/to.tgz` may be easier to reason about than linking. (Be sure to substitute with the real [or future] version before committing.)
After changing a common/ package, we have to merge one library, wait for it to publish, and then consume that new version in the next lib(s). So then the PRs have to happen in sequence and block other changes (or rebase accordingly).
If on Github, traversing to older commits (click Blame on package.json) really helps figure which version supported the older framework or dependencies you need to keep.