Skip to content

Commit c179bf3

Browse files
FilipZajdelbencefr
andauthored
Remove the dependency from Github (#78)
* remove octokit usage * update index files to follow current schema Update schema to include data previously pulled from github. * Do no enable telemetry on localhost * Add Support Info button * Add README button * Add mandatory repoUrl, remove readme in schema Add repoUrl to completely abandon generating the repo url. Remove readme field from the schema. If the maintainers want to add readme they have to do it using docsUrl field. * remove link from the owner name * make `contact` field optional * change `repo` to `repoUrl` * remove unused devzone.png * verify changes in the index * remove repoUrl from final schema * rename repoUrl to repo * change schema * bring back output: export to the next.config.js * Bump node to 22 * Bump next version * add nRF Connect avatar and change support tooltip * correct releases compare function * Strip and control avatar URL query parameters (#85) * update smart things to the latest schema --------- Co-authored-by: Bence Frenyó <26139379+bencefr@users.noreply.github.com>
1 parent 24ee71c commit c179bf3

24 files changed

Lines changed: 565 additions & 414 deletions

.github/workflows/index-validation.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ jobs:
2020
- name: Setup Node
2121
uses: actions/setup-node@v4
2222
with:
23-
node-version: 16
23+
node-version: 22
2424
cache: npm
2525

2626
- name: Install dependencies

.github/workflows/pages-deploy.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ jobs:
3636
- name: Setup Node
3737
uses: actions/setup-node@v4
3838
with:
39-
node-version: "18"
39+
node-version: 22
4040
cache: npm
4141
- name: Setup Pages
4242
uses: actions/configure-pages@v4

.vscode/tasks.json

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,13 +20,19 @@
2020
"type": "npm",
2121
"script": "validate-index",
2222
"group": "build",
23-
"label": "Validate index.json"
23+
"label": "Validate index files.",
2424
},
2525
{
2626
"type": "npm",
2727
"script": "generate-index-json",
2828
"group": "build",
2929
"label": "Generate index.json"
30+
},
31+
{
32+
"type": "npm",
33+
"script": "generate-schemas",
34+
"group": "build",
35+
"label": "Generate json schemas from schema.ts"
3036
}
3137
]
3238
}

