mirror of
https://github.com/zhigang1992/create-react-app.git
synced 2026-04-24 05:05:53 +08:00
Add directory details to packages/* package.json (#6826)
Specifying the directory as part of the repository field in a package.json allows third party tools to provide better support when working with monorepos. For example, it allows them to correctly construct a commit diff for a specific package. This format was accepted by npm in [npm/rfcs#19](https://github.com/npm/rfcs/pull/19).
This commit is contained in:
committed by
Ian Schmitz
parent
207d9315b1
commit
ced3fd49ca
@@ -2,7 +2,11 @@
|
||||
"name": "react-dev-utils",
|
||||
"version": "8.0.0",
|
||||
"description": "Webpack utilities used by Create React App",
|
||||
"repository": "facebook/create-react-app",
|
||||
"repository": {
|
||||
"type" : "git",
|
||||
"url" : "https://github.com/facebook/create-react-app.git",
|
||||
"directory": "packages/react-dev-utils"
|
||||
},
|
||||
"license": "MIT",
|
||||
"bugs": {
|
||||
"url": "https://github.com/facebook/create-react-app/issues"
|
||||
|
||||
Reference in New Issue
Block a user