Closed hlxid closed 4 years ago
For local development we need to have access to local modifications of e.g. types and therefore need to link the packages. Currently this is done using this hacky npm postinstall script:https://github.com/codeoverflow-org/nodecg-io/blob/a4896b3e881a1a10d807fb9da07c9da161455b48/package.json#L5 This is definitely not an long term solution. We need something that manages this automatically.
Lerna seems to be able to do this using the lerna bootstrap command.
lerna bootstrap
Description
For local development we need to have access to local modifications of e.g. types and therefore need to link the packages. Currently this is done using this hacky npm postinstall script:https://github.com/codeoverflow-org/nodecg-io/blob/a4896b3e881a1a10d807fb9da07c9da161455b48/package.json#L5 This is definitely not an long term solution. We need something that manages this automatically.