From 1d71f5d3cdf1147428221a47e0e15383b6bfb903 Mon Sep 17 00:00:00 2001 From: Andreas Pehnack Date: Wed, 21 Dec 2022 21:52:45 +0700 Subject: [PATCH 1/2] Add dependency to lamdera/codecs --- docs/3.0-upgrade-notes.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/docs/3.0-upgrade-notes.md b/docs/3.0-upgrade-notes.md index 98494fdd..3027255c 100644 --- a/docs/3.0-upgrade-notes.md +++ b/docs/3.0-upgrade-notes.md @@ -1,5 +1,9 @@ # 3.0 Upgrade Notes +## elm.json + +- Add dependency `"lamdera/codecs": "1.0.0"` + ## File Structure - `rm -rf .elm-pages` From 81888ea995a8abaeaeed64b0aa22ba346da9609e Mon Sep 17 00:00:00 2001 From: Dillon Kearns Date: Mon, 26 Dec 2022 12:03:58 -0700 Subject: [PATCH 2/2] Handle new Vite format in diff cleaning for tests. --- examples/escaping/dist/escaping/index.html | 2 +- examples/escaping/package.json | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/examples/escaping/dist/escaping/index.html b/examples/escaping/dist/escaping/index.html index 1badce76..1cd3f129 100644 --- a/examples/escaping/dist/escaping/index.html +++ b/examples/escaping/dist/escaping/index.html @@ -3,7 +3,7 @@ - + diff --git a/examples/escaping/package.json b/examples/escaping/package.json index 544d9355..ac0094b4 100644 --- a/examples/escaping/package.json +++ b/examples/escaping/package.json @@ -5,7 +5,7 @@ "scripts": { "start": "elm-pages dev", "test": "elm-pages build --debug && npm run clean-diff && elm-pages build && npm run clean-diff", - "clean-diff": "sed -E -i.bak 's/\\.[a-f0-9]{8}\\.([a-z]{2,4})/.HASH.\\1/gi' ./dist/escaping/index.html && sed -i.bak 's/