Skip to content

Conversation

@akameco
Copy link
Owner

@akameco akameco commented Jul 28, 2025

What:

This pull request updates ts-jest to the latest version and modernizes the Jest configuration accordingly.
Key changes include:
Upgraded ts-jest to the latest version.
Removed deprecated globals.ts-jest configuration from jest.config.js.
Simplified Jest config to use only the recommended preset: 'ts-jest'.
Removed lodash.pick dependency and replaced its usage with native JavaScript (Object.fromEntries).
Cleaned up related code and resolved linter/type errors.

Why:

Keeps the project up-to-date with the latest testing tools and best practices.
Reduces maintenance burden by removing deprecated or unnecessary configuration.
Improves security by removing vulnerable dependencies.

How:

Checklist:

  • Documentation
  • Tests
  • Ready to be merged

akameco added 4 commits July 28, 2025 19:07
- Added `.test-cache` to `.gitignore`.
- Created `package-lock.json` for dependency management.
- Updated `package.json` to require Node.js version 20 and updated various dependencies.
- Added `skipLibCheck` option in `tsconfig.json` and excluded test files from compilation.
- Removed `yarn.lock` files and replaced them with `package-lock.json` in examples.
- Minor code adjustments in `src` files for better type handling and formatting.
- Removed `lodash.pick` from dependencies.
- Updated Jest and ts-jest to versions 30.0.5 and 29.4.0 respectively.
- Simplified Jest configuration by removing unnecessary globals.
- Updated snapshot files to reflect changes in output formatting.
- Changed Node.js version matrix in GitHub Actions from 10.x and 12.x to LTS (20.x) and latest (22.x) only.
- Replaced yarn commands with npm equivalents in the GitHub Actions workflow for consistency and improved dependency management.
akameco added 2 commits July 28, 2025 20:37
- Removed `.eslintignore` file.
- Added `eslint.config.mjs` for ESLint configuration using the latest ESLint and TypeScript ESLint packages.
- Updated `package.json` and `package-lock.json` to use ESLint version 9.32.0 and added TypeScript ESLint as a dependency.
- Made minor type adjustments in `src/extract-react-intl/index.ts` for better type handling.
@akameco akameco merged commit bc26bd3 into master Jul 28, 2025
2 checks passed
@akameco akameco deleted the update-deps branch July 28, 2025 11:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants