|
|
@ -22,7 +22,7 @@ const replacePackageName = (filePath) => { |
|
|
|
|
|
|
|
|
|
|
|
const bumbVersionAndSave = () => { |
|
|
|
const bumbVersionAndSave = () => { |
|
|
|
// upgrade nc-lib-gui-v2 version in nocodb
|
|
|
|
// upgrade nc-lib-gui-v2 version in nocodb
|
|
|
|
execSync(`cd packages/nocodb && npm ci --save --save-exact ${ncLibPackage.name}@${ncLibPackage.version}`, {}); |
|
|
|
execSync(`cd packages/nocodb && npm install --save --save-exact ${ncLibPackage.name}@${ncLibPackage.version}`, {}); |
|
|
|
const nocodbPackageFilePath = path.join(__dirname, '..', 'packages', 'nocodb', 'package.json') |
|
|
|
const nocodbPackageFilePath = path.join(__dirname, '..', 'packages', 'nocodb', 'package.json') |
|
|
|
const nocoLibPackage = JSON.parse(fs.readFileSync(nocodbPackageFilePath)) |
|
|
|
const nocoLibPackage = JSON.parse(fs.readFileSync(nocodbPackageFilePath)) |
|
|
|
if (process.env.targetEnv === 'DEV') { |
|
|
|
if (process.env.targetEnv === 'DEV') { |
|
|
|