Repository navigation
Conversation
|
Build successful! You can test your changes in the REPL here: https://babeljs.io/repl/build/6266/ |
|
Build successful! You can test your changes in the REPL here: https://babeljs.io/repl/build/6214/ |
|
This seems reasonable to me. It would be good if Lerna had better support for this, since it'll come up for any project that uses Lerna + embeds the version number in the resulting bundle. |
|
One alternative is that we use a |
|
I've added |
|
Do you still need this or could we close it? |
When we are publishing new packages, we run
BABEL_ENV=production make build-distfirst, and only thenlerna publish. Duringbuild-distprocess we creating standalone bundles, it takes version from babel-core, which wasn’t actually updated yet, because it will be updated duringlerna publishon the next step.Proposed solution runs
lerna publish2 times: firstly - beforebuild-distwith--skip-npm --skip-git --skip-temp-tagarguments, so we just overriding versions for all packages.For the second run, we ignore step where we select the version and just take it from the
lerna.json, which was updated during the firstlerna publish, so it just publishes the new version and creates git commit.cc @Daniel15