diff --git a/apps/client/.babelrc.json b/apps/client/.babelrc.json deleted file mode 100644 index 86efa43b..00000000 --- a/apps/client/.babelrc.json +++ /dev/null @@ -1,14 +0,0 @@ -{ - "presets": [ - "@babel/preset-typescript", - "@babel/preset-env", - [ - "@nrwl/react/babel", - { - "runtime": "automatic", - "useBuiltIns": "usage" - } - ] - ], - "plugins": [] -} diff --git a/apps/client/.storybook/main.js b/apps/client/.storybook/main.js deleted file mode 100644 index 2484425c..00000000 --- a/apps/client/.storybook/main.js +++ /dev/null @@ -1,18 +0,0 @@ -const rootMain = require('../../../.storybook/main') - -module.exports = { - ...rootMain, - core: { ...rootMain.core, builder: 'webpack5' }, - stories: ['../**/*.stories.@(js|jsx|ts|tsx)'], - addons: [...rootMain.addons, '@nrwl/react/plugins/storybook'], - webpackFinal: async (config, { configType }) => { - // apply any global webpack configs that might have been specified in .storybook/main.js - if (rootMain.webpackFinal) { - config = await rootMain.webpackFinal(config, { configType }) - } - - // add your own webpack tweaks if needed - - return config - }, -} diff --git a/apps/client/.storybook/tsconfig.json b/apps/client/.storybook/tsconfig.json deleted file mode 100644 index 61b74d70..00000000 --- a/apps/client/.storybook/tsconfig.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "extends": "../tsconfig.json", - "compilerOptions": {}, - "include": ["**/*.ts", "**/*.tsx", "**/**/*.ts", "**/**/*.tsx"] -} diff --git a/apps/client/components/Maintenance.stories.tsx b/apps/client/components/Maintenance.stories.tsx deleted file mode 100644 index 468d8d2a..00000000 --- a/apps/client/components/Maintenance.stories.tsx +++ /dev/null @@ -1,18 +0,0 @@ -import type { Story, Meta } from '@storybook/react' -import Maintenance from './Maintenance.tsx' -import React from 'react' - -export default { - title: 'components/Maintenance.tsx', - component: Maintenance, -} as Meta - -const Template: Story = () => { - return ( - <> - - - ) -} - -export const Base = Template.bind({}) diff --git a/apps/client/tsconfig.json b/apps/client/tsconfig.json index b836c388..d69a004a 100644 --- a/apps/client/tsconfig.json +++ b/apps/client/tsconfig.json @@ -27,17 +27,5 @@ "next-env.d.ts", ".next/types/**/*.ts" ], - "exclude": [ - "node_modules", - "jest.config.ts", - "**/*.stories.ts", - "**/*.stories.js", - "**/*.stories.jsx", - "**/*.stories.tsx" - ], - "references": [ - { - "path": "./.storybook/tsconfig.json" - } - ] + "exclude": ["node_modules", "jest.config.ts"] } diff --git a/workspace.json b/workspace.json index 64b2eb15..ef681dc4 100644 --- a/workspace.json +++ b/workspace.json @@ -66,33 +66,6 @@ "options": { "command": "node tools/scripts/triggerClientDeploy.js" } - }, - "storybook": { - "executor": "@nrwl/storybook:storybook", - "options": { - "uiFramework": "@storybook/react", - "port": 4400, - "configDir": "apps/client/.storybook" - }, - "configurations": { - "ci": { - "quiet": true - } - } - }, - "build-storybook": { - "executor": "@nrwl/storybook:build", - "outputs": ["{options.outputDir}"], - "options": { - "uiFramework": "@storybook/react", - "outputDir": "dist/storybook/client", - "configDir": "apps/client/.storybook" - }, - "configurations": { - "ci": { - "quiet": true - } - } } }, "tags": ["scope:app"]