From 65716ac34e48ffd43d3b3a377e39da970f094e64 Mon Sep 17 00:00:00 2001 From: Dillon Kearns Date: Sun, 2 Apr 2023 21:49:49 -0700 Subject: [PATCH] Use latest elm-codegen and fix type annotation in AddRoute example. --- examples/blog-engine/elm.json | 2 +- examples/blog-engine/script/elm.json | 12 ++++++------ examples/blog-engine/script/src/AddRoute.elm | 1 + 3 files changed, 8 insertions(+), 7 deletions(-) diff --git a/examples/blog-engine/elm.json b/examples/blog-engine/elm.json index 1586cf4f..5d19e41e 100644 --- a/examples/blog-engine/elm.json +++ b/examples/blog-engine/elm.json @@ -38,7 +38,7 @@ "elm-community/list-extra": "8.7.0", "jluckyiv/elm-utc-date-strings": "1.0.0", "justinmimbs/date": "4.0.1", - "mdgriffith/elm-codegen": "2.1.0", + "mdgriffith/elm-codegen": "3.0.0", "mgold/elm-nonempty-list": "4.2.0", "miniBill/elm-codec": "2.0.0", "noahzgordon/elm-color-extra": "1.0.2", diff --git a/examples/blog-engine/script/elm.json b/examples/blog-engine/script/elm.json index a8c55eb9..72dce519 100644 --- a/examples/blog-engine/script/elm.json +++ b/examples/blog-engine/script/elm.json @@ -15,7 +15,7 @@ "dillonkearns/elm-bcp47-language-tag": "1.0.1", "dillonkearns/elm-cli-options-parser": "3.2.0", "dillonkearns/elm-date-or-date-time": "2.0.0", - "dillonkearns/elm-markdown": "7.0.0", + "dillonkearns/elm-markdown": "7.0.1", "elm/browser": "1.0.2", "elm/bytes": "1.0.8", "elm/core": "1.0.5", @@ -28,11 +28,11 @@ "elm/url": "1.0.0", "elm/virtual-dom": "1.0.3", "elm-community/dict-extra": "2.4.0", - "elm-community/list-extra": "8.6.0", + "elm-community/list-extra": "8.7.0", "jluckyiv/elm-utc-date-strings": "1.0.0", "justinmimbs/date": "4.0.1", "matheus23/elm-default-tailwind-modules": "2.0.3", - "mdgriffith/elm-codegen": "2.1.0", + "mdgriffith/elm-codegen": "3.0.0", "miniBill/elm-codec": "2.0.0", "noahzgordon/elm-color-extra": "1.0.2", "pablohirafuji/elm-syntax-highlight": "3.4.1", @@ -43,7 +43,7 @@ "the-sett/elm-pretty-printer": "3.0.0", "the-sett/elm-syntax-dsl": "6.0.2", "tripokey/elm-fuzzy": "5.2.1", - "turboMaCk/non-empty-list-alias": "1.3.0", + "turboMaCk/non-empty-list-alias": "1.3.1", "vito/elm-ansi": "10.0.1", "zwilias/json-decode-exploration": "6.0.0" }, @@ -56,7 +56,7 @@ "elm-community/maybe-extra": "5.3.0", "fredcy/elm-parseint": "2.0.1", "mgold/elm-nonempty-list": "4.2.0", - "miniBill/elm-unicode": "1.0.2", + "miniBill/elm-unicode": "1.0.3", "rtfeldman/elm-hex": "1.0.0", "stil4m/elm-syntax": "7.2.9", "stil4m/structured-writer": "1.0.3" @@ -66,4 +66,4 @@ "direct": {}, "indirect": {} } -} \ No newline at end of file +} diff --git a/examples/blog-engine/script/src/AddRoute.elm b/examples/blog-engine/script/src/AddRoute.elm index 3b47585f..b8acabce 100644 --- a/examples/blog-engine/script/src/AddRoute.elm +++ b/examples/blog-engine/script/src/AddRoute.elm @@ -245,6 +245,7 @@ errorsView : { declaration : Elm.Declaration , call : Elm.Expression -> Elm.Expression -> Elm.Expression , callFrom : List String -> Elm.Expression -> Elm.Expression -> Elm.Expression + , value : List String -> Elm.Expression } errorsView = Elm.Declare.fn2 "errorsView"