51 lines
		
	
	
		
			1.5 KiB
		
	
	
	
		
			Markdown
		
	
	
	
	
	
			
		
		
	
	
			51 lines
		
	
	
		
			1.5 KiB
		
	
	
	
		
			Markdown
		
	
	
	
	
	
| ---
 | |
| type: "topic"
 | |
| created: "2024-01-14T02:18:22.171Z"
 | |
| updated: "2024-01-16T16:27:50.660Z"
 | |
| ---
 | |
| 
 | |
| # Verdaccio
 | |
| 
 | |
| [npm](npm.md)
 | |
| 
 | |
| ```bash
 | |
| node --version
 | |
| npm local repository verdaccio
 | |
| # https://verdaccio.org/docs/windows/
 | |
| L:
 | |
| mkdir "L:\Verdaccio"
 | |
| cd "L:\Verdaccio"
 | |
| copy C:/Users/mesphares/AppData/Roaming/verdaccio/config.yaml L:/Verdaccio/config.yaml
 | |
| npm install verdaccio
 | |
| npm audit fix
 | |
| cd "C:/Users/mesphares/AppData/Local/IFXApps/nssm-2.24/win64"
 | |
| nssm.exe install Verdaccio
 | |
| node
 | |
| "L:\Verdaccio"
 | |
| "L:/Verdaccio/node_modules/verdaccio/build/lib/cli.js" -c "L:/Verdaccio/config.yaml"
 | |
| explorer http://localhost:4873/
 | |
| npm set registry https://registry.npmjs.org/
 | |
| npm set registry http://localhost:4873/
 | |
| npm install --registry http://localhost:4873
 | |
| npm login --registry=http://localhost:4873
 | |
| npm adduser --registry http://localhost:4873/
 | |
| # https://artifactory.intra.infineon.com/ui/packages
 | |
| # https://confluencewikiprod.intra.infineon.com/display/MWAR/Local+NPM+Registry
 | |
| # https://blog.bitsrc.io/how-to-set-up-a-private-npm-registry-locally-1065e6790796
 | |
| # https://docs.npmjs.com/cli/v8/using-npm/registry
 | |
| npm set registry https://registry.npmjs.org
 | |
| # https://verdaccio.org/
 | |
| npm adduser --registry http://localhost:487
 | |
| npm install --global verdaccio
 | |
| npm set registry http://localhost:4873/
 | |
| npm install --registry http://localhost:4873
 | |
| # npm install will console log registry
 | |
| npm install
 | |
| # http://localhost:4873/-/web/detail/trxviewer
 | |
| ```
 | |
| 
 | |
| ```bash
 | |
| L:\Verdaccio
 | |
| \\messdv002.na.infineon.com\Candela\Verdaccio
 | |
| ```
 |