From fee48e200a24f3bb999e5db3f8ef17a0cf04271b Mon Sep 17 00:00:00 2001 From: Dave Batiste Date: Tue, 23 Jun 2026 09:52:14 -0400 Subject: [PATCH 1/2] Update babel and eslint dependency versions. --- babel.config.js | 14 ++++---------- package.json | 9 ++++----- 2 files changed, 8 insertions(+), 15 deletions(-) diff --git a/babel.config.js b/babel.config.js index eeff0d0..fa95dbf 100644 --- a/babel.config.js +++ b/babel.config.js @@ -2,15 +2,9 @@ module.exports = { plugins: ['babel-plugin-transform-dynamic-import'], ignore: ['./src/generators/*/templates/**/*'], presets: [ - [ - '@babel/env', - { - targets: { - node: '10', - }, - corejs: 2, - useBuiltIns: 'usage', - }, - ], + ["@babel/preset-env", { targets: { node: '10' } }] ], + "plugins": [ + ["polyfill-corejs3", { "method": "usage-global" }] + ] }; diff --git a/package.json b/package.json index 9f7192b..9aa8f7f 100644 --- a/package.json +++ b/package.json @@ -24,11 +24,10 @@ "prompts": "^2" }, "devDependencies": { - "@babel/cli": "^7", - "@babel/core": "^7", - "@babel/eslint-parser": "7", - "@babel/preset-env": "^7", - "babel-eslint": "^10", + "@babel/cli": "^8", + "@babel/core": "^8", + "@babel/preset-env": "^8", + "babel-plugin-polyfill-corejs3": "^1.0.0", "babel-plugin-transform-dynamic-import": "^2", "eslint": "^9", "eslint-config-brightspace": "^4", From 651febf87ee4d6796922eabc93cae51af0aacb0a Mon Sep 17 00:00:00 2001 From: Dave Batiste Date: Tue, 23 Jun 2026 10:24:05 -0400 Subject: [PATCH 2/2] More cleanup. --- babel.config.js | 9 ++++----- package.json | 1 - 2 files changed, 4 insertions(+), 6 deletions(-) diff --git a/babel.config.js b/babel.config.js index fa95dbf..89cd7f4 100644 --- a/babel.config.js +++ b/babel.config.js @@ -1,10 +1,9 @@ module.exports = { - plugins: ['babel-plugin-transform-dynamic-import'], + plugins: [ + ['polyfill-corejs3', { method: 'usage-global' }] + ], ignore: ['./src/generators/*/templates/**/*'], presets: [ - ["@babel/preset-env", { targets: { node: '10' } }] - ], - "plugins": [ - ["polyfill-corejs3", { "method": "usage-global" }] + ['@babel/preset-env', { targets: { node: '10' } }] ] }; diff --git a/package.json b/package.json index 9aa8f7f..ac3212e 100644 --- a/package.json +++ b/package.json @@ -28,7 +28,6 @@ "@babel/core": "^8", "@babel/preset-env": "^8", "babel-plugin-polyfill-corejs3": "^1.0.0", - "babel-plugin-transform-dynamic-import": "^2", "eslint": "^9", "eslint-config-brightspace": "^4", "rimraf": "^6.0.1"