8e6c066b99
* feat: scaffold fills components * feat: add query for fills and populate data in basic table * feat: refactor portfolio page to use grid and add fills container * feat: add infinite scroll for fills * feat: try with data provider, get infinite scroll working * chore: remove infinite scrolling as subsequent pr will add it * chore: reorder columns * chore: remove Autosizer from portfolio grid children as its not needed * chore: move fills tab to the end * feat: add storybook, format cells * feat: add unit test for fills table * feat: convert lib to next lib * feat: add pagination variables to fills query to only get latest 300 * fix: fills data provider update function to return result of produce * fix: yarn.lock * fix: cypress run by moving test helpers * fix: re add test helpers for unit tests * fix: global connection tests * fix: use fills from mocks * feat: add update handler for fills * chore: move value formatter functions into module scope
29 lines
702 B
JavaScript
29 lines
702 B
JavaScript
const rootMain = require('../../../.storybook/main');
|
|
|
|
module.exports = {
|
|
...rootMain,
|
|
|
|
core: { ...rootMain.core, builder: 'webpack5' },
|
|
|
|
stories: [
|
|
...rootMain.stories,
|
|
'../src/lib/**/*.stories.mdx',
|
|
'../src/lib/**/*.stories.@(js|jsx|ts|tsx)',
|
|
],
|
|
addons: [
|
|
...rootMain.addons,
|
|
'@nrwl/react/plugins/storybook',
|
|
'storybook-addon-themes',
|
|
],
|
|
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;
|
|
},
|
|
};
|