Revert "chore: 依赖升级"

This reverts commit 1188555f958eb820cb6e2ff3b38853cb884e9ad1.
This commit is contained in:
zxc 2024-09-15 11:35:00 +08:00
parent 1188555f95
commit 58e81c4227
11 changed files with 294 additions and 390 deletions

View File

@ -42,7 +42,7 @@ module.exports = {
'default-case': 'error',
'consistent-this': ['error', '_this'],
'max-depth': ['error', 8],
'max-lines': ['error', 1000],
'max-lines': ['error', 800],
'no-multi-str': 'error',
'space-infix-ops': 'error',
'space-before-blocks': ['error', 'always'],

629
package-lock.json generated

File diff suppressed because it is too large Load Diff

View File

@ -50,23 +50,23 @@
"devDependencies": {
"@commitlint/cli": "^18.4.3",
"@commitlint/config-conventional": "^18.4.3",
"@rushstack/eslint-patch": "^1.8.0",
"@tsconfig/node20": "^20.1.4",
"@rushstack/eslint-patch": "^1.3.3",
"@tsconfig/node18": "^18.2.2",
"@types/crypto-js": "^4.2.1",
"@types/file-saver": "^2.0.7",
"@types/lodash": "^4.14.202",
"@types/node": "^20.14.5",
"@types/node": "^18.19.3",
"@types/svg-arc-to-cubic-bezier": "^3.2.2",
"@types/tinycolor2": "^1.4.6",
"@vitejs/plugin-vue": "^5.1.0",
"@vue/eslint-config-typescript": "^13.0.0",
"@vue/eslint-config-typescript": "^12.0.0",
"@vue/tsconfig": "^0.5.0",
"eslint": "^8.57.0",
"eslint": "^8.49.0",
"eslint-plugin-vue": "^9.17.0",
"husky": "^8.0.3",
"npm-run-all2": "^6.1.1",
"sass": "^1.69.6",
"typescript": "^5.5.4",
"typescript": "~5.3.0",
"vite": "^5.3.5",
"vue-tsc": "^2.0.29"
}

View File

@ -49,10 +49,13 @@
</template>
<script lang="ts" setup>
import { computed, onMounted, onUnmounted, ref, watch, nextTick, onBeforeUnmount } from 'vue'
import { computed, onMounted, onUnmounted, ref } from 'vue'
import Popover from './Popover.vue'
import Input from './Input.vue'
import Divider from './Divider.vue'
import { watch } from 'vue';
import { nextTick } from 'vue';
import { onBeforeUnmount } from 'vue';
interface SelectOption {
label: string

View File

@ -1,3 +1,4 @@
import { computed } from 'vue'
import { storeToRefs } from 'pinia'
import { nanoid } from 'nanoid'
import { useSlidesStore, useMainStore } from '@/store'

View File

@ -1,4 +1,4 @@
import type * as echarts from 'echarts'
import * as echarts from 'echarts'
import type { ChartData, ChartType } from '@/types/slides'
export interface ChartOptionPayload {

View File

@ -4,8 +4,7 @@
"exclude": ["src/**/__tests__/*"],
"compilerOptions": {
"composite": true,
"tsBuildInfoFile": "./node_modules/.tmp/tsconfig.app.tsbuildinfo",
"noEmit": true,
"baseUrl": ".",
"paths": {
"@/*": ["./src/*"]

View File

@ -1,5 +1,5 @@
{
"extends": "@tsconfig/node20/tsconfig.json",
"extends": "@tsconfig/node18/tsconfig.json",
"include": [
"vite.config.*",
"vitest.config.*",
@ -10,8 +10,6 @@
"compilerOptions": {
"composite": true,
"noEmit": true,
"tsBuildInfoFile": "./node_modules/.tmp/tsconfig.node.tsbuildinfo",
"module": "ESNext",
"moduleResolution": "Bundler",
"types": ["node"]