Skip to content

Commit 16da3a3

Browse files
committed
use root vitest
1 parent 82b47a7 commit 16da3a3

File tree

281 files changed

+387
-462
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

281 files changed

+387
-462
lines changed

package.json

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
"dev:themes": "pnpm --parallel --filter @skeletonlabs/skeleton --filter @skeletonlabs/themes.skeleton.dev dev",
88
"dev:svelte": "pnpm --parallel --filter @skeletonlabs/skeleton --filter @skeletonlabs/skeleton-svelte --filter @skeletonlabs/skeleton-common --filter @skeletonlabs/playground-skeleton-svelte dev",
99
"dev:react": "pnpm --parallel --filter @skeletonlabs/skeleton --filter @skeletonlabs/skeleton-react --filter @skeletonlabs/skeleton-common --filter @skeletonlabs/playground-skeleton-react dev",
10-
"test": "pnpm --recursive --aggregate-output --reporter=append-only --parallel test",
10+
"test": "vitest run",
1111
"check": "pnpm --recursive --aggregate-output --reporter=append-only --parallel check",
1212
"format": "prettier . --cache --write --list-different --ignore-unknown",
1313
"format:check": "prettier . --cache --check --ignore-unknown",
@@ -24,7 +24,9 @@
2424
"oxlint": "catalog:",
2525
"prettier": "catalog:",
2626
"prettier-plugin-astro": "catalog:",
27-
"prettier-plugin-svelte": "catalog:"
27+
"prettier-plugin-svelte": "catalog:",
28+
"vite": "catalog:",
29+
"vitest": "catalog:"
2830
},
2931
"engines": {
3032
"node": "22.21.1",

packages/cli/package.json

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,8 +33,7 @@
3333
"tsdown": "catalog:",
3434
"type-fest": "catalog:",
3535
"typescript": "catalog:",
36-
"vite": "catalog:",
37-
"vitest": "catalog:"
36+
"vite": "catalog:"
3837
},
3938
"dependencies": {
4039
"@clack/prompts": "catalog:",

packages/skeleton-react/package.json

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -70,8 +70,7 @@
7070
"react-dom": "catalog:",
7171
"tsdown": "catalog:",
7272
"typescript": "catalog:",
73-
"vite": "catalog:",
74-
"vitest": "catalog:"
73+
"vite": "catalog:"
7574
},
7675
"license": "MIT",
7776
"type": "module"

packages/skeleton-react/src/components/accordion/anatomy/item-content.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
1-
import { ItemContext } from '../modules/item-context.js';
2-
import { RootContext } from '../modules/root-context.js';
31
import type { HTMLAttributes } from '../../../internal/html-attributes.js';
42
import type { PropsWithElement } from '../../../internal/props-with-element.js';
3+
import { ItemContext } from '../modules/item-context.js';
4+
import { RootContext } from '../modules/root-context.js';
55
import { classesAccordion } from '@skeletonlabs/skeleton-common';
66
import { mergeProps } from '@zag-js/react';
77
import { use } from 'react';

packages/skeleton-react/src/components/accordion/anatomy/item-indicator.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
1-
import { ItemContext } from '../modules/item-context.js';
2-
import { RootContext } from '../modules/root-context.js';
31
import type { HTMLAttributes } from '../../../internal/html-attributes.js';
42
import type { PropsWithElement } from '../../../internal/props-with-element.js';
3+
import { ItemContext } from '../modules/item-context.js';
4+
import { RootContext } from '../modules/root-context.js';
55
import { classesAccordion } from '@skeletonlabs/skeleton-common';
66
import { mergeProps } from '@zag-js/react';
77
import { use } from 'react';

packages/skeleton-react/src/components/accordion/anatomy/item-trigger.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
1-
import { ItemContext } from '../modules/item-context.js';
2-
import { RootContext } from '../modules/root-context.js';
31
import type { HTMLAttributes } from '../../../internal/html-attributes.js';
42
import type { PropsWithElement } from '../../../internal/props-with-element.js';
3+
import { ItemContext } from '../modules/item-context.js';
4+
import { RootContext } from '../modules/root-context.js';
55
import { classesAccordion } from '@skeletonlabs/skeleton-common';
66
import { mergeProps } from '@zag-js/react';
77
import { use } from 'react';

packages/skeleton-react/src/components/accordion/anatomy/item.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
1-
import { ItemContext } from '../modules/item-context.js';
2-
import { RootContext } from '../modules/root-context.js';
31
import type { HTMLAttributes } from '../../../internal/html-attributes.js';
42
import type { PropsWithElement } from '../../../internal/props-with-element.js';
3+
import { ItemContext } from '../modules/item-context.js';
4+
import { RootContext } from '../modules/root-context.js';
55
import { classesAccordion } from '@skeletonlabs/skeleton-common';
66
import { splitItemProps } from '@zag-js/accordion';
77
import type { ItemProps } from '@zag-js/accordion';

packages/skeleton-react/src/components/accordion/anatomy/root-provider.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
1-
import type { useAccordion } from '../modules/provider.js';
2-
import { RootContext } from '../modules/root-context.js';
31
import type { HTMLAttributes } from '../../../internal/html-attributes.js';
42
import type { PropsWithElement } from '../../../internal/props-with-element.js';
3+
import type { useAccordion } from '../modules/provider.js';
4+
import { RootContext } from '../modules/root-context.js';
55
import { classesAccordion } from '@skeletonlabs/skeleton-common';
66
import { mergeProps } from '@zag-js/react';
77

packages/skeleton-react/src/components/accordion/anatomy/root.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
1-
import { useAccordion } from '../modules/provider.js';
2-
import { RootContext } from '../modules/root-context.js';
31
import type { HTMLAttributes } from '../../../internal/html-attributes.js';
42
import type { PropsWithElement } from '../../../internal/props-with-element.js';
3+
import { useAccordion } from '../modules/provider.js';
4+
import { RootContext } from '../modules/root-context.js';
55
import { classesAccordion } from '@skeletonlabs/skeleton-common';
66
import { splitProps } from '@zag-js/accordion';
77
import type { Props } from '@zag-js/accordion';
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import { useAccordion } from './provider.js';
21
import { createContext } from '../../../internal/create-context.js';
2+
import { useAccordion } from './provider.js';
33

44
export const RootContext = createContext<ReturnType<typeof useAccordion>>();

0 commit comments

Comments
 (0)