Browse Source

fix(gui-v2): ci -> install

pull/3273/head
Wing-Kam Wong 2 years ago
parent
commit
4a2b9ff08d
  1. 2
      scripts/upgradeNcGui2.js

2
scripts/upgradeNcGui2.js

@ -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') {

Loading…
Cancel
Save