Convert action to TypeScript
This commit is contained in:
95
package.json
95
package.json
@@ -1,46 +1,77 @@
|
||||
{
|
||||
"name": "first-interaction-action",
|
||||
"version": "1.3.0",
|
||||
"description": "An action for greeting first time contributors.",
|
||||
"main": "lib/main.js",
|
||||
"scripts": {
|
||||
"build": "tsc",
|
||||
"format": "prettier --write **/*.ts",
|
||||
"test": "jest"
|
||||
},
|
||||
"version": "2.0.0",
|
||||
"author": "GitHub",
|
||||
"type": "module",
|
||||
"private": true,
|
||||
"homepage": "https://github.com/actions/first-interaction",
|
||||
"repository": {
|
||||
"type": "git",
|
||||
"url": "git+https://github.com/actions/first-interaction.git"
|
||||
},
|
||||
"keywords": [
|
||||
"actions",
|
||||
"container",
|
||||
"toolkit",
|
||||
"first",
|
||||
"interaction"
|
||||
],
|
||||
"author": "GitHub",
|
||||
"license": "ISC",
|
||||
"bugs": {
|
||||
"url": "https://github.com/actions/first-interaction/issues"
|
||||
},
|
||||
"homepage": "https://github.com/actions/first-interaction#readme",
|
||||
"keywords": [
|
||||
"actions",
|
||||
"first",
|
||||
"interaction"
|
||||
],
|
||||
"exports": {
|
||||
".": "./dist/index.js"
|
||||
},
|
||||
"engines": {
|
||||
"node": ">=20"
|
||||
},
|
||||
"scripts": {
|
||||
"bundle": "npm run format:write && npm run package",
|
||||
"ci-test": "NODE_OPTIONS=--experimental-vm-modules NODE_NO_WARNINGS=1 npx jest",
|
||||
"coverage": "npx make-coverage-badge --output-path ./badges/coverage.svg",
|
||||
"format:write": "npx prettier --write .",
|
||||
"format:check": "npx prettier --check .",
|
||||
"lint": "npx eslint .",
|
||||
"local-action": "npx local-action . src/main.ts .env",
|
||||
"package": "npx rollup --config rollup.config.ts --configPlugin @rollup/plugin-typescript",
|
||||
"package:watch": "npm run package -- --watch",
|
||||
"test": "NODE_OPTIONS=--experimental-vm-modules NODE_NO_WARNINGS=1 npx jest",
|
||||
"all": "npm run format:write && npm run lint && npm run test && npm run coverage && npm run package"
|
||||
},
|
||||
"license": "MIT",
|
||||
"dependencies": {
|
||||
"@actions/core": "file:toolkit/actions-core-1.10.0.tgz",
|
||||
"@actions/exec": "file:toolkit/actions-exec-1.1.1.tgz",
|
||||
"@actions/github": "file:toolkit/actions-github-5.1.1.tgz",
|
||||
"@actions/http-client": "^2.2.0",
|
||||
"@actions/io": "file:toolkit/actions-io-1.1.2.tgz",
|
||||
"@actions/tool-cache": "file:toolkit/actions-tool-cache-2.0.1.tgz",
|
||||
"@octokit/rest": "file:toolkit/octokit-rest.js-20.0.2.tgz"
|
||||
"@actions/core": "^1.11.1",
|
||||
"@actions/github": "^6.0.0",
|
||||
"@octokit/rest": "^21.1.1"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@types/jest": "^24.0.13",
|
||||
"@types/node": "^12.0.4",
|
||||
"jest": "^24.8.0",
|
||||
"jest-circus": "^24.7.1",
|
||||
"prettier": "^1.17.1",
|
||||
"ts-jest": "^24.0.2",
|
||||
"typescript": "^3.5.1"
|
||||
"@eslint/compat": "^1.2.6",
|
||||
"@github/local-action": "^2.6.2",
|
||||
"@jest/globals": "^29.7.0",
|
||||
"@octokit/types": "^13.8.0",
|
||||
"@rollup/plugin-commonjs": "^28.0.2",
|
||||
"@rollup/plugin-node-resolve": "^16.0.0",
|
||||
"@rollup/plugin-typescript": "^12.1.2",
|
||||
"@types/jest": "^29.5.14",
|
||||
"@types/node": "^22.13.4",
|
||||
"@typescript-eslint/eslint-plugin": "^8.24.1",
|
||||
"@typescript-eslint/parser": "^8.24.1",
|
||||
"eslint": "^9.20.1",
|
||||
"eslint-config-prettier": "^10.0.1",
|
||||
"eslint-import-resolver-typescript": "^3.8.2",
|
||||
"eslint-plugin-import": "^2.31.0",
|
||||
"eslint-plugin-jest": "^28.11.0",
|
||||
"eslint-plugin-prettier": "^5.2.3",
|
||||
"jest": "^29.7.0",
|
||||
"make-coverage-badge": "^1.2.0",
|
||||
"prettier": "^3.5.1",
|
||||
"prettier-eslint": "^16.3.0",
|
||||
"rollup": "^4.34.8",
|
||||
"ts-jest": "^29.2.5",
|
||||
"ts-jest-resolver": "^2.0.1",
|
||||
"ts-node": "^10.9.2",
|
||||
"typescript": "^5.7.3"
|
||||
},
|
||||
"optionalDependencies": {
|
||||
"@rollup/rollup-linux-x64-gnu": "*"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user