From 93d9abb182a86983a1d268f3075a995c4a4ac5a8 Mon Sep 17 00:00:00 2001 From: Juri Wolf Date: Thu, 28 Mar 2024 17:04:08 +0100 Subject: [PATCH] add "weight" to extensions and hide radio --- libs/datalogger/pxt.json | 1 + libs/funk/pxt.json | 1 + libs/microphone/pxt.json | 1 + libs/radio/pxt.json | 1 + 4 files changed, 4 insertions(+) diff --git a/libs/datalogger/pxt.json b/libs/datalogger/pxt.json index 88b75b176..6b07aabef 100644 --- a/libs/datalogger/pxt.json +++ b/libs/datalogger/pxt.json @@ -4,6 +4,7 @@ "files": [ "datalogger.ts" ], + "weight": 99, "public": true, "disablesVariants": [ "minidal", diff --git a/libs/funk/pxt.json b/libs/funk/pxt.json index 1ba7532f7..4aaf567eb 100644 --- a/libs/funk/pxt.json +++ b/libs/funk/pxt.json @@ -12,6 +12,7 @@ "radio.ts", "targetoverrides.ts" ], + "weight": 97, "public": true, "additionalFilePath": "../../node_modules/pxt-common-packages/libs/radio", "icon": "./static/packages/radio/icon.png", diff --git a/libs/microphone/pxt.json b/libs/microphone/pxt.json index db09c2ac3..0549bc810 100644 --- a/libs/microphone/pxt.json +++ b/libs/microphone/pxt.json @@ -9,5 +9,6 @@ "minidal", "minidalusb" ], + "weight": 98, "icon": "./static/packages/microphone/icon.png" } \ No newline at end of file diff --git a/libs/radio/pxt.json b/libs/radio/pxt.json index ef1b29e71..29698ae47 100644 --- a/libs/radio/pxt.json +++ b/libs/radio/pxt.json @@ -12,6 +12,7 @@ "radio.ts", "targetoverrides.ts" ], + "searchOnly": true, "public": true, "additionalFilePath": "../../node_modules/pxt-common-packages/libs/radio", "icon": "./static/packages/radio/icon.png",