HUL-48 | Modernize Development Environment and Testing Infrastructure #18
ci.yml
on: pull_request
common
/
Check commit messages
14s
common
/
Lint and build
30s
common
/
Test
1m 2s
Annotations
1 error
|
common / Check commit messages
You have commit messages with errors
⧗ input: modernize test environment with React Testing Library
- Add @testing-library/react and @testing-library/dom for modern component testing
- Replace deprecated isparta-loader with babel-plugin-istanbul for code coverage
- Update chai to v4.3.10 (CommonJS compatible version)
- Remove legacy babel-core v5 and associated deprecated testing utilities
- Clean up unused testing dependencies and modernize test infrastructure
✖ subject may not be empty [subject-empty]
✖ type may not be empty [type-empty]
✖ found 2 problems, 0 warnings
ⓘ Get help: https://github.com/conventional-changelog/commitlint/#what-is-commitlint
⧗ input: modernize webpack toolchain
- Migrate from webpack-dotenv-plugin to dotenv-webpack for better webpack 5 compatibility
- Update webpack-dev-server to v4 API with async/await pattern replacing deprecated callbacks
- Modernize webpack development configuration:
- Remove deprecated HMR plugins (HotModuleReplacementPlugin, NoEmitOnErrorsPlugin)
- Update entry configuration for webpack 5
- Add modern optimization settings with emitOnErrors: false
- Update devServer configuration with webpack-dev-server v4 API:
- Add client overlay configuration
- Update devMiddleware settings
- Configure host and allowedHosts for broader accessibility
- Add webpack 5 compatible babel-plugin-istanbul for code coverage
- Fix ESLint configuration for Node.js environment compatibility
✖ subject may not be empty [subject-empty]
✖ type may not be empty [type-empty]
✖ found 2 problems, 0 warnings
ⓘ Get help: https://github.com/conventional-changelog/commitlint/#what-is-commitlint
⧗ input: simplify and modernize Babel configuration
- Remove 16 redundant Babel plugins now handled by @babel/preset-env:
- Remove @babel/plugin-proposal-class-properties (ES2022 standard)
- Remove @babel/plugin-proposal-json-strings (ES2019 standard)
- Remove @babel/plugin-proposal-logical-assignment-operators (ES2021 standard)
- Remove @babel/plugin-proposal-nullish-coalescing-operator (ES2020 standard)
- Remove @babel/plugin-proposal-numeric-separator (ES2021 standard)
- Remove @babel/plugin-proposal-optional-chaining (ES2020 standard)
- Remove experimental/unused proposal plugins for do-expressions,
export-default-from, export-namespace-from, function-bind,
function-sent, pipeline-operator, throw-expressions
- Remove syntax plugins covered by preset-env (dynamic-import, import-meta)
- Replace deprecated @babel/polyfill with modern core-js/stable import
- Keep only essential Babel packages:
- @babel/plugin-proposal-decorators (legacy mode still needed)
- Core Babel packages (@babel/core, presets, eslint-parser)
- Simplify .babelrc to use only presets + decorators plugin
- Update package.json and yarn.lock to reflect reduced dependency footprint
✖ subject may not be empty [subject-empty]
✖ type may not be empty [type-empty]
✖ found 2 problems, 0 warnings
ⓘ Get help: https://github.com/conventional-changelog/commitlint/#what-is-commitlint
⧗ input: modernize webpack asset handling and reduce dependencies
- Replace file-loader with Webpack 5 native asset/resource modules
- Remove unused url-loader dependency
- Update webpack configuration to use modern asset handling for mp4/ogg/svg files
✖ subject may not be empty [subject-empty]
✖ type may not be empty [type-empty]
✖ found 2 problems, 0 warnings
ⓘ Get help: https://github.com/conventional-changelog/commitlint/#what-is-commitlint
|