@xyd-js/sources 0.0.0-build

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (97) hide show
  1. package/CHANGELOG.md +9 -0
  2. package/ISSUES.md +10 -0
  3. package/LICENSE +21 -0
  4. package/README.md +3 -0
  5. package/TODO.md +9 -0
  6. package/__fixtures__/-1.typescript/package.json +5 -0
  7. package/__fixtures__/-1.typescript/src/index.ts +0 -0
  8. package/__fixtures__/-1.typescript/src/settings.ts +592 -0
  9. package/__fixtures__/-1.typescript/tsconfig.json +8 -0
  10. package/__fixtures__/-2.react.basic/1.flat-interface.output.json +114 -0
  11. package/__fixtures__/-2.react.basic/2.file-connect-interface.output.json +60 -0
  12. package/__fixtures__/-2.react.basic/2a.file-connect-interface-advanced.output.json +92 -0
  13. package/__fixtures__/-2.react.basic/3.props-as-variants.output.json +166 -0
  14. package/__fixtures__/-2.react.basic/4.outside-interface.output.json +60 -0
  15. package/__fixtures__/-2.react.basic/5.inline-props.output.json +60 -0
  16. package/__fixtures__/-2.react.basic/5.outside-inline-props.output.json +60 -0
  17. package/__fixtures__/-2.react.basic/5a.inline-props+outside.output.json +60 -0
  18. package/__fixtures__/-2.react.basic/5b.inline-props+interfaces.output.json +92 -0
  19. package/__fixtures__/-2.react.basic/package.json +4 -0
  20. package/__fixtures__/-2.react.basic/src/1.flat-interface.tsx +41 -0
  21. package/__fixtures__/-2.react.basic/src/2.file-connect-interface.tsx +28 -0
  22. package/__fixtures__/-2.react.basic/src/2a.file-connect-interace+advanced.tsx +54 -0
  23. package/__fixtures__/-2.react.basic/src/3.props-as-variants.tsx +67 -0
  24. package/__fixtures__/-2.react.basic/src/4.outside-interface.tsx +13 -0
  25. package/__fixtures__/-2.react.basic/src/4.outside-interface2.ts +15 -0
  26. package/__fixtures__/-2.react.basic/src/5.inline-props.tsx +19 -0
  27. package/__fixtures__/-2.react.basic/src/5a.inline-props+outside.tsx +19 -0
  28. package/__fixtures__/-2.react.basic/src/5b.inline-props+interfaces.tsx +62 -0
  29. package/__fixtures__/-2.react.basic/src/index.ts +0 -0
  30. package/__fixtures__/-2.react.basic/tsconfig.json +8 -0
  31. package/__tests__/sourcesToUniform.test.ts +167 -0
  32. package/__tests__/testResolvePropertySymbol.ts +838 -0
  33. package/__tests__/types.ts +12 -0
  34. package/__tests__/utils.ts +108 -0
  35. package/dist/index.cjs +2 -0
  36. package/dist/index.cjs.map +1 -0
  37. package/dist/index.d.cts +2 -0
  38. package/dist/index.d.ts +2 -0
  39. package/dist/index.js +1 -0
  40. package/dist/index.js.map +1 -0
  41. package/dist/react.cjs +237 -0
  42. package/dist/react.cjs.map +1 -0
  43. package/dist/react.d.cts +6 -0
  44. package/dist/react.d.ts +6 -0
  45. package/dist/react.js +212 -0
  46. package/dist/react.js.map +1 -0
  47. package/dist/ts.cjs +1794 -0
  48. package/dist/ts.cjs.map +1 -0
  49. package/dist/ts.d.cts +14 -0
  50. package/dist/ts.d.ts +14 -0
  51. package/dist/ts.js +1760 -0
  52. package/dist/ts.js.map +1 -0
  53. package/package.json +41 -0
  54. package/packages/react/index.ts +1 -0
  55. package/packages/react/uniformToReactUniform.ts +275 -0
  56. package/packages/ts/SignatureText.ts +233 -0
  57. package/packages/ts/TypeDocTransformer.ts +1519 -0
  58. package/packages/ts/__fixtures__/packages/package-a/package.json +4 -0
  59. package/packages/ts/__fixtures__/packages/package-a/src/index.ts +56 -0
  60. package/packages/ts/__fixtures__/packages/package-a/tsconfig.json +23 -0
  61. package/packages/ts/__fixtures__/packages/package-b/package.json +7 -0
  62. package/packages/ts/__fixtures__/packages/package-b/src/billing.ts +193 -0
  63. package/packages/ts/__fixtures__/packages/package-b/src/index.ts +8 -0
  64. package/packages/ts/__fixtures__/packages/package-b/tsconfig.json +20 -0
  65. package/packages/ts/__fixtures__/packages2/package-a/package.json +4 -0
  66. package/packages/ts/__fixtures__/packages2/package-a/src/index.ts +496 -0
  67. package/packages/ts/__fixtures__/packages2/package-a/tsconfig.json +6 -0
  68. package/packages/ts/__fixtures__/packages3/package-a/package.json +4 -0
  69. package/packages/ts/__fixtures__/packages3/package-a/src/index.ts +488 -0
  70. package/packages/ts/__fixtures__/packages3/package-a/tsconfig.json +6 -0
  71. package/packages/ts/__fixtures__/packages3/project.json +171 -0
  72. package/packages/ts/__fixtures__/react/react-a/package.json +5 -0
  73. package/packages/ts/__fixtures__/react/react-a/src/TestAbc.tsx +90 -0
  74. package/packages/ts/__fixtures__/react/react-a/src/TestBasic.tsx +27 -0
  75. package/packages/ts/__fixtures__/react/react-a/src/TestNamedParameters.tsx +27 -0
  76. package/packages/ts/__fixtures__/react/react-a/src/TestNamedParameters2.tsx +26 -0
  77. package/packages/ts/__fixtures__/react/react-a/src/TestUnion.tsx +32 -0
  78. package/packages/ts/__fixtures__/react/react-a/src/index.ts +1 -0
  79. package/packages/ts/__fixtures__/react/react-a/tsconfig.json +8 -0
  80. package/packages/ts/__fixtures__/references-output-project.json +344 -0
  81. package/packages/ts/__fixtures__/references-output-react.json +68 -0
  82. package/packages/ts/__fixtures__/references-output.json +129 -0
  83. package/packages/ts/__tests__/sourcesToUniform.test.ts +106 -0
  84. package/packages/ts/context.ts +0 -0
  85. package/packages/ts/converterts/ts-class.ts +0 -0
  86. package/packages/ts/converterts/ts-enum.ts +0 -0
  87. package/packages/ts/converterts/ts-function.ts +0 -0
  88. package/packages/ts/converterts/ts-interface.ts +0 -0
  89. package/packages/ts/converterts/ts-type.ts +0 -0
  90. package/packages/ts/index.ts +129 -0
  91. package/packages/ts/ts-core.ts +0 -0
  92. package/packages/ts/uniformToMiniUniform.ts +486 -0
  93. package/src/index.ts +0 -0
  94. package/test-cmd/index.ts +62 -0
  95. package/tsconfig.json +38 -0
  96. package/tsup.config.ts +39 -0
  97. package/vitest.config.ts +34 -0
