Skip to content

Conversation

@benjamn
Copy link
Member

@benjamn benjamn commented Mar 18, 2021

Since this repository is technically a monorepo, we can install shared utility packages in the top-level node_modules directory, and use them in the individual child packages (rollup-plugin-invariant and ts-invariant). This arrangement makes it easier to run npm run build and npm test in the individual package directories, without having to install typescript as a temporary dev dependency, or running the commands from the top-level directory (which is slower).

@benjamn benjamn self-assigned this Mar 18, 2021
@benjamn benjamn merged commit 289d21b into main Mar 18, 2021
@benjamn benjamn deleted the use-shared-packages-for-building-and-testing branch March 18, 2021 16:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants