optimalized NPM plugins

This commit is contained in:
SPRINX0\prochazka
2024-11-14 12:27:17 +01:00
parent 632870d448
commit cd06f13fcb
14 changed files with 15 additions and 11 deletions

View File

@@ -36,6 +36,7 @@
},
"dependencies": {
"dbgate-tools": "^5.0.0-alpha.1",
"lodash": "^4.17.21",
"dbgate-query-splitter": "^4.11.2"
},
"optionalDependencies": {

View File

@@ -1,5 +1,5 @@
const _ = require('lodash');
const { DatabaseAnalyser } = global.DBGATE_PACKAGES['dbgate-tools'];;
const { DatabaseAnalyser } = global.DBGATE_PACKAGES['dbgate-tools'];
const indexcolsQuery = `
SELECT

View File

@@ -22,6 +22,7 @@ var config = {
'dbgate-tools': 'commonjs dbgate-tools',
'dbgate-query-splitter': 'commonjs dbgate-query-splitter',
'better-sqlite3': 'commonjs better-sqlite3',
lodash: 'commonjs lodash',
},
};