|
|
@ -5,7 +5,7 @@ const { mainModule } = require('process'); |
|
|
|
const execSync = require('child_process').execSync; |
|
|
|
const execSync = require('child_process').execSync; |
|
|
|
|
|
|
|
|
|
|
|
// extract latest version from package.json
|
|
|
|
// extract latest version from package.json
|
|
|
|
const nocodbSdkPackage = JSON.parse(fs.readFileSync(path.join(__dirname, '..', 'packages', 'nocodb-sdk', 'package.json'))) |
|
|
|
const nocodbSdkPackage = JSON.parse(fs.readFileSync(path.join(__dirname, '..', 'packages', 'nocodb-sdk', 'package.json'), 'utf8')) |
|
|
|
|
|
|
|
|
|
|
|
const replacePackageName = (filePath) => { |
|
|
|
const replacePackageName = (filePath) => { |
|
|
|
return new Promise((resolve, reject) => { |
|
|
|
return new Promise((resolve, reject) => { |
|
|
|