mirror of
				https://github.com/zadam/trilium.git
				synced 2025-10-31 18:36:30 +01:00 
			
		
		
		
	build(server): improve "node" folder cleanup
* remove useless symlinks to non-existing files (npm, npx -> the actual file gets deleted by "rm -r $BUILD_DIR/node/lib/node_modules/npm" => fixes #1499 (this time fully ;-)) * remove unused corepack * remove useless CHANGELOG.md (LICENSE and README.md should of course still remain)
This commit is contained in:
		| @@ -45,7 +45,9 @@ mv $NODE_FILENAME node | |||||||
| cd .. | cd .. | ||||||
|  |  | ||||||
|  |  | ||||||
| rm -r $BUILD_DIR/node/lib/node_modules/npm \ | rm -r $BUILD_DIR/node/lib/node_modules/{npm,corepack} \ | ||||||
|  |     $BUILD_DIR/node/bin/{npm,npx,corepack} \ | ||||||
|  |     $BUILD_DIR/node/CHANGELOG.md \ | ||||||
|     $BUILD_DIR/node/include/node \ |     $BUILD_DIR/node/include/node \ | ||||||
|     $BUILD_DIR/node_modules/electron* \ |     $BUILD_DIR/node_modules/electron* \ | ||||||
|     $BUILD_DIR/electron*.{js,map} |     $BUILD_DIR/electron*.{js,map} | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user