@@ -27,9 +27,9 @@ const CWD = process.cwd();
2727 * - `next`: Defaults to `false`.
2828 */
2929const argv = minimist ( process . argv . slice ( 2 ) , {
30- boolean : [ 'dry-run' , 'next' , 'build' , 'test' , 'release' , 'major' ] ,
30+ boolean : [ 'dry-run' , 'next' , 'build' , 'test' , 'release' ] ,
3131 string : [ 'loglevel' ] ,
32- default : { 'dry-run' : false , next : false , build : false , test : false , release : false , major : false } ,
32+ default : { 'dry-run' : false , next : false , build : false , test : false , release : false } ,
3333} ) ;
3434
3535/**
@@ -209,14 +209,7 @@ const test = () => {
209209 */
210210const release = ( ) => {
211211 log ( chalk . magenta ( '--- STEP 5: VERSION PACKAGES ---' ) ) ;
212- // --major forces a major bump on every publishable package, bypassing
213- // conventional-commits inference. Use this for coordinated platform
214- // upgrades (peerDep changes for React, MUI, etc.) where every package
215- // must move to a new major in lockstep.
216- const versionCmd = argv . major
217- ? 'npx lerna version major --force-publish=* --yes'
218- : 'npx lerna version --conventional-commits --yes' ;
219- runCmd ( versionCmd ) ;
212+ runCmd ( 'npx lerna version --conventional-commits --yes' ) ;
220213
221214 log ( chalk . magenta ( '--- STEP 6: PUBLISH PACKAGES ---' ) ) ;
222215 let releaseCmd = 'npx lerna publish from-git --yes' ;
0 commit comments