mirror of
				https://gitea.com/actions/setup-node.git
				synced 2025-10-31 07:47:14 +00:00 
			
		
		
		
	Add auth support (#21)
* 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
This commit is contained in:
		
							
								
								
									
										89
									
								
								node_modules/@octokit/request/package.json
									
									
									
										generated
									
									
										vendored
									
									
										Normal file
									
								
							
							
						
						
									
										89
									
								
								node_modules/@octokit/request/package.json
									
									
									
										generated
									
									
										vendored
									
									
										Normal file
									
								
							| @@ -0,0 +1,89 @@ | ||||
| { | ||||
|   "_from": "@octokit/request@^5.0.0", | ||||
|   "_id": "@octokit/request@5.0.2", | ||||
|   "_inBundle": false, | ||||
|   "_integrity": "sha512-z1BQr43g4kOL4ZrIVBMHwi68Yg9VbkRUyuAgqCp1rU3vbYa69+2gIld/+gHclw15bJWQnhqqyEb7h5a5EqgZ0A==", | ||||
|   "_location": "/@octokit/request", | ||||
|   "_phantomChildren": { | ||||
|     "os-name": "3.1.0" | ||||
|   }, | ||||
|   "_requested": { | ||||
|     "type": "range", | ||||
|     "registry": true, | ||||
|     "raw": "@octokit/request@^5.0.0", | ||||
|     "name": "@octokit/request", | ||||
|     "escapedName": "@octokit%2frequest", | ||||
|     "scope": "@octokit", | ||||
|     "rawSpec": "^5.0.0", | ||||
|     "saveSpec": null, | ||||
|     "fetchSpec": "^5.0.0" | ||||
|   }, | ||||
|   "_requiredBy": [ | ||||
|     "/@octokit/graphql", | ||||
|     "/@octokit/rest" | ||||
|   ], | ||||
|   "_resolved": "https://registry.npmjs.org/@octokit/request/-/request-5.0.2.tgz", | ||||
|   "_shasum": "59a920451f24811c016ddc507adcc41aafb2dca5", | ||||
|   "_spec": "@octokit/request@^5.0.0", | ||||
|   "_where": "C:\\Users\\Administrator\\Documents\\setup-node\\node_modules\\@octokit\\graphql", | ||||
|   "bugs": { | ||||
|     "url": "https://github.com/octokit/request.js/issues" | ||||
|   }, | ||||
|   "bundleDependencies": false, | ||||
|   "dependencies": { | ||||
|     "@octokit/endpoint": "^5.1.0", | ||||
|     "@octokit/request-error": "^1.0.1", | ||||
|     "deprecation": "^2.0.0", | ||||
|     "is-plain-object": "^3.0.0", | ||||
|     "node-fetch": "^2.3.0", | ||||
|     "once": "^1.4.0", | ||||
|     "universal-user-agent": "^3.0.0" | ||||
|   }, | ||||
|   "deprecated": false, | ||||
|   "description": "Send parameterized requests to GitHub’s APIs with sensible defaults in browsers and Node", | ||||
|   "devDependencies": { | ||||
|     "@pika/pack": "^0.4.0", | ||||
|     "@pika/plugin-build-node": "^0.5.1", | ||||
|     "@pika/plugin-build-web": "^0.5.1", | ||||
|     "@pika/plugin-ts-standard-pkg": "^0.5.1", | ||||
|     "@types/fetch-mock": "^7.2.4", | ||||
|     "@types/jest": "^24.0.12", | ||||
|     "@types/node": "^12.0.3", | ||||
|     "@types/node-fetch": "^2.3.3", | ||||
|     "@types/once": "^1.4.0", | ||||
|     "fetch-mock": "^7.2.0", | ||||
|     "jest": "^24.7.1", | ||||
|     "prettier": "^1.17.0", | ||||
|     "semantic-release": "^15.10.5", | ||||
|     "semantic-release-plugin-update-version-in-files": "^1.0.0", | ||||
|     "ts-jest": "^24.0.2", | ||||
|     "typescript": "^3.4.5" | ||||
|   }, | ||||
|   "files": [ | ||||
|     "dist-*/", | ||||
|     "bin/" | ||||
|   ], | ||||
|   "homepage": "https://github.com/octokit/request.js#readme", | ||||
|   "keywords": [ | ||||
|     "octokit", | ||||
|     "github", | ||||
|     "api", | ||||
|     "request" | ||||
|   ], | ||||
|   "license": "MIT", | ||||
|   "main": "dist-node/index.js", | ||||
|   "module": "dist-web/index.js", | ||||
|   "name": "@octokit/request", | ||||
|   "pika": true, | ||||
|   "publishConfig": { | ||||
|     "access": "public" | ||||
|   }, | ||||
|   "repository": { | ||||
|     "type": "git", | ||||
|     "url": "git+https://github.com/octokit/request.js.git" | ||||
|   }, | ||||
|   "sideEffects": false, | ||||
|   "source": "dist-src/index.js", | ||||
|   "types": "dist-types/index.d.ts", | ||||
|   "version": "5.0.2" | ||||
| } | ||||
		Reference in New Issue
	
	Block a user
	 Danny McCormick
					Danny McCormick