mirror of
				https://github.com/zadam/trilium.git
				synced 2025-10-31 02:16:05 +01:00 
			
		
		
		
	chore(dx): remove unnecessary nx configs
This commit is contained in:
		| @@ -1,24 +1,5 @@ | ||||
| { | ||||
|   "name": "@triliumnext/desktop-e2e", | ||||
|   "version": "0.0.1", | ||||
|   "private": true, | ||||
|   "nx": { | ||||
|     "name": "desktop-e2e", | ||||
|     "implicitDependencies": [ | ||||
|       "client", | ||||
|       "desktop" | ||||
|     ], | ||||
|     "targets": { | ||||
|       "e2e": { | ||||
|         "dependsOn": [ | ||||
|           "desktop:build", | ||||
|           "desktop:rebuild-deps" | ||||
|         ] | ||||
|       } | ||||
|     } | ||||
|   }, | ||||
|   "devDependencies": { | ||||
|     "dotenv": "17.2.1", | ||||
|     "electron": "37.4.0" | ||||
|   } | ||||
|   "private": true | ||||
| } | ||||
|   | ||||
| @@ -33,14 +33,5 @@ | ||||
| 	}, | ||||
| 	"dependencies": { | ||||
| 		"@inlang/paraglide-js": "^2.0.0" | ||||
| 	}, | ||||
| 	"nx": { | ||||
| 		"targets": { | ||||
| 			"typecheck": { | ||||
| 				"dependsOn": [ | ||||
| 					"build" | ||||
| 				] | ||||
| 			} | ||||
| 		} | ||||
| 	} | ||||
| } | ||||
|   | ||||
							
								
								
									
										94
									
								
								nx.json
									
									
									
									
									
								
							
							
						
						
									
										94
									
								
								nx.json
									
									
									
									
									
								
							| @@ -1,94 +0,0 @@ | ||||
