mirror of
https://code.forgejo.org/actions/cache.git
synced 2026-08-07 20:11:11 +00:00
Realign the fork so it diffs from upstream actions/cache only by the GCS cache backend, instead of carrying unrelated downgrades and deletions. - Restore package.json/package-lock.json to upstream 5.0.4 deps; the fork had downgraded to 4.2.x. Re-add @google-cloud/storage (gcsCache.ts needs it). - Rebuild dist/ against the restored deps so it bundles the real GCS client rather than a stale build against downgraded deps. - Restore deleted upstream files: 7 workflow YAMLs, .github/CODEOWNERS, .licensed.yml. (To be disabled in the fork, not removed.) - Revert action.yml/restore/save manifests to upstream name/description/ author; keep only the gcs-bucket/gcs-path-prefix inputs as the fork diff. - auto-tag.yml: track upstream's highest semver release tag, moving both the exact-version tag and the major alias, instead of force-pinning v1. - Remove checkout/ composite action; relocated to Cula-Technologies/checkout. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
55 lines
No EOL
1.6 KiB
JSON
55 lines
No EOL
1.6 KiB
JSON
{
|
|
"name": "cache",
|
|
"version": "5.0.4",
|
|
"private": true,
|
|
"description": "Cache dependencies and build outputs",
|
|
"main": "dist/restore/index.js",
|
|
"scripts": {
|
|
"build": "tsc && ncc build -o dist/restore src/restore.ts && ncc build -o dist/save src/save.ts && ncc build -o dist/restore-only src/restoreOnly.ts && ncc build -o dist/save-only src/saveOnly.ts",
|
|
"test": "tsc --noEmit && jest --coverage",
|
|
"lint": "eslint **/*.ts --cache",
|
|
"format": "prettier --write **/*.ts",
|
|
"format-check": "prettier --check **/*.ts"
|
|
},
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "git+https://github.com/actions/cache.git"
|
|
},
|
|
"keywords": [
|
|
"actions",
|
|
"node",
|
|
"cache"
|
|
],
|
|
"author": "GitHub",
|
|
"license": "MIT",
|
|
"dependencies": {
|
|
"@actions/cache": "^5.0.5",
|
|
"@actions/core": "^2.0.3",
|
|
"@actions/exec": "^2.0.0",
|
|
"@actions/io": "^2.0.0",
|
|
"@google-cloud/storage": "^7.16.0"
|
|
},
|
|
"devDependencies": {
|
|
"@types/jest": "^29.5.14",
|
|
"@types/nock": "^11.1.0",
|
|
"@types/node": "^24.1.0",
|
|
"@typescript-eslint/eslint-plugin": "^7.2.0",
|
|
"@typescript-eslint/parser": "^7.2.0",
|
|
"@vercel/ncc": "^0.38.3",
|
|
"eslint": "^8.28.0",
|
|
"eslint-config-prettier": "^9.1.2",
|
|
"eslint-plugin-import": "^2.32.0",
|
|
"eslint-plugin-jest": "^27.9.0",
|
|
"eslint-plugin-prettier": "^5.5.3",
|
|
"eslint-plugin-simple-import-sort": "^12.1.1",
|
|
"jest": "^29.7.0",
|
|
"jest-circus": "^29.7.0",
|
|
"nock": "^13.2.9",
|
|
"prettier": "^3.6.2",
|
|
"ts-jest": "^29.4.0",
|
|
"typescript": "^5.8.3"
|
|
},
|
|
"engines": {
|
|
"node": ">=24"
|
|
}
|
|
} |