Skip to content

Commit fe890f7

Browse files
committed
Add Jest 28 to calendar
1 parent 1628b11 commit fe890f7

File tree

1 file changed

+12
-3
lines changed

1 file changed

+12
-3
lines changed

lib/components_guide_web/controllers/calendar_controller.ex

Lines changed: 12 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,10 @@ defmodule ComponentsGuideWeb.CalendarController do
2323
react18: %{release: {2022, 3, 29}}
2424
}
2525

26+
jest = %{
27+
jest28: %{release: {2022, 4, 25}}
28+
}
29+
2630
postgres = %{
2731
postgres9_6: %{end_of_life: {2021, 11, 11}},
2832
postgres10: %{end_of_life: {2022, 11, 10}}
@@ -64,7 +68,8 @@ defmodule ComponentsGuideWeb.CalendarController do
6468
golang,
6569
browsers,
6670
postgres,
67-
aws_lambda
71+
aws_lambda,
72+
jest
6873
]
6974

7075
links = %{
@@ -76,11 +81,14 @@ defmodule ComponentsGuideWeb.CalendarController do
7681
swift5_6: "https://www.swift.org/blog/swift-5.6-released/",
7782
safari15_4: "https://webkit.org/blog/12445/new-webkit-features-in-safari-15-4/",
7883
go1_18: "https://go.dev/doc/go1.18",
79-
nodejs18: "https://nodejs.org/en/blog/announcements/v18-release-announce/"
84+
nodejs18: "https://nodejs.org/en/blog/announcements/v18-release-announce/",
85+
deno1_21: "https://deno.com/blog/v1.21",
86+
jest28: "https://jestjs.io/blog/2022/04/25/jest-28"
8087
}
8188

8289
assigns = [
83-
page_title: "Calendar of when important tools are released, become LTS, and reach end-of-life",
90+
page_title:
91+
"Calendar of when important tools are released, become LTS, and reach end-of-life",
8492
current_week: iso_week_number(Date.utc_today() |> Date.to_erl()),
8593
list: create_list(groups, links)
8694
]
@@ -184,6 +192,7 @@ defmodule ComponentsGuideWeb.CalendarView do
184192
<<"swift" <> version>> -> "Swift #{pretty_version(version)}"
185193
<<"go" <> version>> -> "Go #{pretty_version(version)}"
186194
<<"react" <> version>> -> "React #{pretty_version(version)}"
195+
<<"jest" <> version>> -> "Jest #{pretty_version(version)}"
187196
<<"aws_lambda_nodejs" <> version>> -> "AWS Lambda Node.js #{pretty_version(version)}"
188197
s -> s
189198
end

0 commit comments

Comments
 (0)