mirror of
				https://github.com/TriliumNext/Notes.git
				synced 2025-10-31 13:01:31 +08:00 
			
		
		
		
	chore(monorepo): scripts to build globally
This commit is contained in:
		
							parent
							
								
									bc42038e01
								
							
						
					
					
						commit
						b3946db40a
					
				| @ -20,7 +20,7 @@ | ||||
|   "type": "module", | ||||
|   "main": "index.js", | ||||
|   "scripts": { | ||||
|     "build:webpack": "tsx node_modules/webpack/bin/webpack.js -c webpack.config.ts", | ||||
|     "build:webpack": "tsx ../../node_modules/webpack/bin/webpack.js -c webpack.config.ts", | ||||
|     "test": "vitest" | ||||
|   }, | ||||
|   "devDependencies": { | ||||
|  | ||||
							
								
								
									
										12
									
								
								package.json
									
									
									
									
									
								
							
							
						
						
									
										12
									
								
								package.json
									
									
									
									
									
								
							| @ -13,13 +13,15 @@ | ||||
|         "packages/*" | ||||
|     ], | ||||
|     "scripts": { | ||||
|         "test": "npm --workspace=apps/client --workspace=apps/server test", | ||||
|         "build": "npm run client:build && npm run server:build", | ||||
|         "test": "npm --workspace=apps/client --workspace=apps/server run test", | ||||
| 
 | ||||
|         "client:test": "npm --workspace=apps/client test", | ||||
|         "client:build": "npm --workspace=apps/client build:webpack", | ||||
|         "client:test": "npm --workspace=apps/client run test", | ||||
|         "client:build": "npm --workspace=apps/client run build:webpack", | ||||
| 
 | ||||
|         "server:test": "npm --workspace=apps/server test", | ||||
|         "server:coverage": "npm --workspace=apps/server coverage", | ||||
|         "server:test": "npm --workspace=apps/server run test", | ||||
|         "server:coverage": "npm --workspace=apps/server run coverage", | ||||
|         "server:build": "npm --workspace=apps/client run build:ts", | ||||
| 
 | ||||
|         "chore:ci-update-nightly-version": "tsx ./scripts/update-nightly-version.ts", | ||||
|         "chore:update-build-info": "tsx ./scripts/update-build-info.ts" | ||||
|  | ||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user
	 Elian Doran
						Elian Doran