From 6cc5bc94f6dfc609d3ace3bad66cd11cf582e41e Mon Sep 17 00:00:00 2001 From: gowridurgad Date: Mon, 6 Jul 2026 13:31:32 +0530 Subject: [PATCH] Update README for v6 and clean up dev dependencies --- README.md | 4 ++++ eslint.config.mjs | 1 + package-lock.json | 12 ------------ package.json | 1 - 4 files changed, 5 insertions(+), 13 deletions(-) diff --git a/README.md b/README.md index 715026de..8012d696 100644 --- a/README.md +++ b/README.md @@ -12,6 +12,10 @@ This action provides the following functionality for GitHub Actions users: - Registering problem matchers for error output - Configuring authentication for GPR or npm +## Breaking changes in V7 + +- **Migrated to ESM** to enable support for the latest `@actions/*` package versions. + ## Breaking changes in V6 - Caching is now automatically enabled for npm projects when either the `devEngines.packageManager` field or the top-level `packageManager` field in `package.json` is set to `npm`. For other package managers, such as Yarn and pnpm, caching is disabled by default and must be configured manually using the `cache` input. diff --git a/eslint.config.mjs b/eslint.config.mjs index 42b4503a..1d064011 100644 --- a/eslint.config.mjs +++ b/eslint.config.mjs @@ -49,6 +49,7 @@ export default [ ], 'no-control-regex': 'off', 'no-constant-condition': ['error', {checkLoops: false}], + 'no-undef': 'off', 'no-useless-assignment': 'off', 'n/no-extraneous-import': 'error' } diff --git a/package-lock.json b/package-lock.json index 7342cf44..c4c305e9 100644 --- a/package-lock.json +++ b/package-lock.json @@ -22,7 +22,6 @@ "devDependencies": { "@eslint/js": "^10.0.1", "@jest/globals": "^30.4.1", - "@types/jest": "^30.0.0", "@types/node": "^26.0.0", "@types/semver": "^7.7.0", "@typescript-eslint/eslint-plugin": "^8.62.0", @@ -2028,17 +2027,6 @@ "@types/istanbul-lib-report": "*" } }, - "node_modules/@types/jest": { - "version": "30.0.0", - "resolved": "https://registry.npmjs.org/@types/jest/-/jest-30.0.0.tgz", - "integrity": "sha512-XTYugzhuwqWjws0CVz8QpM36+T+Dz5mTEBKhNs/esGLnCIlGdRy+Dq78NRjd7ls7r8BC8ZRMOrKlkO1hU0JOwA==", - "dev": true, - "license": "MIT", - "dependencies": { - "expect": "^30.0.0", - "pretty-format": "^30.0.0" - } - }, "node_modules/@types/json-schema": { "version": "7.0.15", "resolved": "https://registry.npmjs.org/@types/json-schema/-/json-schema-7.0.15.tgz", diff --git a/package.json b/package.json index cbc74613..3621cf34 100644 --- a/package.json +++ b/package.json @@ -42,7 +42,6 @@ "devDependencies": { "@eslint/js": "^10.0.1", "@jest/globals": "^30.4.1", - "@types/jest": "^30.0.0", "@types/node": "^26.0.0", "@types/semver": "^7.7.0", "@typescript-eslint/eslint-plugin": "^8.62.0",