mirror of
https://github.com/zadam/trilium.git
synced 2025-09-07 07:06:21 +08:00
chore(dx): get rid of nx
This commit is contained in:
parent
59a01b816c
commit
2297721228
3 changed files with 65 additions and 3795 deletions
18
package.json
18
package.json
|
@ -27,16 +27,6 @@
|
|||
"private": true,
|
||||
"devDependencies": {
|
||||
"@electron/rebuild": "4.0.1",
|
||||
"@nx/devkit": "21.3.11",
|
||||
"@nx/esbuild": "21.3.11",
|
||||
"@nx/eslint": "21.3.11",
|
||||
"@nx/eslint-plugin": "21.3.11",
|
||||
"@nx/express": "21.3.11",
|
||||
"@nx/js": "21.3.11",
|
||||
"@nx/node": "21.3.11",
|
||||
"@nx/playwright": "21.3.11",
|
||||
"@nx/vite": "21.3.11",
|
||||
"@nx/web": "21.3.11",
|
||||
"@playwright/test": "^1.36.0",
|
||||
"@triliumnext/server": "workspace:*",
|
||||
"@types/express": "^5.0.0",
|
||||
|
@ -55,7 +45,6 @@
|
|||
"jiti": "2.5.1",
|
||||
"jsdom": "~26.1.0",
|
||||
"jsonc-eslint-parser": "^2.1.0",
|
||||
"nx": "21.3.11",
|
||||
"react-refresh": "^0.17.0",
|
||||
"rollup-plugin-webpack-stats": "2.1.4",
|
||||
"tslib": "^2.3.0",
|
||||
|
@ -86,8 +75,7 @@
|
|||
"patchedDependencies": {
|
||||
"@ckeditor/ckeditor5-mention": "patches/@ckeditor__ckeditor5-mention.patch",
|
||||
"@ckeditor/ckeditor5-code-block": "patches/@ckeditor__ckeditor5-code-block.patch",
|
||||
"ckeditor5": "patches/ckeditor5.patch",
|
||||
"@nx/js": "patches/@nx__js.patch"
|
||||
"ckeditor5": "patches/ckeditor5.patch"
|
||||
},
|
||||
"overrides": {
|
||||
"mermaid": "11.10.1",
|
||||
|
@ -120,11 +108,7 @@
|
|||
"esbuild",
|
||||
"fs-xattr",
|
||||
"macos-alias",
|
||||
"nx",
|
||||
"utf-8-validate"
|
||||
]
|
||||
},
|
||||
"nx": {
|
||||
"name": "triliumnext"
|
||||
}
|
||||
}
|
||||
|
|
|
@ -1,17 +0,0 @@
|
|||
diff --git a/src/utils/assets/copy-assets-handler.js b/src/utils/assets/copy-assets-handler.js
|
||||
index 6b68205d833ce9e8277283ac31230c020d2921ec..2f0a7f018b03eae3b8f3ce1a4cf4790aaafed677 100644
|
||||
--- a/src/utils/assets/copy-assets-handler.js
|
||||
+++ b/src/utils/assets/copy-assets-handler.js
|
||||
@@ -39,12 +39,6 @@ class CopyAssetsHandler {
|
||||
this.callback = opts.callback ?? exports.defaultFileEventHandler;
|
||||
// TODO(jack): Should handle nested .gitignore files
|
||||
this.ignore = (0, ignore_1.default)();
|
||||
- const gitignore = pathPosix.join(opts.rootDir, '.gitignore');
|
||||
- const nxignore = pathPosix.join(opts.rootDir, '.nxignore');
|
||||
- if ((0, node_fs_1.existsSync)(gitignore))
|
||||
- this.ignore.add((0, node_fs_1.readFileSync)(gitignore).toString());
|
||||
- if ((0, node_fs_1.existsSync)(nxignore))
|
||||
- this.ignore.add((0, node_fs_1.readFileSync)(nxignore).toString());
|
||||
this.assetGlobs = opts.assets.map((f) => {
|
||||
let isGlob = false;
|
||||
let pattern;
|
3825
pnpm-lock.yaml
generated
3825
pnpm-lock.yaml
generated
File diff suppressed because it is too large
Load diff
Loading…
Add table
Reference in a new issue