chore(dx): remove unnecessary nx configs

This commit is contained in:
Elian Doran 2025-09-02 17:43:32 +03:00
parent 7c8019ac5b
commit d60899e362
No known key found for this signature in database
15 changed files with 1 additions and 269 deletions

View file

@ -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
}

View file

@ -33,14 +33,5 @@
},
"dependencies": {
"@inlang/paraglide-js": "^2.0.0"
},
"nx": {
"targets": {
"typecheck": {
"dependsOn": [
"build"
]
}
}
}
}

94
nx.json
View file

@ -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"
}
}
}

View file

@ -67,13 +67,5 @@
"**/*.css": [
"stylelint --quiet --allow-empty-input"
]
},
"nx": {
"name": "ckeditor5-admonition",
"targets": {
"build": {
"cache": "true"
}
}
}
}

View file

@ -66,13 +66,5 @@
"**/*.css": [
"stylelint --quiet --allow-empty-input"
]
},
"nx": {
"name": "ckeditor5-footnotes",
"targets": {
"build": {
"cache": "true"
}
}
}
}

View file

@ -68,13 +68,5 @@
"**/*.css": [
"stylelint --quiet --allow-empty-input"
]
},
"nx": {
"name": "ckeditor5-keyboard-marker",
"targets": {
"build": {
"cache": "true"
}
}
}
}

View file

@ -70,14 +70,6 @@
"stylelint --quiet --allow-empty-input"
]
},
"nx": {
"name": "ckeditor5-math",
"targets": {
"build": {
"cache": "true"
}
}
},
"dependencies": {
"@ckeditor/ckeditor5-icons": "46.0.2"
}

View file

@ -72,13 +72,5 @@
"dependencies": {
"@types/lodash-es": "4.17.12",
"lodash-es": "^4.17.21"
},
"nx": {
"name": "ckeditor5-mermaid",
"targets": {
"build": {
"cache": "true"
}
}
}
}

View file

@ -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:*",

View file

@ -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",

View file

@ -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
}
}
}
}
}
}

View file

@ -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"
}

View file

@ -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:*",

View file

@ -31,8 +31,5 @@
"eslint": "^9.0.0",
"highlight.js": "^11.8.0",
"typescript": "^5.2.2"
},
"nx": {
"name": "share-theme"
}
}

View file

@ -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"