[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 |
| --- | --- |
|
![image](https://github.com/user-attachments/assets/3392a496-1ff1-4f36-ab96-cfbe1ed88693)
|
![image](https://github.com/user-attachments/assets/b0605dba-eef7-44fe-9484-979b4814d9fb)
|
This commit is contained in:
Ahmed Abdelbaset
2024-07-26 19:56:39 +03:00
committed by GitHub
parent c5f3a6f42f
commit f7ee804c22
7 changed files with 29 additions and 3 deletions

View File

@@ -12,7 +12,7 @@
},
"repository": {
"type": "git",
"url": "git+https://github.com/facebook/react-forget.git"
"url": "git+https://github.com/facebook/react.git"
},
"scripts": {
"copyright": "node scripts/copyright.js",

View File

@@ -63,5 +63,10 @@
"@babel/core": "7.2.0",
"@babel/generator": "7.2.0",
"@babel/traverse": "7.7.4"
},
"repository": {
"type": "git",
"url": "git+https://github.com/facebook/react.git",
"directory": "compiler/packages/babel-plugin-react-compiler"
}
}

View File

@@ -35,5 +35,10 @@
"peerDependencies": {
"eslint": ">=7"
},
"repository": {
"type": "git",
"url": "git+https://github.com/facebook/react.git",
"directory": "compiler/packages/eslint-plugin-react-compiler"
},
"license": "MIT"
}

View File

@@ -19,5 +19,10 @@
"jest": "^28.1.3",
"ts-jest": "^28.0.7",
"ts-node": "^10.9.2"
},
"repository": {
"type": "git",
"url": "git+https://github.com/facebook/react.git",
"directory": "compiler/packages/make-read-only-util"
}
}

View File

@@ -23,5 +23,10 @@
"engines": {
"node": "^14.17.0 || ^16.0.0 || >= 18.0.0"
},
"license": "MIT"
"license": "MIT",
"repository": {
"type": "git",
"url": "git+https://github.com/facebook/react.git",
"directory": "compiler/packages/react-compiler-healthcheck"
}
}

View File

@@ -14,5 +14,10 @@
"scripts": {
"build": "rimraf dist && rollup --config --bundleConfigAsCjs",
"test": "echo 'no tests'"
},
"repository": {
"type": "git",
"url": "git+https://github.com/facebook/react.git",
"directory": "compiler/packages/react-compiler-runtime"
}
}

View File

@@ -15,7 +15,8 @@
},
"repository": {
"type": "git",
"url": "git+https://github.com/facebook/react-forget.git"
"url": "git+https://github.com/facebook/react.git",
"directory": "compiler/packages/snap"
},
"dependencies": {
"@babel/code-frame": "^7.22.5",