mirror of
				https://github.com/TriliumNext/Notes.git
				synced 2025-11-04 15:11:31 +08:00 
			
		
		
		
	chore(nx/desktop): rename scripts to avoid collision with server
This commit is contained in:
		
							parent
							
								
									4689ef213c
								
							
						
					
					
						commit
						6e29b050af
					
				@ -34,8 +34,7 @@
 | 
				
			|||||||
  },
 | 
					  },
 | 
				
			||||||
  "packageManager": "pnpm@10.9.0+sha512.0486e394640d3c1fb3c9d43d49cf92879ff74f8516959c235308f5a8f62e2e19528a65cdc2a3058f587cde71eba3d5b56327c8c33a97e4c4051ca48a10ca2d5f",
 | 
					  "packageManager": "pnpm@10.9.0+sha512.0486e394640d3c1fb3c9d43d49cf92879ff74f8516959c235308f5a8f62e2e19528a65cdc2a3058f587cde71eba3d5b56327c8c33a97e4c4051ca48a10ca2d5f",
 | 
				
			||||||
  "scripts": {
 | 
					  "scripts": {
 | 
				
			||||||
    "start-prod": "nx build desktop && cross-env TRILIUM_DATA_DIR=data TRILIUM_RESOURCE_DIR=dist TRILIUM_PORT=37841 electron dist/main.js",
 | 
					    "start-prod": "nx build desktop && cross-env TRILIUM_DATA_DIR=data TRILIUM_RESOURCE_DIR=dist TRILIUM_PORT=37841 electron dist/main.js"
 | 
				
			||||||
    "rebuild": "electron-rebuild"
 | 
					 | 
				
			||||||
  },
 | 
					  },
 | 
				
			||||||
  "license": "AGPL-3.0-only",
 | 
					  "license": "AGPL-3.0-only",
 | 
				
			||||||
  "author": {
 | 
					  "author": {
 | 
				
			||||||
@ -47,7 +46,7 @@
 | 
				
			|||||||
  "nx": {
 | 
					  "nx": {
 | 
				
			||||||
    "name": "desktop",
 | 
					    "name": "desktop",
 | 
				
			||||||
    "targets": {
 | 
					    "targets": {
 | 
				
			||||||
      "postbuild": {
 | 
					      "rebuild-deps": {
 | 
				
			||||||
        "executor": "nx:run-commands",
 | 
					        "executor": "nx:run-commands",
 | 
				
			||||||
        "dependsOn": [ "build" ],
 | 
					        "dependsOn": [ "build" ],
 | 
				
			||||||
        "defaultConfiguration": "default",
 | 
					        "defaultConfiguration": "default",
 | 
				
			||||||
@ -63,7 +62,7 @@
 | 
				
			|||||||
      },
 | 
					      },
 | 
				
			||||||
      "serve": {
 | 
					      "serve": {
 | 
				
			||||||
        "executor": "nx:run-commands",
 | 
					        "executor": "nx:run-commands",
 | 
				
			||||||
        "dependsOn": [ "postbuild" ],
 | 
					        "dependsOn": [ "rebuild-deps" ],
 | 
				
			||||||
        "defaultConfiguration": "default",
 | 
					        "defaultConfiguration": "default",
 | 
				
			||||||
        "configurations": {
 | 
					        "configurations": {
 | 
				
			||||||
          "default": {
 | 
					          "default": {
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user