mirror of
https://codeberg.org/actions/setup-node.git
synced 2023-07-31 13:16:24 +00:00
78148dae50
* Updates * Update * Update * Update * Update * Yarn sometimes prefers npmrc, so use same token * Description * Update readme * Feedback * Add type * new toolkit and scoped registries * npmrc in RUNNER_TEMP * Dont always auth * Try exporting blank token * Get auth working for now pending runner changes * Fix string interpolation for auth token. * Don't export both userconfigs * Update authutil.js * Add single quotes for authString * Fix the registry string. * Use userconfig and append trailing slash * Keep in root of repo * Try just adding auth token * Remove auth token * Try changes again * Add tests * Npm and GPR samples * Add types
52 lines
1.4 KiB
JSON
52 lines
1.4 KiB
JSON
{
|
|
"name": "setup-node",
|
|
"version": "1.0.0",
|
|
"private": true,
|
|
"description": "setup node action",
|
|
"main": "lib/setup-node.js",
|
|
"scripts": {
|
|
"build": "tsc",
|
|
"format": "prettier --write **/*.ts",
|
|
"format-check": "prettier --check **/*.ts",
|
|
"test": "jest"
|
|
},
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "git+https://github.com/actions/setup-node.git"
|
|
},
|
|
"keywords": [
|
|
"actions",
|
|
"node",
|
|
"setup"
|
|
],
|
|
"author": "GitHub",
|
|
"license": "MIT",
|
|
"dependencies": {
|
|
"@actions/core": "file:toolkit/actions-core-0.0.0.tgz",
|
|
"@actions/exec": "file:toolkit/actions-exec-0.0.0.tgz",
|
|
"@actions/exit": "file:toolkit/actions-exit-0.0.0.tgz",
|
|
"@actions/github": "file:toolkit/actions-github-0.0.0.tgz",
|
|
"@actions/io": "file:toolkit/actions-io-0.0.0.tgz",
|
|
"@actions/tool-cache": "file:toolkit/actions-tool-cache-0.0.0.tgz",
|
|
"semver": "^6.1.1"
|
|
},
|
|
"devDependencies": {
|
|
"@types/jest": "^24.0.13",
|
|
"@types/node": "^12.0.4",
|
|
"@types/semver": "^6.0.0",
|
|
"husky": "^2.3.0",
|
|
"jest": "^24.8.0",
|
|
"jest-circus": "^24.7.1",
|
|
"prettier": "^1.17.1",
|
|
"ts-jest": "^24.0.2",
|
|
"typescript": "^3.5.1"
|
|
},
|
|
"husky": {
|
|
"skipCI": true,
|
|
"hooks": {
|
|
"pre-commit": "npm run build && npm run format",
|
|
"post-commit": "npm prune --production && git add node_modules/* && git commit -m \"Husky commit correct node modules\""
|
|
}
|
|
}
|
|
}
|