Skip to content

Commit e9241fa

Browse files
committed
Initialize Doxy project with core files and configurations
- Added .gitignore to exclude node_modules, dist, and cache files. - Created package.json and package-lock.json for project dependencies and scripts. - Introduced TypeScript configuration (tsconfig.json) for strict type checking and output settings. - Set up ESLint configuration for code quality checks. - Added initial CLI and core logic structure in the src directory. - Included authority data for React and ReactDOM APIs. - Created fixtures for testing various scenarios, including deprecated and future APIs. - Established Vitest configuration for running tests. - Documented project overview and architecture in CLAUDE.md.
0 parents  commit e9241fa

84 files changed

Lines changed: 10280 additions & 0 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.claude/settings.local.json

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
{
2+
"permissions": {
3+
"allow": [
4+
"Bash(npm install)",
5+
"Bash(npx tsc:*)",
6+
"Bash(npx eslint:*)",
7+
"Bash(npx vitest run)",
8+
"Bash(npx vitest:*)",
9+
"Bash(npm run check:*)",
10+
"mcp__plugin_context7_context7__resolve-library-id",
11+
"Bash(node -e:*)"
12+
]
13+
}
14+
}

.gitignore

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
node_modules/
2+
dist/
3+
.doxy/cache/
4+
*.tsbuildinfo

CLAUDE.md

Lines changed: 446 additions & 0 deletions
Large diffs are not rendered by default.