@@ -0,0 +1,92 @@
1
+ [
2
+ {
3
+ "title": "Text",
4
+ "canonical": "@xyd-js/sources/components/Text",
5
+ "description": "A flexible text component that supports different sizes, styles, and weights.\n",
6
+ "context": {
7
+ "symbolId": "107",
8
+ "symbolName": "Text",
9
+ "symbolKind": 64,
10
+ "packageName": "5b.inline-props+interfaces",
11
+ "fileName": "5b.inline-props+interfaces.tsx",
12
+ "fileFullPath": "__fixtures__/-2.react.basic/src/5b.inline-props+interfaces.tsx",
13
+ "line": 47,
14
+ "col": 16,
15
+ "signatureText": {
16
+ "code": "",
17
+ "lang": "ts"
18
+ },
19
+ "sourcecode": {
20
+ "code": "",
21
+ "lang": "ts"
22
+ },
23
+ "category": "Component",
24
+ "group": [
25
+ "@xyd-js",
26
+ "sources",
27
+ "Component"
28
+ ]
29
+ },
30
+ "examples": {
31
+ "groups": []
32
+ },
33
+ "definitions": [
34
+ {
35
+ "title": "Props",
36
+ "properties": [
37
+ {
38
+ "name": "size",
39
+ "type": "\"xsmall\" | \"small\" | \"medium\" | \"large\" | \"xlarge\" | \"xxlarge\"",
40
+ "description": "Font size of the text\n",
41
+ "symbolDef": {
42
+ "id": "110"
43
+ }
44
+ },
45
+ {
46
+ "name": "kind",
47
+ "type": "\"default\" | \"ghost\" | \"success\" | \"warn\" | \"error\" | \"primary\" | \"secondary\"",
48
+ "description": "Visual style/kind of the text\n",
49
+ "symbolDef": {
50
+ "id": "111"
51
+ }
52
+ },
53
+ {
54
+ "name": "weight",
55
+ "type": "\"normal\" | \"bold\" | \"extra-bold\"",
56
+ "description": "Font weight of the text\n",
57
+ "symbolDef": {
58
+ "id": "112"
59
+ }
60
+ },
61
+ {
62
+ "name": "children",
63
+ "type": "React.ReactNode",
64
+ "description": "Content to be rendered inside the text component\n"
65
+ },
66
+ {
67
+ "name": "className",
68
+ "type": "string",
69
+ "description": "Additional CSS class name\n"
70
+ },
71
+ {
72
+ "name": "id",
73
+ "type": "string",
74
+ "description": "HTML id attribute\n"
75
+ },
76
+ {
77
+ "name": "onClick",
78
+ "type": "",
79
+ "description": "Click event handler\n",
80
+ "properties": []
81
+ }
82
+ ],
83
+ "meta": [
84
+ {
85
+ "name": "type",
86
+ "value": "parameters"
87
+ }
88
+ ]
89
+ }
90
+ ]
91
+ }
92
+ ]
@@ -0,0 +1,4 @@
1
+ {
2
+ "main": "dist/index.js"
3
+ }
4
+
@@ -0,0 +1,41 @@
1
+ /**
2
+ * Props for the GuideCard component
3
+ */
4
+ export interface GuideCardProps {
5
+ /** Content to be displayed in the card body */
6
+ children: React.ReactNode;
7
+
8
+ /** URL the card links to */
9
+ href: string
10
+
11
+ /** Title displayed at the top of the card */
12
+ title: string;
13
+
14
+ /** Optional icon displayed to the left of the content */
15
+ icon?: React.ReactNode;
16
+
17
+ /** Visual style variant of the card */
18
+ kind?: "secondary"
19
+
20
+ /** Size variant of the card */
21
+ size?: "sm" | "md"
22
+
23
+ /** Additional CSS class names to apply to the card */
24
+ className?: string
25
+
26
+ /** Additional props to pass to the link element */
27
+ as?: React.ElementType
28
+ }
29
+
30
+ /**
31
+ * A card component that displays content with a title and optional icon.
32
+ * The entire card is clickable and links to the specified URL.
33
+ *
34
+ * @category Component
35
+ */
36
+ export function GuideCard(props: GuideCardProps) {
37
+ return <div>
38
+ {props.children}
39
+ </div>
40
+ }
41
+
@@ -0,0 +1,28 @@
1
+ /**
2
+ * Kind of card style to apply.
3
+ */
4
+ export type Kind = "primary" | "secondary"
5
+
6
+ /**
7
+ * Props for the GuideCard component
8
+ */
9
+ export interface GuideCardProps {
10
+ /** Content to be displayed in the card body */
11
+ children: React.ReactNode;
12
+
13
+ /** Visual style variant of the card */
14
+ kind?: Kind
15
+ }
16
+
17
+ /**
18
+ * A card component that displays content with a title and optional icon.
19
+ * The entire card is clickable and links to the specified URL.
20
+ *
21
+ * @category Component
22
+ */
23
+ export function GuideCard(props: GuideCardProps) {
24
+ return <div>
25
+ {props.children}
26
+ </div>
27
+ }
28
+
@@ -0,0 +1,54 @@
1
+ /**
2
+ * Available font sizes for the Text component
3
+ */
4
+ export type TextFontSizes = "xsmall" | "small" | "medium" | "large" | "xlarge" | "xxlarge";
5
+
6
+ /**
7
+ * Available text styles/kinds for the Text component
8
+ */
9
+ export type TextKindTypes = "default" | "ghost" | "success" | "warn" | "error" | "primary" | "secondary";
10
+
11
+ /**
12
+ * Available font weights for the Text component
13
+ */
14
+ export type TextFontWeights = "normal" | "bold" | "extra-bold";
15
+
16
+ /**
17
+ * Props for the Text component
18
+ */
19
+ export interface TextProps {
20
+ /** Font size of the text */
21
+ size?: TextFontSizes
22
+
23
+ /** Visual style/kind of the text */
24
+ kind?: TextKindTypes
25
+
26
+ /** Font weight of the text */
27
+ weight?: TextFontWeights
28
+
29
+ /** Content to be rendered inside the text component */
30
+ children?: React.ReactNode
31
+
32
+ /** Additional CSS class name */
33
+ className?: string
34
+
35
+ /** HTML id attribute */
36
+ id?: string
37
+
38
+ /** Click event handler */
39
+ onClick?: () => void
40
+ }
41
+
42
+ /**
43
+ * A flexible text component that supports different sizes, styles, and weights.
44
+ *
45
+ * @category Component
46
+ */
47
+ export function Text(props: TextProps) {
48
+ return (
49
+ <p>
50
+ {props.children}
51
+ </p>
52
+ )
53
+ }
54
+
@@ -0,0 +1,67 @@
1
+ /**
2
+ * Base interface for all Details component variants
3
+ */
4
+ export interface BaseDetailsProps {
5
+ /** Content to be displayed inside the details element */
6
+ children: React.ReactNode;
7
+
8
+ /** Label text displayed in the summary */
9
+ label: string;
10
+
11
+ /** Optional icon element to be displayed in the summary */
12
+ icon?: React.ReactElement;
13
+
14
+ /** Optional CSS class name for custom styling */
15
+ className?: string;
16
+ }
17
+
18
+ /**
19
+ * Props for the tertiary variant of the Details component
20
+ */
21
+ export interface TertiaryDetailsProps extends BaseDetailsProps {
22
+ /** Specifies the tertiary variant */
23
+ kind: "tertiary";
24
+
25
+ /** Title text or element displayed in the summary */
26
+ title: string | React.ReactNode;
27
+ }
28
+
29
+ /**
30
+ * Props for the secondary variant of the Details component
31
+ */
32
+ export interface SecondaryDetailsProps extends BaseDetailsProps {
33
+ /** Specifies the secondary variant */
34
+ kind: "secondary";
35
+
36
+ /** Title text or element displayed in the summary */
37
+ title: string | React.ReactNode;
38
+ }
39
+
40
+ /**
41
+ * Props for the primary variant of the Details component
42
+ */
43
+ export interface PrimaryDetailsProps extends BaseDetailsProps {
44
+ /** Specifies the primary variant (default) */
45
+ kind?: "primary";
46
+ }
47
+
48
+ /** Union type of all possible Details component variants */
49
+ export type DetailsProps = PrimaryDetailsProps | SecondaryDetailsProps | TertiaryDetailsProps
50
+
51
+ /**
52
+ * A collapsible details component that supports three variants: primary, secondary, and tertiary.
53
+ * Each variant has a different visual style and structure.
54
+ *
55
+ * @param props - The component props
56
+ * @returns A details element with collapsible content
57
+ *
58
+ * @category Component
59
+ */
60
+ export function Details(props: DetailsProps): React.ReactElement {
61
+ return <div>
62
+ {props.children}
63
+ </div>
64
+ }
65
+
66
+
67
+
@@ -0,0 +1,13 @@
1
+ import type {GuideCardProps} from "./4.outside-interface2";
2
+
3
+ /**
4
+ * A card component that displays content with a title and optional icon.
5
+ * The entire card is clickable and links to the specified URL.
6
+ *
7
+ * @category Component
8
+ */
9
+ export function GuideCard(props: GuideCardProps) {
10
+ return <div>
11
+ {props.children}
12
+ </div>
13
+ }
@@ -0,0 +1,15 @@
1
+ /**
2
+ * Kind of card style to apply.
3
+ */
4
+ export type Kind = "primary" | "secondary"
5
+
6
+ /**
7
+ * Props for the GuideCard component
8
+ */
9
+ export interface GuideCardProps {
10
+ /** Content to be displayed in the card body */
11
+ children: React.ReactNode;
12
+
13
+ /** Visual style variant of the card */
14
+ kind?: Kind
15
+ }
@@ -0,0 +1,19 @@
1
+ export type Kind = "primary" | "secondary";
2
+
3
+ /**
4
+ * A card component that displays content with a title and optional icon.
5
+ * The entire card is clickable and links to the specified URL.
6
+ *
7
+ * @category Component
8
+ */
9
+ export function GuideCard({children, kind = "primary"}: {
10
+ /** Content to be displayed in the card body */
11
+ children: React.ReactNode;
12
+
13
+ /** Visual style variant of the card */
14
+ kind?: Kind
15
+ }) {
16
+ return <div>
17
+ {children}
18
+ </div>
19
+ }
@@ -0,0 +1,19 @@
1
+ import {Kind} from "./4.outside-interface2";
2
+
3
+ /**
4
+ * A card component that displays content with a title and optional icon.
5
+ * The entire card is clickable and links to the specified URL.
6
+ *
7
+ * @category Component
8
+ */
9
+ export function GuideCard({children, kind = "primary"}: {
10
+ /** Content to be displayed in the card body */
11
+ children: React.ReactNode;
12
+
13
+ /** Visual style variant of the card */
14
+ kind?: Kind
15
+ }) {
16
+ return <div>
17
+ {children}
18
+ </div>
19
+ }
@@ -0,0 +1,62 @@
1
+ /**
2
+ * Available font sizes for the Text component
3
+ */
4
+ export type TextFontSizes = "xsmall" | "small" | "medium" | "large" | "xlarge" | "xxlarge";
5
+
6
+ /**
7
+ * Available text styles/kinds for the Text component
8
+ */
9
+ export type TextKindTypes = "default" | "ghost" | "success" | "warn" | "error" | "primary" | "secondary";
10
+
11
+ /**
12
+ * Available font weights for the Text component
13
+ */
14
+ export type TextFontWeights = "normal" | "bold" | "extra-bold";
15
+
16
+ /**
17
+ * Props for the Text component
18
+ */
19
+ export interface TextProps {
20
+ /** Font size of the text */
21
+ size?: TextFontSizes
22
+
23
+ /** Visual style/kind of the text */
24
+ kind?: TextKindTypes
25
+
26
+ /** Font weight of the text */
27
+ weight?: TextFontWeights
28
+
29
+ /** Content to be rendered inside the text component */
30
+ children?: React.ReactNode
31
+
32
+ /** Additional CSS class name */
33
+ className?: string
34
+
35
+ /** HTML id attribute */
36
+ id?: string
37
+
38
+ /** Click event handler */
39
+ onClick?: () => void
40
+ }
41
+
42
+ /**
43
+ * A flexible text component that supports different sizes, styles, and weights.
44
+ *
45
+ * @category Component
46
+ */
47
+ export function Text({
48
+ size = "medium",
49
+ kind = "default",
50
+ weight = "normal",
51
+ children,
52
+ className,
53
+ id,
54
+ onClick
55
+ }: TextProps) {
56
+ return (
57
+ <div>
58
+ {children}
59
+ </div>
60
+ )
61
+ }
62
+
File without changes
@@ -0,0 +1,8 @@
1
+ {
2
+ "compilerOptions": {
3
+ "outDir": "./dist",
4
+ "jsx": "react-jsx",
5
+ "skipLibCheck": true
6
+ }
7
+ }
8
+
@@ -0,0 +1,167 @@
1
+ import {describe, expect, it} from 'vitest'
2
+
3
+ import type {Test} from "./types";
4
+ import {testSourcesToUniform} from "./utils";
5
+
6
+ const TEST_DEBUG = true || Boolean(process.env.TEST_DEBUG);
7
+ const FORCE_SAVE = TEST_DEBUG || process.env.FORCE_SAFE === "true";
8
+ const SAVE_UNIFORM = TEST_DEBUG || process.env.SAVE_UNIFORM === "true";
9
+ const SAVE_TYPEDOC = TEST_DEBUG || process.env.SAVE_UNIFORM === "true";
10
+
11
+ // TODO: tests in the future
12
+
13
+ const tests: Test[] = [
14
+ // {
15
+ // id: "1.settings",
16
+ // file: "-1.typescript",
17
+ // description: "TypeScript: example",
18
+ // miniUniformRoot: "Settings",
19
+ // entryPoints: [
20
+ // "src/settings.ts"
21
+ // ],
22
+ // forceSave: FORCE_SAVE,
23
+ // saveUniform: SAVE_UNIFORM,
24
+ // saveTypedoc: SAVE_TYPEDOC,
25
+ // multiOutput: true
26
+ // },
27
+ // {
28
+ // id: "1.settings",
29
+ // file: "-1.typescript",
30
+ // description: "TypeScript: example",
31
+ // miniUniformRoot: "Metadata",
32
+ // entryPoints: [
33
+ // "src/settings2.ts"
34
+ // ],
35
+ // forceSave: FORCE_SAVE,
36
+ // saveUniform: SAVE_UNIFORM,
37
+ // saveTypedoc: SAVE_TYPEDOC,
38
+ // multiOutput: true
39
+ // },
40
+
41
+ {
42
+ id: "1.flat-interface",
43
+ file: "-2.react.basic",
44
+ description: "React basic: flat interface",
45
+ react: true,
46
+ entryPoints: [
47
+ "src/1.flat-interface.tsx"
48
+ ],
49
+ // forceSave: FORCE_SAVE,
50
+ // saveUniform: SAVE_UNIFORM,
51
+ // saveTypedoc: SAVE_TYPEDOC,
52
+ multiOutput: true
53
+ },
54
+ //
55
+ // {
56
+ // id: "2.file-connect-interface",
57
+ // file: "-2.react.basic",
58
+ // description: "React basic: file connect interface",
59
+ // react: true,
60
+ // entryPoints: [
61
+ // "src/2.file-connect-interface.tsx"
62
+ // ],
63
+ // forceSave: FORCE_SAVE,
64
+ // saveUniform: SAVE_UNIFORM,
65
+ // saveTypedoc: SAVE_TYPEDOC,
66
+ // multiOutput: true
67
+ // },
68
+ // {
69
+ // id: "2a.file-connect-interface-advanced",
70
+ // file: "-2.react.basic",
71
+ // description: "React basic: file connect interface advanced",
72
+ // react: true,
73
+ // entryPoints: [
74
+ // "src/2a.file-connect-interace+advanced.tsx"
75
+ // ],
76
+ // forceSave: FORCE_SAVE,
77
+ // saveUniform: SAVE_UNIFORM,
78
+ // saveTypedoc: SAVE_TYPEDOC,
79
+ // multiOutput: true
80
+ // },
81
+ //
82
+ // {
83
+ // id: "3.props-as-variants",
84
+ // file: "-2.react.basic",
85
+ // description: "React basic: props as variants",
86
+ // react: true,
87
+ // entryPoints: [
88
+ // "src/3.props-as-variants.tsx"
89
+ // ],
90
+ // forceSave: FORCE_SAVE,
91
+ // saveUniform: SAVE_UNIFORM,
92
+ // saveTypedoc: SAVE_TYPEDOC,
93
+ // multiOutput: true
94
+ // },
95
+ //
96
+ // {
97
+ // id: "4.outside-interface",
98
+ // file: "-2.react.basic",
99
+ // description: "React basic: outside interface",
100
+ // react: true,
101
+ // entryPoints: [
102
+ // "src/4.outside-interface.tsx"
103
+ // ],
104
+ // forceSave: FORCE_SAVE,
105
+ // saveUniform: SAVE_UNIFORM,
106
+ // saveTypedoc: SAVE_TYPEDOC,
107
+ // multiOutput: true
108
+ // },
109
+ //
110
+ // {
111
+ // id: "5.inline-props",
112
+ // file: "-2.react.basic",
113
+ // description: "React basic: inline props",
114
+ // react: true,
115
+ // entryPoints: [
116
+ // "src/5.inline-props.tsx"
117
+ // ],
118
+ // forceSave: FORCE_SAVE,
119
+ // saveUniform: SAVE_UNIFORM,
120
+ // saveTypedoc: SAVE_TYPEDOC,
121
+ // multiOutput: true
122
+ // },
123
+ // {
124
+ // id: "5a.inline-props+outside",
125
+ // file: "-2.react.basic",
126
+ // description: "React basic: inline props + outside",
127
+ // react: true,
128
+ // entryPoints: [
129
+ // "src/5a.inline-props+outside.tsx"
130
+ // ],
131
+ // forceSave: FORCE_SAVE,
132
+ // saveUniform: SAVE_UNIFORM,
133
+ // saveTypedoc: SAVE_TYPEDOC,
134
+ // multiOutput: true
135
+ // },
136
+ // {
137
+ // id: "5b.inline-props+interfaces",
138
+ // file: "-2.react.basic",
139
+ // description: "React basic: inline prop + interfaces",
140
+ // react: true,
141
+ // entryPoints: [
142
+ // "src/5b.inline-props+interfaces.tsx"
143
+ // ],
144
+ // forceSave: FORCE_SAVE,
145
+ // saveUniform: SAVE_UNIFORM,
146
+ // saveTypedoc: SAVE_TYPEDOC,
147
+ // multiOutput: true
148
+ // },
149
+ ]
150
+
151
+ // describe("sourcesToUniform", () => {
152
+ // tests.forEach((test) => {
153
+ // it(`[${test.id} (${test.file})]: ${test.description}`, async () => {
154
+ // await testSourcesToUniform(test);
155
+ // });
156
+ // });
157
+ // });
158
+
159
+ describe("sourcesToUniform TODO", () => {
160
+ it("TODO", async () => {
161
+ // for (const test of tests) {
162
+ // await testSourcesToUniform(test);
163
+ // }
164
+
165
+ // expect(true).toBe(true)
166
+ })
167
+ })