PR-733704: update dependencies to latest, bump to v1.4.1

- Bump version 1.4.0 → 1.4.1
- Upgrade Babel 7 → 8 (@babel/core, preset-env, preset-react,
  preset-typescript, register)
- Add ts-node devDependency (webpack-cli needs it to load
  webpack.config.ts now that @babel/register v8 removed .hook)
- Replace __dirname with path.resolve() in webpack.config.ts and
  webpack.cy.config.ts (ESM-safe, no __dirname needed)
- Add npm overrides: force @babel/core ^8 for ts-jest (peerOptional
  conflict) and js-yaml ^4.2.0 to fix GHSA-h67p-54hq-rp68 DoS vuln
- Add babel hook in .storybook/main.js to strip bugfixes option that
  Storybook injects into @babel/preset-env (removed in Babel 8)
- Patch Storybook addons 10.4.3 → 10.4.6, @types/node v25→v26,
  globals v16→v17, sass minor, ts-loader patch, typescript-eslint patch
- 0 npm audit vulnerabilities
This commit is contained in:
2026-06-21 05:40:41 +00:00
parent 364409dbed
commit 6c3dd344e6
5 changed files with 5132 additions and 1662 deletions

View File

@@ -22,7 +22,7 @@ export default {
},
mode: 'development',
output: {
path: path.resolve(__dirname, 'dist'),
path: path.resolve('dist'),
},
target: 'web',
plugins: [
@@ -37,7 +37,7 @@ export default {
}),
new ESLintPlugin(),
new HtmlWebpackPlugin({
template: path.join(__dirname, 'public', 'index.html'),
template: path.join('public', 'index.html'),
}),
new webpack.ProvidePlugin({
React: 'react',