[compiler] Add git info to `package.json` files in compiler packages (#30475)
This PR adds the repository field to `compiler/packages/*/package.json` | eslint-plugin-react-compiler | eslint-plugin-react-hooks | | --- | --- | |  |  |
Ahmed Abdelbaset committed
Jul 26, 2024 at 19:56 UTC
f7ee804c2270b451087a697d181ef9f421e23f33
7 files changed
+29
-3
compiler/package.json
+1
-1
@@ -12,7 +12,7 @@
12
},
13
"repository": {
14
"type": "git",
15
- "url": "git+https://github.com/facebook/react-forget.git"
15
+ "url": "git+https://github.com/facebook/react.git"
16
},
17
"scripts": {
18
"copyright": "node scripts/copyright.js",
compiler/packages/babel-plugin-react-compiler/package.json
+5
@@ -63,5 +63,10 @@
63
"@babel/core": "7.2.0",
64
"@babel/generator": "7.2.0",
65
"@babel/traverse": "7.7.4"
66
+ },
67
+ "repository": {
68
+ "type": "git",
69
+ "url": "git+https://github.com/facebook/react.git",
70
+ "directory": "compiler/packages/babel-plugin-react-compiler"
71
}
72
}
compiler/packages/eslint-plugin-react-compiler/package.json
+5
@@ -35,5 +35,10 @@
35
"peerDependencies": {
36
"eslint": ">=7"
37
},
38
+ "repository": {
39
+ "type": "git",
40
+ "url": "git+https://github.com/facebook/react.git",
41
+ "directory": "compiler/packages/eslint-plugin-react-compiler"
42
+ },
43
"license": "MIT"
44
}
compiler/packages/make-read-only-util/package.json
+5
@@ -19,5 +19,10 @@
19
"jest": "^28.1.3",
20
"ts-jest": "^28.0.7",
21
"ts-node": "^10.9.2"
22
+ },
23
+ "repository": {
24
+ "type": "git",
25
+ "url": "git+https://github.com/facebook/react.git",
26
+ "directory": "compiler/packages/make-read-only-util"
27
}
28
}
compiler/packages/react-compiler-healthcheck/package.json
+6
-1
@@ -23,5 +23,10 @@
23
"engines": {
24
"node": "^14.17.0 || ^16.0.0 || >= 18.0.0"
25
},
26
- "license": "MIT"
26
+ "license": "MIT",
27
+ "repository": {
28
+ "type": "git",
29
+ "url": "git+https://github.com/facebook/react.git",
30
+ "directory": "compiler/packages/react-compiler-healthcheck"
31
+ }
32
}
compiler/packages/react-compiler-runtime/package.json
+5
@@ -14,5 +14,10 @@
14
"scripts": {
15
"build": "rimraf dist && rollup --config --bundleConfigAsCjs",
16
"test": "echo 'no tests'"
17
+ },
18
+ "repository": {
19
+ "type": "git",
20
+ "url": "git+https://github.com/facebook/react.git",
21
+ "directory": "compiler/packages/react-compiler-runtime"
22
}
23
}
compiler/packages/snap/package.json
+2
-1
@@ -15,7 +15,8 @@
15
},
16
"repository": {
17
"type": "git",
18
- "url": "git+https://github.com/facebook/react-forget.git"
18
+ "url": "git+https://github.com/facebook/react.git",
19
+ "directory": "compiler/packages/snap"
20
},
21
"dependencies": {
22
"@babel/code-frame": "^7.22.5",