Browse Source

chore(dep): use rolling with ^ prefix

pull/5903/head
Wing-Kam Wong 1 year ago
parent
commit
a9b0db7cae
  1. 2
      packages/nc-gui/package.json
  2. 2
      packages/nocodb/package.json
  3. 6
      pnpm-lock.yaml
  4. 2
      scripts/upgradeNocodbSdk.js
  5. 2
      tests/playwright/package.json

2
packages/nc-gui/package.json

@ -54,7 +54,7 @@
"leaflet.markercluster": "^1.5.3", "leaflet.markercluster": "^1.5.3",
"locale-codes": "^1.3.1", "locale-codes": "^1.3.1",
"monaco-editor": "^0.33.0", "monaco-editor": "^0.33.0",
"nocodb-sdk": "workspace:*", "nocodb-sdk": "workspace:^",
"papaparse": "^5.3.2", "papaparse": "^5.3.2",
"pinia": "^2.1.4", "pinia": "^2.1.4",
"qrcode": "^1.5.1", "qrcode": "^1.5.1",

2
packages/nocodb/package.json

@ -120,7 +120,7 @@
"nc-lib-gui": "0.109.6", "nc-lib-gui": "0.109.6",
"nc-plugin": "^0.1.3", "nc-plugin": "^0.1.3",
"ncp": "^2.0.0", "ncp": "^2.0.0",
"nocodb-sdk": "workspace:*", "nocodb-sdk": "workspace:^",
"nodemailer": "^6.4.10", "nodemailer": "^6.4.10",
"object-hash": "^3.0.0", "object-hash": "^3.0.0",
"object-sizeof": "^2.6.1", "object-sizeof": "^2.6.1",

6
pnpm-lock.yaml

@ -107,7 +107,7 @@ importers:
specifier: ^0.33.0 specifier: ^0.33.0
version: 0.33.0 version: 0.33.0
nocodb-sdk: nocodb-sdk:
specifier: workspace:* specifier: workspace:^
version: link:../nocodb-sdk version: link:../nocodb-sdk
papaparse: papaparse:
specifier: ^5.3.2 specifier: ^5.3.2
@ -549,7 +549,7 @@ importers:
specifier: ^2.0.0 specifier: ^2.0.0
version: 2.0.0 version: 2.0.0
nocodb-sdk: nocodb-sdk:
specifier: workspace:* specifier: workspace:^
version: link:../nocodb-sdk version: link:../nocodb-sdk
nodemailer: nodemailer:
specifier: ^6.4.10 specifier: ^6.4.10
@ -818,7 +818,7 @@ importers:
specifier: ^2.4.2 specifier: ^2.4.2
version: 2.4.2(mysql2@2.3.3)(pg@8.10.0)(sqlite3@5.1.6) version: 2.4.2(mysql2@2.3.3)(pg@8.10.0)(sqlite3@5.1.6)
nocodb-sdk: nocodb-sdk:
specifier: workspace:* specifier: workspace:^
version: link:../../packages/nocodb-sdk version: link:../../packages/nocodb-sdk
sqlite3: sqlite3:
specifier: ^5.1.6 specifier: ^5.1.6

2
scripts/upgradeNocodbSdk.js

@ -22,7 +22,7 @@ const replacePackageVersion = (filePath) => {
return new Promise((resolve, reject) => { return new Promise((resolve, reject) => {
return fs.readFile(filePath, 'utf8', function (err, data) { return fs.readFile(filePath, 'utf8', function (err, data) {
if (err) return reject(err) 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) { return fs.writeFile(filePath, result, 'utf8', function (err) {
if (err) return reject(err) if (err) return reject(err)
return resolve() return resolve()

2
tests/playwright/package.json

@ -48,7 +48,7 @@
"dayjs": "^1.11.9", "dayjs": "^1.11.9",
"express": "^4.18.1", "express": "^4.18.1",
"knex": "^2.4.2", "knex": "^2.4.2",
"nocodb-sdk": "workspace:*", "nocodb-sdk": "workspace:^",
"sqlite3": "^5.1.6", "sqlite3": "^5.1.6",
"xlsx": "^0.18.5" "xlsx": "^0.18.5"
} }

Loading…
Cancel
Save