Skip to content
This repository has been archived by the owner on Dec 10, 2021. It is now read-only.

Commit

Permalink
chore: export module that use in main repo (#1425)
Browse files Browse the repository at this point in the history
  • Loading branch information
zhaoyongjie committed Oct 25, 2021
1 parent 6bf1c57 commit 9ecb5de
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 5 deletions.
1 change: 1 addition & 0 deletions packages/superset-ui-core/src/chart/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ export { default as getChartComponentRegistry } from './registries/ChartComponen
export { default as getChartControlPanelRegistry } from './registries/ChartControlPanelRegistrySingleton';
export { default as getChartMetadataRegistry } from './registries/ChartMetadataRegistrySingleton';
export { default as getChartTransformPropsRegistry } from './registries/ChartTransformPropsRegistrySingleton';
export { BuildQuery } from './registries/ChartBuildQueryRegistrySingleton';

export { default as ChartDataProvider } from './components/ChartDataProvider';

Expand Down
1 change: 1 addition & 0 deletions packages/superset-ui-core/src/color/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ export { default as CategoricalScheme } from './CategoricalScheme';
export { default as getCategoricalSchemeRegistry } from './CategoricalSchemeRegistrySingleton';
export { default as getSequentialSchemeRegistry } from './SequentialSchemeRegistrySingleton';
export { default as SequentialScheme } from './SequentialScheme';
export { default as ColorSchemeRegistry } from './ColorSchemeRegistry';
export * from './colorSchemes';

export const BRAND_COLOR = '#00A699';
7 changes: 2 additions & 5 deletions packages/superset-ui-demo/.storybook/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -63,13 +63,10 @@ module.exports = {

// todo: remove hard code after move storybook to superset repo.
config.resolve.alias['@emotion/styled'] = path.resolve(
rootPath,
rootPath,
'./node_modules/@emotion/styled',
);
config.resolve.alias['@emotion/core'] = path.resolve(
rootPath,
'./node_modules/@emotion/core',
);
config.resolve.alias['@emotion/core'] = path.resolve(rootPath, './node_modules/@emotion/core');

config.devtool = 'eval-cheap-module-source-map';
config.devServer = {
Expand Down

1 comment on commit 9ecb5de

@vercel
Copy link

@vercel vercel bot commented on 9ecb5de Oct 25, 2021

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.