Skip to content

Commit 2d28a23

Browse files
authored
Update package.jsons for mono-repo (#851)
Update the package.json for each node to point to the directory within the repo that hosts the code for the package in question. as per https://docs.npmjs.com/cli/v7/configuring-npm/package-json#repository
1 parent 5db644b commit 2d28a23

File tree

73 files changed

+147
-73
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

73 files changed

+147
-73
lines changed

analysis/mlsentiment/package.json

+2-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,8 @@
77
},
88
"repository" : {
99
"type":"git",
10-
"url":"https://github.com/node-red/node-red-nodes/tree/master/analysis/sentiment"
10+
"url":"https://github.com/node-red/node-red-nodes.git",
11+
"directory" : "tree/master/analysis/mlsentiment"
1112
},
1213
"license": "Apache-2.0",
1314
"keywords": [ "node-red", "sentiment", "anaylsis", "AFINN" ],

analysis/sentiment/package.json

+2-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,8 @@
77
},
88
"repository" : {
99
"type":"git",
10-
"url":"https://github.com/node-red/node-red-nodes/tree/master/analysis/sentiment"
10+
"url":"https://github.com/node-red/node-red-nodes.git",
11+
"directory" : "tree/master/analysis/sentiment"
1112
},
1213
"license": "Apache-2.0",
1314
"keywords": [ "node-red", "sentiment", "anaylsis", "AFINN" ],

analysis/swearfilter/package.json

+2-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,8 @@
77
},
88
"repository" : {
99
"type":"git",
10-
"url":"https://github.com/node-red/node-red-nodes/tree/master/analysis/swearfilter"
10+
"url":"https://github.com/node-red/node-red-nodes.git",
11+
"directory": "tree/master/analysis/swearfilter"
1112
},
1213
"license": "Apache-2.0",
1314
"keywords": [ "node-red", "badwords", "swearfilter" ],

analysis/wordpos/package.json

+2-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,8 @@
77
},
88
"repository" : {
99
"type":"git",
10-
"url":"https://github.com/node-red/node-red-nodes/tree/master/analysis/wordpos"
10+
"url":"https://github.com/node-red/node-red-nodes.git",
11+
"directory" : "tree/master/analysis/wordpos"
1112
},
1213
"license": "Apache-2.0",
1314
"keywords": [ "node-red", "wordpos" ],

function/PID/package.json

+2-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,8 @@
77
},
88
"repository" : {
99
"type":"git",
10-
"url":"https://github.com/node-red/node-red-nodes/tree/master/function/PID"
10+
"url":"https://github.com/node-red/node-red-nodes.git",
11+
"directory": "tree/master/function/PID"
1112
},
1213
"license": "Apache-2.0",
1314
"keywords": [ "node-red", "PID", "control" ],

function/datagenerator/package.json

+2-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,8 @@
77
},
88
"repository" : {
99
"type":"git",
10-
"url":"https://github.com/node-red/node-red-nodes/tree/master/function/data-generator"
10+
"url":"https://github.com/node-red/node-red-nodes.git",
11+
"directory": "tree/master/function/data-generator"
1112
},
1213
"license": "Apache-2.0",
1314
"keywords": [ "node-red", "data-generator", "dummy-json" ],

function/random/package.json

+2-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,8 @@
66
},
77
"repository" : {
88
"type":"git",
9-
"url":"https://github.com/node-red/node-red-nodes/tree/master/function/random"
9+
"url":"https://github.com/node-red/node-red-nodes.git",
10+
"directory": "tree/master/function/random"
1011
},
1112
"license": "Apache-2.0",
1213
"keywords": [ "node-red", "random" ],

function/rbe/package.json

+2-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,8 @@
66
},
77
"repository" : {
88
"type":"git",
9-
"url":"https://github.com/node-red/node-red-nodes/tree/master/function/rbe"
9+
"url":"https://github.com/node-red/node-red-nodes.git",
10+
"directory": "tree/master/function/rbe"
1011
},
1112
"license": "Apache-2.0",
1213
"keywords": [ "node-red", "rbe", "bandgap", "deadband" ],

function/smooth/package.json

+2-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,8 @@
66
},
77
"repository" : {
88
"type":"git",
9-
"url":"https://github.com/node-red/node-red-nodes/tree/master/function/smooth"
9+
"url":"https://github.com/node-red/node-red-nodes.git",
10+
"directory": "tree/master/function/smooth"
1011
},
1112
"license": "Apache-2.0",
1213
"keywords": [ "node-red", "smooth", "average", "standard deviation" ],

hardware/Arduino/package.json

