ci: Fix vitest module resolution in CI
This commit is contained in:
11 files changed
+181
-576
No files matched your search
@@ -66,7 +66,7 @@
|
||||
"remark-frontmatter": "^5.0.0",
|
||||
"remark-mdx-frontmatter": "^5.2.0",
|
||||
"storybook": "^8.6.15",
|
||||
"storybook-react-rsbuild": "^0.1.10",
|
||||
"storybook-react-rsbuild": "^2.1.6",
|
||||
"ts-node": "^10.9.2",
|
||||
"typescript": "^5.8.3",
|
||||
"vitest": "^4.0.18",
|
||||
|
||||
@@ -1,25 +1,15 @@
|
||||
import React from 'react';
|
||||
import type { Meta, StoryObj } from '@storybook/react';
|
||||
import { Welcome } from './Welcome';
|
||||
|
||||
import type { Meta, StoryObj } from '@storybook/react';
|
||||
|
||||
/**
|
||||
* Metadata for the Welcome component stories.
|
||||
*/
|
||||
const meta: Meta<typeof Welcome> = {
|
||||
title: 'WWW/Widgets/Welcome',
|
||||
title: 'Widgets/Welcome',
|
||||
component: Welcome,
|
||||
tags: ['autodocs'],
|
||||
parameters: {
|
||||
layout: 'fullscreen',
|
||||
},
|
||||
};
|
||||
|
||||
export default meta;
|
||||
|
||||
/**
|
||||
* Story type for the Welcome component.
|
||||
*/
|
||||
type Story = StoryObj<typeof Welcome>;
|
||||
|
||||
/**
|
||||
* Default story for the Welcome component.
|
||||
*/
|
||||
export const Default: Story = {};
|
||||
Reference in new issue
Block a user