From ad9d2ecc553fe897850249b59d1b524dd73e6f63 Mon Sep 17 00:00:00 2001 From: Gerald Pinder Date: Mon, 30 Dec 2024 18:40:16 -0500 Subject: [PATCH 1/2] feat: Add a nushell-version property for ModuleDefaults --- src-tsp/main.tsp | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src-tsp/main.tsp b/src-tsp/main.tsp index 7d9b033..5a35cde 100644 --- a/src-tsp/main.tsp +++ b/src-tsp/main.tsp @@ -43,6 +43,12 @@ model Recipe { **/ `blue-build-tag`?: string; + /** The version of nushell to use for this module. + * This will override the version specified in the module's + * label `org.blue-build.nushell-version`. + */ + `nushell-version`?: string; + /** * A list of [stages](https://blue-build.org/reference/stages/) that are executed before the build of the final image. * This is useful for compiling programs from source without polluting the final bootable image. From 99c3fce4c4bb7660cf9c957485c826ef0ec475aa Mon Sep 17 00:00:00 2001 From: xyny <60004820+xynydev@users.noreply.github.com> Date: Sun, 5 Jan 2025 12:01:45 +0000 Subject: [PATCH 2/2] fix: update nushell-version comment --- src-tsp/main.tsp | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/src-tsp/main.tsp b/src-tsp/main.tsp index 5a35cde..fa8ff93 100644 --- a/src-tsp/main.tsp +++ b/src-tsp/main.tsp @@ -43,9 +43,10 @@ model Recipe { **/ `blue-build-tag`?: string; - /** The version of nushell to use for this module. - * This will override the version specified in the module's - * label `org.blue-build.nushell-version`. + /** + * The version of nushell to include in this image. + * This will override the default BlueBuild Nushell version. + * Change only if you need a specific version of Nushell, changing this might break some BlueBuild modules. */ `nushell-version`?: string;