Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

📜 Things to do when publishing the next Babel version #78

Open
nicolo-ribaudo opened this issue Dec 19, 2018 · 17 comments
Open

📜 Things to do when publishing the next Babel version #78

nicolo-ribaudo opened this issue Dec 19, 2018 · 17 comments

Comments

@nicolo-ribaudo
Copy link
Member

nicolo-ribaudo commented Dec 19, 2018

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 😆

@nicolo-ribaudo nicolo-ribaudo changed the title Publishing Babel 7.2.3 Things to do when publishing the next Babel version Dec 20, 2018
@nicolo-ribaudo
Copy link
Member Author

nicolo-ribaudo commented Dec 20, 2018

✔️ Babel 7.2.3

@nicolo-ribaudo
Copy link
Member Author

nicolo-ribaudo commented Dec 20, 2018

✔️ Babel 7.2.4

@babel babel locked and limited conversation to collaborators Dec 20, 2018
@hzoo hzoo changed the title Things to do when publishing the next Babel version 📜 Things to do when publishing the next Babel version Dec 20, 2018
@hzoo hzoo pinned this issue Dec 20, 2018
@nicolo-ribaudo
Copy link
Member Author

nicolo-ribaudo commented Dec 21, 2018

✔️ Babel 7.2.5

@nicolo-ribaudo
Copy link
Member Author

nicolo-ribaudo commented Dec 21, 2018

✔️ Babel 7.3.0

  • (NOTE: Only if @babel/helpers changed)
    Before publishing, run npx lerna changed to check if nicolo-ribaudo/lerna@ef2f1fc works. If it doesn't, @babel/runtime and @babel/runtime-corejs2 need to be force-published as always.
    NOTE: It didn't work.
  • Instead of running lerna publish, run lerna version + lerna publish from-git to check if it would be possible in the future to run lerna publish from-git automatically from github.
    NOTE: --force-publish needs to be run with lerna version; --require-scripts with lerna publish.
  • Force-publish @babel/types if needed (@babel/types wasn't released after being modified babel#9239), merge ([@babel/types] Moved generators related to babel-types into the babel-types package directory. babel#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?

@nicolo-ribaudo
Copy link
Member Author

nicolo-ribaudo commented Jan 31, 2019

✔️ Babel 7.3.2

@nicolo-ribaudo
Copy link
Member Author

nicolo-ribaudo commented Feb 7, 2019

✔️ Babel 7.3.3

@nicolo-ribaudo
Copy link
Member Author

✔️ Babel 7.3.4

@nicolo-ribaudo
Copy link
Member Author

nicolo-ribaudo commented Feb 25, 2019

✔️ Babel 7.4.0

@nicolo-ribaudo
Copy link
Member Author

nicolo-ribaudo commented Mar 19, 2019

✔️ Babel 7.4.3

  • ⚠️ Be 100% sure that the github action has a valid npm token
  • The "Publish to npm" action will not print anything for a long time (~15 mins). It's still working internally.

@nicolo-ribaudo
Copy link
Member Author

nicolo-ribaudo commented Apr 30, 2019

✔️ Babel 7.4.4

  • Check that @babel/polyfill is es5-compatible.
  • Disable "publish to npm" from the GH action; it's too slow.

@nicolo-ribaudo
Copy link
Member Author

nicolo-ribaudo commented May 14, 2019

✔️ Babel 7.5.0

  • Merge the feature-7.5.0/fsharp-pipeline branch to master

@nicolo-ribaudo
Copy link
Member Author

nicolo-ribaudo commented Jul 21, 2019

Babel 7.6.0

  • Check if the updated release action works

@JLHwung
Copy link

JLHwung commented Aug 8, 2020

Babel 7.11.3

@JLHwung
Copy link

JLHwung commented Aug 20, 2020

Babel 7.11.4

@JLHwung
Copy link

JLHwung commented Aug 31, 2020

Babel 7.11.5

  • Ignore packages with only change of package.json due to Yarn 2 workspace: protocol, except the following:
    @babel/cli, @babel/core, @babel/generator, @babel/helper-transform-fixture-runner and @babel/plugin-transform-runtime, @babel/polyfill, @babel/register, @babel/types

@JLHwung
Copy link

JLHwung commented Oct 14, 2020

Babel 7.12.0

Before make new-version

After publish

  • 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"

@JLHwung
Copy link

JLHwung commented Oct 14, 2020

Babel 7.12.1

  • Republish every published packages from Babel 7.11.3 to 7.12.0 which is affected by Cannot Zip project when babel is installed: ZIP does not support timestamps before 1980 babel#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
    

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants