Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update dependency ts-jest to v29.1.5 #62

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Mar 20, 2024

Mend Renovate

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
ts-jest (source) 29.1.0 -> 29.1.5 age adoption passing confidence

Release Notes

kulshekhar/ts-jest (ts-jest)

v29.1.5

Compare Source

Bug Fixes

v29.1.4

Compare Source

Bug Fixes
Features

v29.1.3

Compare Source

Bug Fixes
  • add @jest/transform as an optional peer dependency (0ba7f86)
  • bring back Node 14 support (eda56a7)
Performance Improvements
  • remove ts resolved module cache file (4c88da5)

v29.1.2

Compare Source

Bug Fixes

v29.1.1

Compare Source

Security Fixes
  • bump semver to 7.5.3

Configuration

📅 Schedule: Branch creation - "* 0-4 * * 3" (UTC), Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR has been generated by Mend Renovate. View repository job log here.

Copy link

[puLL-Merge] - kulshekhar/ts-jest@v29.1.0..v29.1.2

Description

This pull request introduces updates to various GitHub workflow configurations, documentation, testing configurations, and dependency versions for the ts-jest project. These changes appear to be aimed at maintaining the project's dependencies up-to-date, ensuring compatibility with the latest Node.js versions, and improving ESM support.

Changes

Changes

GitHub Workflows

  • .github/workflows/ci.yml: Updated versions of actions checkout and setup-node to their latest commits.
  • .github/workflows/doc-generator.yml: Updated checkout and github-pages-deploy-action actions to their latest commits.
  • .github/workflows/prepare-cache.yml: Updated checkout and setup-node actions.
  • .github/workflows/release-and-publish.yml: Updated checkout action.
  • .github/workflows/test.yml: Updated Node versions in the testing matrix to include Node.js 20.x, ensuring compatibility with the latest Node.js version. Updated checkout and setup-node actions.

Documentation & Examples

  • CHANGELOG.md: Added entries for versions 29.1.2 and 29.1.1, including bug fixes and security fixes such as updating semver to 7.5.3.
  • E2E Tests and Snapshots: Updated test configurations and snapshots to reflect changes in testing Node.js ESM support and isolated modules.
  • Examples Configuration (jest.config.js to .cjs and .mjs): Converted various Jest configuration files from CommonJS to both CommonJS (.cjs) and ES Module (.mjs) formats, indicating improved support and testing strategies for ESM.
  • package.json updates within the example directories reflect dependency updates and changes in test scripts to support ESM configurations.

Dependency Updates

  • Numerous example projects and e2e tests have had their dependencies updated, reflecting maintenance to keep the project dependencies current.

Security Hotspots

  1. Dependency Updates: While updating dependencies is beneficial from a maintenance perspective, it is essential to thoroughly test to ensure that the newer versions of these dependencies do not introduce breaking changes or new vulnerabilities.

  2. ES Module Support Changes: The changes to support ESM more extensively, including adjustments in test configurations and example setups, are crucial as they align with the Node.js ecosystem's direction. However, it's essential to ensure that these changes do not negatively impact CommonJS module users and that there's a fallback or clear documentation for handling ESM-specific configurations.

  3. Updating GitHub Actions: Updating GitHub Actions to the latest commit might introduce unexpected behavior if the actions contain breaking changes. It's necessary to validate the workflows thoroughly after such updates to ensure CI/CD processes remain stable.

@renovate renovate bot changed the title Update dependency ts-jest to v29.1.2 Update dependency ts-jest to v29.1.3 May 25, 2024
Copy link

[puLL-Merge] - kulshekhar/ts-jest@v29.1.0..v29.1.3

Description

This PR updates various configuration files, dependencies, and examples across the ts-jest repository. The main motivation appears to be updating to the latest versions of dependencies like TypeScript, Jest, ESLint, Prettier, etc. It also makes some changes to standardize the Jest configuration setup across the examples.

Changes

Changes

  • .github/workflows/ - Updates the GitHub Actions workflows to use newer versions of actions like actions/checkout and actions/setup-node.

  • CHANGELOG.md - Adds changelog entries for upcoming 29.1.3, 29.1.2 and 29.1.1 releases.

  • e2e/

    • Updates snapshot tests
    • Removes onNodeVersions utility and associated conditional test logic
    • Updates example projects:
      • Bumps dependency versions
      • Renames Jest config files to use .cjs or .mjs extension based on ESM usage
      • Updates to use Jest presets from ts-jest/presets
      • Fixes test commands
  • examples/

    • Adds a new monorepo-app example
    • Updates existing examples similar to e2e/ changes
  • package.json

    • Bumps ts-jest version to 29.1.3
    • Updates dependencies to latest versions
    • Adds @jest/transform as an optional peer dependency
    • Adds Node 20.x to supported engines
  • src/

    • Refactors some internal config and transformer type usages
    • Removes unused disk caching logic in transformer
  • website/ - Bumps docusaurus and other website dependency versions

