aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHayleigh Thompson <me@hayleigh.dev>2024-02-19 22:29:41 +0000
committerHayleigh Thompson <me@hayleigh.dev>2024-02-19 22:29:41 +0000
commit0fa46f475e2f14cd798973c2598472782f142514 (patch)
treeaf8b51d57190a31a5d401b08f675e09cb2475dcd
parent2ea5305e81746bb60eca30d2171a5cc6b04ada4b (diff)
downloadlustre-0fa46f475e2f14cd798973c2598472782f142514.tar.gz
lustre-0fa46f475e2f14cd798973c2598472782f142514.zip
:heavy_plus_sign: Upgrade glint to v0.16.0-rc1
-rw-r--r--gleam.toml2
-rw-r--r--manifest.toml4
-rw-r--r--src/lustre/cli/add.gleam2
-rw-r--r--src/lustre/cli/build.gleam4
-rw-r--r--src/lustre/cli/dev.gleam3
5 files changed, 7 insertions, 8 deletions
diff --git a/gleam.toml b/gleam.toml
index 83da3ab..3f58079 100644
--- a/gleam.toml
+++ b/gleam.toml
@@ -25,7 +25,7 @@ gleam_erlang = "~> 0.23"
gleam_json = "~> 0.7"
gleam_otp = "~> 0.8"
gleam_stdlib = "~> 0.34"
-glint = "~> 0.15.0"
+glint = "0.16.0-rc1"
justin = "~> 1.0"
shellout = "~> 1.5"
simplifile = "~> 1.4"
diff --git a/manifest.toml b/manifest.toml
index c7f9a1c..a6d82df 100644
--- a/manifest.toml
+++ b/manifest.toml
@@ -13,7 +13,7 @@ packages = [
{ name = "gleam_otp", version = "0.9.0", build_tools = ["gleam"], requirements = ["gleam_erlang", "gleam_stdlib"], otp_app = "gleam_otp", source = "hex", outer_checksum = "5FADBBEC5ECF3F8B6BE91101D432758503192AE2ADBAD5602158977341489F71" },
{ name = "gleam_stdlib", version = "0.34.0", build_tools = ["gleam"], requirements = [], otp_app = "gleam_stdlib", source = "hex", outer_checksum = "1FB8454D2991E9B4C0C804544D8A9AD0F6184725E20D63C3155F0AEB4230B016" },
{ name = "gleeunit", version = "1.0.2", build_tools = ["gleam"], requirements = ["gleam_stdlib"], otp_app = "gleeunit", source = "hex", outer_checksum = "D364C87AFEB26BDB4FB8A5ABDE67D635DC9FA52D6AB68416044C35B096C6882D" },
- { name = "glint", version = "0.15.0", build_tools = ["gleam"], requirements = ["gleam_community_ansi", "gleam_community_colour", "gleam_stdlib", "snag"], otp_app = "glint", source = "hex", outer_checksum = "D5324DBE11F57BF0B303D99EA086D66B8DC319EE59C1355C76EBB1544187C237" },
+ { name = "glint", version = "0.16.0-rc1", build_tools = ["gleam"], requirements = ["gleam_community_ansi", "gleam_community_colour", "gleam_stdlib", "snag"], otp_app = "glint", source = "hex", outer_checksum = "AF9A7CCAD9FC8CDFF2606F97BC52C2D98559F27EB28CD3B8A11A35641740AE2F" },
{ name = "justin", version = "1.0.1", build_tools = ["gleam"], requirements = ["gleam_stdlib"], otp_app = "justin", source = "hex", outer_checksum = "7FA0C6DB78640C6DC5FBFD59BF3456009F3F8B485BF6825E97E1EB44E9A1E2CD" },
{ name = "rank", version = "1.0.0", build_tools = ["gleam"], requirements = ["gleam_stdlib"], otp_app = "rank", source = "hex", outer_checksum = "5660E361F0E49CBB714CC57CC4C89C63415D8986F05B2DA0C719D5642FAD91C9" },
{ name = "shellout", version = "1.6.0", build_tools = ["gleam"], requirements = ["gleam_stdlib"], otp_app = "shellout", source = "hex", outer_checksum = "E2FCD18957F0E9F67E1F497FC9FF57393392F8A9BAEAEA4779541DE7A68DD7E0" },
@@ -33,7 +33,7 @@ gleam_json = { version = "~> 0.7" }
gleam_otp = { version = "~> 0.8" }
gleam_stdlib = { version = "~> 0.34" }
gleeunit = { version = "~> 1.0" }
-glint = { version = "~> 0.15.0" }
+glint = { version = "0.16.0-rc1" }
justin = { version = "~> 1.0" }
shellout = { version = "~> 1.5" }
simplifile = { version = "~> 1.4" }
diff --git a/src/lustre/cli/add.gleam b/src/lustre/cli/add.gleam
index 5323e8d..5fc53da 100644
--- a/src/lustre/cli/add.gleam
+++ b/src/lustre/cli/add.gleam
@@ -25,7 +25,7 @@ to bundle applications and act as a development server.
}
})
|> glint.description(description)
- |> glint.count_args(glint.EqArgs(0))
+ |> glint.unnamed_args(glint.EqArgs(0))
|> glint.flag("os", {
let description = ""
let default = get_os()
diff --git a/src/lustre/cli/build.gleam b/src/lustre/cli/build.gleam
index 2b939f3..1314f9e 100644
--- a/src/lustre/cli/build.gleam
+++ b/src/lustre/cli/build.gleam
@@ -76,7 +76,7 @@ JavaScript module for you to host or distribute.
}
})
|> glint.description(description)
- |> glint.count_args(glint.EqArgs(0))
+ |> glint.unnamed_args(glint.EqArgs(0))
|> glint.flag("minify", {
let description = "Minify the output"
let default = False
@@ -150,7 +150,7 @@ present.
})
|> glint.description(description)
|> glint.named_args(["module_path"])
- |> glint.count_args(glint.EqArgs(1))
+ |> glint.unnamed_args(glint.EqArgs(1))
|> glint.flag("minify", {
let description = "Minify the output"
let default = False
diff --git a/src/lustre/cli/dev.gleam b/src/lustre/cli/dev.gleam
index 75711bc..f561b39 100644
--- a/src/lustre/cli/dev.gleam
+++ b/src/lustre/cli/dev.gleam
@@ -20,7 +20,6 @@ import simplifile
pub fn run() -> Command(Nil) {
let description =
"
-
"
glint.command(fn(input) {
@@ -82,7 +81,7 @@ pub fn run() -> Command(Nil) {
}
})
|> glint.description(description)
- |> glint.count_args(glint.EqArgs(0))
+ |> glint.unnamed_args(glint.EqArgs(0))
|> glint.flag("host", {
let description = ""
let default = "0.0.0.0"