Upgrade Babel to 8 together with Jest's Babel deps (#7252)
メンテナーはふだん 1 日以内に返信
まだ誰も着手していません。
評価
- 難易度
- 4/5
- 見積もり時間
- 3〜5日
- 初心者へのやさしさ
- 52/100
- issue の種類
- リファクタリング
- 明瞭さ
- おおむね明確
- 活発さ
- 活発
- 技術スタック
- javascript, nodejs
- 領域
- testing-qa, tooling
調査の方向性
Start by checking whether the Jest/Babel versions in the project’s dependency files support Babel 8, then read babel.config.js and .github/dependabot.yml. Follow the applicable task path: coordinate compatible dependency upgrades and run npm run test, or configure Dependabot’s ignore rule and close #7252 if support is unavailable. Done means the selected path is implemented and the test-toolchain install issue is addressed.
索引モデルが issue の本文から書いたものです。
説明
Problem
Dependabot's #7252 bumps @babel/core from 7.29.7 to 8.0.7. It fails npm_lint, rspec and docker at npm install with ERESOLVE, before any test runs:
babel-jest@"30.5.1" from [email protected]
dev @babel/preset-env@"^7.29.7" from the root project
babel-jest (Jest 30) and @babel/preset-env@^7 both need @babel/core 7, so @babel/core can't move to 8 by itself.
Context
- Babel is only used for Jest (
babel.config.js;npm run test). The app's JS is bundled by ESBuild (bin/asset_bundling_scripts/build_js.js), which doesn't use Babel. So this only affects the test toolchain, never production code.
Tasks
- Find out whether
babel-jest/ Jest and@babel/preset-envhave releases that support Babel 8 yet - If yes: one PR bumping
@babel/core,@babel/preset-envandbabel-jest/Jest together. Checkbabel.config.jsagainst the Babel 8 migration guide, and make surenpm run testpasses. - If no: add an
ignorefor@babel/*major versions to thenpmentry in.github/dependabot.yml(with a comment linking this issue), and close #7252 - Optional: try whether Jest can drop Babel entirely, e.g. via a native ESM or ESBuild-based transform
Difficulty: intermediate. Good for someone who likes JS tooling.
- 主要言語
- Ruby
- スター
- 382
- フォーク
- 547
- 平均マージ
- 2日 22時間
- マージ済み PR(30日)
- 46
環境構築
このプロジェクトの開発コンテナを、あなたの GitHub アカウントでブラウザ上に起動します。
- Dockerfile または Docker Compose ファイルあり
- プルリクエストのテンプレートあり
- コントリビューションガイドを読む
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
rubyforgood/casa のほかの issue
-
Remove leftover Cloud66 custom_web process from Procfile対応中かも @ShahadatTest が 1 日前に担当しました。 オープンDifficulty: Easy Good First Issue
難易度 1/5 1時間未満 初心者へのやさしさ 88/100
rubyforgood/casa#7330 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
-
dependencies Difficulty: Easy Good First Issue
難易度 1/5 1時間未満 初心者へのやさしさ 82/100
rubyforgood/casa#7325 ·
メンテナーはふだん 1 日以内に返信
-
Difficulty: Easy Good First Issue Help Wanted javascript
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
rubyforgood/casa#7311 ·
メンテナーはふだん 1 日以内に返信
-
Difficulty: Easy Good First Issue Help Wanted javascript
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
rubyforgood/casa#7310 ·
メンテナーはふだん 1 日以内に返信
-
Difficulty: Easy Good First Issue Help Wanted javascript
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
rubyforgood/casa#7309 ·
メンテナーはふだん 1 日以内に返信
rubyforgood/casa の issue をすべて見る
似ている issue
-
JWT::EncodedToken raises TypeError for a non-object header対応中かも @anakinj が今日担当しました。 オープンbug
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
jwt/ruby-jwt#780 · リアクション 1 件 ·
メンテナーはふだん 1 日以内に返信
-
難易度 1/5 1時間未満 初心者へのやさしさ 82/100
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
-
難易度 2/5 1〜3時間 初心者へのやさしさ 82/100
zold-io/zold-ruby-sdk#85 ·
-
難易度 1/5 1〜3時間 初心者へのやさしさ 62/100