diff --git a/scripts/upgradeNocodbSdk.js b/scripts/upgradeNocodbSdk.js index eee1accc9b..4d9d8aca58 100644 --- a/scripts/upgradeNocodbSdk.js +++ b/scripts/upgradeNocodbSdk.js @@ -21,7 +21,7 @@ const replacePackageName = (filePath) => { const bumbVersionAndSave = () => { // upgrade nocodb-sdk version in nocodb execSync(`cd packages/nocodb && npm install --save --save-exact ${nocodbSdkPackage.name}@${nocodbSdkPackage.version}`, {}); - // upgrade nocodb-sdk version in nc-gui + // upgrade nocodb-sdk version in nc-gui-v2 execSync(`cd packages/nc-gui-v2 && npm install --save --save-exact ${nocodbSdkPackage.name}@${nocodbSdkPackage.version}`, {}); } @@ -48,7 +48,7 @@ const searchAndReplace = (target) => { let list = dfs(dirPath) list = [ ...list, - path.join(__dirname, '..', 'packages', 'nc-gui', 'package.json'), + path.join(__dirname, '..', 'packages', 'nc-gui-v2', 'package.json'), path.join(__dirname, '..', 'packages', 'nocodb', 'package.json') ] return Promise.all(list.map(d => {