From cdc7a7f05e7fe6cee3ebb09b0c6ea65f60ab88db Mon Sep 17 00:00:00 2001 From: Stefan Prodan Date: Tue, 11 Jun 2024 11:05:28 +0300 Subject: [PATCH] Add language version to all modules Adapt to breaking change in CUE v0.9.0 Signed-off-by: Stefan Prodan --- blueprints/starter/cue.mod/module.cue | 3 +++ cmd/timoni/testdata/module/cue.mod/module.cue | 3 +++ examples/minimal/cue.mod/module.cue | 3 +++ examples/redis/cue.mod/module.cue | 3 +++ internal/engine/testdata/module-invalid/cue.mod/module.cue | 3 +++ internal/engine/testdata/module/cue.mod/module.cue | 3 +++ 6 files changed, 18 insertions(+) diff --git a/blueprints/starter/cue.mod/module.cue b/blueprints/starter/cue.mod/module.cue index 267f6328..366c2c5f 100644 --- a/blueprints/starter/cue.mod/module.cue +++ b/blueprints/starter/cue.mod/module.cue @@ -1 +1,4 @@ module: "timoni.sh/blueprint" +language: { + version: "v0.9.0" +} diff --git a/cmd/timoni/testdata/module/cue.mod/module.cue b/cmd/timoni/testdata/module/cue.mod/module.cue index e17039f8..5cfb9a00 100644 --- a/cmd/timoni/testdata/module/cue.mod/module.cue +++ b/cmd/timoni/testdata/module/cue.mod/module.cue @@ -1 +1,4 @@ module: "timoni.sh/test" +language: { + version: "v0.9.0" +} diff --git a/examples/minimal/cue.mod/module.cue b/examples/minimal/cue.mod/module.cue index 8dcf6970..4f20eda9 100644 --- a/examples/minimal/cue.mod/module.cue +++ b/examples/minimal/cue.mod/module.cue @@ -1 +1,4 @@ module: "timoni.sh/minimal" +language: { + version: "v0.9.0" +} diff --git a/examples/redis/cue.mod/module.cue b/examples/redis/cue.mod/module.cue index efde6e59..e1fdf311 100644 --- a/examples/redis/cue.mod/module.cue +++ b/examples/redis/cue.mod/module.cue @@ -1 +1,4 @@ module: "timoni.sh/redis" +language: { + version: "v0.9.0" +} diff --git a/internal/engine/testdata/module-invalid/cue.mod/module.cue b/internal/engine/testdata/module-invalid/cue.mod/module.cue index e17039f8..5cfb9a00 100644 --- a/internal/engine/testdata/module-invalid/cue.mod/module.cue +++ b/internal/engine/testdata/module-invalid/cue.mod/module.cue @@ -1 +1,4 @@ module: "timoni.sh/test" +language: { + version: "v0.9.0" +} diff --git a/internal/engine/testdata/module/cue.mod/module.cue b/internal/engine/testdata/module/cue.mod/module.cue index e17039f8..5cfb9a00 100644 --- a/internal/engine/testdata/module/cue.mod/module.cue +++ b/internal/engine/testdata/module/cue.mod/module.cue @@ -1 +1,4 @@ module: "timoni.sh/test" +language: { + version: "v0.9.0" +}