mirror of
https://github.com/actions/github-script.git
synced 2026-03-28 08:55:03 +00:00
- @actions/github: ^6.0.0 → ^9.0.0 - @octokit/core: ^5.0.1 → ^7.0.0 - @octokit/plugin-request-log: ^4.0.0 → ^6.0.0 - @octokit/plugin-retry: ^6.0.1 → ^8.0.0 - Update tsconfig.json to use moduleResolution: "bundler" for ESM exports map support - Update import paths for new package structures - Update build:types script for compatible compiler options Co-authored-by: angel-jiakou <115738347+angel-jiakou@users.noreply.github.com> Agent-Logs-Url: https://github.com/actions/github-script/sessions/17de5ca1-8bdc-41e4-a06d-ab2d8c2e6e8c
71 lines
2.0 KiB
JSON
71 lines
2.0 KiB
JSON
{
|
|
"name": "@actions/github-script",
|
|
"description": "A GitHub action for executing a simple script",
|
|
"engines": {
|
|
"node": ">=24"
|
|
},
|
|
"version": "7.0.1",
|
|
"author": "GitHub",
|
|
"license": "MIT",
|
|
"main": "dist/index.js",
|
|
"types": "types/async-function.d.ts",
|
|
"scripts": {
|
|
"build": "npm run build:types && ncc build src/main.ts",
|
|
"build:types": "tsc src/async-function.ts --target es2022 --module es2022 --moduleResolution bundler --declaration --emitDeclarationOnly --outDir types",
|
|
"format:check": "prettier --check src __test__",
|
|
"format:write": "prettier --write src __test__",
|
|
"lint": "eslint src __test__",
|
|
"style:check": "run-p --continue-on-error --aggregate-output format:check lint",
|
|
"style:write": "run-p --continue-on-error --aggregate-output format:write lint",
|
|
"pre-commit": "run-s style:write test build",
|
|
"test": "jest",
|
|
"prepare": "husky"
|
|
},
|
|
"jest": {
|
|
"preset": "ts-jest",
|
|
"testEnvironment": "node",
|
|
"transform": {
|
|
"^.+\\.ts$": [
|
|
"ts-jest",
|
|
{
|
|
"tsconfig": {
|
|
"target": "es2022",
|
|
"module": "commonjs",
|
|
"moduleResolution": "bundler"
|
|
},
|
|
"diagnostics": {
|
|
"ignoreCodes": [
|
|
"151001"
|
|
]
|
|
}
|
|
}
|
|
]
|
|
}
|
|
},
|
|
"dependencies": {
|
|
"@actions/core": "^1.10.1",
|
|
"@actions/exec": "^1.1.1",
|
|
"@actions/github": "^9.0.0",
|
|
"@actions/glob": "^0.4.0",
|
|
"@actions/io": "^1.1.3",
|
|
"@octokit/core": "^7.0.0",
|
|
"@octokit/plugin-request-log": "^6.0.0",
|
|
"@octokit/plugin-retry": "^8.0.0",
|
|
"@types/node": "^24.1.0"
|
|
},
|
|
"devDependencies": {
|
|
"@types/jest": "^29.5.5",
|
|
"@typescript-eslint/eslint-plugin": "^6.7.5",
|
|
"@typescript-eslint/parser": "^6.7.5",
|
|
"@vercel/ncc": "^0.38.0",
|
|
"eslint": "^8.51.0",
|
|
"eslint-config-prettier": "^9.0.0",
|
|
"eslint-plugin-prettier": "^5.0.1",
|
|
"husky": "^9.1.1",
|
|
"jest": "^29.7.0",
|
|
"npm-run-all": "^4.1.5",
|
|
"prettier": "^3.0.3",
|
|
"ts-jest": "^29.1.1",
|
|
"typescript": "^5.2.2"
|
|
}
|
|
} |