mirror of https://github.com/buster-so/buster.git
more updates
This commit is contained in:
parent
f068983268
commit
de0115bda4
|
@ -1,5 +1,5 @@
|
|||
import type { StorybookConfig } from '@storybook/nextjs';
|
||||
import path from 'node:path';
|
||||
import type { StorybookConfig } from '@storybook/nextjs';
|
||||
|
||||
const config: StorybookConfig = {
|
||||
stories: ['../src/**/*.mdx', '../src/**/*.stories.@(js|jsx|mjs|ts|tsx)'],
|
||||
|
|
|
@ -1,9 +1,8 @@
|
|||
import type { Preview } from '@storybook/react';
|
||||
|
||||
import { initialize, mswLoader } from 'msw-storybook-addon';
|
||||
import { QueryClient, QueryClientProvider } from '@tanstack/react-query';
|
||||
import { BusterStyleProvider } from '../src/context/BusterStyles/BusterStyles';
|
||||
import { initialize, mswLoader } from 'msw-storybook-addon';
|
||||
import { BusterAssetsProvider } from '../src/context/Assets/BusterAssetsProvider';
|
||||
import { BusterStyleProvider } from '../src/context/BusterStyles/BusterStyles';
|
||||
import '../src/styles/styles.scss';
|
||||
|
||||
initialize();
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
import path from 'node:path';
|
||||
import { fileURLToPath } from 'node:url';
|
||||
import { dirname } from 'node:path';
|
||||
import { fileURLToPath } from 'node:url';
|
||||
|
||||
const __filename = fileURLToPath(import.meta.url);
|
||||
const __dirname = dirname(__filename);
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
import { defineConfig, devices } from '@playwright/test';
|
||||
import path from 'node:path';
|
||||
import fs from 'node:fs';
|
||||
import path from 'node:path';
|
||||
import { defineConfig, devices } from '@playwright/test';
|
||||
|
||||
/**
|
||||
* Read environment variables from file.
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
import { defineConfig } from 'vitest/config';
|
||||
import { resolve } from 'node:path';
|
||||
import { defineConfig } from 'vitest/config';
|
||||
|
||||
export default defineConfig({
|
||||
esbuild: {
|
||||
|
|
Loading…
Reference in New Issue