Skip to content

Commit 19d16f7

Browse files
Update Gleam & Lustre versions
1 parent 7f4279d commit 19d16f7

File tree

9 files changed

+25
-23
lines changed

9 files changed

+25
-23
lines changed

gleam.toml

+2-2
Original file line numberDiff line numberDiff line change
@@ -15,10 +15,10 @@ target = "javascript"
1515

1616
[dependencies]
1717
gleam_stdlib = ">= 0.44.0 and < 2.0.0"
18-
lustre = ">= 4.6.3 and < 5.0.0"
18+
lustre = ">= 5.0.2 and < 6.0.0"
1919
tom = ">= 1.1.0 and < 2.0.0"
2020
simplifile = ">= 2.2.0 and < 3.0.0"
2121

2222
[dev-dependencies]
2323
gleeunit = ">= 1.0.0 and < 2.0.0"
24-
lustre_ssg = ">= 0.10.0 and < 1.0.0"
24+
lustre_ssg = ">= 0.11.0 and < 1.0.0"

manifest.toml

+13-11
Original file line numberDiff line numberDiff line change
@@ -4,26 +4,28 @@
44
packages = [
55
{ name = "envoy", version = "1.0.2", build_tools = ["gleam"], requirements = ["gleam_stdlib"], otp_app = "envoy", source = "hex", outer_checksum = "95FD059345AA982E89A0B6E2A3BF1CF43E17A7048DCD85B5B65D3B9E4E39D359" },
66
{ name = "exception", version = "2.0.0", build_tools = ["gleam"], requirements = ["gleam_stdlib"], otp_app = "exception", source = "hex", outer_checksum = "F5580D584F16A20B7FCDCABF9E9BE9A2C1F6AC4F9176FA6DD0B63E3B20D450AA" },
7-
{ name = "filepath", version = "1.1.1", build_tools = ["gleam"], requirements = ["gleam_stdlib"], otp_app = "filepath", source = "hex", outer_checksum = "65F51013BCF78A603AFFD7992EF1CC6ECA96C74038EB48887F656DE44DBC1902" },
8-
{ name = "gleam_crypto", version = "1.4.0", build_tools = ["gleam"], requirements = ["gleam_stdlib"], otp_app = "gleam_crypto", source = "hex", outer_checksum = "8AE56026B3E05EBB1F076778478A762E9EB62B31AEEB4285755452F397029D22" },
7+
{ name = "filepath", version = "1.1.2", build_tools = ["gleam"], requirements = ["gleam_stdlib"], otp_app = "filepath", source = "hex", outer_checksum = "B06A9AF0BF10E51401D64B98E4B627F1D2E48C154967DA7AF4D0914780A6D40A" },
8+
{ name = "gleam_crypto", version = "1.5.0", build_tools = ["gleam"], requirements = ["gleam_stdlib"], otp_app = "gleam_crypto", source = "hex", outer_checksum = "917BC8B87DBD584830E3B389CBCAB140FFE7CB27866D27C6D0FB87A9ECF35602" },
99
{ name = "gleam_erlang", version = "0.34.0", build_tools = ["gleam"], requirements = ["gleam_stdlib"], otp_app = "gleam_erlang", source = "hex", outer_checksum = "0C38F2A128BAA0CEF17C3000BD2097EB80634E239CE31A86400C4416A5D0FDCC" },
1010
{ name = "gleam_json", version = "2.3.0", build_tools = ["gleam"], requirements = ["gleam_stdlib"], otp_app = "gleam_json", source = "hex", outer_checksum = "C55C5C2B318533A8072D221C5E06E5A75711C129E420DD1CE463342106012E5D" },
1111
{ name = "gleam_otp", version = "0.16.1", build_tools = ["gleam"], requirements = ["gleam_erlang", "gleam_stdlib"], otp_app = "gleam_otp", source = "hex", outer_checksum = "50DA1539FC8E8FA09924EB36A67A2BBB0AD6B27BCDED5A7EF627057CF69D035E" },
12-
{ name = "gleam_regexp", version = "1.1.0", build_tools = ["gleam"], requirements = ["gleam_stdlib"], otp_app = "gleam_regexp", source = "hex", outer_checksum = "7F5E0C0BBEB3C58E57C9CB05FA9002F970C85AD4A63BA1E55CBCB35C15809179" },
13-
{ name = "gleam_stdlib", version = "0.57.0", build_tools = ["gleam"], requirements = [], otp_app = "gleam_stdlib", source = "hex", outer_checksum = "86EFACDF6460B8681E82752C5490F9630EC0F138F88A037DDCB241799AA8811F" },
14-
{ name = "gleeunit", version = "1.3.0", build_tools = ["gleam"], requirements = ["gleam_stdlib"], otp_app = "gleeunit", source = "hex", outer_checksum = "0E6C83834BA65EDCAAF4FE4FB94AC697D9262D83E6F58A750D63C9F6C8A9D9FF" },
15-
{ name = "jot", version = "2.0.1", build_tools = ["gleam"], requirements = ["gleam_stdlib"], otp_app = "jot", source = "hex", outer_checksum = "8DF4F3958EE75975EBA6C1BBAA4D0A947A1704A0928EDE49AD7A5BD268D99B6F" },
16-
{ name = "lustre", version = "4.6.4", build_tools = ["gleam"], requirements = ["gleam_erlang", "gleam_json", "gleam_otp", "gleam_stdlib"], otp_app = "lustre", source = "hex", outer_checksum = "CC59564624A4A1D855B5FEB55D979A072B328D0368E82A1639F180840D6288E9" },
17-
{ name = "lustre_ssg", version = "0.10.0", build_tools = ["gleam"], requirements = ["filepath", "gleam_regexp", "gleam_stdlib", "jot", "lustre", "simplifile", "temporary", "tom"], otp_app = "lustre_ssg", source = "hex", outer_checksum = "8112BE53573A6026F1594046077F0DAA1EF017C0F6B5C5239587FE13D1579326" },
18-
{ name = "simplifile", version = "2.2.0", build_tools = ["gleam"], requirements = ["filepath", "gleam_stdlib"], otp_app = "simplifile", source = "hex", outer_checksum = "0DFABEF7DC7A9E2FF4BB27B108034E60C81BEBFCB7AB816B9E7E18ED4503ACD8" },
12+
{ name = "gleam_regexp", version = "1.1.1", build_tools = ["gleam"], requirements = ["gleam_stdlib"], otp_app = "gleam_regexp", source = "hex", outer_checksum = "9C215C6CA84A5B35BB934A9B61A9A306EC743153BE2B0425A0D032E477B062A9" },
13+
{ name = "gleam_stdlib", version = "0.59.0", build_tools = ["gleam"], requirements = [], otp_app = "gleam_stdlib", source = "hex", outer_checksum = "F8FEE9B35797301994B81AF75508CF87C328FE1585558B0FFD188DC2B32EAA95" },
14+
{ name = "gleeunit", version = "1.3.1", build_tools = ["gleam"], requirements = ["gleam_stdlib"], otp_app = "gleeunit", source = "hex", outer_checksum = "A7DD6C07B7DA49A6E28796058AA89E651D233B357D5607006D70619CD89DAAAB" },
15+
{ name = "houdini", version = "1.1.0", build_tools = ["gleam"], requirements = ["gleam_stdlib"], otp_app = "houdini", source = "hex", outer_checksum = "5BA517E5179F132F0471CB314F27FE210A10407387DA1EA4F6FD084F74469FC2" },
16+
{ name = "jot", version = "4.0.0", build_tools = ["gleam"], requirements = ["gleam_stdlib", "houdini", "splitter"], otp_app = "jot", source = "hex", outer_checksum = "E9E266D2768EA1238283D2CF125AA68095F17BAA4DDF3598360FD19F38593C59" },
17+
{ name = "lustre", version = "5.0.2", build_tools = ["gleam"], requirements = ["gleam_erlang", "gleam_json", "gleam_otp", "gleam_stdlib", "houdini"], otp_app = "lustre", source = "hex", outer_checksum = "ED46F0CA5BA61067DDC2CEDEA9906AC99E88F49918EFDC58283A531F0A14F042" },
18+
{ name = "lustre_ssg", version = "0.11.0", build_tools = ["gleam"], requirements = ["filepath", "gleam_regexp", "gleam_stdlib", "jot", "lustre", "simplifile", "temporary", "tom"], otp_app = "lustre_ssg", source = "hex", outer_checksum = "D1F2B47EBE27C2B1DE6552A0883BC676D8EB076359D152FFA323FADDC74FFC41" },
19+
{ name = "simplifile", version = "2.2.1", build_tools = ["gleam"], requirements = ["filepath", "gleam_stdlib"], otp_app = "simplifile", source = "hex", outer_checksum = "C88E0EE2D509F6D86EB55161D631657675AA7684DAB83822F7E59EB93D9A60E3" },
20+
{ name = "splitter", version = "1.0.0", build_tools = ["gleam"], requirements = ["gleam_stdlib"], otp_app = "splitter", source = "hex", outer_checksum = "128FC521EE33B0012E3E64D5B55168586BC1B9C8D7B0D0CA223B68B0D770A547" },
1921
{ name = "temporary", version = "1.0.0", build_tools = ["gleam"], requirements = ["envoy", "exception", "filepath", "gleam_crypto", "gleam_stdlib", "simplifile"], otp_app = "temporary", source = "hex", outer_checksum = "51C0FEF4D72CE7CA507BD188B21C1F00695B3D5B09D7DFE38240BFD3A8E1E9B3" },
2022
{ name = "tom", version = "1.1.1", build_tools = ["gleam"], requirements = ["gleam_stdlib"], otp_app = "tom", source = "hex", outer_checksum = "0910EE688A713994515ACAF1F486A4F05752E585B9E3209D8F35A85B234C2719" },
2123
]
2224

