Skip to content

Commit 74ab040

Browse files
authored
Add repository metadata to package.json files (#90)
1 parent a20dda4 commit 74ab040

File tree

6 files changed

+39
-3
lines changed

6 files changed

+39
-3
lines changed

packages/ferric-example/package.json

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,13 @@
11
{
22
"name": "ferric-example",
3+
"private": true,
34
"version": "0.1.0",
5+
"homepage": "https://github.com/callstackincubator/react-native-node-api-modules",
6+
"repository": {
7+
"type": "git",
8+
"url": "git+https://github.com/callstackincubator/react-native-node-api-modules.git",
9+
"directory": "packages/ferric-example"
10+
},
411
"main": "libferric_example.js",
512
"types": "libferric_example.d.ts",
613
"scripts": {

packages/ferric/package.json

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,12 @@
22
"name": "ferric-modules",
33
"version": "0.1.0",
44
"description": "Rust Node-API Modules for React Native",
5+
"homepage": "https://github.com/callstackincubator/react-native-node-api-modules",
6+
"repository": {
7+
"type": "git",
8+
"url": "git+https://github.com/callstackincubator/react-native-node-api-modules.git",
9+
"directory": "packages/ferric"
10+
},
511
"type": "module",
612
"bin": {
713
"ferric": "./bin/ferric.js"

packages/gyp-to-cmake/package.json

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,15 @@
11
{
22
"name": "gyp-to-cmake",
3-
"private": true,
4-
"type": "module",
53
"version": "0.1.0",
4+
"private": true,
65
"description": "Convert binding.gyp files to CMakeLists.txt",
6+
"homepage": "https://github.com/callstackincubator/react-native-node-api-modules",
7+
"repository": {
8+
"type": "git",
9+
"url": "git+https://github.com/callstackincubator/react-native-node-api-modules.git",
10+
"directory": "packages/gyp-to-cmake"
11+
},
12+
"type": "module",
713
"files": [
814
"bin",
915
"dist"

packages/node-addon-examples/package.json

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,12 @@
11
{
22
"name": "react-native-node-addon-examples",
33
"private": true,
4+
"homepage": "https://github.com/callstackincubator/react-native-node-api-modules",
5+
"repository": {
6+
"type": "git",
7+
"url": "git+https://github.com/callstackincubator/react-native-node-api-modules.git",
8+
"directory": "packages/node-addon-examples"
9+
},
410
"scripts": {
511
"copy-examples": "tsx scripts/copy-examples.mts",
612
"gyp-to-cmake": "gyp-to-cmake ./examples",

packages/react-native-node-api-cmake/package.json

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,12 @@
22
"name": "react-native-node-api-cmake",
33
"version": "0.1.0",
44
"description": "Build React Native Node API modules with CMake",
5+
"homepage": "https://github.com/callstackincubator/react-native-node-api-modules",
6+
"repository": {
7+
"type": "git",
8+
"url": "git+https://github.com/callstackincubator/react-native-node-api-modules.git",
9+
"directory": "packages/react-native-node-api-cmake"
10+
},
511
"type": "module",
612
"bin": {
713
"react-native-node-api-cmake": "./bin/react-native-node-api-cmake.js"

packages/react-native-node-api-modules/package.json

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,12 @@
22
"name": "react-native-node-api-modules",
33
"version": "0.1.0",
44
"description": "Node-API Modules for React Native",
5-
"homepage": "https://github.com/callstackincubator/react-native-node-api-modules#readme",
5+
"homepage": "https://github.com/callstackincubator/react-native-node-api-modules",
6+
"repository": {
7+
"type": "git",
8+
"url": "git+https://github.com/callstackincubator/react-native-node-api-modules.git",
9+
"directory": "packages/react-native-node-api-cmake"
10+
},
611
"main": "dist/react-native/index.js",
712
"type": "commonjs",
813
"bin": {

0 commit comments

Comments
 (0)