mirror of
https://github.com/zhigang1992/create-react-app.git
synced 2026-01-12 22:46:30 +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,10 +2,14 @@
|
||||
"name": "babel-plugin-named-asset-import",
|
||||
"version": "0.3.1",
|
||||
"description": "Babel plugin for named asset imports in Create React App",
|
||||
"repository": "facebookincubator/create-react-app",
|
||||
"repository": {
|
||||
"type" : "git",
|
||||
"url" : "https://github.com/facebook/create-react-app.git",
|
||||
"directory": "packages/babel-plugin-named-asset-import"
|
||||
},
|
||||
"license": "MIT",
|
||||
"bugs": {
|
||||
"url": "https://github.com/facebookincubator/create-react-app/issues"
|
||||
"url": "https://github.com/facebook/create-react-app/issues"
|
||||
},
|
||||
"main": "index.js",
|
||||
"files": [
|
||||
|
||||
@@ -2,7 +2,11 @@
|
||||
"name": "babel-preset-react-app",
|
||||
"version": "7.0.2",
|
||||
"description": "Babel preset used by Create React App",
|
||||
"repository": "facebook/create-react-app",
|
||||
"repository": {
|
||||
"type" : "git",
|
||||
"url" : "https://github.com/facebook/create-react-app.git",
|
||||
"directory": "packages/babel-preset-react-app"
|
||||
},
|
||||
"license": "MIT",
|
||||
"bugs": {
|
||||
"url": "https://github.com/facebook/create-react-app/issues"
|
||||
|
||||
@@ -7,7 +7,11 @@
|
||||
"scripts": {
|
||||
"test": "jest"
|
||||
},
|
||||
"repository": "facebook/create-react-app",
|
||||
"repository": {
|
||||
"type" : "git",
|
||||
"url" : "https://github.com/facebook/create-react-app.git",
|
||||
"directory": "packages/confusing-browser-globals"
|
||||
},
|
||||
"keywords": [
|
||||
"eslint",
|
||||
"globals"
|
||||
|
||||
@@ -5,7 +5,11 @@
|
||||
"react"
|
||||
],
|
||||
"description": "Create React apps with no build configuration.",
|
||||
"repository": "facebook/create-react-app",
|
||||
"repository": {
|
||||
"type" : "git",
|
||||
"url" : "https://github.com/facebook/create-react-app.git",
|
||||
"directory": "packages/create-react-app"
|
||||
},
|
||||
"license": "MIT",
|
||||
"engines": {
|
||||
"node": ">=8"
|
||||
|
||||
@@ -2,7 +2,11 @@
|
||||
"name": "eslint-config-react-app",
|
||||
"version": "3.0.8",
|
||||
"description": "ESLint configuration used by Create React App",
|
||||
"repository": "facebook/create-react-app",
|
||||
"repository": {
|
||||
"type" : "git",
|
||||
"url" : "https://github.com/facebook/create-react-app.git",
|
||||
"directory": "packages/eslint-config-react-app"
|
||||
},
|
||||
"license": "MIT",
|
||||
"bugs": {
|
||||
"url": "https://github.com/facebook/create-react-app/issues"
|
||||
|
||||
@@ -2,7 +2,11 @@
|
||||
"name": "react-app-polyfill",
|
||||
"version": "0.2.2",
|
||||
"description": "Polyfills for various browsers including commonly used language features",
|
||||
"repository": "facebook/create-react-app",
|
||||
"repository": {
|
||||
"type" : "git",
|
||||
"url" : "https://github.com/facebook/create-react-app.git",
|
||||
"directory": "packages/react-app-polyfill"
|
||||
},
|
||||
"license": "MIT",
|
||||
"bugs": {
|
||||
"url": "https://github.com/facebook/create-react-app/issues"
|
||||
|
||||
@@ -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"
|
||||
|
||||
@@ -10,7 +10,11 @@
|
||||
"build": "cross-env NODE_ENV=development node build.js",
|
||||
"build:prod": "cross-env NODE_ENV=production node build.js"
|
||||
},
|
||||
"repository": "facebook/create-react-app",
|
||||
"repository": {
|
||||
"type" : "git",
|
||||
"url" : "https://github.com/facebook/create-react-app.git",
|
||||
"directory": "packages/react-error-overlay"
|
||||
},
|
||||
"license": "MIT",
|
||||
"bugs": {
|
||||
"url": "https://github.com/facebook/create-react-app/issues"
|
||||
|
||||
@@ -2,7 +2,11 @@
|
||||
"name": "react-scripts",
|
||||
"version": "2.1.8",
|
||||
"description": "Configuration and scripts for Create React App.",
|
||||
"repository": "facebook/create-react-app",
|
||||
"repository": {
|
||||
"type" : "git",
|
||||
"url" : "https://github.com/facebook/create-react-app.git",
|
||||
"directory": "packages/react-scripts"
|
||||
},
|
||||
"license": "MIT",
|
||||
"engines": {
|
||||
"node": ">=8.10"
|
||||
@@ -59,7 +63,7 @@
|
||||
"pnp-webpack-plugin": "1.2.1",
|
||||
"postcss-flexbugs-fixes": "4.1.0",
|
||||
"postcss-loader": "3.0.0",
|
||||
"postcss-normalize": "7.0.1",
|
||||
"postcss-normalize": "7.0.1",
|
||||
"postcss-preset-env": "6.6.0",
|
||||
"postcss-safe-parser": "4.0.1",
|
||||
"react-app-polyfill": "^0.2.2",
|
||||
|
||||
Reference in New Issue
Block a user