mirror of
https://github.com/lowdefy/lowdefy.git
synced 2025-03-31 15:20:32 +08:00
fix: Fix graphql-federated build, move knex dependencies to cli.
This commit is contained in:
parent
1b45b01a64
commit
ff321269bf
48
.pnp.cjs
generated
48
.pnp.cjs
generated
@ -4565,9 +4565,10 @@ function $$SETUP_STATE(hydrateRuntimeState, basePath) {
|
||||
["mssql", "npm:6.3.1"],
|
||||
["mysql", "npm:2.18.1"],
|
||||
["openid-client", "npm:4.6.0"],
|
||||
["pg", "virtual:7fa6405098723f150ab741c1e73c906de11a676b4cc641bac8b3397ea2dd6efbb913e72a780932220533241b442cc586b41b26c7b5ac786de486992cd2db054c#npm:8.5.1"],
|
||||
["oracledb", "npm:5.1.0"],
|
||||
["pg", "virtual:dddca670fd0b7758fb2e1b1a3e18ac7ebd1ecd06ecdd7acec2b78bccf1d35802cb22904bfbb233b16515a81f5cb819421786d20887823d98022b367036c1ad51#npm:8.5.1"],
|
||||
["saslprep", "npm:1.0.3"],
|
||||
["sqlite3", "virtual:7fa6405098723f150ab741c1e73c906de11a676b4cc641bac8b3397ea2dd6efbb913e72a780932220533241b442cc586b41b26c7b5ac786de486992cd2db054c#npm:5.0.2"],
|
||||
["sqlite3", "virtual:dddca670fd0b7758fb2e1b1a3e18ac7ebd1ecd06ecdd7acec2b78bccf1d35802cb22904bfbb233b16515a81f5cb819421786d20887823d98022b367036c1ad51#npm:5.0.2"],
|
||||
["webpack", "virtual:7fa6405098723f150ab741c1e73c906de11a676b4cc641bac8b3397ea2dd6efbb913e72a780932220533241b442cc586b41b26c7b5ac786de486992cd2db054c#npm:5.22.0"],
|
||||
["webpack-cli", "virtual:7fa6405098723f150ab741c1e73c906de11a676b4cc641bac8b3397ea2dd6efbb913e72a780932220533241b442cc586b41b26c7b5ac786de486992cd2db054c#npm:4.5.0"]
|
||||
],
|
||||
@ -18126,11 +18127,11 @@ function $$SETUP_STATE(hydrateRuntimeState, basePath) {
|
||||
["lodash", "npm:4.17.21"],
|
||||
["mysql", "npm:2.18.1"],
|
||||
["mysql2", null],
|
||||
["pg", "virtual:7fa6405098723f150ab741c1e73c906de11a676b4cc641bac8b3397ea2dd6efbb913e72a780932220533241b442cc586b41b26c7b5ac786de486992cd2db054c#npm:8.5.1"],
|
||||
["pg", "virtual:dddca670fd0b7758fb2e1b1a3e18ac7ebd1ecd06ecdd7acec2b78bccf1d35802cb22904bfbb233b16515a81f5cb819421786d20887823d98022b367036c1ad51#npm:8.5.1"],
|
||||
["pg-connection-string", "npm:2.4.0"],
|
||||
["rechoir", "npm:0.7.0"],
|
||||
["resolve-from", "npm:5.0.0"],
|
||||
["sqlite3", "virtual:7fa6405098723f150ab741c1e73c906de11a676b4cc641bac8b3397ea2dd6efbb913e72a780932220533241b442cc586b41b26c7b5ac786de486992cd2db054c#npm:5.0.2"],
|
||||
["sqlite3", "virtual:dddca670fd0b7758fb2e1b1a3e18ac7ebd1ecd06ecdd7acec2b78bccf1d35802cb22904bfbb233b16515a81f5cb819421786d20887823d98022b367036c1ad51#npm:5.0.2"],
|
||||
["tarn", "npm:3.0.1"],
|
||||
["tedious", null],
|
||||
["tildify", "npm:2.0.0"]
|
||||
@ -18748,11 +18749,17 @@ function $$SETUP_STATE(hydrateRuntimeState, basePath) {
|
||||
["inquirer", "npm:7.3.3"],
|
||||
["jest", "npm:26.6.3"],
|
||||
["js-yaml", "npm:4.0.0"],
|
||||
["mssql", "npm:6.3.1"],
|
||||
["mysql", "npm:2.18.1"],
|
||||
["opener", "npm:1.5.2"],
|
||||
["ora", "npm:5.3.0"],
|
||||
["oracledb", "npm:5.1.0"],
|
||||
["pg", "virtual:dddca670fd0b7758fb2e1b1a3e18ac7ebd1ecd06ecdd7acec2b78bccf1d35802cb22904bfbb233b16515a81f5cb819421786d20887823d98022b367036c1ad51#npm:8.5.1"],
|
||||
["react", "npm:17.0.1"],
|
||||
["react-dom", "virtual:22157ea722f8d6428f1fcf0a6f7f6c7d6b902d9c785256c60a65fe6cd0db76ebccc7c1457ee047df0ba6909ff018e300c4f4957a60f5b670089810dfc417af9b#npm:17.0.1"],
|
||||
["reload", "npm:3.1.1"],
|
||||
["saslprep", "npm:1.0.3"],
|
||||
["sqlite3", "virtual:dddca670fd0b7758fb2e1b1a3e18ac7ebd1ecd06ecdd7acec2b78bccf1d35802cb22904bfbb233b16515a81f5cb819421786d20887823d98022b367036c1ad51#npm:5.0.2"],
|
||||
["style-loader", "virtual:dddca670fd0b7758fb2e1b1a3e18ac7ebd1ecd06ecdd7acec2b78bccf1d35802cb22904bfbb233b16515a81f5cb819421786d20887823d98022b367036c1ad51#npm:2.0.0"],
|
||||
["uuid", "npm:8.3.2"],
|
||||
["webpack", "virtual:dddca670fd0b7758fb2e1b1a3e18ac7ebd1ecd06ecdd7acec2b78bccf1d35802cb22904bfbb233b16515a81f5cb819421786d20887823d98022b367036c1ad51#npm:5.22.0"],
|
||||
@ -20839,6 +20846,15 @@ function $$SETUP_STATE(hydrateRuntimeState, basePath) {
|
||||
"linkType": "HARD",
|
||||
}]
|
||||
]],
|
||||
["oracledb", [
|
||||
["npm:5.1.0", {
|
||||
"packageLocation": "./.yarn/unplugged/oracledb-npm-5.1.0-5af4450ffa/node_modules/oracledb/",
|
||||
"packageDependencies": [
|
||||
["oracledb", "npm:5.1.0"]
|
||||
],
|
||||
"linkType": "HARD",
|
||||
}]
|
||||
]],
|
||||
["original", [
|
||||
["npm:1.0.2", {
|
||||
"packageLocation": "./.yarn/cache/original-npm-1.0.2-2250635ba0-6918b9d454.zip/node_modules/original/",
|
||||
@ -21418,16 +21434,16 @@ function $$SETUP_STATE(hydrateRuntimeState, basePath) {
|
||||
],
|
||||
"linkType": "SOFT",
|
||||
}],
|
||||
["virtual:7fa6405098723f150ab741c1e73c906de11a676b4cc641bac8b3397ea2dd6efbb913e72a780932220533241b442cc586b41b26c7b5ac786de486992cd2db054c#npm:8.5.1", {
|
||||
"packageLocation": "./.yarn/$$virtual/pg-virtual-d5408f48d8/0/cache/pg-npm-8.5.1-fadefeb3ad-b8eed3cd38.zip/node_modules/pg/",
|
||||
["virtual:dddca670fd0b7758fb2e1b1a3e18ac7ebd1ecd06ecdd7acec2b78bccf1d35802cb22904bfbb233b16515a81f5cb819421786d20887823d98022b367036c1ad51#npm:8.5.1", {
|
||||
"packageLocation": "./.yarn/$$virtual/pg-virtual-f714dc228d/0/cache/pg-npm-8.5.1-fadefeb3ad-b8eed3cd38.zip/node_modules/pg/",
|
||||
"packageDependencies": [
|
||||
["pg", "virtual:7fa6405098723f150ab741c1e73c906de11a676b4cc641bac8b3397ea2dd6efbb913e72a780932220533241b442cc586b41b26c7b5ac786de486992cd2db054c#npm:8.5.1"],
|
||||
["pg", "virtual:dddca670fd0b7758fb2e1b1a3e18ac7ebd1ecd06ecdd7acec2b78bccf1d35802cb22904bfbb233b16515a81f5cb819421786d20887823d98022b367036c1ad51#npm:8.5.1"],
|
||||
["@types/pg-native", null],
|
||||
["buffer-writer", "npm:2.0.0"],
|
||||
["packet-reader", "npm:1.0.0"],
|
||||
["pg-connection-string", "npm:2.4.0"],
|
||||
["pg-native", null],
|
||||
["pg-pool", "virtual:d5408f48d830c9314e0a19dfec292844fc45c78f74da441b85c032a78a6754c724d857809e32bcbd55ec859deb2887cdb7e495753631e5253c859ad67c6d5ab8#npm:3.2.2"],
|
||||
["pg-pool", "virtual:f714dc228d8288c1f0a682da2b1b0c5c83071dd510c9e75daffe89952f6dcd60b5e0174481e83a9e512d0d3e1dbfd49338cf5f5b1edcd156b5205d5fc8e03018#npm:3.2.2"],
|
||||
["pg-protocol", "npm:1.4.0"],
|
||||
["pg-types", "npm:2.2.0"],
|
||||
["pgpass", "npm:1.0.4"]
|
||||
@ -21465,12 +21481,12 @@ function $$SETUP_STATE(hydrateRuntimeState, basePath) {
|
||||
],
|
||||
"linkType": "SOFT",
|
||||
}],
|
||||
["virtual:d5408f48d830c9314e0a19dfec292844fc45c78f74da441b85c032a78a6754c724d857809e32bcbd55ec859deb2887cdb7e495753631e5253c859ad67c6d5ab8#npm:3.2.2", {
|
||||
"packageLocation": "./.yarn/$$virtual/pg-pool-virtual-3a6a5a93fa/0/cache/pg-pool-npm-3.2.2-0c6a03a132-d25d4d0757.zip/node_modules/pg-pool/",
|
||||
["virtual:f714dc228d8288c1f0a682da2b1b0c5c83071dd510c9e75daffe89952f6dcd60b5e0174481e83a9e512d0d3e1dbfd49338cf5f5b1edcd156b5205d5fc8e03018#npm:3.2.2", {
|
||||
"packageLocation": "./.yarn/$$virtual/pg-pool-virtual-9126807d05/0/cache/pg-pool-npm-3.2.2-0c6a03a132-d25d4d0757.zip/node_modules/pg-pool/",
|
||||
"packageDependencies": [
|
||||
["pg-pool", "virtual:d5408f48d830c9314e0a19dfec292844fc45c78f74da441b85c032a78a6754c724d857809e32bcbd55ec859deb2887cdb7e495753631e5253c859ad67c6d5ab8#npm:3.2.2"],
|
||||
["pg-pool", "virtual:f714dc228d8288c1f0a682da2b1b0c5c83071dd510c9e75daffe89952f6dcd60b5e0174481e83a9e512d0d3e1dbfd49338cf5f5b1edcd156b5205d5fc8e03018#npm:3.2.2"],
|
||||
["@types/pg", null],
|
||||
["pg", "virtual:7fa6405098723f150ab741c1e73c906de11a676b4cc641bac8b3397ea2dd6efbb913e72a780932220533241b442cc586b41b26c7b5ac786de486992cd2db054c#npm:8.5.1"]
|
||||
["pg", "virtual:dddca670fd0b7758fb2e1b1a3e18ac7ebd1ecd06ecdd7acec2b78bccf1d35802cb22904bfbb233b16515a81f5cb819421786d20887823d98022b367036c1ad51#npm:8.5.1"]
|
||||
],
|
||||
"packagePeers": [
|
||||
"@types/pg",
|
||||
@ -25576,16 +25592,16 @@ function $$SETUP_STATE(hydrateRuntimeState, basePath) {
|
||||
]],
|
||||
["sqlite3", [
|
||||
["npm:5.0.2", {
|
||||
"packageLocation": "./.yarn/unplugged/sqlite3-virtual-76c8295541/node_modules/sqlite3/",
|
||||
"packageLocation": "./.yarn/unplugged/sqlite3-virtual-0901376a2b/node_modules/sqlite3/",
|
||||
"packageDependencies": [
|
||||
["sqlite3", "npm:5.0.2"]
|
||||
],
|
||||
"linkType": "SOFT",
|
||||
}],
|
||||
["virtual:7fa6405098723f150ab741c1e73c906de11a676b4cc641bac8b3397ea2dd6efbb913e72a780932220533241b442cc586b41b26c7b5ac786de486992cd2db054c#npm:5.0.2", {
|
||||
"packageLocation": "./.yarn/unplugged/sqlite3-virtual-76c8295541/node_modules/sqlite3/",
|
||||
["virtual:dddca670fd0b7758fb2e1b1a3e18ac7ebd1ecd06ecdd7acec2b78bccf1d35802cb22904bfbb233b16515a81f5cb819421786d20887823d98022b367036c1ad51#npm:5.0.2", {
|
||||
"packageLocation": "./.yarn/unplugged/sqlite3-virtual-0901376a2b/node_modules/sqlite3/",
|
||||
"packageDependencies": [
|
||||
["sqlite3", "virtual:7fa6405098723f150ab741c1e73c906de11a676b4cc641bac8b3397ea2dd6efbb913e72a780932220533241b442cc586b41b26c7b5ac786de486992cd2db054c#npm:5.0.2"],
|
||||
["sqlite3", "virtual:dddca670fd0b7758fb2e1b1a3e18ac7ebd1ecd06ecdd7acec2b78bccf1d35802cb22904bfbb233b16515a81f5cb819421786d20887823d98022b367036c1ad51#npm:5.0.2"],
|
||||
["@types/node-gyp", null],
|
||||
["node-addon-api", "npm:3.1.0"],
|
||||
["node-gyp", "npm:3.8.0"],
|
||||
|
BIN
.yarn/cache/oracledb-npm-5.1.0-5af4450ffa-c4dd2c6ac0.zip
vendored
Normal file
BIN
.yarn/cache/oracledb-npm-5.1.0-5af4450ffa-c4dd2c6ac0.zip
vendored
Normal file
Binary file not shown.
@ -55,9 +55,15 @@
|
||||
"graphql": "15.5.0",
|
||||
"inquirer": "7.3.3",
|
||||
"js-yaml": "4.0.0",
|
||||
"mssql": "6.3.1",
|
||||
"mysql": "2.18.1",
|
||||
"opener": "1.5.2",
|
||||
"ora": "5.3.0",
|
||||
"oracledb": "5.1.0",
|
||||
"pg": "8.5.1",
|
||||
"reload": "3.1.1",
|
||||
"saslprep": "1.0.3",
|
||||
"sqlite3": "5.0.2",
|
||||
"uuid": "8.3.2"
|
||||
},
|
||||
"devDependencies": {
|
||||
|
@ -13,7 +13,19 @@ module.exports = {
|
||||
mode: 'production',
|
||||
target: 'node',
|
||||
node: false,
|
||||
externals: ['fs', 'path', 'chokidar'],
|
||||
externals: [
|
||||
'fs',
|
||||
'path',
|
||||
'chokidar',
|
||||
'oracledb',
|
||||
'mssql',
|
||||
'mysql',
|
||||
'mysql2',
|
||||
'pg',
|
||||
'pg-query-stream',
|
||||
'sqlite3',
|
||||
'tedious',
|
||||
],
|
||||
module: {
|
||||
rules: [
|
||||
{
|
||||
|
@ -62,6 +62,7 @@
|
||||
"mssql": "6.3.1",
|
||||
"mysql": "2.18.1",
|
||||
"openid-client": "4.6.0",
|
||||
"oracledb": "5.1.0",
|
||||
"pg": "8.5.1",
|
||||
"saslprep": "1.0.3",
|
||||
"sqlite3": "5.0.2"
|
||||
|
@ -2,9 +2,7 @@ const path = require('path');
|
||||
const { CleanWebpackPlugin } = require('clean-webpack-plugin');
|
||||
const { dependencies, devDependencies } = require('./package.json');
|
||||
|
||||
const externals = [...Object.keys(dependencies), ...Object.keys(devDependencies)].filter(
|
||||
(name) => name !== 'saslprep'
|
||||
);
|
||||
const externals = [...Object.keys(dependencies), ...Object.keys(devDependencies)];
|
||||
|
||||
module.exports = {
|
||||
entry: './src/index.js',
|
||||
|
14
yarn.lock
14
yarn.lock
@ -3133,6 +3133,7 @@ __metadata:
|
||||
mssql: 6.3.1
|
||||
mysql: 2.18.1
|
||||
openid-client: 4.6.0
|
||||
oracledb: 5.1.0
|
||||
pg: 8.5.1
|
||||
saslprep: 1.0.3
|
||||
sqlite3: 5.0.2
|
||||
@ -13739,11 +13740,17 @@ fsevents@^1.2.7:
|
||||
inquirer: 7.3.3
|
||||
jest: 26.6.3
|
||||
js-yaml: 4.0.0
|
||||
mssql: 6.3.1
|
||||
mysql: 2.18.1
|
||||
opener: 1.5.2
|
||||
ora: 5.3.0
|
||||
oracledb: 5.1.0
|
||||
pg: 8.5.1
|
||||
react: 17.0.1
|
||||
react-dom: 17.0.1
|
||||
reload: 3.1.1
|
||||
saslprep: 1.0.3
|
||||
sqlite3: 5.0.2
|
||||
style-loader: 2.0.0
|
||||
uuid: 8.3.2
|
||||
webpack: 5.22.0
|
||||
@ -15652,6 +15659,13 @@ fsevents@^1.2.7:
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
"oracledb@npm:5.1.0":
|
||||
version: 5.1.0
|
||||
resolution: "oracledb@npm:5.1.0"
|
||||
checksum: c4dd2c6ac05b2c71f81ed61a17c71b694e9821f1ad2ca6b14ccc5681dd928e26fb0ba043fb0daf306b055329492186162b1aceddabd048eedd027645ed3afdaf
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
"original@npm:^1.0.0":
|
||||
version: 1.0.2
|
||||
resolution: "original@npm:1.0.2"
|
||||
|
Loading…
x
Reference in New Issue
Block a user