Skip to content

Commit b85201b

Browse files
committed
chore: wip
chore: wip
1 parent ea23c82 commit b85201b

File tree

5 files changed

+2393
-2420
lines changed

5 files changed

+2393
-2420
lines changed

.stacks/core/testing/src/index.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,2 @@
1-
export { assert, describe, test } from 'vitest'
21
export * as unit from 'vitest'
32
export * as feature from '@playwright/test'

.stacks/core/vite/src/stacks.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ export function components(options?: ComponentOptions): Plugin {
2929
p.componentsPath(),
3030
// pagesPath(),
3131
],
32-
dts: p.frameworkPath('components.d.ts'),
32+
dts: p.frameworkPath('types/components.d.ts'),
3333
}
3434

3535
const newOptions = defu(options, defaultOptions)
@@ -54,7 +54,7 @@ export function pages(options?: PagesOption): Plugin {
5454
export function autoImports(options?: AutoImportsOptions): Plugin {
5555
const defaultOptions: AutoImportsOptions = {
5656
imports: [
57-
'vue', 'vue-router', 'vue/macros', 'vitest', 'pinia',
57+
'vue', 'vue-router', 'vue/macros', 'pinia',
5858
// 'vitepress'
5959
// { '@stacksjs/ui': ['CssEngine', 'UiEngine', 'Store', 'presetForms', 'transformerCompileClass'] },
6060
// { '@stacksjs/logging': ['dd', 'dump'] }, // we also export `log` in st stacks/cli
@@ -103,7 +103,7 @@ export function autoImports(options?: AutoImportsOptions): Plugin {
103103
// p.utilsPath('src'),
104104
// p.validationPath('src'),
105105
],
106-
dts: p.frameworkPath('auto-imports.d.ts'),
106+
dts: p.frameworkPath('types/auto-imports.d.ts'),
107107
vueTemplate: true,
108108
eslintrc: {
109109
enabled: false,

0 commit comments

Comments
 (0)