DBGATE_TOOLS => DBGATE_PACKAGES

This commit is contained in:
Jan Prochazka
2024-08-20 12:18:55 +02:00
parent 8a69e94d79
commit 968e69c7f2
32 changed files with 58 additions and 43 deletions

View File

@@ -1,4 +1,4 @@
const { SqlDumper, testEqualColumns, arrayToHexString } = global.DBGATE_TOOLS;
const { SqlDumper, testEqualColumns, arrayToHexString } = global.DBGATE_PACKAGES['dbgate-tools'];
class MsSqlDumper extends SqlDumper {
constructor(driver, options) {

View File

@@ -1,4 +1,4 @@
const { driverBase } = global.DBGATE_TOOLS;
const { driverBase } = global.DBGATE_PACKAGES['dbgate-tools'];
const MsSqlDumper = require('./MsSqlDumper');
const { mssqlSplitterOptions } = require('dbgate-query-splitter/lib/options');

View File

@@ -17,7 +17,7 @@ var config = {
plugins: [
new webpack.DefinePlugin({
'global.DBGATE_TOOLS': 'window.DBGATE_TOOLS',
'global.DBGATE_PACKAGES': 'window.DBGATE_PACKAGES',
}),
],