Skip to content

Commit d46f911

Browse files
committed
[compiler] Scaffold fixture library
Scaffolds a library to test backwards compatibility with the compiler enabled
1 parent 85ae209 commit d46f911

File tree

4 files changed

+1691
-0
lines changed

4 files changed

+1691
-0
lines changed
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Reference library compiled with React Compiler.
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
throw new Error('Not implemented yet');
Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
{
2+
"name": "runtime-compat-lib",
3+
"version": "0.0.0",
4+
"description": "Testing ground for libraries compiled with React Compiler",
5+
"main": "index.js",
6+
"scripts": {
7+
"test": "echo 'no tests'"
8+
},
9+
"license": "MIT",
10+
"devDependencies": {
11+
"@babel/cli": "^7.25.7",
12+
"@babel/core": "^7.25.7",
13+
"@babel/preset-env": "^7.25.7",
14+
"babel-plugin-react-compiler": "0.0.0-experimental-58c2b1c-20241009"
15+
},
16+
"dependencies": {
17+
"react-compiler-runtime": "0.0.0-experimental-8d8e73f-20241009"
18+
}
19+
}

0 commit comments

Comments
 (0)