This is a monorepo managed using:
- PNPM workspace
- Lerna
- See lerna.json
- See nx.json
Most packages in this monorepo are transpiled, bundled, packaged in the same way. For this reason, we share a great deal of configuration via:
- config-utils.mjs
- Every package that uses any utility functions defined in this module has a
config.mjs
script, in which those utility functions are invoked. - When you change some default configuration in
config-utils.mjs
, run thepnpm run update-config
in the workspace so that the change is applied to all the packages that useconfig-utils.mjs
.
- Every package that uses any utility functions defined in this module has a
- esbuild.common.mts
- tsconfig.library.json