Skip to content

Remove version from comparison tests#1691

Closed
johnnyreilly wants to merge 9 commits intomainfrom
remove-version-from-comparision-tests
Closed

Remove version from comparison tests#1691
johnnyreilly wants to merge 9 commits intomainfrom
remove-version-from-comparision-tests

Conversation

@johnnyreilly
Copy link
Copy Markdown
Member

This pull request updates the project to support TypeScript 6.0, removes legacy documentation and scripts related to adding new TypeScript versions, and makes several improvements to configuration files and dependencies. It also updates some example configurations and cleans up test output for older TypeScript versions.

TypeScript 6.0 Support and Dependency Updates:

  • Added TypeScript 6.0.2 to the test matrix in .github/workflows/push.yml to ensure CI coverage for the new version. [1] [2]
  • Updated the typescript dependency in package.json to ^6.0.2.

Documentation and Script Cleanup:

  • Removed the comparison-tests-generate script from package.json and deleted related instructions from AGENTS.md, as the process for seeding snapshots for new TypeScript versions is no longer needed. [1] [2]
  • Deleted the outdated RELEASING.md file.

Configuration Improvements:

  • Updated TypeScript configuration in src/tsconfig.json to use "moduleResolution": "bundler" and added "types": ["node"] for better compatibility with the latest TypeScript.
  • Changed the default TypeScript target from es5 to es6 in example configs (examples/fork-ts-checker-webpack-plugin/tsconfig.json, examples/project-references-example/tsconfig-base.json). [1] [2]
  • Updated VSCode settings to enable Copilot next edit suggestions and auto-approve certain terminal commands.

Code and Test Maintenance:

  • Changed the import style for micromatch in src/utils.ts to use the default import, aligning with updated TypeScript module resolution.
  • Removed obsolete test output files for TypeScript 5.7 and 5.9 in the test/comparison-tests/aliasResolution/expectedOutput-* directories, as part of cleaning up legacy test snapshots. [1] [2] [3] [4] [5] [6]

Minor Documentation Updates:

  • Updated a URL in HISTORY.md to reflect the current blog address of a maintainer.

@johnnyreilly
Copy link
Copy Markdown
Member Author

Closing in favour of #1692

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.

1 participant