From 9f8a137c464827bb945b4e50d6bcd9b985be0a76 Mon Sep 17 00:00:00 2001 From: Wing-Kam Wong Date: Sat, 29 Oct 2022 14:00:50 +0800 Subject: [PATCH] refactor(global): revise package.json --- package.json | 17 ++++++++++++++++- packages/nc-cli/package.json | 18 +++++++++++++++--- packages/nc-gui/package.json | 15 +++++++++++++++ packages/noco-i18n/package.json | 15 ++++++++++++++- packages/nocodb-sdk/package.json | 15 +++++++++++++-- packages/nocodb/package.json | 15 +++++++++++++-- 6 files changed, 86 insertions(+), 9 deletions(-) diff --git a/package.json b/package.json index af3bb42738..f141be9dbc 100644 --- a/package.json +++ b/package.json @@ -1,5 +1,20 @@ { - "name": "root", + "name": "nocodb-root", + "description": "NocoDB Root", + "private": true, + "author": { + "name": "NocoDB Inc", + "url": "https://nocodb.com/" + }, + "homepage": "https://github.com/nocodb/nocodb", + "repository": { + "type": "git", + "url": "https://github.com/nocodb/nocodb.git" + }, + "bugs": { + "url": "https://github.com/nocodb/nocodb/issues" + }, + "license": "AGPL-3.0-or-later", "devDependencies": { "@4tw/cypress-drag-drop": "^2.0.0", "cross-env": "^7.0.3", diff --git a/packages/nc-cli/package.json b/packages/nc-cli/package.json index f46ce356a5..2c417cc32e 100644 --- a/packages/nc-cli/package.json +++ b/packages/nc-cli/package.json @@ -1,11 +1,23 @@ { "name": "create-nocodb-app", "version": "0.1.28", - "description": "nc-cli", + "description": "Create NocoDB app using CLI", + "private": true, + "author": { + "name": "NocoDB Inc", + "url": "https://nocodb.com/" + }, + "homepage": "https://github.com/nocodb/nocodb", + "repository": { + "type": "git", + "url": "https://github.com/nocodb/nocodb.git" + }, + "bugs": { + "url": "https://github.com/nocodb/nocodb/issues" + }, + "license": "AGPL-3.0-or-later", "main": "dist/bundle.js", "module": "dist/bundle.js", - "repository": "https://github.com/nocodb/nocodb/blob/master/packages/nc-cli", - "license": "MIT", "keywords": [], "bin": { "noco": "./dist/bundle.js", diff --git a/packages/nc-gui/package.json b/packages/nc-gui/package.json index 65c6efd949..46aa889c33 100644 --- a/packages/nc-gui/package.json +++ b/packages/nc-gui/package.json @@ -1,5 +1,20 @@ { + "name": "nc-gui", + "description": "NocoDB Frontend", "private": true, + "author": { + "name": "NocoDB", + "url": "https://nocodb.com/" + }, + "homepage": "https://github.com/nocodb/nocodb", + "repository": { + "type": "git", + "url": "https://github.com/nocodb/nocodb.git" + }, + "bugs": { + "url": "https://github.com/nocodb/nocodb/issues" + }, + "license": "AGPL-3.0-or-later", "web-types": "web-types.json", "scripts": { "build": "nuxi build", diff --git a/packages/noco-i18n/package.json b/packages/noco-i18n/package.json index 695804358a..977e042b66 100644 --- a/packages/noco-i18n/package.json +++ b/packages/noco-i18n/package.json @@ -1,7 +1,20 @@ { "name": "noco-i18n", "version": "1.0.0", - "license": "MIT", + "private": true, + "author": { + "name": "NocoDB Inc", + "url": "https://nocodb.com/" + }, + "homepage": "https://github.com/nocodb/nocodb", + "repository": { + "type": "git", + "url": "https://github.com/nocodb/nocodb.git" + }, + "bugs": { + "url": "https://github.com/nocodb/nocodb/issues" + }, + "license": "AGPL-3.0-or-later", "scripts": { "serve": "vue-cli-service serve", "build": "vue-cli-service build", diff --git a/packages/nocodb-sdk/package.json b/packages/nocodb-sdk/package.json index e9882212fd..f89069e77b 100644 --- a/packages/nocodb-sdk/package.json +++ b/packages/nocodb-sdk/package.json @@ -5,8 +5,19 @@ "main": "build/main/index.js", "typings": "build/main/index.d.ts", "module": "build/module/index.js", - "repository": "https://github.com/nocodb/nocodb", - "license": "MIT", + "author": { + "name": "NocoDB Inc", + "url": "https://nocodb.com/" + }, + "homepage": "https://github.com/nocodb/nocodb", + "repository": { + "type": "git", + "url": "https://github.com/nocodb/nocodb.git" + }, + "bugs": { + "url": "https://github.com/nocodb/nocodb/issues" + }, + "license": "AGPL-3.0-or-later", "keywords": [], "scripts": { "build": "npm run generate:sdk && run-p build:*", diff --git a/packages/nocodb/package.json b/packages/nocodb/package.json index 6023ac0cbb..7e06dfab58 100644 --- a/packages/nocodb/package.json +++ b/packages/nocodb/package.json @@ -1,9 +1,20 @@ { "name": "nocodb", "version": "0.98.3", - "description": "NocoDB", + "description": "NocoDB Backend", "main": "dist/bundle.js", - "repository": "https://github.com/nocodb/nocodb", + "author": { + "name": "NocoDB Inc", + "url": "https://nocodb.com/" + }, + "homepage": "https://github.com/nocodb/nocodb", + "repository": { + "type": "git", + "url": "https://github.com/nocodb/nocodb.git" + }, + "bugs": { + "url": "https://github.com/nocodb/nocodb/issues" + }, "license": "AGPL-3.0-or-later", "keywords": [], "scripts": {