Skip to content

Commit 900e993

Browse files
authored
chore: add homepage and repository fields to package.json (#1381)
* chore: add homepage and repository fields to package.json Fixes: #1380 * fix(global-cli): revert changes in package.json
1 parent 050531a commit 900e993

File tree

8 files changed

+52
-8
lines changed

8 files changed

+52
-8
lines changed

packages/cli-hermes/package.json

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,5 +22,11 @@
2222
"devDependencies": {
2323
"@react-native-community/cli-types": "^5.0.1-alpha.1",
2424
"@types/ip": "^1.1.0"
25+
},
26+
"homepage": "https://github.com/react-native-community/cli/tree/master/packages/cli-hermes",
27+
"repository": {
28+
"type": "git",
29+
"url": "https://github.com/react-native-community/cli.git",
30+
"directory": "packages/cli-hermes"
2531
}
2632
}

packages/cli-server-api/package.json

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,5 +26,11 @@
2626
"files": [
2727
"build",
2828
"!*.map"
29-
]
29+
],
30+
"homepage": "https://github.com/react-native-community/cli/tree/master/packages/cli-server-api",
31+
"repository": {
32+
"type": "git",
33+
"url": "https://github.com/react-native-community/cli.git",
34+
"directory": "packages/cli-server-api"
35+
}
3036
}

packages/cli-types/package.json

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,5 +13,11 @@
1313
"!*.map"
1414
],
1515
"types": "build/index.d.ts",
16-
"license": "MIT"
16+
"license": "MIT",
17+
"homepage": "https://github.com/react-native-community/cli/tree/master/packages/cli-types",
18+
"repository": {
19+
"type": "git",
20+
"url": "https://github.com/react-native-community/cli.git",
21+
"directory": "packages/cli-types"
22+
}
1723
}

packages/cli/package.json

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -20,10 +20,6 @@
2020
"engines": {
2121
"node": ">=12"
2222
},
23-
"repository": {
24-
"type": "git",
25-
"url": "https://github.com/react-native-community/react-native-cli.git"
26-
},
2723
"jest": {
2824
"testEnvironment": "node"
2925
},
@@ -84,5 +80,11 @@
8480
"@types/wcwidth": "^1.0.0",
8581
"slash": "^3.0.0",
8682
"snapshot-diff": "^0.7.0"
83+
},
84+
"homepage": "https://github.com/react-native-community/cli/tree/master/packages/cli",
85+
"repository": {
86+
"type": "git",
87+
"url": "https://github.com/react-native-community/cli.git",
88+
"directory": "packages/cli"
8789
}
8890
}

packages/debugger-ui/package.json

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,5 +19,11 @@
1919
},
2020
"dependencies": {
2121
"serve-static": "^1.13.1"
22+
},
23+
"homepage": "https://github.com/react-native-community/cli/tree/master/packages/debugger-ui",
24+
"repository": {
25+
"type": "git",
26+
"url": "https://github.com/react-native-community/cli.git",
27+
"directory": "packages/debugger-ui"
2228
}
2329
}

packages/platform-android/package.json

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,5 +31,11 @@
3131
"@types/glob": "^7.1.1",
3232
"@types/lodash": "^4.14.149",
3333
"@types/xmldoc": "^1.1.4"
34+
},
35+
"homepage": "https://github.com/react-native-community/cli/tree/master/packages/platform-android",
36+
"repository": {
37+
"type": "git",
38+
"url": "https://github.com/react-native-community/cli.git",
39+
"directory": "packages/platform-android"
3440
}
3541
}

packages/platform-ios/package.json

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,5 +28,11 @@
2828
"!*.d.ts",
2929
"!*.map",
3030
"native_modules.rb"
31-
]
31+
],
32+
"homepage": "https://github.com/react-native-community/cli/tree/master/packages/platform-ios",
33+
"repository": {
34+
"type": "git",
35+
"url": "https://github.com/react-native-community/cli.git",
36+
"directory": "packages/platform-ios"
37+
}
3238
}

packages/tools/package.json

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,5 +23,11 @@
2323
"build",
2424
"!*.d.ts",
2525
"!*.map"
26-
]
26+
],
27+
"homepage": "https://github.com/react-native-community/cli/tree/master/packages/tools",
28+
"repository": {
29+
"type": "git",
30+
"url": "https://github.com/react-native-community/cli.git",
31+
"directory": "packages/tools"
32+
}
2733
}

0 commit comments

Comments
 (0)