+2-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,8 @@
77
},
88
"repository" : {
99
"type":"git",
10-
"url":"https://github.com/node-red/node-red-nodes/tree/master/hardware/Arduino"
10+
"url":"https://github.com/node-red/node-red-nodes.git",
11+
"directory": "tree/master/hardware/Arduino"
1112
},
1213
"license": "Apache-2.0",
1314
"keywords": [ "node-red", "arduino", "firmata" ],

hardware/BBB/package.json

+2-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,8 @@
77
},
88
"repository" : {
99
"type":"git",
10-
"url":"https://github.com/node-red/node-red-nodes/tree/master/hardware/BBB"
10+
"url":"https://github.com/node-red/node-red-nodes.git",
11+
"directory": "tree/master/hardware/BBB"
1112
},
1213
"license": "Apache-2.0",
1314
"keywords": [ "node-red", "beagleboneblack", "beaglebone", "bbb", "octalbonescript" ],

hardware/HummingboardGPIO/package.json

+2-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,8 @@
66
},
77
"repository" : {
88
"type":"tgz",
9-
"url":"https://github.com/node-red/node-red-nodes/tree/master/hardware/HummingboardGPIO"
9+
"url":"https://github.com/node-red/node-red-nodes.git",
10+
"directory": "tree/master/hardware/HummingboardGPIO"
1011
},
1112
"license": "Apache-2.0",
1213
"keywords": [ "node-red", "hummingboard", "gpio" ],

hardware/LEDborg/package.json

+2-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,8 @@
66
},
77
"repository" : {
88
"type":"git",
9-
"url":"https://github.com/node-red/node-red-nodes/tree/master/hardware/ledborg"
9+
"url":"https://github.com/node-red/node-red-nodes.git",
10+
"directory" : "tree/master/hardware/ledborg"
1011
},
1112
"license": "Apache-2.0",
1213
"keywords": [ "node-red", "ledborg" ],

hardware/PiFace/package.json

+2-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,8 @@
66
},
77
"repository" : {
88
"type":"git",
9-
"url":"https://github.com/node-red/node-red-nodes/tree/master/hardware/PiFace"
9+
"url":"https://github.com/node-red/node-red-nodes.git",
10+
"directory": "tree/master/hardware/PiFace"
1011
},
1112
"license": "Apache-2.0",
1213
"keywords": [ "node-red", "piface" ],

hardware/PiGpio/package.json

+2-1
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,8 @@
99
},
1010
"repository": {
1111
"type": "git",
12-
"url": "https://github.com/node-red/node-red-nodes/tree/master/hardware/PiGpio"
12+
"url": "https://github.com/node-red/node-red-nodes.git",
13+
"directory": "tree/master/hardware/PiGpio"
1314
},
1415
"keywords": [
1516
"node-red", "Pi", "GPIO", "PiGpio"

hardware/PiLcd/package.json

+2-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,8 @@
66
},
77
"repository" : {
88
"type":"git",
9-
"url":"https://github.com/node-red/node-red-nodes/tree/master/hardware/PiLcd"
9+
"url":"https://github.com/node-red/node-red-nodes.git",
10+
"directory": "tree/master/hardware/PiLcd"
1011
},
1112
"license": "Apache-2.0",
1213
"keywords": [ "node-red", "lcd", "HD44780" ],

hardware/PiLiter/package.json

+2-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,8 @@
66
},
77
"repository" : {
88
"type":"git",
9-
"url":"https://github.com/node-red/node-red-nodes/tree/master/hardware/PiLiter"
9+
"url":"https://github.com/node-red/node-red-nodes.git",
10+
"directory": "tree/master/hardware/PiLiter"
1011
},
1112
"license": "Apache-2.0",
1213
"keywords": [ "node-red", "piliter" ],

hardware/PiSrf/package.json

+2-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,8 @@
66
},
77
"repository" : {
88
"type":"git",
9-
"url":"https://github.com/node-red/node-red-nodes/tree/master/hardware/PiSrf"
9+
"url":"https://github.com/node-red/node-red-nodes.git",
10+
"directory": "tree/master/hardware/PiSrf"
1011
},
1112
"license": "Apache-2.0",
1213
"keywords": [ "node-red", "SRF04", "SRF05", "ultrasonic", "range", "HC-SR04", "SR04" ],

hardware/Pibrella/package.json

+2-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,8 @@
66
},
77
"repository" : {
88
"type":"git",
9-
"url":"https://github.com/node-red/node-red-nodes/tree/master/hardware/Pibrella"
9+
"url":"https://github.com/node-red/node-red-nodes.git",
10+
"directory": "tree/master/hardware/Pibrella"
1011
},
1112
"license": "Apache-2.0",
1213
"keywords": [ "node-red", "pibrella" ],

hardware/blink1/package.json