Overall, it's mostly updating dependencies, configs and examples without major changes to core logic. The new optional @jest/transform peer dependency and removal of some disk caching logic seem to be the main functional changes.

@renovate renovate bot changed the title Update dependency ts-jest to v29.1.3 Update dependency ts-jest to v29.1.4 Jun 1, 2024
Copy link

github-actions bot commented Jun 1, 2024

[puLL-Merge] - kulshekhar/ts-jest@v29.1.0..v29.1.4

Description

This PR updates several dependencies, GitHub actions, and examples to use the latest versions. It also makes some code changes to support transforming .cts/.mts extensions, generating ESM config based on type: "module" in package.json, and calculating cache keys based on the supportsStaticESM option.

Changes

Changes

Dependencies

  • Updated several dev dependencies to their latest versions, including @commitlint/cli, @commitlint/config-angular, @jest/transform, @jest/types, @types/* packages, @typescript-eslint/* packages, babel-jest, conventional-changelog-cli, esbuild, eslint and related packages, fs-extra, glob, jest, json-schema-to-typescript, node-fetch, prettier, and typescript.
  • Updated semver to ^7.5.3 and added it to the dependencies section.
  • Added @jest/transform as an optional peer dependency.
  • Bumped examples to use latest versions of react, react-dom, ts-jest, typescript etc.

GitHub Actions

  • Updated actions/checkout to v4 (from v3).
  • Updated actions/setup-node to v4 (from v3).
  • Updated JamesIves/github-pages-deploy-action to v4.6.1 (from v4.4.1).
  • Updated softprops/action-gh-release to v2 (from v1).
  • Changed tested Node versions to 16.x, 18.x, 20.x (previously 14.x, 16.x, 18.x).

Examples

  • Updated example projects to use .mjs/.cjs extensions for Jest config files to match type: "module" in package.json where applicable.
  • Added a new monorepo-app example.

Code Changes

  • Allow transforming of .cts/.mts extensions.
  • Make CLI generate ESM config based on type: "module" in package.json.
  • Calculate cache key based on supportsStaticESM option.
  • Remove resolved module cache file functionality.
  • several other minor code changes and test updates.

Security Hotspots

None found. The semver bump to 7.5.3 may have been done to address a vulnerability, but no details provided.

@renovate renovate bot changed the title Update dependency ts-jest to v29.1.4 Update dependency ts-jest to v29.1.5 Jun 20, 2024
Copy link

[puLL-Merge] - kulshekhar/ts-jest@v29.1.0..v29.1.5

Description

This PR updates various packages, tools, and configurations:

  • Update GitHub Actions workflows to use newer versions of actions
  • Update CHANGELOG for new 29.1.x releases
  • Update Node versions used in tests to 16.x, 18.x, 20.x
  • Update dependencies in package.json and lock files to newer versions
  • Update example projects with newer dependency versions and switch configs to ESM
  • Update ts-jest source code:
    • Support .cts and .mts extensions
    • Use TsJestTransformOptions type instead of TransformOptionsTsJest
    • Remove code caching resolved modules on disk
    • Generate ESM config in CLI if type: "module" in package.json
  • Update docs site to use Docusaurus v3
Changes

Changes

CI Updates

  • .github/workflows/ci.yml, .github/workflows/doc-generator.yml, .github/workflows/prepare-cache.yml, .github/workflows/release-and-publish.yml, .github/workflows/test.yml
    • Update to newer versions of actions/checkout, actions/setup-node, actions/create-release
    • Update Node versions for testing to 16.x, 18.x, 20.x

Changelog

  • CHANGELOG.md - Add entries for 29.1.1 to 29.1.5 releases

Source Code

  • src/cli/cli.spec.ts, src/cli/config/init.ts
    • Update tests and config init to generate ESM config if type: "module" in package.json
  • src/constants.ts
    • Update regexes to support .cts and .mts extensions
  • src/legacy/ts-jest-transformer.ts
    • Use TsJestTransformOptions instead of TransformOptionsTsJest
    • Remove code for caching resolved modules on disk
    • Add supportsStaticESM to cache key
  • Update imports, error handling, typing in various files

Example Projects

  • examples/*
    • Update dependencies in package.json files
    • Update example projects to use newer dependency versions
    • Switch config files to ESM (.mjs)
  • examples/monorepo-app - Add new multi-project example

Docs Site

  • website/* - Update to Docusaurus v3

Possible Issues

The updates touch many different areas of the codebase and configurations. While the changes look reasonable, thorough testing should be done, especially of the example projects, to ensure no issues were introduced. The removal of the disk caching logic should also be verified to not introduce performance regressions.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

0 participants