Skip to content

Commit

Permalink
Merge pull request #2 from kalicyh/test
Browse files Browse the repository at this point in the history
fix
  • Loading branch information
kalicyh authored Aug 11, 2024
2 parents bb8393b + 6f616b9 commit 37362d1
Show file tree
Hide file tree
Showing 56 changed files with 3,432 additions and 1,947 deletions.
20 changes: 20 additions & 0 deletions .eslintrc.cjs
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
/* eslint-env node */
require('@rushstack/eslint-patch/modern-module-resolution');

module.exports = {
root: true,
extends: [
'plugin:vue/vue3-essential',
'eslint:recommended',
'@vue/eslint-config-typescript/recommended',
'@vue/eslint-config-prettier'
],
env: {
'vue/setup-compiler-macros': true
},
rules: {
'comma-dangle': 'off',
'@typescript-eslint/comma-dangle': 'off',
'prettier/prettier': ['error', { endOfLine: 'lf' }]
}
};
63 changes: 31 additions & 32 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,51 +8,50 @@
"vite-dev": "vite",
"dev": "concurrently --kill-others-on-fail \"yarn run fastapi-dev\" \"yarn run vite-dev\"",
"test": "yarn run build && yarn run fastapi-dev",
"build": "vue-tsc --noEmit && vite build",
"build": "vite build",
"preview": "vite preview --port 5050",
"typecheck": "vue-tsc --noEmit",
"build:docker": "docker build -t knowledge_server:$(node -p \"require('./package.json').version\") .",
"run:docker": "docker run -p 8000:8000 knowledge_server:$(node -p \"require('./package.json').version\")"
"run:docker": "docker run -p 8000:8000 knowledge_server:$(node -p \"require('./package.json').version\")",
"lint": "eslint . --ext .vue,.js,.jsx,.cjs,.mjs,.ts,.tsx,.cts,.mts --fix --ignore-path .gitignore"
},
"dependencies": {
"@braks/vue-flow": "0.4.41",
"@tiptap/core": "^2.5.9",
"@tiptap/pm": "^2.5.9",
"@tiptap/starter-kit": "2.5.9",
"@tiptap/vue-3": "2.5.9",
"@types/lodash": "^4.17.7",
"@vue/compiler-sfc": "^3.2.6",
"apexcharts": "3.52.0",
"@braks/vue-flow": "0.4.38",
"@tiptap/starter-kit": "2.0.0-beta.192",
"@tiptap/vue-3": "2.0.0-beta.97",
"apexcharts": "3.36.3",
"axios": "^1.7.3",
"axios-retry": "^4.5.0",
"date-fns": "^3.6.0",
"date-fns": "^2.29.3",
"lodash": "^4.17.21",
"maska": "^3.0.0",
"vite-plugin-vuetify": "2.0.4",
"vue": "3.4.37",
"vue-router": "4.4.3",
"vue-tabler-icons": "2.21.0",
"vue3-apexcharts": "1.5.3",
"vue3-perfect-scrollbar": "2.0.0",
"vuetify": "3.6.14",
"webpack": "^5.0.0",
"maska": "^1.5.0",
"vite-plugin-vuetify": "1.0.2",
"vue": "3.2.31",
"vue-router": "4.0.12",
"vue-tabler-icons": "2.9.0",
"vue3-apexcharts": "1.4.1",
"vue3-perfect-scrollbar": "1.6.0",
"vuetify": "3.0.1",
"xlsx": "^0.18.5",
"yup": "^1.4.0"
"yup": "^0.32.11"
},
"devDependencies": {
"@mdi/font": "^7.4.47",
"@tsconfig/node18": "^18.2.4",
"@mdi/font": "^6.5.95",
"@rushstack/eslint-patch": "^1.1.0",
"@types/chance": "^1.1.3",
"@types/node": "18",
"@vitejs/plugin-vue": "^5.1.2",
"@vue/tsconfig": "^0.5.1",
"@types/node": "^16.11.25",
"@vitejs/plugin-vue": "^2.2.2",
"@vue/eslint-config-prettier": "^7.0.0",
"@vue/eslint-config-typescript": "^10.0.0",
"@vue/tsconfig": "^0.1.3",
"eslint": "^8.5.0",
"eslint-plugin-vue": "^8.2.0",
"naive-ui": "^2.39.0",
"prettier": "^2.5.1",
"sass": "^1.49.9",
"sass-loader": "^16.0.0",
"typescript": "^5.5.4",
"vite": "^5.4.0",
"vue-cli-plugin-vuetify": "2.5.8",
"vue-tsc": "2.0.29",
"sass-loader": "^10.0.0",
"typescript": "~4.5.5",
"vite": "^2.9.1",
"vue-cli-plugin-vuetify": "2.5.5",
"vuetify-loader": "^2.0.0-alpha.9"
}
}
7 changes: 3 additions & 4 deletions src/App.vue
Original file line number Diff line number Diff line change
@@ -1,13 +1,12 @@
<template>
<n-message-provider>
<RouterView />
</n-message-provider>
<RouterView />
</n-message-provider>
</template>

<script setup lang="ts">
import { RouterView } from 'vue-router';
import { NMessageProvider } from 'naive-ui';
</script>

<style>
</style>
<style></style>
Loading

0 comments on commit 37362d1

Please sign in to comment.