📜 Things to do when publishing the next Babel version
I didn't know where to write these things that I should remember to do when releasing the next version, but I think that an issue in this repo is ok :laughing:
:heavy_check_mark: Babel 7.2.3
- [x] Test lerna 3?
- [x]
@babel/preset-envdidn't get published last time (https://github.com/babel/babel/pull/9200) - [x]
@babel/polyfillneeds to be force-updated (https://github.com/babel/babel/pull/8618#issuecomment-448245039) - [ ] unpkg returns 404 for
@babel/standalone7.2.2 (https://github.com/babel/website/issues/1901#issuecomment-448572603) (seems to be working now?)
:heavy_check_mark: Babel 7.2.4
- [x] Figure out why
@babel/standaloneisn't minified (https://unpkg.com/@babel/[email protected]/babel.min.js)
:heavy_check_mark: Babel 7.2.5
- [x]
@babel/polyfillhasn't been correctly published (https://github.com/babel/babel/issues/9227). This is for the same reason of https://github.com/babel/notes/issues/78#issuecomment-448968023: Lerna 3 doesn't run prepublish/postpublish by default, and when I fixed it I didn't force-publish@babel/polyfillbut only standalone.
:heavy_check_mark: Babel 7.3.0
- [x] (NOTE: Only if
@babel/helperschanged) Before publishing, runnpx lerna changedto check if nicolo-ribaudo/lerna@ef2f1fcd3e2dba9b1c320d265f66768c5e2e1750 works. If it doesn't,@babel/runtimeand@babel/runtime-corejs2need to be force-published as always. NOTE: It didn't work. - [x] Instead of running
lerna publish, runlerna version+lerna publish from-gitto check if it would be possible in the future to runlerna publish from-gitautomatically from github. NOTE:--force-publishneeds to be run withlerna version;--require-scriptswithlerna publish. - [x] Force-publish
@babel/typesif needed (babel/babel#9239), merge (https://github.com/babel/babel/pull/9245) - [ ] new package:
- make sure it has access public for scoped npm packages
- correct npmignore (extra files)
- check that new dependencies don't add too much size
- check perf regressions
- need a basic dogfood of Babel itself before release
- possible to check proposal usage via repl url?
:heavy_check_mark: Babel 7.3.2
- [x] Merge https://github.com/babel/babel/pull/9434 and check if it works. NOTE: It doesn't work, because doesn't fire "push" for tags in public repos.
:heavy_check_mark: Babel 7.3.3
- [x] Merge https://github.com/babel/babel/pull/9470 (already tested).
- [x] Update typescript preset (https://github.com/babel/babel/pull/9497) (needs
--force-publish) - [x] Run
make new-versionand thenmake publish
:heavy_check_mark: Babel 7.3.4
- [x] Update
CHANGELOG.mdusing @babel-bot
:heavy_check_mark: Babel 7.4.0
- [x] Finally publish using a GitHub action (merge https://github.com/babel/babel/pull/9588)
- [x] Add
NPM_TOKENto env vars
- [x] Add
:heavy_check_mark: Babel 7.4.3
- [x] :warning: Be 100% sure that the github action has a valid npm token
- [x] The "Publish to npm" action will not print anything for a long time (~15 mins). It's still working internally.
:heavy_check_mark: Babel 7.4.4
- [x] Check that
@babel/polyfillis es5-compatible. - [x] Disable "publish to npm" from the GH action; it's too slow.
✔️ Babel 7.5.0
- [x] Merge the
feature-7.5.0/fsharp-pipelinebranch tomaster
Babel 7.6.0
- [x] Check if the updated release action works
Babel 7.11.3
- [x] force-publish
@babel/eslint-plugin(https://github.com/babel/babel/pull/11933 updates usage in README) - [x] skip publishing
@babel/runtime-*(@babel/helpersis not changed)
Babel 7.11.4
- [x] force-publish
@babel/core(#11974 does not touch the contents of@babel/core) - [x] skip publishing
@babel/runtime-*(The only@babel/helperschange comment-only: https://github.com/babel/babel/pull/11953)
Babel 7.11.5
- [x] Ignore packages with only change of
package.jsondue to Yarn 2workspace:protocol, except the following:@babel/cli,@babel/core,@babel/generator,@babel/helper-transform-fixture-runnerand@babel/plugin-transform-runtime,@babel/polyfill,@babel/register,@babel/types
Babel 7.12.0
Before make new-version
- [x] Enable proper version checks in https://github.com/babel/babel/blob/main/packages/babel-plugin-proposal-class-static-block/src/index.js
After publish
- [x] Deprecate
@babel/plugin-syntax-module-attributes
npm deprecate @babel/plugin-syntax-module-attributes "@babel/plugin-syntax-module-attributes is renamed as @babel/plugin-syntax-import-assertions, please check syntax updates and install the new syntax plugin"
Babel 7.12.1
- [x] Republish every published packages from Babel 7.11.3 to 7.12.0 which is affected by https://github.com/babel/babel/issues/12125.
Instead of
make new-version, run:git pull --rebase yarn release-tool version -f @babel/cli -f @babel/compat-data -f @babel/core -f @babel/eslint-parser -f @babel/eslint-plugin -f @babel/eslint-plugin-development-internal -f @babel/eslint-shared-fixtures -f @babel/eslint-tests -f @babel/generator -f @babel/helper-bindify-decorators -f @babel/helper-builder-react-jsx-experimental -f @babel/helper-call-delegate -f @babel/helper-compilation-targets -f @babel/helper-create-class-features-plugin -f @babel/helper-create-regexp-features-plugin -f @babel/helper-explode-assignable-expression -f @babel/helper-explode-class -f @babel/helper-member-expression-to-functions -f @babel/helper-module-transforms -f @babel/helper-remap-async-to-generator -f @babel/helper-replace-supers -f @babel/helper-transform-fixture-test-runner -f @babel/helper-validator-option -f @babel/parser -f @babel/plugin-proposal-class-static-block -f @babel/plugin-proposal-export-namespace-from -f @babel/plugin-proposal-function-bind -f @babel/plugin-proposal-logical-assignment-operators -f @babel/plugin-proposal-nullish-coalescing-operator -f @babel/plugin-proposal-numeric-separator -f @babel/plugin-proposal-optional-chaining -f @babel/plugin-syntax-class-static-block -f @babel/plugin-syntax-import-assertions -f @babel/plugin-syntax-module-string-names -f @babel/plugin-transform-modules-systemjs -f @babel/plugin-transform-react-jsx-development -f @babel/plugin-transform-runtime -f @babel/plugin-transform-typescript -f @babel/polyfill -f @babel/preset-env -f @babel/preset-typescript -f @babel/register -f @babel/runtime -f @babel/runtime-corejs2 -f @babel/runtime-corejs3 -f @babel/standalone -f @babel/traverse -f @babel/types