Bump Node.js engine requirement to >=24 in package.json and package-lock.json. Update action.yml to use node24. Upgrade actions/checkout to v4 and actions/setup-go to v5 in the workflow. These changes ensure compatibility with the latest Node.js and GitHub Actions tooling.
57 lines
1.7 KiB
JSON
57 lines
1.7 KiB
JSON
{
|
|
"name": "go-dependency-submission",
|
|
"version": "2.0.3",
|
|
"description": "Go Dependency Submission",
|
|
"main": "dist/index.js",
|
|
"engines": {
|
|
"node": ">=24"
|
|
},
|
|
"scripts": {
|
|
"build": "tsc",
|
|
"format": "npx prettier --write '**/*.ts'",
|
|
"format-check": "npx prettier --check '**/*.ts'",
|
|
"lint": "eslint --fix src/**/*.ts",
|
|
"package": "ncc build --source-map --license licenses.txt",
|
|
"test": "jest --testTimeout=10000",
|
|
"test:watch": "jest --watch src",
|
|
"all": "npm run build && npm run format && npm run lint && npm run package && npm test"
|
|
},
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "git+https://github.com/actions/go-dependency-submission.git"
|
|
},
|
|
"keywords": [],
|
|
"author": "",
|
|
"license": "ISC",
|
|
"bugs": {
|
|
"url": "https://github.com/actions/go-dependency-submission/issues"
|
|
},
|
|
"homepage": "https://github.com/actions/go-dependency-submission#readme",
|
|
"devDependencies": {
|
|
"@babel/core": "^7.26.10",
|
|
"@babel/preset-env": "^7.26.9",
|
|
"@babel/preset-typescript": "^7.27.0",
|
|
"@types/jest": "^27.5.2",
|
|
"@typescript-eslint/eslint-plugin": "^5.20.0",
|
|
"@typescript-eslint/parser": "^5.20.0",
|
|
"@vercel/ncc": "^0.33.4",
|
|
"babel-jest": "^29.7.0",
|
|
"eslint": "^8.13.0",
|
|
"eslint-config-standard": "^17.0.0",
|
|
"eslint-plugin-import": "^2.26.0",
|
|
"eslint-plugin-jest": "^26.5.3",
|
|
"eslint-plugin-n": "^15.1.0",
|
|
"eslint-plugin-promise": "^6.0.0",
|
|
"prettier": "^3.5.3",
|
|
"ts-jest": "^29.0.0",
|
|
"typescript": "^4.6.4"
|
|
},
|
|
"dependencies": {
|
|
"@actions/core": "^1.9.1",
|
|
"@actions/exec": "^1.1.1",
|
|
"@actions/github": "^6.0.0",
|
|
"@github/dependency-submission-toolkit": "^2.0.5",
|
|
"packageurl-js": "^0.0.6"
|
|
}
|
|
}
|