2325
[requirements]
2426
gleam_stdlib = { version = ">= 0.44.0 and < 2.0.0" }
2527
gleeunit = { version = ">= 1.0.0 and < 2.0.0" }
26-
lustre = { version = ">= 4.6.3 and < 5.0.0" }
27-
lustre_ssg = { version = ">= 0.10.0 and < 1.0.0" }
28+
lustre = { version = ">= 5.0.2 and < 6.0.0" }
29+
lustre_ssg = { version = ">= 0.11.0 and < 1.0.0" }
2830
simplifile = { version = ">= 2.2.0 and < 3.0.0" }
2931
tom = { version = ">= 1.1.0 and < 2.0.0" }

src/build.gleam

+1-1
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ pub fn main() {
3434
case build {
3535
Ok(_) -> io.println("Build succeeded!")
3636
Error(e) -> {
37-
io.debug(e)
37+
echo e
3838
io.println("Build failed!")
3939
}
4040
}

src/website/component/header.gleam

+4-4
Original file line numberDiff line numberDiff line change
@@ -29,15 +29,15 @@ pub fn view(page: String) -> Element(a) {
2929
[attribute.class("flex flex-shrink-0 items-center space-x-1")],
3030
[
3131
html.img([
32-
attribute.style([
32+
attribute.styles([
3333
#("image-rendering", "optimizeSpeed"),
3434
#("image-rendering", "pixelated"),
3535
]),
3636
attribute.width(64),
3737
attribute.height(64),
3838
attribute.src("/images/logo.svg"),
39-
attribute.class("max-w-none"),
4039
attribute.alt("Gears logo"),
40+
attribute.class("w-16"),
4141
]),
4242
html.figcaption(
4343
[
@@ -50,7 +50,7 @@ pub fn view(page: String) -> Element(a) {
5050
svg.path([
5151
attribute("d", logo_svg),
5252
attribute.class("animate-write"),
53-
attribute.style([
53+
attribute.styles([
5454
#("fill", "none"),
5555
#("stroke", "#ffffff"),
5656
#("stroke-width", "1px"),
@@ -93,7 +93,7 @@ fn nav_bar(current_page: String) -> Element(a) {
9393
default_style
9494
<> " border-cyan-500 text-cyan-300 ease-linear duration-75 hover:underline text-xs lg:text-xl hover:text-xl hover:lg:text-2xl",
9595
),
96-
attribute.style([#("transition-property", "font-size")]),
96+
attribute.style("transition-property", "font-size"),
9797
attribute.href(page.url),
9898
],
9999
[element.text(page.name)],

src/website/page/about.gleam

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import lustre/attribute.{attribute}
1+
import lustre/attribute
22
import lustre/element/html
33
import website/component
44

src/website/page/commissions.gleam

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import lustre/attribute.{attribute}
1+
import lustre/attribute
22
import lustre/element/html
33
import website/component
44

src/website/page/contact.gleam

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import lustre/attribute.{attribute}
1+
import lustre/attribute
22
import lustre/element/html
33
import website/component
44

src/website/page/index.gleam

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import lustre/attribute.{attribute}
1+
import lustre/attribute
22
import lustre/element/html
33
import website/component
44

src/website/page/projects.gleam

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import gleam/dict
22
import gleam/list
3-
import lustre/attribute.{attribute}
3+
import lustre/attribute
44
import lustre/element.{type Element}
55
import lustre/element/html
66
import website/component

0 commit comments

Comments
 (0)