authority-data/manifest.json

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
{
2+
"schemaVersion": 1,
3+
"dataVersion": "0.1.0",
4+
"packages": [
5+
{
6+
"name": "react",
7+
"latestMappedVersion": "19.0.0",
8+
"specFile": "react/react.json"
9+
},
10+
{
11+
"name": "react-dom",
12+
"latestMappedVersion": "19.0.0",
13+
"specFile": "react-dom/react-dom.json"
14+
}
15+
]
16+
}
Lines changed: 187 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,187 @@
1+
{
2+
"schemaVersion": 1,
3+
"package": "react-dom",
4+
"specs": [
5+
{
6+
"package": "react-dom",
7+
"export": "createRoot",
8+
"kind": "function",
9+
"availableIn": ">=18.0.0",
10+
"signatures": [
11+
{
12+
"since": "18.0.0",
13+
"minArity": 1,
14+
"maxArity": 2,
15+
"params": [
16+
{ "name": "container", "required": true, "description": "DOM element to render into" },
17+
{ "name": "options", "required": false, "description": "Configuration options" }
18+
]
19+
}
20+
],
21+
"deprecations": [],
22+
"docsUrl": "https://react.dev/reference/react-dom/client/createRoot"
23+
},
24+
{
25+
"package": "react-dom",
26+
"export": "hydrateRoot",
27+
"kind": "function",
28+
"availableIn": ">=18.0.0",
29+
"signatures": [
30+
{
31+
"since": "18.0.0",
32+
"minArity": 2,
33+
"maxArity": 3,
34+
"params": [
35+
{ "name": "domNode", "required": true, "description": "DOM element to hydrate" },
36+
{ "name": "reactNode", "required": true, "description": "React node to hydrate with" },
37+
{ "name": "options", "required": false, "description": "Configuration options" }
38+
]
39+
}
40+
],
41+
"deprecations": [],
42+
"docsUrl": "https://react.dev/reference/react-dom/client/hydrateRoot"
43+
},
44+
{
45+
"package": "react-dom",
46+
"export": "render",
47+
"kind": "function",
48+
"availableIn": ">=0.14.0 <19.0.0",
49+
"signatures": [
50+
{
51+
"since": "0.14.0",
52+
"until": "19.0.0",
53+
"minArity": 2,
54+
"maxArity": 3,
55+
"params": [
56+
{ "name": "element", "required": true, "description": "React element to render" },
57+
{ "name": "container", "required": true, "description": "DOM element to render into" },
58+
{ "name": "callback", "required": false, "description": "Callback after render" }
59+
]
60+
}
61+
],
62+
"deprecations": [
63+
{
64+
"since": "18.0.0",
65+
"removedIn": "19.0.0",
66+
"message": "react-dom.render is deprecated. Use createRoot().render() instead.",
67+
"replacement": {
68+
"package": "react-dom",
69+
"export": "createRoot",
70+
"migrationHint": "Replace ReactDOM.render(el, container) with createRoot(container).render(el)."
71+
}
72+
}
73+
],
74+
"docsUrl": "https://react.dev/reference/react-dom/render"
75+
},
76+
{
77+
"package": "react-dom",
78+
"export": "hydrate",
79+
"kind": "function",
80+
"availableIn": ">=16.0.0 <19.0.0",
81+
"signatures": [
82+
{
83+
"since": "16.0.0",
84+
"until": "19.0.0",
85+
"minArity": 2,
86+
"maxArity": 3,
87+
"params": [
88+
{ "name": "element", "required": true, "description": "React element to hydrate" },
89+
{ "name": "container", "required": true, "description": "DOM element to hydrate into" },
90+
{ "name": "callback", "required": false, "description": "Callback after hydration" }
91+
]
92+
}
93+
],
94+
"deprecations": [
95+
{
96+
"since": "18.0.0",
97+
"removedIn": "19.0.0",
98+
"message": "react-dom.hydrate is deprecated. Use hydrateRoot() instead.",
99+
"replacement": {
100+
"package": "react-dom",
101+
"export": "hydrateRoot",
102+
"migrationHint": "Replace ReactDOM.hydrate(el, container) with hydrateRoot(container, el)."
103+
}
104+
}
105+
],
106+
"docsUrl": "https://react.dev/reference/react-dom/hydrate"
107+
},
108+
{
109+
"package": "react-dom",
110+
"export": "findDOMNode",
111+
"kind": "function",
112+
"availableIn": ">=0.14.0 <19.0.0",
113+
"signatures": [
114+
{
115+
"since": "0.14.0",
116+
"until": "19.0.0",
117+
"minArity": 1,
118+
"maxArity": 1,
119+
"params": [
120+
{ "name": "componentInstance", "required": true, "description": "Class component instance" }
121+
]
122+
}
123+
],
124+
"deprecations": [
125+
{
126+
"since": "16.6.0",
127+
"removedIn": "19.0.0",
128+
"message": "react-dom.findDOMNode is deprecated. Use refs instead.",
129+
"replacement": {
130+
"package": "react",
131+
"export": "createRef",
132+
"migrationHint": "Use React.createRef() or useRef() and attach to the element via the ref prop."
133+
}
134+
}
135+
],
136+
"docsUrl": "https://react.dev/reference/react-dom/findDOMNode"
137+
},
138+
{
139+
"package": "react-dom",
140+
"export": "unmountComponentAtNode",
141+
"kind": "function",
142+
"availableIn": ">=0.14.0 <19.0.0",
143+
"signatures": [
144+
{
145+
"since": "0.14.0",
146+
"until": "19.0.0",
147+
"minArity": 1,
148+
"maxArity": 1,
149+
"params": [
150+
{ "name": "container", "required": true, "description": "DOM element to unmount from" }
151+
]
152+
}
153+
],
154+
"deprecations": [
155+
{
156+
"since": "18.0.0",
157+
"removedIn": "19.0.0",
158+
"message": "react-dom.unmountComponentAtNode is deprecated. Use root.unmount() instead.",
159+
"replacement": {
160+
"package": "react-dom",
161+
"export": "createRoot",
162+
"migrationHint": "Use createRoot(container) then root.unmount() instead."
163+
}
164+
}
165+
],
166+
"docsUrl": "https://react.dev/reference/react-dom/unmountComponentAtNode"
167+
},
168+
{
169+
"package": "react-dom",
170+
"export": "flushSync",
171+
"kind": "function",
172+
"availableIn": ">=18.0.0",
173+
"signatures": [
174+
{
175+
"since": "18.0.0",
176+
"minArity": 1,
177+
"maxArity": 1,
178+
"params": [
179+
{ "name": "callback", "required": true, "description": "Function to flush synchronously" }
180+
]
181+
}
182+
],
183+
"deprecations": [],
184+
"docsUrl": "https://react.dev/reference/react-dom/flushSync"
185+
}
186+
]
187+
}

0 commit comments

Comments
 (0)