Skip to content

Commit 4546987

Browse files
chore: refactor .dumi code folders (ant-design#53437)
Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
1 parent 9f19708 commit 4546987

File tree

28 files changed

+31
-528
lines changed

28 files changed

+31
-528
lines changed

.dumi/components/SelectSemanticTemplate.tsx renamed to .dumi/theme/common/SelectSemanticTemplate.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import React from 'react';
22

3-
import useLocale from '../hooks/useLocale';
3+
import useLocale from '../../hooks/useLocale';
44
import SemanticPreview from './SemanticPreview';
55

66
export const locales = {

.dumi/theme/utils/__tests__/runTests.ts

Lines changed: 0 additions & 107 deletions
This file was deleted.

.dumi/theme/utils/__tests__/tsToJs.test.ts

Lines changed: 0 additions & 93 deletions
This file was deleted.
Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,8 @@
1+
import semver from 'semver';
12
import flatten from 'lodash/flatten';
23
import flattenDeep from 'lodash/flattenDeep';
3-
import deprecatedVersions from '../../BUG_VERSIONS.json';
4-
import semver from 'semver';
5-
6-
import themeConfig from './themeConfig';
4+
import deprecatedVersions from '../../../BUG_VERSIONS.json';
5+
import themeConfig from '../themeConfig';
76

87
interface Meta {
98
skip?: boolean;

0 commit comments

Comments
 (0)