21c1159e4d
Changed the build script to output ES modules instead of CommonJS. Updated action.yml to reference .js files instead of .cjs, and clarified proxy support logic in bootstrap.js.
63 lines
1.5 KiB
JSON
63 lines
1.5 KiB
JSON
{
|
|
"name": "create-github-app-token",
|
|
"private": true,
|
|
"type": "module",
|
|
"version": "3.0.0-beta.2",
|
|
"description": "GitHub Action for creating a GitHub App Installation Access Token",
|
|
"engines": {
|
|
"node": ">=24.4.0"
|
|
},
|
|
"scripts": {
|
|
"build": "esbuild bootstrap.js main.js post.js --bundle --outdir=dist --format=esm --platform=node --packages=bundle",
|
|
"test": "c8 --100 ava tests/index.js",
|
|
"coverage": "c8 report --reporter html",
|
|
"postcoverage": "open-cli coverage/index.html"
|
|
},
|
|
"license": "MIT",
|
|
"dependencies": {
|
|
"@actions/core": "^1.11.1",
|
|
"@octokit/auth-app": "^7.2.1",
|
|
"@octokit/request": "^9.2.2",
|
|
"p-retry": "^6.2.1"
|
|
},
|
|
"devDependencies": {
|
|
"@octokit/openapi": "^19.1.0",
|
|
"@sinonjs/fake-timers": "^14.0.0",
|
|
"ava": "^6.4.1",
|
|
"c8": "^10.1.3",
|
|
"dotenv": "^17.2.1",
|
|
"esbuild": "^0.25.8",
|
|
"execa": "^9.6.0",
|
|
"open-cli": "^8.0.0",
|
|
"undici": "^7.13.0",
|
|
"yaml": "^2.8.1"
|
|
},
|
|
"release": {
|
|
"branches": [
|
|
"+([0-9]).x",
|
|
"main",
|
|
{
|
|
"name": "beta",
|
|
"prerelease": true
|
|
}
|
|
],
|
|
"plugins": [
|
|
"@semantic-release/commit-analyzer",
|
|
"@semantic-release/release-notes-generator",
|
|
"@semantic-release/github",
|
|
"@semantic-release/npm",
|
|
[
|
|
"@semantic-release/git",
|
|
{
|
|
"assets": [
|
|
"package.json",
|
|
"package-lock.json",
|
|
"dist/*"
|
|
],
|
|
"message": "build(release): ${nextRelease.version} [skip ci]\n\n${nextRelease.notes}"
|
|
}
|
|
]
|
|
]
|
|
}
|
|
}
|