多维表格
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

14 lines
532 B

const fs = require('fs')
const path = require('path');
const filePath = path.join(__dirname, '..', 'scripts','pkg-executable','package.json');
const nocodbSdkPackage = JSON.parse(fs.readFileSync(filePath, 'utf8'))
// downgrade sqlite3 to 5.1.6 until build related issues are resolved
// https://github.com/TryGhost/node-sqlite3/issues/1748
nocodbSdkPackage.overrides = nocodbSdkPackage.overrides || {};
nocodbSdkPackage.overrides.sqlite3 = "5.1.6"
fs.writeFileSync(filePath, JSON.stringify(nocodbSdkPackage, null, 2), 'utf8');