From a9b0db7cae10cfb65b00079741dc957029d2fac4 Mon Sep 17 00:00:00 2001 From: Wing-Kam Wong Date: Fri, 4 Aug 2023 21:32:29 +0800 Subject: [PATCH] chore(dep): use rolling with ^ prefix --- packages/nc-gui/package.json | 2 +- packages/nocodb/package.json | 2 +- pnpm-lock.yaml | 6 +++--- scripts/upgradeNocodbSdk.js | 2 +- tests/playwright/package.json | 2 +- 5 files changed, 7 insertions(+), 7 deletions(-) diff --git a/packages/nc-gui/package.json b/packages/nc-gui/package.json index 84d77bf844..a71ea3b296 100644 --- a/packages/nc-gui/package.json +++ b/packages/nc-gui/package.json @@ -54,7 +54,7 @@ "leaflet.markercluster": "^1.5.3", "locale-codes": "^1.3.1", "monaco-editor": "^0.33.0", - "nocodb-sdk": "workspace:*", + "nocodb-sdk": "workspace:^", "papaparse": "^5.3.2", "pinia": "^2.1.4", "qrcode": "^1.5.1", diff --git a/packages/nocodb/package.json b/packages/nocodb/package.json index 9f23c01fd8..0b30c5db67 100644 --- a/packages/nocodb/package.json +++ b/packages/nocodb/package.json @@ -120,7 +120,7 @@ "nc-lib-gui": "0.109.6", "nc-plugin": "^0.1.3", "ncp": "^2.0.0", - "nocodb-sdk": "workspace:*", + "nocodb-sdk": "workspace:^", "nodemailer": "^6.4.10", "object-hash": "^3.0.0", "object-sizeof": "^2.6.1", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 52c26f07a6..30d924b3ad 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -107,7 +107,7 @@ importers: specifier: ^0.33.0 version: 0.33.0 nocodb-sdk: - specifier: workspace:* + specifier: workspace:^ version: link:../nocodb-sdk papaparse: specifier: ^5.3.2 @@ -549,7 +549,7 @@ importers: specifier: ^2.0.0 version: 2.0.0 nocodb-sdk: - specifier: workspace:* + specifier: workspace:^ version: link:../nocodb-sdk nodemailer: specifier: ^6.4.10 @@ -818,7 +818,7 @@ importers: specifier: ^2.4.2 version: 2.4.2(mysql2@2.3.3)(pg@8.10.0)(sqlite3@5.1.6) nocodb-sdk: - specifier: workspace:* + specifier: workspace:^ version: link:../../packages/nocodb-sdk sqlite3: specifier: ^5.1.6 diff --git a/scripts/upgradeNocodbSdk.js b/scripts/upgradeNocodbSdk.js index d752244454..6612a4a4a2 100644 --- a/scripts/upgradeNocodbSdk.js +++ b/scripts/upgradeNocodbSdk.js @@ -22,7 +22,7 @@ const replacePackageVersion = (filePath) => { return new Promise((resolve, reject) => { return fs.readFile(filePath, 'utf8', function (err, data) { if (err) return reject(err) - var result = data.replace(/workspace:\*/g, nocodbSdkPackage.version); + var result = data.replace(/workspace:\^/g, nocodbSdkPackage.version); return fs.writeFile(filePath, result, 'utf8', function (err) { if (err) return reject(err) return resolve() diff --git a/tests/playwright/package.json b/tests/playwright/package.json index d50aadf718..b14d105b9f 100644 --- a/tests/playwright/package.json +++ b/tests/playwright/package.json @@ -48,7 +48,7 @@ "dayjs": "^1.11.9", "express": "^4.18.1", "knex": "^2.4.2", - "nocodb-sdk": "workspace:*", + "nocodb-sdk": "workspace:^", "sqlite3": "^5.1.6", "xlsx": "^0.18.5" }