4. Versioning, Publishing, and Configuring lerna.json for Commit Conventions
2 min read

Previous3. Module registry (a place where packages get to chill)Next5. Some automation magic using the (Lerna) CLI
Last updated
2 min read

Last updated
// Initial lerna.json setup
{
"$schema": "node_modules/lerna/schemas/lerna-schema.json",
"version": "independent",
"packages": [
"packages/*"
]
}// Enhanced lerna.json for commit conventions and GitHub NPM registry integration
{
"$schema": "node_modules/lerna/schemas/lerna-schema.json",
"version": "independent",
"command": {
"version": {
"conventionalCommits": true,
"createRelease": "github",
"message": "chore(release): publish [skip ci]",
"commitHooks": false
}
},
"packages": [
"packages/*"
]
}