diff --git a/README.md b/README.md new file mode 100644 index 0000000..e3a5119 --- /dev/null +++ b/README.md @@ -0,0 +1,15 @@ +# Cordis WebUI + +## Packages + +### Core packages + +- @cordisjs/client +- @cordisjs/components +- @cordisjs/registry + +### Official plugins + +- @cordisjs/plugin-config +- @cordisjs/plugin-insight +- @cordisjs/plugin-webui diff --git a/packages/client/package.json b/packages/client/package.json index 6983a80..dd53e65 100644 --- a/packages/client/package.json +++ b/packages/client/package.json @@ -1,7 +1,7 @@ { "name": "@cordisjs/client", "description": "Koishi Console Client", - "version": "0.28.3", + "version": "0.1.0", "type": "module", "exports": { ".": "./client/index.ts", @@ -24,7 +24,7 @@ "cordis-webui": "bin.js" }, "author": "Shigma ", - "license": "AGPL-3.0", + "license": "MIT", "repository": { "type": "git", "url": "git+https://github.com/cordisjs/webui.git", @@ -44,7 +44,7 @@ "build" ], "dependencies": { - "@cordisjs/components": "1.5.11", + "@cordisjs/components": "0.1.0", "@maikolib/vite-plugin-yaml": "^1.0.1", "@satorijs/protocol": "^1.3.1", "@vitejs/plugin-vue": "^4.6.2", diff --git a/packages/components/package.json b/packages/components/package.json index eed1927..8497b04 100644 --- a/packages/components/package.json +++ b/packages/components/package.json @@ -1,14 +1,15 @@ { "name": "@cordisjs/components", "description": "Client Components for Cordis WebUI", - "version": "1.5.11", + "version": "0.1.0", + "type": "module", "main": "client/index.ts", "files": [ "client", "tsconfig.client.json" ], "author": "Shigma ", - "license": "AGPL-3.0", + "license": "MIT", "repository": { "type": "git", "url": "git+https://github.com/cordisjs/webui.git", diff --git a/plugins/config/package.json b/plugins/config/package.json index dda0627..d189629 100644 --- a/plugins/config/package.json +++ b/plugins/config/package.json @@ -21,7 +21,7 @@ "dist" ], "author": "Shigma ", - "license": "AGPL-3.0", + "license": "MIT", "repository": { "type": "git", "url": "git+https://github.com/cordisjs/webui.git", @@ -48,20 +48,21 @@ }, "service": { "required": [ - "console" + "webui" ] } }, "peerDependencies": { "@cordisjs/loader": "^0.9.0", - "@cordisjs/plugin-webui": "^0.28.3", + "@cordisjs/plugin-webui": "^0.1.0", "cordis": "^3.14.0" }, "devDependencies": { - "@cordisjs/client": "^0.28.3", - "@cordisjs/plugin-hmr": "^0.2.0" + "@cordisjs/client": "^0.1.0", + "@cordisjs/plugin-hmr": "^0.2.1" }, "dependencies": { - "@cordisjs/registry": "^7.0.3" + "@cordisjs/registry": "^7.0.3", + "cosmokit": "^1.6.2" } } diff --git a/plugins/insight/package.json b/plugins/insight/package.json index 204e089..428634b 100644 --- a/plugins/insight/package.json +++ b/plugins/insight/package.json @@ -10,7 +10,7 @@ "src" ], "author": "Shigma ", - "license": "AGPL-3.0", + "license": "MIT", "scripts": { "lint": "eslint src --ext .ts" }, @@ -38,16 +38,16 @@ }, "service": { "required": [ - "console" + "webui" ] } }, "peerDependencies": { - "@cordisjs/plugin-webui": "^0.28.3", + "@cordisjs/plugin-webui": "^0.1.0", "cordis": "^3.14.0" }, "devDependencies": { - "@cordisjs/client": "^0.28.3", + "@cordisjs/client": "^0.1.0", "@types/d3-force": "^3.0.9", "d3-force": "^3.0.0" }, diff --git a/plugins/webui/package.json b/plugins/webui/package.json index 051e767..2b1e44c 100644 --- a/plugins/webui/package.json +++ b/plugins/webui/package.json @@ -1,7 +1,7 @@ { "name": "@cordisjs/plugin-webui", "description": "Web User Interface for Koishi", - "version": "0.28.3", + "version": "0.1.0", "type": "module", "exports": { ".": { @@ -51,7 +51,7 @@ } }, "peerDependencies": { - "@cordisjs/client": "^0.28.3", + "@cordisjs/client": "^0.1.0", "cordis": "^3.14.0" }, "peerDependenciesMeta": { @@ -60,7 +60,7 @@ } }, "devDependencies": { - "@cordisjs/client": "^0.28.3", + "@cordisjs/client": "^0.1.0", "@cordisjs/loader": "^0.9.0", "@cordisjs/plugin-server": "^0.2.1", "@maikolib/vite-plugin-yaml": "^1.0.1", diff --git a/vercel.json b/vercel.json new file mode 100644 index 0000000..15d3b38 --- /dev/null +++ b/vercel.json @@ -0,0 +1,9 @@ +{ + "rewrites": [{ + "source": "/(.*)", + "destination": "/index.html" + }], + "github": { + "silent": true + } +} diff --git a/yakumo.yml b/yakumo.yml new file mode 100644 index 0000000..0464129 --- /dev/null +++ b/yakumo.yml @@ -0,0 +1,13 @@ +- name: yakumo + config: + pipeline: + build: + - tsc + - esbuild + - client + clean: + - tsc --clean +- name: yakumo-esbuild +- name: yakumo-mocha +- name: yakumo-tsc +- name: '@cordisjs/client/lib'