+2-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,8 @@
77
},
88
"repository" : {
99
"type":"git",
10-
"url":"https://github.com/node-red/node-red-nodes/tree/master/hardware/blink1"
10+
"url":"https://github.com/node-red/node-red-nodes.git",
11+
"directory" : "tree/master/hardware/blink1"
1112
},
1213
"license": "Apache-2.0",
1314
"keywords": [ "node-red", "blink1" ],

hardware/blinkstick/package.json

+2-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,8 @@
77
},
88
"repository" : {
99
"type":"git",
10-
"url":"https://github.com/node-red/node-red-nodes/tree/master/hardware/blinkstick"
10+
"url":"https://github.com/node-red/node-red-nodes.git",
11+
"directory": "tree/master/hardware/blinkstick"
1112
},
1213
"license": "Apache-2.0",
1314
"keywords": [ "node-red", "blinkstick" ],

hardware/digiRGB/package.json

+2-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,8 @@
88
"homepage": "http://www.hardill.me.uk/wordpress/2013/02/06/budget-blink1/",
99
"repository" : {
1010
"type":"git",
11-
"url":"https://github.com/node-red/node-red-nodes/tree/master/hardware/digiRGB"
11+
"url":"https://github.com/node-red/node-red-nodes.git",
12+
"directory": "tree/master/hardware/digiRGB"
1213
},
1314
"license": "Apache-2.0",
1415
"keywords": [ "node-red", "digiRGB" ],

hardware/heatmiser/package.json

+2-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,8 @@
77
},
88
"repository" : {
99
"type":"git",
10-
"url":"https://github.com/node-red/node-red-nodes/tree/master/io/heatmiser"
10+
"url":"https://github.com/node-red/node-red-nodes.git",
11+
"directory": "tree/master/io/heatmiser"
1112
},
1213
"license": "Apache-2.0",
1314
"keywords": [ "node-red", "heatmiser"],

hardware/intel/package.json

+2-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,8 @@
66
},
77
"repository" : {
88
"type":"git",
9-
"url":"https://github.com/node-red/node-red-nodes/tree/master/hardware/intel"
9+
"url":"https://github.com/node-red/node-red-nodes.git",
10+
"directory" : "tree/master/hardware/intel"
1011
},
1112
"license": "Apache-2.0",
1213
"keywords": [ "node-red", "intel", "galileo", "edison" ],

hardware/makey/package.json

+2-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,8 @@
77
},
88
"repository" : {
99
"type":"git",
10-
"url":"https://github.com/node-red/node-red-nodes/tree/master/hardware/makey"
10+
"url":"https://github.com/node-red/node-red-nodes.git",
11+
"directory": "tree/master/hardware/makey"
1112
},
1213
"license": "Apache-2.0",
1314
"keywords": [ "node-red", "makeymakey" ],

hardware/mcp3008/package.json

+2-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,8 @@
77
},
88
"repository" : {
99
"type":"git",
10-
"url":"https://github.com/node-red/node-red-nodes/tree/master/hardware/mcp3008"
10+
"url":"https://github.com/node-red/node-red-nodes.git",
11+
"directory": "tree/master/hardware/mcp3008"
1112
},
1213
"license": "Apache-2.0",
1314
"keywords": [ "node-red", "pi", "adc", "mcp", "a/d converter" ],

hardware/neopixel/package.json

