chore(payments-next): Remove storybook

This commit is contained in:
Lisa Chan 2024-10-17 12:07:50 -04:00
Родитель 6dd1b7f4eb
Коммит 2e4db7aabe
Не найден ключ, соответствующий данной подписи
Идентификатор ключа GPG: 9052E177BBC5E764
5 изменённых файлов: 0 добавлений и 80 удалений

Просмотреть файл

@ -1,30 +0,0 @@
import type { StorybookConfig } from '@storybook/nextjs';
const config: StorybookConfig = {
stories: ['../**/*.stories.@(js|jsx|ts|tsx|mdx)'],
addons: [
'@storybook/addon-essentials',
'@storybook/addon-interactions',
'@storybook/addon-links',
{
name: '@storybook/addon-styling',
options: {
// Check out https://github.com/storybookjs/addon-styling/blob/main/docs/api.md
// For more details on this addon's options.
postCss: {
implementation: require.resolve('postcss'),
},
},
},
],
framework: {
name: '@storybook/nextjs',
options: {},
},
};
export default config;
// To customize your webpack configuration you can use the webpackFinal field.
// Check https://storybook.js.org/docs/react/builders/webpack#extending-storybooks-webpack-config
// and https://nx.dev/packages/storybook/documents/custom-builder-configs

Просмотреть файл

@ -1 +0,0 @@
import '../app/styles/global.css';

Просмотреть файл

@ -77,31 +77,6 @@
},
"glean-lint": {
"command": "yarn glean glinter libs/shared/metrics/glean/src/registry/subplat-backend-metrics.yaml"
},
"storybook": {
"executor": "@nx/storybook:storybook",
"options": {
"port": 4400,
"configDir": "apps/payments/next/.storybook"
},
"configurations": {
"ci": {
"quiet": true
}
}
},
"build-storybook": {
"executor": "@nx/storybook:build",
"outputs": ["{options.outputDir}"],
"options": {
"outputDir": "dist/storybook/payments-next",
"configDir": "apps/payments/next/.storybook"
},
"configurations": {
"ci": {
"quiet": true
}
}
}
},
"tags": ["app", "payments", "type:sp3"]

Просмотреть файл

@ -34,12 +34,5 @@
"jest.config.ts",
"src/**/*.spec.ts",
"src/**/*.test.ts",
"**/*.stories.ts",
"**/*.stories.js"
],
"references": [
{
"path": "./tsconfig.storybook.json"
}
]
}

Просмотреть файл

@ -1,17 +0,0 @@
{
"extends": "./tsconfig.json",
"compilerOptions": {
"emitDecoratorMetadata": true,
"noEmit": false
},
"exclude": ["components/**/*.spec.ts", "components/**/*.test.ts"],
"include": [
"components/**/*.stories.ts",
"components/**/*.stories.js",
"components/**/*.stories.jsx",
"components/**/*.stories.tsx",
"components/**/*.stories.mdx",
".storybook/*.js",
".storybook/*.ts"
]
}