index/Conexiotechnologies.json

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,11 +4,14 @@
44
"apps": [
55
{
66
"name": "conexio-firmware-sdk",
7+
"repo": "https://github.com/Conexiotechnologies/conexio-firmware-sdk",
8+
"docsUrl": "https://github.com/Conexiotechnologies/conexio-firmware-sdk/blob/main/README.md",
79
"title": "Conexio Stratus Firmware SDK",
810
"description": "NCS example applications for [Conexio Stratus devices](https://docs.conexiotech.com/)",
911
"kind": "sample",
1012
"tags": ["lte"],
1113
"apps": "samples/*",
14+
"avatar": "https://avatars.githubusercontent.com/u/79224914?s=48&v=4",
1215
"releases": [
1316
{
1417
"date": "2024-09-16T02:29:37Z",

index/Lora-net.json

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,10 +5,13 @@
55
{
66
"description": "Software Development Kit featuring demonstrations, drivers and middleware enabling development of connectivity and geolocation applications",
77
"name": "SWSD006",
8+
"repo": "https://github.com/Lora-net/SWSD006",
9+
"docsUrl": "https://github.com/Lora-net/SWSD006/blob/v2.6.1/README.md",
810
"title": "Sidewalk & LoRaWAN Mullti-stack SDK for LR11xx (SWSD006)",
911
"kind": "sample",
1012
"license": "Apache License 2.0",
1113
"apps": "samples/*",
14+
"avatar": "https://avatars.githubusercontent.com/u/5756403?s=48&v=4",
1215
"releases": [
1316
{
1417
"date": "2024-08-08T14:30:49Z",

index/SmartThingsCommunity.json

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,8 @@
44
"apps": [
55
{
66
"name": "SmartThingsFindPartnershipProgram",
7+
"repo": "https://github.com/SmartThingsCommunity/SmartThingsFindPartnershipProgram",
8+
"avatar": "https://avatars.githubusercontent.com/u/7317431?s=48&v=4",
79
"title": "SmartThings Find Device SDK",
810
"description": "SmartThings Find Device SDK is the core device library that makes BLE device to work with SmartThings Find Service. It would supply ready-to-use port code for nRF chipsets. You may simply build your own device firmware with given application example.",
911
"kind": "sample",

index/blecon.json

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,13 @@
44
"apps": [
55
{
66
"name": "blecon-device-sdk",
7+
"repo": "https://github.com/blecon/blecon-device-sdk",
8+
"docsUrl": "https://github.com/blecon/blecon-device-sdk/blob/main/README.md",
79
"title": "Blecon Device SDK",
810
"description": "Enable Blecon Bluetooth to Cloud IoT Connectivity on your device using the Blecon Device SDK. This SDK includes the Blecon modem libraries and samples.",
911
"kind": "sample",
1012
"license": "Apache License 2.0",
13+
"avatar": "https://avatars.githubusercontent.com/u/66618302?s=48&v=4",
1114
"apps": "examples/zephyr/*",
1215
"releases": [
1316
{

index/circuitdojo.json

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,11 +4,14 @@
44
"apps": [
55
{
66
"name": "nrf9160-feather-examples-and-drivers",
7+
"repo": "https://github.com/circuitdojo/nrf9160-feather-examples-and-drivers",
8+
"docsUrl": "https://github.com/circuitdojo/nrf9160-feather-examples-and-drivers/blob/v2.4.x/README.md",
79
"title": "nRF9160 Feather Examples and Drivers",
810
"description": "Zephyr examples and drivers for the [nRF9160 Feather](https://docs.circuitdojo.com/nrf9160-getting-started.html)",
911
"kind": "sample",
1012
"tags": ["lte"],
1113
"apps": "samples/*",
14+
"avatar": "https://avatars.githubusercontent.com/u/34612814?s=48&v=4",
1215
"releases": [
1316
{
1417
"date": "2023-12-20T20:37:28Z",

index/golioth.json

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,17 @@
11
{
22
"name": "golioth",
33
"description": "Golioth Cloud platform, which includes a device SDK, example code, and Reference Designs",
4+
"avatar": "https://avatars.githubusercontent.com/u/58146410?s=48&v=4",
45
"apps": [
56
{
67
"name": "reference-design-template",
8+
"repo": "https://github.com/golioth/reference-design-template",
9+
"docsUrl": "https://github.com/golioth/reference-design-template/blob/main/README.md",
710
"title": "The Golioth Reference Design template",
811
"description": "This starter project is a standalone application that includes databases (both stateful and time-based), Over-the-air update capabilities, settings service, remote procedure calls (RPCs)",
912
"kind": "template",
1013
"tags": ["dfu","lte"],
14+
"avatar": "https://avatars.githubusercontent.com/u/58146410?s=48&v=4",
1115
"releases": [
1216
{
1317
"date": "2024-02-21T21:05:15Z",
@@ -37,6 +41,8 @@
3741
},
3842
{
3943
"name": "reference-design-can-asset-tracker",
44+
"repo": "https://github.com/golioth/reference-design-can-asset-tracker",
45+
"docsUrl": "https://github.com/golioth/reference-design-can-asset-tracker/blob/main/README.md",
4046
"title": "CAN / OBD-II Asset Tracker Reference Design",
4147
"description": "This Reference Design requires external hardware on top of an nRF9160-DK (see [https://projects.golioth.io/reference-designs/can-asset-tracker/guide-nrf9160-dk/](https://projects.golioth.io/reference-designs/can-asset-tracker/guide-nrf9160-dk/), but includes all code required to pass messages received on a CAN bus back to the Cloud, as well as regular GPS readings. Over-the-air updates are built in.",
4248
"kind": "template",
@@ -53,6 +59,8 @@
5359
},
5460
{
5561
"name": "reference-design-air-quality",
62+
"repo": "https://github.com/golioth/reference-design-air-quality",
63+
"docsUrl": "https://github.com/golioth/reference-design-air-quality/blob/main/README.md",
5664
"title": "Air Quality Monitor Reference Design",
5765
"description": "This Reference Design requires external hardware on top of an nRF9160-DK (see [https://projects.golioth.io/reference-designs/air-quality-monitor/guide-nrf9160-dk](https://projects.golioth.io/reference-designs/air-quality-monitor/guide-nrf9160-dk/), but includes all code required to monitor readings from connected air quality sensors and pass back to the Cloud. Includes remote procedure call to clean sensor, and Over-the-air updates are built in.",
5866
"kind": "template",
@@ -70,6 +78,8 @@
7078
{
7179
"name": "reference-design-coldchain",
7280
"title": "Cold Chain Asset Tracker Reference Design",
81+
"repo": "https://github.com/golioth/reference-design-coldchain",
82+
"docsUrl": "https://github.com/golioth/reference-design-coldchain/blob/main/README.md",
7383
"description": "This Reference Design requires external hardware on top of an nRF9160-DK (see [https://projects.golioth.io/reference-designs/cold-chain-tracker/](https://projects.golioth.io/reference-designs/cold-chain-tracker/), but includes all code required to monitor weather sensor (temperature) readings and pass back to the Cloud, as well as regular GPS readings. Configurable online/offline updates rates using settings subsystem. Over-the-air updates are built in.",
7484
"kind": "template",
7585
"license": "Apache 2.0",
@@ -85,6 +95,8 @@
8595
},
8696
{
8797
"name": "reference-design-modbus-vibration-monitor",
98+
"repo": "https://github.com/golioth/reference-design-modbus-vibration-monitor",
99+
"docsUrl": "https://github.com/golioth/reference-design-modbus-vibration-monitor/blob/main/README.md",
88100
"title": "Modbus Vibration Monitor Reference Design",
89101
"description": "This Reference Design requires external hardware on top of an nRF9160-DK (see [https://projects.golioth.io/reference-designs/modbus-vibration-monitor/guide-nrf9160-dk](https://projects.golioth.io/reference-designs/modbus-vibration-monitor/guide-nrf9160-dk), but includes all code required to communicate over RS-485 to a Modbus server (sensor) and pass back to the Cloud. Over-the-air updates are built in.",
90102
"kind": "template",

index/hello-nrfcloud.json

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,12 @@
44
"apps": [
55
{
66
"title": "Thingy:91 X: Hello nRF Cloud firmware",
7+
"repo": "https://github.com/hello-nrfcloud/firmware",
78
"name": "firmware",
89
"description": "This firmware is used with hello.nrfcloud.com",
910
"kind": "sample",
1011
"tags": ["dfu", "lte"],
12+
"avatar": "https://avatars.githubusercontent.com/u/137044581?s=48&v=4",
1113
"releases": [
1214
{
1315
"date": "2024-08-11T14:37:00Z",

0 commit comments

Comments
 (0)