From 45e8194a5742ee6a5655a3acce51b6c7cedd1b84 Mon Sep 17 00:00:00 2001 From: Bruno Menezes Date: Tue, 14 Jan 2025 13:40:52 +1300 Subject: [PATCH] chore: Add new configs and mapping on storybook main config file. --- apps/staking/.storybook/main.js | 13 +++++++++++-- 1 file changed, 11 insertions(+), 2 deletions(-) diff --git a/apps/staking/.storybook/main.js b/apps/staking/.storybook/main.js index 793fe821..cbd749db 100644 --- a/apps/staking/.storybook/main.js +++ b/apps/staking/.storybook/main.js @@ -16,7 +16,7 @@ module.exports = { refs: { '@explorer/ui': { title: 'Explorer UI', - url: 'http://localhost:6007', + url: 'http://127.0.0.1:6007', }, }, staticDirs: ['../public'], @@ -28,6 +28,9 @@ module.exports = { '../src/**/*.stories.mdx', '../src/**/*.stories.@(js|jsx|ts|tsx)', ], + typescript: { + reactDocgen: 'react-docgen-typescript-plugin', + }, addons: [ 'storybook-addon-apollo-client', 'storybook-addon-performance/register', @@ -48,7 +51,13 @@ module.exports = { !/ethers/.test(filename) && !/@walletconnect/.test(filename) && !/@web3modal/.test(filename) && - !/valtio\/vanilla/.test(filename) + !/valtio\/vanilla/.test(filename) && + !/@safe-global/.test(filename) && + !/viem/.test(filename) && + !/@web3-onboard/.test(filename) && + !/abitype/.test(filename) && + !/unstorage/.test(filename) && + !/ox/.test(filename) ); }, }