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

Commit

Permalink
feat: add validator to umbrella package
Browse files Browse the repository at this point in the history
  • Loading branch information
kristw committed Apr 1, 2020
1 parent 6854fd7 commit a62ce13
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 1 deletion.
3 changes: 2 additions & 1 deletion packages/superset-ui-superset-ui/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@
"@superset-ui/number-format": "0.12.12",
"@superset-ui/query": "0.12.12",
"@superset-ui/time-format": "0.12.12",
"@superset-ui/translation": "0.12.12"
"@superset-ui/translation": "0.12.12",
"@superset-ui/validator": "0.12.12"
}
}
1 change: 1 addition & 0 deletions packages/superset-ui-superset-ui/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,3 +8,4 @@ export * from '@superset-ui/number-format';
export * from '@superset-ui/query';
export * from '@superset-ui/time-format';
export * from '@superset-ui/translation';
export * from '@superset-ui/validator';
4 changes: 4 additions & 0 deletions packages/superset-ui-superset-ui/test/index.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ import {
buildQueryContext,
getTimeFormatterRegistry,
t,
validateInteger,
} from '../src';

describe('@superset-ui/superset-ui', () => {
Expand Down Expand Up @@ -42,4 +43,7 @@ describe('@superset-ui/superset-ui', () => {
it('should export @superset-ui/translation', () => {
expect(t).toBeDefined();
});
it('should export @superset-ui/validator', () => {
expect(validateInteger).toBeDefined();
});
});

0 comments on commit a62ce13

Please sign in to comment.