Skip to content

Commit

Permalink
chore: exclude docs from typecheck
Browse files Browse the repository at this point in the history
  • Loading branch information
kingyue737 committed Jun 23, 2024
1 parent 0ed22af commit b247d30
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -34,11 +34,12 @@
"release": "pnpm run lint && pnpm run test && pnpm run prepack && changelogen --release && npm publish --registry=\"https://registry.npmjs.org/\" && git push --follow-tags",
"docs:dev": "nuxi dev docs",
"docs:build": "nuxi generate docs",
"docs:types": "nuxi typecheck docs",
"lint": "eslint . --fix",
"format": "prettier . --write",
"test": "vitest run",
"test:watch": "vitest watch",
"test:types": "vue-tsc --noEmit && nuxi typecheck docs && cd playground && vue-tsc --noEmit"
"test:types": "nuxi typecheck && nuxi typecheck playground"
},
"dependencies": {
"@nuxt/kit": "^3.12.2",
Expand Down
1 change: 0 additions & 1 deletion src/runtime/components/VChartLight.vue
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,6 @@ defineProps<{
theme?: Theme
initOptions?: InitOptions
}>()
defineOptions({ inheritAttrs: false })
type ECSSRHandler = (params: ECSSRClientEventParams) => string | undefined
type ECSSREventOn = `on${Capitalize<ECSSREvent>}`
Expand Down
2 changes: 1 addition & 1 deletion src/runtime/components/VChartServer.vue
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
import { computed, unref, inject, ref } from 'vue'
import type { InitOptions, Option, Theme } from '../types'
import { THEME_KEY, INIT_OPTIONS_KEY } from '../utils/injection'
import type { VChartIsland } from '#components'
import type VChartIsland from './VChartLight.vue'
const defaultTheme = inject(THEME_KEY, null)
const defaultInitOptions = inject(INIT_OPTIONS_KEY, null)
Expand Down
2 changes: 1 addition & 1 deletion tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{
"extends": "./.nuxt/tsconfig.json",
"exclude": ["dist", "node_modules", "playground"]
"exclude": ["dist", "node_modules", "playground", "docs"]
}

0 comments on commit b247d30

Please sign in to comment.