+2-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,8 @@
66
},
77
"repository" : {
88
"type":"git",
9-
"url":"https://github.com/node-red/node-red-nodes/tree/master/hardware/neopixel"
9+
"url":"https://github.com/node-red/node-red-nodes.git",
10+
"directory": "tree/master/hardware/neopixel"
1011
},
1112
"license": "Apache-2.0",
1213
"keywords": [

hardware/physical-web/package.json

+2-1
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,8 @@
2020
},
2121
"repository": {
2222
"type": "git",
23-
"url": "https://github.com/node-red/node-red-nodes/tree/master/hardware/physical-web"
23+
"url": "https://github.com/node-red/node-red-nodes.git",
24+
"directory": "tree/master/hardware/physical-web"
2425
},
2526
"author": {
2627
"name": "Ben Hardill",

hardware/pigpiod/package.json

+2-1
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,8 @@
1010
},
1111
"repository": {
1212
"type": "git",
13-
"url": "https://github.com/node-red/node-red-nodes/tree/master/hardware/pigpiod"
13+
"url": "https://github.com/node-red/node-red-nodes.git",
14+
"directory" : "tree/master/hardware/pigpiod"
1415
},
1516
"keywords": [
1617
"node-red", "Pi", "GPIO", "PiGPIOd"

hardware/sensehat/package.json

+2-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,8 @@
44
"description" : "A Node-RED node to interact with a Raspberry Pi Sense HAT",
55
"repository" : {
66
"type":"git",
7-
"url":"https://github.com/node-red/node-red-nodes/tree/master/hardware/sensehat"
7+
"url":"https://github.com/node-red/node-red-nodes.git",
8+
"directory": "tree/master/hardware/sensehat"
89
},
910
"license": "Apache-2.0",
1011
"keywords": [ "node-red", "sensehat", "astropi" ],

hardware/sensehatsim/package.json

+2-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,8 @@
44
"description": "A Node-RED node to simulate a Raspberry Pi Sense HAT",
55
"repository": {
66
"type": "git",
7-
"url": "https://github.com/node-red/node-red-nodes/tree/master/hardware/sensehatsim"
7+
"url": "https://github.com/node-red/node-red-nodes.git",
8+
"directory": "tree/master/hardware/sensehatsim"
89
},
910
"dependencies": {
1011
"ws": "~6.2.1"

hardware/sensorTag/package.json

+2-1
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,8 @@
1717
"license": "Apache-2.0",
1818
"repository": {
1919
"type": "git",
20-
"url": "https://github.com/node-red/node-red-nodes/tree/master/hardware/sensorTag"
20+
"url": "https://github.com/node-red/node-red-nodes.git",
21+
"directory" : "tree/master/hardware/sensorTag"
2122
},
2223
"node-red": {
2324
"nodes": {

hardware/unicorn/package.json

+2-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,8 @@
77
},
88
"repository" : {
99
"type":"git",
10-
"url":"https://github.com/node-red/node-red-nodes/tree/master/hardware/unicorn"
10+
"url":"https://github.com/node-red/node-red-nodes.git",
11+
"directory": "tree/master/hardware/unicorn"
1112
},
1213
"license": "Apache-2.0",
1314
"keywords": [ "node-red", "unicorn", "pimorini" ],

hardware/wemo/package.json

+5-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,11 @@
22
"name": "node-red-node-wemo",
33
"version": "0.2.1",
44
"description": "Input and Output nodes for Belkin WeMo devices",
5-
"repository": "https://github.com/node-red/node-red-nodes/tree/master/hardware",
5+
"repository" : {
6+
"type":"git",
7+
"url":"https://github.com/node-red/node-red-nodes.git",
8+
"directory": "tree/master/hardware/wemo"
9+
},
610
"main": "WeMoNG.js",
711
"scripts": {
812
"test": "echo \"Error: no test specified\" && exit 1"

io/emoncms/package.json

+2-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,8 @@
66
},
77
"repository" : {
88
"type":"git",
9-
"url":"https://github.com/node-red/node-red-nodes/tree/master/io/emoncms"
9+
"url":"https://github.com/node-red/node-red-nodes.git",
10+
"directory" : "tree/master/io/emoncms"
1011
},
1112
"license": "Apache-2.0",
1213
"keywords": [ "node-red", "emoncms" ],

io/mdns/package.json

+2-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,8 @@
77
},
88
"repository" : {
99
"type":"git",
10-
"url":"https://github.com/node-red/node-red-nodes/tree/master/io/mdns"
10+
"url":"https://github.com/node-red/node-red-nodes.git",
11+
"directory": "tree/master/io/mdns"
1112
},
1213
"license": "Apache-2.0",
1314
"keywords": [ "node-red", "mdns", "avahi", "bonjour", "discovery" ],

io/mqlight/package.json

+2-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,8 @@
77
},
88
"repository" : {
99
"type":"git",
10-
"url":"https://github.com/node-red/node-red-nodes/tree/master/io/mqlight"
10+
"url":"https://github.com/node-red/node-red-nodes.git",
11+
"directory": "tree/master/io/mqlight"
1112
},
1213
"license": "Apache-2.0",
1314
"keywords": [ "node-red", "mqlight" ],

io/ping/package.json

+2-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,8 @@
66
},
77
"repository" : {
88
"type":"git",
9-
"url":"https://github.com/node-red/node-red-nodes/tree/master/io/ping"
9+
"url":"https://github.com/node-red/node-red-nodes.git",
10+
"directory": "tree/master/io/ping"
1011
},
1112
"license": "Apache-2.0",
1213
"keywords": [ "node-red", "ping", "keepalive" ],

io/serialport/package.json

+2-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,8 @@
77
},
88
"repository" : {
99
"type":"git",
10-
"url":"https://github.com/node-red/node-red-nodes/tree/master/io/serialport"
10+
"url":"https://github.com/node-red/node-red-nodes.git",
11+
"directory": "tree/master/io/serialport"
1112
},
1213
"license": "Apache-2.0",
1314
"keywords": [ "node-red", "serial" ],

0 commit comments

Comments
 (0)