docs: update README to include private npm registry configuration
							parent
							
								
									13ae582a5d
								
							
						
					
					
						commit
						627592187f
					
				
							
								
								
									
										12
									
								
								README.md
								
								
								
								
							
							
						
						
									
										12
									
								
								README.md
								
								
								
								
							| 
						 | 
				
			
			@ -30,6 +30,17 @@
 | 
			
		|||
 | 
			
		||||
node 16.x 其他版本依赖可能会有问题
 | 
			
		||||
 | 
			
		||||
```sh
 | 
			
		||||
 | 
			
		||||
# 修改镜像地址 -> 博云私有 npm 仓库地址
 | 
			
		||||
 | 
			
		||||
npm config set registry http://58.210.154.140:13011/repository/bocloud-npm/
 | 
			
		||||
npm config set always-auth true
 | 
			
		||||
npm config set auto-install-peers=true
 | 
			
		||||
npm config set strict-peer-dependencies=false
 | 
			
		||||
npm config set shamefully-hoist=true
 | 
			
		||||
npm config set _auth Ym9jbG91ZDpjbXBAdjU4Nw==
 | 
			
		||||
 | 
			
		||||
# 下载依赖
 | 
			
		||||
 | 
			
		||||
pnpm install
 | 
			
		||||
| 
						 | 
				
			
			@ -53,3 +64,4 @@ pnpm fix
 | 
			
		|||
# 解决内存溢出问题
 | 
			
		||||
 | 
			
		||||
pnpm fix-memory-limit
 | 
			
		||||
```
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
		Reference in New Issue