mirror of https://github.com/nocodb/nocodb
chore: downgrade sqlite version while building executables (#8435)
Signed-off-by: Pranav C <pranavxc@gmail.com>pull/8445/head
parent
f85240848d
commit
0b79e4580a
2 changed files with 17 additions and 0 deletions
@ -0,0 +1,13 @@ |
||||
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'); |
Loading…
Reference in new issue