Skip to content

Commit

Permalink
Refine user interface (#14)
Browse files Browse the repository at this point in the history
* Refine user interface

Signed-off-by: Ryan Wang <[email protected]>

* Make @halo-dev/richtext-editor as external lib

Signed-off-by: Ryan Wang <[email protected]>

---------

Signed-off-by: Ryan Wang <[email protected]>
  • Loading branch information
ruibaby authored Jan 16, 2024
1 parent da31ec5 commit 3ebf48e
Show file tree
Hide file tree
Showing 11 changed files with 1,513 additions and 628 deletions.
6 changes: 5 additions & 1 deletion build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ plugins {
id 'java'
id "com.github.node-gradle.node" version "5.0.0"
id "io.freefair.lombok" version "8.0.1"
id "run.halo.plugin.devtools" version "0.0.5"
id "run.halo.plugin.devtools" version "0.0.7"
}

group 'run.halo.katex'
Expand Down Expand Up @@ -39,3 +39,7 @@ build {
// build frontend before build
tasks.getByName('compileJava').dependsOn('buildFrontend')
}

halo {
version = '2.11'
}
3 changes: 3 additions & 0 deletions console/.eslintrc.cjs
Original file line number Diff line number Diff line change
Expand Up @@ -12,4 +12,7 @@ module.exports = {
env: {
"vue/setup-compiler-macros": true,
},
rules: {
"vue/no-v-html": "off",
},
};
1 change: 1 addition & 0 deletions console/env.d.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
/// <reference types="vite/client" />
/// <reference types="unplugin-icons/types/vue" />

declare module "*.vue" {
import Vue from "vue";
Expand Down
33 changes: 15 additions & 18 deletions console/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,40 +11,37 @@
"lint": "eslint . --ext .vue,.js,.jsx,.cjs,.mjs,.ts,.tsx,.cts,.mts --fix --ignore-path .gitignore"
},
"dependencies": {
"@halo-dev/components": "^1.5.0",
"@halo-dev/console-shared": "^2.7.0",
"@tiptap/core": "^2.0.3",
"@tiptap/vue-3": "^2.0.3",
"@vueuse/core": "^10.3.0",
"canvas-confetti": "^1.6.0",
"@halo-dev/components": "^1.10.0",
"@halo-dev/console-shared": "^2.11.0",
"@halo-dev/richtext-editor": "0.0.0-alpha.33",
"@vueuse/core": "^10.7.2",
"floating-vue": "2.0.0-beta.24",
"katex": "^0.16.7",
"vue": "^3.3.4"
"katex": "^0.16.9",
"vue": "^3.4.14"
},
"devDependencies": {
"@iconify/json": "^2.2.80",
"@rushstack/eslint-patch": "^1.3.2",
"@types/canvas-confetti": "^1.6.0",
"@iconify/json": "^2.2.169",
"@rushstack/eslint-patch": "^1.6.1",
"@types/jsdom": "^20.0.1",
"@types/katex": "^0.16.0",
"@types/node": "^16.18.36",
"@types/katex": "^0.16.7",
"@types/node": "^16.18.71",
"@vitejs/plugin-vue": "^3.2.0",
"@vitejs/plugin-vue-jsx": "^2.1.1",
"@vue/eslint-config-prettier": "^7.1.0",
"@vue/eslint-config-typescript": "^11.0.3",
"@vue/test-utils": "^2.3.2",
"@vue/test-utils": "^2.4.3",
"@vue/tsconfig": "^0.1.3",
"eslint": "^8.43.0",
"eslint-plugin-vue": "^9.15.0",
"eslint": "^8.56.0",
"eslint-plugin-vue": "^9.20.1",
"jsdom": "^19.0.0",
"npm-run-all": "^4.1.5",
"prettier": "^2.8.8",
"sass": "^1.63.4",
"sass": "^1.69.7",
"typescript": "~4.7.4",
"unplugin-icons": "^0.15.3",
"vite": "^3.2.7",
"vite-plugin-static-copy": "^0.16.0",
"vitest": "^0.24.5",
"vue-tsc": "^1.8.0"
"vue-tsc": "^1.8.27"
}
}
Loading

0 comments on commit 3ebf48e

Please sign in to comment.