From f291e8db04d48d94b5297d75d2e264bd92a23ea7 Mon Sep 17 00:00:00 2001 From: handongxun Date: Sat, 8 Aug 2020 16:07:47 +0800 Subject: [PATCH] rename: uni-* to opendb-* --- .../collection.json | 0 .../package.json | 4 ++-- .../collection.json | 0 .../package.json | 4 ++-- .../{uni-mall-goods => opendb-mall-goods}/collection.json | 0 .../{uni-mall-goods => opendb-mall-goods}/package.json | 4 ++-- .../collection.json | 0 .../package.json | 4 ++-- .../collection.json | 0 .../package.json | 4 ++-- .../collection.json | 0 .../package.json | 4 ++-- database/opendb-mall/db_init.json | 6 ++++++ database/{uni-mall => opendb-mall}/package.json | 2 +- database/opendb-news/db_init.json | 4 ++++ database/{uni-news => opendb-news}/package.json | 2 +- database/uni-mall/db_init.json | 6 ------ database/uni-news/db_init.json | 4 ---- 18 files changed, 24 insertions(+), 24 deletions(-) rename collection/{uni-mall-categories => opendb-mall-categories}/collection.json (100%) rename collection/{uni-mall-categories => opendb-mall-categories}/package.json (62%) rename collection/{uni-mall-comments => opendb-mall-comments}/collection.json (100%) rename collection/{uni-mall-comments => opendb-mall-comments}/package.json (64%) rename collection/{uni-mall-goods => opendb-mall-goods}/collection.json (100%) rename collection/{uni-mall-goods => opendb-mall-goods}/package.json (64%) rename collection/{uni-news-articles => opendb-news-articles}/collection.json (100%) rename collection/{uni-news-articles => opendb-news-articles}/package.json (62%) rename collection/{uni-news-categories => opendb-news-categories}/collection.json (100%) rename collection/{uni-news-categories => opendb-news-categories}/package.json (62%) rename collection/{uni-news-comments => opendb-news-comments}/collection.json (100%) rename collection/{uni-news-comments => opendb-news-comments}/package.json (63%) create mode 100644 database/opendb-mall/db_init.json rename database/{uni-mall => opendb-mall}/package.json (82%) create mode 100644 database/opendb-news/db_init.json rename database/{uni-news => opendb-news}/package.json (81%) delete mode 100644 database/uni-mall/db_init.json delete mode 100644 database/uni-news/db_init.json diff --git a/collection/uni-mall-categories/collection.json b/collection/opendb-mall-categories/collection.json similarity index 100% rename from collection/uni-mall-categories/collection.json rename to collection/opendb-mall-categories/collection.json diff --git a/collection/uni-mall-categories/package.json b/collection/opendb-mall-categories/package.json similarity index 62% rename from collection/uni-mall-categories/package.json rename to collection/opendb-mall-categories/package.json index bc5c54f..abbbda3 100644 --- a/collection/uni-mall-categories/package.json +++ b/collection/opendb-mall-categories/package.json @@ -1,7 +1,7 @@ { - "name": "@opendb/uni-mall-categories", + "name": "@opendb/opendb-mall-categories", "version": "0.0.1", - "description": "uni-mall-categories", + "description": "opendb-mall-categories", "keywords": ["电商系统", "商品类别"], "opendb": { "title": "商品类别", diff --git a/collection/uni-mall-comments/collection.json b/collection/opendb-mall-comments/collection.json similarity index 100% rename from collection/uni-mall-comments/collection.json rename to collection/opendb-mall-comments/collection.json diff --git a/collection/uni-mall-comments/package.json b/collection/opendb-mall-comments/package.json similarity index 64% rename from collection/uni-mall-comments/package.json rename to collection/opendb-mall-comments/package.json index 064326a..1c4e3ee 100644 --- a/collection/uni-mall-comments/package.json +++ b/collection/opendb-mall-comments/package.json @@ -1,7 +1,7 @@ { - "name": "@opendb/uni-mall-comments", + "name": "@opendb/opendb-mall-comments", "version": "0.0.1", - "description": "uni-mall-comments", + "description": "opendb-mall-comments", "keywords": ["电商系统", "商品评论表"], "opendb": { "title": "商品评论", diff --git a/collection/uni-mall-goods/collection.json b/collection/opendb-mall-goods/collection.json similarity index 100% rename from collection/uni-mall-goods/collection.json rename to collection/opendb-mall-goods/collection.json diff --git a/collection/uni-mall-goods/package.json b/collection/opendb-mall-goods/package.json similarity index 64% rename from collection/uni-mall-goods/package.json rename to collection/opendb-mall-goods/package.json index f8a6c9b..6553804 100644 --- a/collection/uni-mall-goods/package.json +++ b/collection/opendb-mall-goods/package.json @@ -1,7 +1,7 @@ { - "name": "@opendb/uni-mall-goods", + "name": "@opendb/opendb-mall-goods", "version": "0.0.1", - "description": "uni-mall-goods", + "description": "opendb-mall-goods", "keywords": ["电商系统", "商品表"], "opendb": { "title": "商品", diff --git a/collection/uni-news-articles/collection.json b/collection/opendb-news-articles/collection.json similarity index 100% rename from collection/uni-news-articles/collection.json rename to collection/opendb-news-articles/collection.json diff --git a/collection/uni-news-articles/package.json b/collection/opendb-news-articles/package.json similarity index 62% rename from collection/uni-news-articles/package.json rename to collection/opendb-news-articles/package.json index 8fe38a8..062a0c1 100644 --- a/collection/uni-news-articles/package.json +++ b/collection/opendb-news-articles/package.json @@ -1,7 +1,7 @@ { - "name": "@opendb/uni-news-articles", + "name": "@opendb/opendb-news-articles", "version": "0.0.1", - "description": "uni-news-articles", + "description": "opendb-news-articles", "keywords": ["文章&评论", "文章表"], "opendb": { "title": "文章", diff --git a/collection/uni-news-categories/collection.json b/collection/opendb-news-categories/collection.json similarity index 100% rename from collection/uni-news-categories/collection.json rename to collection/opendb-news-categories/collection.json diff --git a/collection/uni-news-categories/package.json b/collection/opendb-news-categories/package.json similarity index 62% rename from collection/uni-news-categories/package.json rename to collection/opendb-news-categories/package.json index a0bf512..25f497a 100644 --- a/collection/uni-news-categories/package.json +++ b/collection/opendb-news-categories/package.json @@ -1,7 +1,7 @@ { - "name": "@opendb/uni-news-categories", + "name": "@opendb/opendb-news-categories", "version": "0.0.1", - "description": "uni-news-categories", + "description": "opendb-news-categories", "keywords": ["文章&评论", "文章类别"], "opendb": { "title": "文章类别", diff --git a/collection/uni-news-comments/collection.json b/collection/opendb-news-comments/collection.json similarity index 100% rename from collection/uni-news-comments/collection.json rename to collection/opendb-news-comments/collection.json diff --git a/collection/uni-news-comments/package.json b/collection/opendb-news-comments/package.json similarity index 63% rename from collection/uni-news-comments/package.json rename to collection/opendb-news-comments/package.json index 4d00e91..0d7b725 100644 --- a/collection/uni-news-comments/package.json +++ b/collection/opendb-news-comments/package.json @@ -1,7 +1,7 @@ { - "name": "@opendb/uni-news-comments", + "name": "@opendb/opendb-news-comments", "version": "0.0.1", - "description": "uni-news-comments", + "description": "opendb-news-comments", "keywords": ["文章&评论", "文章评论表"], "opendb": { "title": "评论", diff --git a/database/opendb-mall/db_init.json b/database/opendb-mall/db_init.json new file mode 100644 index 0000000..2c8dfd5 --- /dev/null +++ b/database/opendb-mall/db_init.json @@ -0,0 +1,6 @@ +{ + "uni-id-users": {}, + "opendb-mall-goods": {}, + "opendb-mall-categories": {}, + "opendb-mall-comments": {} +} diff --git a/database/uni-mall/package.json b/database/opendb-mall/package.json similarity index 82% rename from database/uni-mall/package.json rename to database/opendb-mall/package.json index 0a07c3a..2e02a74 100644 --- a/database/uni-mall/package.json +++ b/database/opendb-mall/package.json @@ -1,5 +1,5 @@ { - "name": "@opendb/uni-mall", + "name": "@opendb/opendb-mall", "version": "0.0.1", "description": "电商系统", "keywords": ["电商系统"], diff --git a/database/opendb-news/db_init.json b/database/opendb-news/db_init.json new file mode 100644 index 0000000..7fece9b --- /dev/null +++ b/database/opendb-news/db_init.json @@ -0,0 +1,4 @@ +{ + "opendb-news-categories": {}, + "opendb-news-comments": {} +} diff --git a/database/uni-news/package.json b/database/opendb-news/package.json similarity index 81% rename from database/uni-news/package.json rename to database/opendb-news/package.json index 2df69fc..5d2a05a 100644 --- a/database/uni-news/package.json +++ b/database/opendb-news/package.json @@ -1,5 +1,5 @@ { - "name": "@opendb/uni-news", + "name": "@opendb/opendb-news", "version": "0.0.1", "description": "新闻", "keywords": ["新闻"], diff --git a/database/uni-mall/db_init.json b/database/uni-mall/db_init.json deleted file mode 100644 index ef01370..0000000 --- a/database/uni-mall/db_init.json +++ /dev/null @@ -1,6 +0,0 @@ -{ - "uni-id-users": {}, - "uni-mall-goods": {}, - "uni-mall-categories": {}, - "uni-mall-comments": {} -} diff --git a/database/uni-news/db_init.json b/database/uni-news/db_init.json deleted file mode 100644 index 986f3dc..0000000 --- a/database/uni-news/db_init.json +++ /dev/null @@ -1,4 +0,0 @@ -{ - "uni-news-categories": {}, - "uni-news-comments": {} -}