Skip to content
Open
Show file tree
Hide file tree
Changes from 6 commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
The diff you're trying to view is too large. We only load the first 3000 changed files.
9 changes: 9 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,15 @@ review-*.md
*.review.md
*.tgz

# react-compiler-oxc port tooling: temporary oracle-dump scripts that the
# parity harness writes into packages/react-compiler/ (and elsewhere) at
# runtime to capture TS-compiler reference output. Never commit these.
*-oracle.mjs

# Scratch fixtures from the react-compiler-oxc CFG-outline experiments.
/example.tsx
/example-cfg.txt

# Track repository-owned agent skills, but keep other local agent state out.
/.agents/*
!/.agents/skills/
Expand Down
5 changes: 5 additions & 0 deletions .prettierignore
Original file line number Diff line number Diff line change
Expand Up @@ -11,5 +11,10 @@ node_modules/
# committed file stays byte-identical to its source (no formatter round-trip).
packages/website/public/schema/config.json

# Vendored React Compiler source — kept verbatim from facebook/react in
# upstream (Meta) style so it can be re-synced cleanly. Repo-owned config
# files (package.json, tsconfig.json, vite.config.ts) are still formatted.
packages/react-compiler/src/

# Lockfiles handled by their own tooling
pnpm-lock.yaml
6 changes: 4 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
"scripts": {
"dev": "turbo run dev --filter=react-doctor",
"build": "turbo run build",
"test": "turbo run test --filter=react-doctor --filter=@react-doctor/core --filter=@react-doctor/api",
"test": "turbo run test --filter=react-doctor --filter=@react-doctor/core --filter=@react-doctor/api --filter=babel-plugin-react-compiler",
"test:public-react-repos": "REACT_DOCTOR_PUBLIC_REPOS=1 vp test run packages/react-doctor/tests/public-react-repos.test.ts",
"typecheck": "turbo run typecheck",
"lint": "vp lint",
Expand Down Expand Up @@ -53,7 +53,9 @@
],
"overrides": {
"oxlint": "^1.66.0",
"oxlint-tsgolint": "^0.23.0"
"oxlint-tsgolint": "^0.23.0",
"semver": "7.7.4",
"@babel/types": "7.26.3"
}
}
}
10 changes: 10 additions & 0 deletions packages/react-compiler-oxc/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
# Cargo build output (~GBs of artifacts).
/target

# rustfmt backups.
**/*.rs.bk

# NOTE: Cargo.lock IS intentionally committed — this crate ships a binary
# (and the parity harness), so the lockfile is part of the reproducible build.
# tests/fixtures/** are committed oracle reference dumps (the parity ground
# truth) — do not ignore them.
363 changes: 363 additions & 0 deletions packages/react-compiler-oxc/ARCHITECTURE.md

Large diffs are not rendered by default.

Loading
Loading