Last active
January 28, 2022 12:27
-
-
Save 03juan/36c251098ed36604ad2fb955d514b994 to your computer and use it in GitHub Desktop.
Compare `phx_new --no-ecto --no-live static_test_site` generation between v1.6.0 and v1.6.6
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --color=always --recursive 1.6.0 1.6.6 | |
diff '--color=always' --recursive 1.6.0/static_test_site/assets/css/app.css 1.6.6/static_test_site/assets/css/app.css | |
49c49 | |
< .phx-disconnected{ | |
--- | |
> .phx-loading{ | |
52,54d51 | |
< .phx-disconnected *{ | |
< pointer-events: none; | |
< } | |
65d61 | |
< background-color: rgb(0,0,0); | |
88a85,119 | |
> } | |
> | |
> .fade-in-scale { | |
> animation: 0.2s ease-in 0s normal forwards 1 fade-in-scale-keys; | |
> } | |
> | |
> .fade-out-scale { | |
> animation: 0.2s ease-out 0s normal forwards 1 fade-out-scale-keys; | |
> } | |
> | |
> .fade-in { | |
> animation: 0.2s ease-out 0s normal forwards 1 fade-in-keys; | |
> } | |
> .fade-out { | |
> animation: 0.2s ease-out 0s normal forwards 1 fade-out-keys; | |
> } | |
> | |
> @keyframes fade-in-scale-keys{ | |
> 0% { scale: 0.95; opacity: 0; } | |
> 100% { scale: 1.0; opacity: 1; } | |
> } | |
> | |
> @keyframes fade-out-scale-keys{ | |
> 0% { scale: 1.0; opacity: 1; } | |
> 100% { scale: 0.95; opacity: 0; } | |
> } | |
> | |
> @keyframes fade-in-keys{ | |
> 0% { opacity: 0; } | |
> 100% { opacity: 1; } | |
> } | |
> | |
> @keyframes fade-out-keys{ | |
> 0% { opacity: 1; } | |
> 100% { opacity: 0; } | |
diff '--color=always' --recursive 1.6.0/static_test_site/assets/js/app.js 1.6.6/static_test_site/assets/js/app.js | |
14c14 | |
< // import "./vendor/some-package.js" | |
--- | |
> // import "../vendor/some-package.js" | |
16c16 | |
< // Alternatively, you can `npm install some-package` and import | |
--- | |
> // Alternatively, you can `npm install some-package --prefix assets` and import | |
44a45 | |
> | |
diff '--color=always' --recursive 1.6.0/static_test_site/assets/vendor/topbar.js 1.6.6/static_test_site/assets/vendor/topbar.js | |
4c4 | |
< * http://buunguyen.github.io/topbar | |
--- | |
> * https://buunguyen.github.io/topbar | |
diff '--color=always' --recursive 1.6.0/static_test_site/config/config.exs 1.6.6/static_test_site/config/config.exs | |
15c15 | |
< live_view: [signing_salt: "aOF/EPrJ"] | |
--- | |
> live_view: [signing_salt: "LAeFN8Ca"] | |
31c31 | |
< version: "0.12.18", | |
--- | |
> version: "0.14.0", | |
33c33,34 | |
< args: ~w(js/app.js --bundle --target=es2016 --outdir=../priv/static/assets), | |
--- | |
> args: | |
> ~w(js/app.js --bundle --target=es2017 --outdir=../priv/static/assets --external:/fonts/* --external:/images/*), | |
diff '--color=always' --recursive 1.6.0/static_test_site/config/dev.exs 1.6.6/static_test_site/config/dev.exs | |
16c16 | |
< secret_key_base: "Ypuv67NCCt2vBVsBfmANVllVxV2OLCt6SwKU+i+Hd9hAD++jEwik+/uKVKy+4wO0", | |
--- | |
> secret_key_base: "ic1RduWOF0Um+Iz1iuJW3uXvV70EdVNh5Ec+mluKni3qrGMt2vyNVTJtMxG5QrKN", | |
diff '--color=always' --recursive 1.6.0/static_test_site/config/prod.exs 1.6.6/static_test_site/config/prod.exs | |
12,14c12 | |
< config :static_test_site, StaticTestSiteWeb.Endpoint, | |
< url: [host: "example.com", port: 80], | |
< cache_static_manifest: "priv/static/cache_manifest.json" | |
--- | |
> config :static_test_site, StaticTestSiteWeb.Endpoint, cache_static_manifest: "priv/static/cache_manifest.json" | |
diff '--color=always' --recursive 1.6.0/static_test_site/config/runtime.exs 1.6.6/static_test_site/config/runtime.exs | |
8a9,14 | |
> | |
> # Start the phoenix server if environment is set and running in a release | |
> if System.get_env("PHX_SERVER") && System.get_env("RELEASE_NAME") do | |
> config :static_test_site, StaticTestSiteWeb.Endpoint, server: true | |
> end | |
> | |
21a28,30 | |
> host = System.get_env("PHX_HOST") || "example.com" | |
> port = String.to_integer(System.get_env("PORT") || "4000") | |
> | |
22a32 | |
> url: [host: host, port: 443], | |
29c39 | |
< port: String.to_integer(System.get_env("PORT") || "4000") | |
--- | |
> port: port | |
diff '--color=always' --recursive 1.6.0/static_test_site/config/test.exs 1.6.6/static_test_site/config/test.exs | |
7c7 | |
< secret_key_base: "LGuT+91qFwOes1eM5zpaCf1bbvqdrYk74VEgLC7899b9WVNJrC2Adw1qNF/LCp+S", | |
--- | |
> secret_key_base: "R3pPQbLBhpbTtmLSS7JXZG15EjRcfS16qgk+OBe6CggR8DS2PHKmFxEKT95mIoOU", | |
diff '--color=always' --recursive 1.6.0/static_test_site/lib/static_test_site_web/endpoint.ex 1.6.6/static_test_site/lib/static_test_site_web/endpoint.ex | |
10c10 | |
< signing_salt: "ym1Q4iZL" | |
--- | |
> signing_salt: "SZg9sdjO" | |
diff '--color=always' --recursive 1.6.0/static_test_site/lib/static_test_site_web/router.ex 1.6.6/static_test_site/lib/static_test_site_web/router.ex | |
39a40 | |
> | |
diff '--color=always' --recursive 1.6.0/static_test_site/lib/static_test_site_web.ex 1.6.6/static_test_site/lib/static_test_site_web.ex | |
61a62,69 | |
> def component do | |
> quote do | |
> use Phoenix.Component | |
> | |
> unquote(view_helpers()) | |
> end | |
> end | |
> | |
diff '--color=always' --recursive 1.6.0/static_test_site/mix.exs 1.6.6/static_test_site/mix.exs | |
36c36 | |
< {:phoenix, "~> 1.6.0"}, | |
--- | |
> {:phoenix, "~> 1.6.6"}, | |
39c39 | |
< {:phoenix_live_view, "~> 0.16.0"}, | |
--- | |
> {:phoenix_live_view, "~> 0.17.5"}, | |
41,42c41,42 | |
< {:phoenix_live_dashboard, "~> 0.5"}, | |
< {:esbuild, "~> 0.2", runtime: Mix.env() == :dev}, | |
--- | |
> {:phoenix_live_dashboard, "~> 0.6"}, | |
> {:esbuild, "~> 0.3", runtime: Mix.env() == :dev}, | |
diff '--color=always' --recursive 1.6.0/static_test_site/priv/static/robots.txt 1.6.6/static_test_site/priv/static/robots.txt | |
1c1 | |
< # See http://www.robotstxt.org/robotstxt.html for documentation on how to use the robots.txt file | |
--- | |
> # See https://www.robotstxt.org/robotstxt.html for documentation on how to use the robots.txt file |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment