mirror of
				https://kkgithub.com/actions/setup-node.git
				synced 2025-10-31 18:51:54 +08: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:
		
							
								
								
									
										66
									
								
								node_modules/btoa-lite/package.json
									
									
									
										generated
									
									
										vendored
									
									
										Normal file
									
								
							
							
						
						
									
										66
									
								
								node_modules/btoa-lite/package.json
									
									
									
										generated
									
									
										vendored
									
									
										Normal file
									
								
							| @ -0,0 +1,66 @@ | ||||
| { | ||||
|   "_from": "btoa-lite@^1.0.0", | ||||
|   "_id": "btoa-lite@1.0.0", | ||||
|   "_inBundle": false, | ||||
|   "_integrity": "sha1-M3dm2hWAEhD92VbCLpxokaudAzc=", | ||||
|   "_location": "/btoa-lite", | ||||
|   "_phantomChildren": {}, | ||||
|   "_requested": { | ||||
|     "type": "range", | ||||
|     "registry": true, | ||||
|     "raw": "btoa-lite@^1.0.0", | ||||
|     "name": "btoa-lite", | ||||
|     "escapedName": "btoa-lite", | ||||
|     "rawSpec": "^1.0.0", | ||||
|     "saveSpec": null, | ||||
|     "fetchSpec": "^1.0.0" | ||||
|   }, | ||||
|   "_requiredBy": [ | ||||
|     "/@octokit/rest" | ||||
|   ], | ||||
|   "_resolved": "https://registry.npmjs.org/btoa-lite/-/btoa-lite-1.0.0.tgz", | ||||
|   "_shasum": "337766da15801210fdd956c22e9c6891ab9d0337", | ||||
|   "_spec": "btoa-lite@^1.0.0", | ||||
|   "_where": "C:\\Users\\Administrator\\Documents\\setup-node\\node_modules\\@octokit\\rest", | ||||
|   "author": { | ||||
|     "name": "Hugh Kennedy", | ||||
|     "email": "hughskennedy@gmail.com", | ||||
|     "url": "http://hughsk.io/" | ||||
|   }, | ||||
|   "browser": "btoa-browser.js", | ||||
|   "bugs": { | ||||
|     "url": "https://github.com/hughsk/btoa-lite/issues" | ||||
|   }, | ||||
|   "bundleDependencies": false, | ||||
|   "dependencies": {}, | ||||
|   "deprecated": false, | ||||
|   "description": "Smallest/simplest possible means of using btoa with both Node and browserify", | ||||
|   "devDependencies": { | ||||
|     "browserify": "^10.2.4", | ||||
|     "smokestack": "^3.3.0", | ||||
|     "tap-spec": "^4.0.0", | ||||
|     "tape": "^4.0.0" | ||||
|   }, | ||||
|   "homepage": "https://github.com/hughsk/btoa-lite", | ||||
|   "keywords": [ | ||||
|     "btoa", | ||||
|     "base64", | ||||
|     "isomorphic", | ||||
|     "browser", | ||||
|     "node", | ||||
|     "shared" | ||||
|   ], | ||||
|   "license": "MIT", | ||||
|   "main": "btoa-node.js", | ||||
|   "name": "btoa-lite", | ||||
|   "repository": { | ||||
|     "type": "git", | ||||
|     "url": "git://github.com/hughsk/btoa-lite.git" | ||||
|   }, | ||||
|   "scripts": { | ||||
|     "test": "npm run test-node && npm run test-browser", | ||||
|     "test-browser": "browserify test | smokestack | tap-spec", | ||||
|     "test-node": "node test | tap-spec" | ||||
|   }, | ||||
|   "version": "1.0.0" | ||||
| } | ||||
		Reference in New Issue
	
	Block a user
	 Danny McCormick
					Danny McCormick