| { | ||||
|   "$schema": "./node_modules/nx/schemas/nx-schema.json", | ||||
|   "defaultBase": "main", | ||||
|   "namedInputs": { | ||||
|     "default": [ | ||||
|       "{projectRoot}/**/*", | ||||
|       "sharedGlobals" | ||||
|     ], | ||||
|     "production": [ | ||||
|       "default", | ||||
|       "!{projectRoot}/.eslintrc.json", | ||||
|       "!{projectRoot}/eslint.config.mjs", | ||||
|       "!{projectRoot}/**/?(*.)+(spec|test).[jt]s?(x)?(.snap)", | ||||
|       "!{projectRoot}/tsconfig.spec.json", | ||||
|       "!{projectRoot}/src/test-setup.[jt]s" | ||||
|     ], | ||||
|     "sharedGlobals": [ | ||||
|       "{workspaceRoot}/.github/workflows/release.yml", | ||||
|       "{workspaceRoot}/.github/workflows/playwright.yml" | ||||
|     ] | ||||
|   }, | ||||
|   "plugins": [ | ||||
|     { | ||||
|       "plugin": "@nx/js/typescript", | ||||
|       "options": { | ||||
|         "typecheck": { | ||||
|           "targetName": "typecheck" | ||||
|         }, | ||||
|         "build": { | ||||
|           "targetName": "build", | ||||
|           "configName": "tsconfig.lib.json", | ||||
|           "buildDepsName": "build-deps", | ||||
|           "watchDepsName": "watch-deps" | ||||
|         } | ||||
|       } | ||||
|     }, | ||||
|     { | ||||
|       "plugin": "@nx/eslint/plugin", | ||||
|       "options": { | ||||
|         "targetName": "lint" | ||||
|       } | ||||
|     }, | ||||
|     { | ||||
|       "plugin": "@nx/vite/plugin", | ||||
|       "options": { | ||||
|         "buildTargetName": "build", | ||||
|         "testTargetName": "test", | ||||
|         "serveTargetName": "serve", | ||||
|         "devTargetName": "dev", | ||||
|         "previewTargetName": "preview", | ||||
|         "serveStaticTargetName": "serve-static", | ||||
|         "typecheckTargetName": "typecheck", | ||||
|         "buildDepsTargetName": "build-deps", | ||||
|         "watchDepsTargetName": "watch-deps" | ||||
|       } | ||||
|     }, | ||||
|     { | ||||
|       "plugin": "@nx/playwright/plugin", | ||||
|       "options": { | ||||
|         "targetName": "e2e" | ||||
|       } | ||||
|     } | ||||
|   ], | ||||
|   "targetDefaults": { | ||||
|     "test": { | ||||
|       "dependsOn": [ | ||||
|         "^build" | ||||
|       ] | ||||
|     }, | ||||
|     "@nx/esbuild:esbuild": { | ||||
|       "cache": true, | ||||
|       "dependsOn": [ | ||||
|         "^build" | ||||
|       ], | ||||
|       "inputs": [ | ||||
|         "production", | ||||
|         "^production" | ||||
|       ] | ||||
|     }, | ||||
|     "e2e-ci--**/*": { | ||||
|       "dependsOn": [ | ||||
|         "^build" | ||||
|       ] | ||||
|     } | ||||
|   }, | ||||
|   "generators": { | ||||
|     "@nx/web:application": { | ||||
|       "style": "css", | ||||
|       "linter": "eslint", | ||||
|       "unitTestRunner": "vitest", | ||||
|       "e2eTestRunner": "playwright" | ||||
|     } | ||||
|   } | ||||
| } | ||||
| @@ -67,13 +67,5 @@ | ||||
|     "**/*.css": [ | ||||
|       "stylelint --quiet --allow-empty-input" | ||||
|     ] | ||||
|   }, | ||||
|   "nx": { | ||||
|     "name": "ckeditor5-admonition", | ||||
|     "targets": { | ||||
|       "build": { | ||||
|         "cache": "true" | ||||
|       } | ||||
|     } | ||||
|   } | ||||
| } | ||||
|   | ||||
| @@ -66,13 +66,5 @@ | ||||
|     "**/*.css": [ | ||||
|       "stylelint --quiet --allow-empty-input" | ||||
|     ] | ||||
|   }, | ||||
|   "nx": { | ||||
|     "name": "ckeditor5-footnotes", | ||||
|     "targets": { | ||||
|       "build": { | ||||
|         "cache": "true" | ||||
|       } | ||||
|     } | ||||
|   } | ||||
| } | ||||
|   | ||||
| @@ -68,13 +68,5 @@ | ||||
|     "**/*.css": [ | ||||
|       "stylelint --quiet --allow-empty-input" | ||||
|     ] | ||||
|   }, | ||||
|   "nx": { | ||||
|     "name": "ckeditor5-keyboard-marker", | ||||
|     "targets": { | ||||
|       "build": { | ||||
|         "cache": "true" | ||||
|       } | ||||
|     } | ||||
|   } | ||||
| } | ||||
|   | ||||
| @@ -70,14 +70,6 @@ | ||||
|       "stylelint --quiet --allow-empty-input" | ||||
|     ] | ||||
|   }, | ||||
|   "nx": { | ||||
|     "name": "ckeditor5-math", | ||||
|     "targets": { | ||||
|       "build": { | ||||
|         "cache": "true" | ||||
|       } | ||||
|     } | ||||
|   }, | ||||
|   "dependencies": { | ||||
|     "@ckeditor/ckeditor5-icons": "46.0.2" | ||||
|   } | ||||
|   | ||||
| @@ -72,13 +72,5 @@ | ||||
|   "dependencies": { | ||||
|     "@types/lodash-es": "4.17.12", | ||||
|     "lodash-es": "^4.17.21" | ||||
|   }, | ||||
|   "nx": { | ||||
|     "name": "ckeditor5-mermaid", | ||||
|     "targets": { | ||||
|       "build": { | ||||
|         "cache": "true" | ||||
|       } | ||||
|     } | ||||
|   } | ||||
| } | ||||
|   | ||||
| @@ -5,16 +5,6 @@ | ||||
|   "private": true, | ||||
|   "type": "module", | ||||
|   "main": "./src/index.ts", | ||||
|   "nx": { | ||||
|     "name": "ckeditor5", | ||||
|     "targets": { | ||||
|       "typecheck": { | ||||
|         "dependsOn": [ | ||||
|           "^build" | ||||
|         ] | ||||
|       } | ||||
|     } | ||||
|   }, | ||||
|   "dependencies": { | ||||
|     "@triliumnext/ckeditor5-admonition": "workspace:*", | ||||
|     "@triliumnext/ckeditor5-footnotes": "workspace:*", | ||||
|   | ||||
| @@ -4,9 +4,6 @@ | ||||
|   "private": true, | ||||
|   "type": "module", | ||||
|   "main": "./src/index.ts", | ||||
|   "nx": { | ||||
|     "name": "codemirror" | ||||
|   }, | ||||
|   "dependencies": { | ||||
|     "@codemirror/commands": "6.8.1", | ||||
|     "@codemirror/lang-css": "6.3.1", | ||||
|   | ||||
| @@ -10,37 +10,5 @@ | ||||
|     "name": "Trilium Notes Team", | ||||
|     "email": "contact@eliandoran.me", | ||||
|     "url": "https://github.com/TriliumNext/Notes" | ||||
|   }, | ||||
|   "nx": { | ||||
|     "name": "commons", | ||||
|     "sourceRoot": "packages/commons/src", | ||||
|     "targets": { | ||||
|       "build": { | ||||
|         "executor": "@nx/esbuild:esbuild", | ||||
|         "outputs": [ | ||||
|           "{options.outputPath}" | ||||
|         ], | ||||
|         "defaultConfiguration": "production", | ||||
|         "options": { | ||||
|           "main": "packages/commons/src/index.ts", | ||||
|           "outputPath": "packages/commons/dist", | ||||
|           "outputFileName": "main.js", | ||||
|           "tsConfig": "packages/commons/tsconfig.lib.json", | ||||
|           "platform": "node", | ||||
|           "format": [ | ||||
|             "esm" | ||||
|           ], | ||||
|           "declarationRootDir": "packages/commons/src" | ||||
|         }, | ||||
|         "configurations": { | ||||
|           "development": { | ||||
|             "minify": false | ||||
|           }, | ||||
|           "production": { | ||||
|             "minify": true | ||||
|           } | ||||
|         } | ||||
|       } | ||||
|     } | ||||
|   } | ||||
| } | ||||
| @@ -12,37 +12,6 @@ | ||||
|     "stream", | ||||
|     "typescript" | ||||
|   ], | ||||
|   "nx": { | ||||
|     "name": "express-partial-content", | ||||
|     "targets": { | ||||
|       "build": { | ||||
|         "executor": "@nx/esbuild:esbuild", | ||||
|         "outputs": [ | ||||
|           "{options.outputPath}" | ||||
|         ], | ||||
|         "defaultConfiguration": "production", | ||||
|         "options": { | ||||
|           "main": "packages/express-partial-content/src/index.ts", | ||||
|           "outputPath": "packages/express-partial-content/dist", | ||||
|           "outputFileName": "main.js", | ||||
|           "tsConfig": "packages/express-partial-content/tsconfig.lib.json", | ||||
|           "platform": "node", | ||||
|           "format": [ | ||||
|             "esm" | ||||
|           ], | ||||
|           "declarationRootDir": "packages/express-partial-content/src" | ||||
|         }, | ||||
|         "configurations": { | ||||
|           "development": { | ||||
|             "minify": false | ||||
|           }, | ||||
|           "production": { | ||||
|             "minify": true | ||||
|           } | ||||
|         } | ||||
|       } | ||||
|     } | ||||
|   }, | ||||
|   "dependencies": { | ||||
|     "tslib": "^2.3.0" | ||||
|   } | ||||
|   | ||||
| @@ -4,9 +4,6 @@ | ||||
|   "private": true, | ||||
|   "type": "module", | ||||
|   "main": "./src/index.ts", | ||||
|   "nx": { | ||||
|     "name": "highlightjs" | ||||
|   }, | ||||
|   "dependencies": { | ||||
|     "@exercism/highlightjs-gdscript": "0.0.1", | ||||
|     "@triliumnext/commons": "workspace:*", | ||||
|   | ||||
| @@ -31,8 +31,5 @@ | ||||
|     "eslint": "^9.0.0", | ||||
|     "highlight.js": "^11.8.0", | ||||
|     "typescript": "^5.2.2" | ||||
|   }, | ||||
|   "nx": { | ||||
|     "name": "share-theme" | ||||
|   } | ||||
| } | ||||
|   | ||||
| @@ -21,30 +21,6 @@ | ||||
|     "github-flavored-markdown", | ||||
|     "gfm" | ||||
|   ], | ||||
|   "nx": { | ||||
|     "name": "turndown-plugin-gfm", | ||||
|     "sourceRoot": "packages/turndown-plugin-gfm/src", | ||||
|     "targets": { | ||||
|       "build": { | ||||
|         "executor": "@nx/esbuild:esbuild", | ||||
|         "outputs": [ | ||||
|           "{options.outputPath}" | ||||
|         ], | ||||
|         "options": { | ||||
|           "outputPath": "packages/turndown-plugin-gfm/dist", | ||||
|           "main": "packages/turndown-plugin-gfm/src/index.js", | ||||
|           "tsConfig": "packages/turndown-plugin-gfm/tsconfig.lib.json", | ||||
|           "format": [ | ||||
|             "esm" | ||||
|           ], | ||||
|           "declarationRootDir": "packages/turndown-plugin-gfm/src" | ||||
|         } | ||||
|       }, | ||||
|       "test": { | ||||
|         "command": "node packages/turndown-plugin-gfm/test/turndown-plugin-gfm-test.js" | ||||
|       } | ||||
|     } | ||||
|   }, | ||||
|   "devDependencies": { | ||||
|     "turndown": "7.2.1", | ||||
|     "turndown-attendant": "0.0.3" | ||||
|   | ||||
		Reference in New Issue
	
	Block a user