mirror of
https://github.com/chakra-ui/chakra-ui.git
synced 2026-09-14 16:43:45 +08:00
7b6e66a15b
* refactor: component setup * refactor: component setup * chore: refactor tests * chore: cleanup * refactor: get typecheck working * chore: flatten package structure * refactor: packages * refactor: utilities and hooks * refactor: prefer granular imports * chore: get build working for packages * chore: remove redundant cra templates * refactor: move cli to packages * chore: move all things to packages * chore: ensure all builds work as expected * chore: save progress * chore: refactor more components * chore: refactor more components * chore: refactor more components * chore: get tests working * fix: remaining tests * chore: update tests * chore: update scripts * chore: update dev script * chore: rm plop * fix: stories and cleanup providers * refactor: packages * chore: update * chore: cleanup scripts * chore: update * fix: storybook build * chore: mv color-mode and system into react * chore: improve scripts * chore: updates * chore: cleanup changelog * docs: cleanup changelog * refactor: props docs scripts * fix: typecheck * fix: eslint * chore: udpate slack scripts * refactor: split layout compoents into folders
18 lines
328 B
TypeScript
18 lines
328 B
TypeScript
import { defineConfig } from "vitest/config"
|
|
|
|
export default defineConfig({
|
|
test: {
|
|
globals: true,
|
|
watch: false,
|
|
environment: "jsdom",
|
|
include: ["**/*test.{ts,tsx}"],
|
|
setupFiles: ["vitest.setup.ts"],
|
|
coverage: {
|
|
include: ["packages"],
|
|
},
|
|
},
|
|
resolve: {
|
|
conditions: ["source"],
|
|
},
|
|
})
|