From 12c6a54d9b63b93ed551a66eff591b26da9d077e Mon Sep 17 00:00:00 2001 From: blam Date: Thu, 5 Aug 2021 02:17:37 +0200 Subject: [PATCH] chore: fix prettier and fix storybook Signed-off-by: blam --- .github/workflows/chromatic-storybook-test.yml | 3 ++- packages/cli/src/types.d.ts | 4 ++-- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/.github/workflows/chromatic-storybook-test.yml b/.github/workflows/chromatic-storybook-test.yml index d189236987..043777601f 100644 --- a/.github/workflows/chromatic-storybook-test.yml +++ b/.github/workflows/chromatic-storybook-test.yml @@ -50,4 +50,5 @@ jobs: # projetToken intentionally shared to allow collaborators to run Chromatic on forks # https://www.chromatic.com/docs/custom-ci-provider#run-chromatic-on-external-forks-of-open-source-projects projectToken: 9tzak77m9nj - storybookBuildDir: 'packages/storybook/dist' + workingDir: 'packages/storybook' + storybookBuildDir: 'dist' diff --git a/packages/cli/src/types.d.ts b/packages/cli/src/types.d.ts index 5f5580fdbe..07684bc15a 100644 --- a/packages/cli/src/types.d.ts +++ b/packages/cli/src/types.d.ts @@ -33,7 +33,7 @@ declare module '@rollup/plugin-yaml'; declare module 'terser-webpack-plugin'; declare module 'react-dev-utils/formatWebpackMessages' { - export default function( + export default function ( stats: any, ): { errors: string[]; @@ -42,7 +42,7 @@ declare module 'react-dev-utils/formatWebpackMessages' { } declare module 'react-dev-utils/openBrowser' { - export default function(url: string): boolean; + export default function (url: string): boolean; } declare module 'react-dev-utils/ModuleScopePlugin' {