From ee685b90766197845626230a1e2ab151b979d62e Mon Sep 17 00:00:00 2001 From: Wing-Kam Wong Date: Tue, 8 Nov 2022 17:13:58 +0800 Subject: [PATCH] chore: change to local sdk path --- packages/nc-gui/package-lock.json | 52 +++++++++++---------------- packages/nc-gui/package.json | 2 +- packages/nocodb-sdk/package-lock.json | 4 +-- packages/nocodb/package-lock.json | 30 +++++++++------- packages/nocodb/package.json | 4 +-- 5 files changed, 42 insertions(+), 50 deletions(-) diff --git a/packages/nc-gui/package-lock.json b/packages/nc-gui/package-lock.json index 3d9c21c16f..4f46d8d5ab 100644 --- a/packages/nc-gui/package-lock.json +++ b/packages/nc-gui/package-lock.json @@ -26,7 +26,7 @@ "jwt-decode": "^3.1.2", "locale-codes": "^1.3.1", "monaco-editor": "^0.33.0", - "nocodb-sdk": "0.98.4", + "nocodb-sdk": "file:../nocodb-sdk", "papaparse": "^5.3.2", "socket.io-client": "^4.5.1", "sortablejs": "^1.15.0", @@ -86,7 +86,6 @@ }, "../nocodb-sdk": { "version": "0.98.4", - "extraneous": true, "license": "AGPL-3.0-or-later", "dependencies": { "axios": "^0.21.1", @@ -8391,6 +8390,7 @@ "version": "1.15.1", "resolved": "https://registry.npmjs.org/follow-redirects/-/follow-redirects-1.15.1.tgz", "integrity": "sha512-yLAMQs+k0b2m7cVxpS1VKJVvoz7SS9Td1zss3XRwXj+ZDH00RJgnuLx7E44wx02kQLrdM3aOOy+FpzS7+8OizA==", + "devOptional": true, "funding": [ { "type": "individual", @@ -11748,21 +11748,8 @@ } }, "node_modules/nocodb-sdk": { - "version": "0.98.4", - "resolved": "https://registry.npmjs.org/nocodb-sdk/-/nocodb-sdk-0.98.4.tgz", - "integrity": "sha512-vhWD2i43r7dYqO1TlJJOuLykSBQnii1z9leNXLDKbrJHUiuNaxunoLjn/w+24xg59nn+Bl/cu5is0ZY3BQUD+w==", - "dependencies": { - "axios": "^0.21.1", - "jsep": "^1.3.6" - } - }, - "node_modules/nocodb-sdk/node_modules/axios": { - "version": "0.21.4", - "resolved": "https://registry.npmjs.org/axios/-/axios-0.21.4.tgz", - "integrity": "sha512-ut5vewkiu8jjGBdqpM44XxjuCjq9LAKeHVmoVfHVzy8eHgxxq8SbAVQNovDA8mVi05kP0Ea/n/UzcSHcTJQfNg==", - "dependencies": { - "follow-redirects": "^1.14.0" - } + "resolved": "../nocodb-sdk", + "link": true }, "node_modules/node-abi": { "version": "3.23.0", @@ -23377,7 +23364,8 @@ "follow-redirects": { "version": "1.15.1", "resolved": "https://registry.npmjs.org/follow-redirects/-/follow-redirects-1.15.1.tgz", - "integrity": "sha512-yLAMQs+k0b2m7cVxpS1VKJVvoz7SS9Td1zss3XRwXj+ZDH00RJgnuLx7E44wx02kQLrdM3aOOy+FpzS7+8OizA==" + "integrity": "sha512-yLAMQs+k0b2m7cVxpS1VKJVvoz7SS9Td1zss3XRwXj+ZDH00RJgnuLx7E44wx02kQLrdM3aOOy+FpzS7+8OizA==", + "devOptional": true }, "form-data": { "version": "4.0.0", @@ -25847,22 +25835,22 @@ } }, "nocodb-sdk": { - "version": "0.98.4", - "resolved": "https://registry.npmjs.org/nocodb-sdk/-/nocodb-sdk-0.98.4.tgz", - "integrity": "sha512-vhWD2i43r7dYqO1TlJJOuLykSBQnii1z9leNXLDKbrJHUiuNaxunoLjn/w+24xg59nn+Bl/cu5is0ZY3BQUD+w==", + "version": "file:../nocodb-sdk", "requires": { + "@typescript-eslint/eslint-plugin": "^4.0.1", + "@typescript-eslint/parser": "^4.0.1", "axios": "^0.21.1", - "jsep": "^1.3.6" - }, - "dependencies": { - "axios": { - "version": "0.21.4", - "resolved": "https://registry.npmjs.org/axios/-/axios-0.21.4.tgz", - "integrity": "sha512-ut5vewkiu8jjGBdqpM44XxjuCjq9LAKeHVmoVfHVzy8eHgxxq8SbAVQNovDA8mVi05kP0Ea/n/UzcSHcTJQfNg==", - "requires": { - "follow-redirects": "^1.14.0" - } - } + "cspell": "^4.1.0", + "eslint": "^7.8.0", + "eslint-config-prettier": "^6.11.0", + "eslint-plugin-eslint-comments": "^3.2.0", + "eslint-plugin-functional": "^3.0.2", + "eslint-plugin-import": "^2.22.0", + "eslint-plugin-prettier": "^4.0.0", + "jsep": "^1.3.6", + "npm-run-all": "^4.1.5", + "prettier": "^2.1.1", + "typescript": "^4.0.2" } }, "node-abi": { diff --git a/packages/nc-gui/package.json b/packages/nc-gui/package.json index 6fa940c502..9bba2b5cec 100644 --- a/packages/nc-gui/package.json +++ b/packages/nc-gui/package.json @@ -48,7 +48,7 @@ "jwt-decode": "^3.1.2", "locale-codes": "^1.3.1", "monaco-editor": "^0.33.0", - "nocodb-sdk": "0.98.4", + "nocodb-sdk": "file:../nocodb-sdk", "papaparse": "^5.3.2", "socket.io-client": "^4.5.1", "sortablejs": "^1.15.0", diff --git a/packages/nocodb-sdk/package-lock.json b/packages/nocodb-sdk/package-lock.json index afd2f6f989..76b131e750 100644 --- a/packages/nocodb-sdk/package-lock.json +++ b/packages/nocodb-sdk/package-lock.json @@ -1,12 +1,12 @@ { "name": "nocodb-sdk", - "version": "0.98.3", + "version": "0.98.4", "lockfileVersion": 2, "requires": true, "packages": { "": { "name": "nocodb-sdk", - "version": "0.98.3", + "version": "0.98.4", "license": "AGPL-3.0-or-later", "dependencies": { "axios": "^0.21.1", diff --git a/packages/nocodb/package-lock.json b/packages/nocodb/package-lock.json index 4d486372e6..ea468a74d2 100644 --- a/packages/nocodb/package-lock.json +++ b/packages/nocodb/package-lock.json @@ -67,7 +67,7 @@ "nc-lib-gui": "0.98.4", "nc-plugin": "0.1.2", "ncp": "^2.0.0", - "nocodb-sdk": "0.98.4", + "nocodb-sdk": "file:../nocodb-sdk", "nodemailer": "^6.4.10", "object-hash": "^3.0.0", "os-locale": "^5.0.0", @@ -153,7 +153,6 @@ }, "../nocodb-sdk": { "version": "0.98.4", - "extraneous": true, "license": "AGPL-3.0-or-later", "dependencies": { "axios": "^0.21.1", @@ -11014,13 +11013,8 @@ "dev": true }, "node_modules/nocodb-sdk": { - "version": "0.98.4", - "resolved": "https://registry.npmjs.org/nocodb-sdk/-/nocodb-sdk-0.98.4.tgz", - "integrity": "sha512-vhWD2i43r7dYqO1TlJJOuLykSBQnii1z9leNXLDKbrJHUiuNaxunoLjn/w+24xg59nn+Bl/cu5is0ZY3BQUD+w==", - "dependencies": { - "axios": "^0.21.1", - "jsep": "^1.3.6" - } + "resolved": "../nocodb-sdk", + "link": true }, "node_modules/node-abort-controller": { "version": "3.0.1", @@ -26708,12 +26702,22 @@ "dev": true }, "nocodb-sdk": { - "version": "0.98.4", - "resolved": "https://registry.npmjs.org/nocodb-sdk/-/nocodb-sdk-0.98.4.tgz", - "integrity": "sha512-vhWD2i43r7dYqO1TlJJOuLykSBQnii1z9leNXLDKbrJHUiuNaxunoLjn/w+24xg59nn+Bl/cu5is0ZY3BQUD+w==", + "version": "file:../nocodb-sdk", "requires": { + "@typescript-eslint/eslint-plugin": "^4.0.1", + "@typescript-eslint/parser": "^4.0.1", "axios": "^0.21.1", - "jsep": "^1.3.6" + "cspell": "^4.1.0", + "eslint": "^7.8.0", + "eslint-config-prettier": "^6.11.0", + "eslint-plugin-eslint-comments": "^3.2.0", + "eslint-plugin-functional": "^3.0.2", + "eslint-plugin-import": "^2.22.0", + "eslint-plugin-prettier": "^4.0.0", + "jsep": "^1.3.6", + "npm-run-all": "^4.1.5", + "prettier": "^2.1.1", + "typescript": "^4.0.2" } }, "node-abort-controller": { diff --git a/packages/nocodb/package.json b/packages/nocodb/package.json index e385a0082c..01e4ec9378 100644 --- a/packages/nocodb/package.json +++ b/packages/nocodb/package.json @@ -110,7 +110,7 @@ "nc-lib-gui": "0.98.4", "nc-plugin": "0.1.2", "ncp": "^2.0.0", - "nocodb-sdk": "0.98.4", + "nocodb-sdk": "file:../nocodb-sdk", "nodemailer": "^6.4.10", "object-hash": "^3.0.0", "os-locale": "^5.0.0", @@ -185,4 +185,4 @@ "prettier": { "singleQuote": true } -} \ No newline at end of file +}