mirror of
https://github.com/TriliumNext/Notes.git
synced 2025-07-30 19:52:28 +08:00
chore(deps): move mind-elixir related packages to devDependencies
webpack takes care of bundling these, so we don't need the modules at runtime anymore
This commit is contained in:
parent
7f87318f8f
commit
feb9fa03c3
@ -68,7 +68,6 @@ try {
|
|||||||
"node_modules/katex/dist/contrib/mhchem.min.js",
|
"node_modules/katex/dist/contrib/mhchem.min.js",
|
||||||
"node_modules/katex/dist/contrib/auto-render.min.js",
|
"node_modules/katex/dist/contrib/auto-render.min.js",
|
||||||
"node_modules/@highlightjs/cdn-assets/highlight.min.js",
|
"node_modules/@highlightjs/cdn-assets/highlight.min.js",
|
||||||
"node_modules/@mind-elixir/node-menu/dist/node-menu.umd.cjs"
|
|
||||||
]);
|
]);
|
||||||
|
|
||||||
const nodeModulesFolder = new Set([
|
const nodeModulesFolder = new Set([
|
||||||
@ -94,7 +93,6 @@ try {
|
|||||||
"node_modules/codemirror/addon/",
|
"node_modules/codemirror/addon/",
|
||||||
"node_modules/codemirror/mode/",
|
"node_modules/codemirror/mode/",
|
||||||
"node_modules/codemirror/keymap/",
|
"node_modules/codemirror/keymap/",
|
||||||
"node_modules/mind-elixir/dist/",
|
|
||||||
"node_modules/@highlightjs/cdn-assets/languages",
|
"node_modules/@highlightjs/cdn-assets/languages",
|
||||||
"node_modules/@highlightjs/cdn-assets/styles",
|
"node_modules/@highlightjs/cdn-assets/styles",
|
||||||
"node_modules/leaflet/dist"
|
"node_modules/leaflet/dist"
|
||||||
|
6
package-lock.json
generated
6
package-lock.json
generated
@ -14,7 +14,6 @@
|
|||||||
"@excalidraw/excalidraw": "0.18.0",
|
"@excalidraw/excalidraw": "0.18.0",
|
||||||
"@highlightjs/cdn-assets": "11.11.1",
|
"@highlightjs/cdn-assets": "11.11.1",
|
||||||
"@mermaid-js/layout-elk": "0.1.7",
|
"@mermaid-js/layout-elk": "0.1.7",
|
||||||
"@mind-elixir/node-menu": "1.0.4",
|
|
||||||
"@triliumnext/express-partial-content": "1.0.1",
|
"@triliumnext/express-partial-content": "1.0.1",
|
||||||
"archiver": "7.0.1",
|
"archiver": "7.0.1",
|
||||||
"async-mutex": "0.5.0",
|
"async-mutex": "0.5.0",
|
||||||
@ -71,7 +70,6 @@
|
|||||||
"marked": "15.0.7",
|
"marked": "15.0.7",
|
||||||
"mermaid": "11.5.0",
|
"mermaid": "11.5.0",
|
||||||
"mime-types": "2.1.35",
|
"mime-types": "2.1.35",
|
||||||
"mind-elixir": "4.4.2",
|
|
||||||
"multer": "1.4.5-lts.1",
|
"multer": "1.4.5-lts.1",
|
||||||
"normalize-strings": "1.1.1",
|
"normalize-strings": "1.1.1",
|
||||||
"normalize.css": "8.0.1",
|
"normalize.css": "8.0.1",
|
||||||
@ -118,6 +116,7 @@
|
|||||||
"@fullcalendar/list": "6.1.15",
|
"@fullcalendar/list": "6.1.15",
|
||||||
"@fullcalendar/multimonth": "6.1.15",
|
"@fullcalendar/multimonth": "6.1.15",
|
||||||
"@fullcalendar/timegrid": "6.1.15",
|
"@fullcalendar/timegrid": "6.1.15",
|
||||||
|
"@mind-elixir/node-menu": "1.0.4",
|
||||||
"@playwright/test": "1.51.1",
|
"@playwright/test": "1.51.1",
|
||||||
"@popperjs/core": "2.11.8",
|
"@popperjs/core": "2.11.8",
|
||||||
"@types/archiver": "6.0.3",
|
"@types/archiver": "6.0.3",
|
||||||
@ -174,6 +173,7 @@
|
|||||||
"jsdoc": "4.0.4",
|
"jsdoc": "4.0.4",
|
||||||
"knockout": "3.5.1",
|
"knockout": "3.5.1",
|
||||||
"lorem-ipsum": "2.0.8",
|
"lorem-ipsum": "2.0.8",
|
||||||
|
"mind-elixir": "4.4.2",
|
||||||
"mini-css-extract-plugin": "2.9.2",
|
"mini-css-extract-plugin": "2.9.2",
|
||||||
"nodemon": "3.1.9",
|
"nodemon": "3.1.9",
|
||||||
"postcss-loader": "8.1.1",
|
"postcss-loader": "8.1.1",
|
||||||
@ -3974,6 +3974,7 @@
|
|||||||
"version": "1.0.4",
|
"version": "1.0.4",
|
||||||
"resolved": "https://registry.npmjs.org/@mind-elixir/node-menu/-/node-menu-1.0.4.tgz",
|
"resolved": "https://registry.npmjs.org/@mind-elixir/node-menu/-/node-menu-1.0.4.tgz",
|
||||||
"integrity": "sha512-xEwBakXEyVCfb8NFYmuvoXSZugxWZUa/s/bxLI8lxTKzTqhHOX4cJdp3B77ojUfnW4KvYJChlo7zkepijsmn0Q==",
|
"integrity": "sha512-xEwBakXEyVCfb8NFYmuvoXSZugxWZUa/s/bxLI8lxTKzTqhHOX4cJdp3B77ojUfnW4KvYJChlo7zkepijsmn0Q==",
|
||||||
|
"dev": true,
|
||||||
"peerDependencies": {
|
"peerDependencies": {
|
||||||
"mind-elixir": ">2.0.1"
|
"mind-elixir": ">2.0.1"
|
||||||
}
|
}
|
||||||
@ -15675,6 +15676,7 @@
|
|||||||
"version": "4.4.2",
|
"version": "4.4.2",
|
||||||
"resolved": "https://registry.npmjs.org/mind-elixir/-/mind-elixir-4.4.2.tgz",
|
"resolved": "https://registry.npmjs.org/mind-elixir/-/mind-elixir-4.4.2.tgz",
|
||||||
"integrity": "sha512-yHsUdKYvhB/SnBY9Fb/2cPTsysKDT+nu5vQVYPFEWWniZaGszpM9gPlCB28IEcOEGpaSDGOWOTt89Qc/wFYZSw==",
|
"integrity": "sha512-yHsUdKYvhB/SnBY9Fb/2cPTsysKDT+nu5vQVYPFEWWniZaGszpM9gPlCB28IEcOEGpaSDGOWOTt89Qc/wFYZSw==",
|
||||||
|
"dev": true,
|
||||||
"license": "MIT"
|
"license": "MIT"
|
||||||
},
|
},
|
||||||
"node_modules/mini-css-extract-plugin": {
|
"node_modules/mini-css-extract-plugin": {
|
||||||
|
@ -74,7 +74,6 @@
|
|||||||
"@excalidraw/excalidraw": "0.18.0",
|
"@excalidraw/excalidraw": "0.18.0",
|
||||||
"@highlightjs/cdn-assets": "11.11.1",
|
"@highlightjs/cdn-assets": "11.11.1",
|
||||||
"@mermaid-js/layout-elk": "0.1.7",
|
"@mermaid-js/layout-elk": "0.1.7",
|
||||||
"@mind-elixir/node-menu": "1.0.4",
|
|
||||||
"@triliumnext/express-partial-content": "1.0.1",
|
"@triliumnext/express-partial-content": "1.0.1",
|
||||||
"archiver": "7.0.1",
|
"archiver": "7.0.1",
|
||||||
"async-mutex": "0.5.0",
|
"async-mutex": "0.5.0",
|
||||||
@ -131,7 +130,6 @@
|
|||||||
"marked": "15.0.7",
|
"marked": "15.0.7",
|
||||||
"mermaid": "11.5.0",
|
"mermaid": "11.5.0",
|
||||||
"mime-types": "2.1.35",
|
"mime-types": "2.1.35",
|
||||||
"mind-elixir": "4.4.2",
|
|
||||||
"multer": "1.4.5-lts.1",
|
"multer": "1.4.5-lts.1",
|
||||||
"normalize-strings": "1.1.1",
|
"normalize-strings": "1.1.1",
|
||||||
"normalize.css": "8.0.1",
|
"normalize.css": "8.0.1",
|
||||||
@ -175,6 +173,7 @@
|
|||||||
"@fullcalendar/list": "6.1.15",
|
"@fullcalendar/list": "6.1.15",
|
||||||
"@fullcalendar/multimonth": "6.1.15",
|
"@fullcalendar/multimonth": "6.1.15",
|
||||||
"@fullcalendar/timegrid": "6.1.15",
|
"@fullcalendar/timegrid": "6.1.15",
|
||||||
|
"@mind-elixir/node-menu": "1.0.4",
|
||||||
"@playwright/test": "1.51.1",
|
"@playwright/test": "1.51.1",
|
||||||
"@popperjs/core": "2.11.8",
|
"@popperjs/core": "2.11.8",
|
||||||
"@types/archiver": "6.0.3",
|
"@types/archiver": "6.0.3",
|
||||||
@ -231,6 +230,7 @@
|
|||||||
"jsdoc": "4.0.4",
|
"jsdoc": "4.0.4",
|
||||||
"knockout": "3.5.1",
|
"knockout": "3.5.1",
|
||||||
"lorem-ipsum": "2.0.8",
|
"lorem-ipsum": "2.0.8",
|
||||||
|
"mind-elixir": "4.4.2",
|
||||||
"mini-css-extract-plugin": "2.9.2",
|
"mini-css-extract-plugin": "2.9.2",
|
||||||
"nodemon": "3.1.9",
|
"nodemon": "3.1.9",
|
||||||
"postcss-loader": "8.1.1",
|
"postcss-loader": "8.1.1",
|
||||||
|
@ -96,8 +96,6 @@ async function register(app: express.Application) {
|
|||||||
app.use(`/${assetPath}/node_modules/codemirror/mode/`, persistentCacheStatic(path.join(srcRoot, "..", "node_modules/codemirror/mode/")));
|
app.use(`/${assetPath}/node_modules/codemirror/mode/`, persistentCacheStatic(path.join(srcRoot, "..", "node_modules/codemirror/mode/")));
|
||||||
app.use(`/${assetPath}/node_modules/codemirror/keymap/`, persistentCacheStatic(path.join(srcRoot, "..", "node_modules/codemirror/keymap/")));
|
app.use(`/${assetPath}/node_modules/codemirror/keymap/`, persistentCacheStatic(path.join(srcRoot, "..", "node_modules/codemirror/keymap/")));
|
||||||
|
|
||||||
app.use(`/${assetPath}/node_modules/mind-elixir/dist/`, persistentCacheStatic(path.join(srcRoot, "..", "node_modules/mind-elixir/dist/")));
|
|
||||||
app.use(`/${assetPath}/node_modules/@mind-elixir/node-menu/dist/`, persistentCacheStatic(path.join(srcRoot, "..", "node_modules/@mind-elixir/node-menu/dist/")));
|
|
||||||
app.use(`/${assetPath}/node_modules/@highlightjs/cdn-assets/`, persistentCacheStatic(path.join(srcRoot, "..", "node_modules/@highlightjs/cdn-assets/")));
|
app.use(`/${assetPath}/node_modules/@highlightjs/cdn-assets/`, persistentCacheStatic(path.join(srcRoot, "..", "node_modules/@highlightjs/cdn-assets/")));
|
||||||
|
|
||||||
app.use(`/${assetPath}/node_modules/leaflet/dist/`, persistentCacheStatic(path.join(srcRoot, "..", "node_modules/leaflet/dist/")));
|
app.use(`/${assetPath}/node_modules/leaflet/dist/`, persistentCacheStatic(path.join(srcRoot, "..", "node_modules/leaflet/dist/")));
|
||||||
|
Loading…
x
Reference in New Issue
Block a user