Use phoenix javascript from NPM

This commit is contained in:
Uku Taht 2021-11-24 12:13:53 +02:00
parent b83e7b9dc5
commit 01c5a6cb5a
3 changed files with 20 additions and 12 deletions

View File

@ -32,8 +32,8 @@
"downshift": "^6.1.3", "downshift": "^6.1.3",
"iframe-resizer": "^4.3.2", "iframe-resizer": "^4.3.2",
"mini-css-extract-plugin": "^1.6.0", "mini-css-extract-plugin": "^1.6.0",
"phoenix": "file:../deps/phoenix", "phoenix": "1.5.0",
"phoenix_html": "file:../deps/phoenix_html", "phoenix_html": "2.12",
"postcss": "^8.3.0", "postcss": "^8.3.0",
"postcss-loader": "^6.1.1", "postcss-loader": "^6.1.1",
"react": "^16.13.1", "react": "^16.13.1",
@ -66,10 +66,12 @@
}, },
"../deps/phoenix": { "../deps/phoenix": {
"version": "1.5.13", "version": "1.5.13",
"extraneous": true,
"license": "MIT" "license": "MIT"
}, },
"../deps/phoenix_html": { "../deps/phoenix_html": {
"version": "2.14.3" "version": "2.14.3",
"extraneous": true
}, },
"node_modules/@babel/code-frame": { "node_modules/@babel/code-frame": {
"version": "7.12.13", "version": "7.12.13",
@ -6571,12 +6573,14 @@
} }
}, },
"node_modules/phoenix": { "node_modules/phoenix": {
"resolved": "../deps/phoenix", "version": "1.5.0",
"link": true "resolved": "https://registry.npmjs.org/phoenix/-/phoenix-1.5.0.tgz",
"integrity": "sha512-Vzz6eb64BEufIXTVkTcT5HiNdRyLY2DF/l2eN1LaeedRbBhGCsdRWdDISFjBSjxODjqY+w2NmSzBeHM8MieLRw=="
}, },
"node_modules/phoenix_html": { "node_modules/phoenix_html": {
"resolved": "../deps/phoenix_html", "version": "2.12.0",
"link": true "resolved": "https://registry.npmjs.org/phoenix_html/-/phoenix_html-2.12.0.tgz",
"integrity": "sha512-UulYUsew5h2qeCSIMs1VWINkkpCauEn8uEq0zt2Ky9FpfEW6LsasMJ+Vgi01tUBbBFEy73E+sUvucQ+okL69Aw=="
}, },
"node_modules/picocolors": { "node_modules/picocolors": {
"version": "0.2.1", "version": "0.2.1",
@ -13958,10 +13962,14 @@
"version": "4.0.0" "version": "4.0.0"
}, },
"phoenix": { "phoenix": {
"version": "file:../deps/phoenix" "version": "1.5.0",
"resolved": "https://registry.npmjs.org/phoenix/-/phoenix-1.5.0.tgz",
"integrity": "sha512-Vzz6eb64BEufIXTVkTcT5HiNdRyLY2DF/l2eN1LaeedRbBhGCsdRWdDISFjBSjxODjqY+w2NmSzBeHM8MieLRw=="
}, },
"phoenix_html": { "phoenix_html": {
"version": "file:../deps/phoenix_html" "version": "2.12.0",
"resolved": "https://registry.npmjs.org/phoenix_html/-/phoenix_html-2.12.0.tgz",
"integrity": "sha512-UulYUsew5h2qeCSIMs1VWINkkpCauEn8uEq0zt2Ky9FpfEW6LsasMJ+Vgi01tUBbBFEy73E+sUvucQ+okL69Aw=="
}, },
"picocolors": { "picocolors": {
"version": "0.2.1", "version": "0.2.1",

View File

@ -35,8 +35,8 @@
"downshift": "^6.1.3", "downshift": "^6.1.3",
"iframe-resizer": "^4.3.2", "iframe-resizer": "^4.3.2",
"mini-css-extract-plugin": "^1.6.0", "mini-css-extract-plugin": "^1.6.0",
"phoenix": "file:../deps/phoenix", "phoenix": "1.5.0",
"phoenix_html": "file:../deps/phoenix_html", "phoenix_html": "2.12",
"postcss": "^8.3.0", "postcss": "^8.3.0",
"postcss-loader": "^6.1.1", "postcss-loader": "^6.1.1",
"react": "^16.13.1", "react": "^16.13.1",

View File

@ -58,7 +58,7 @@ defmodule Plausible.MixProject do
{:jason, "~> 1.2"}, {:jason, "~> 1.2"},
{:phoenix, "~> 1.5.0"}, {:phoenix, "~> 1.5.0"},
{:phoenix_ecto, "~> 4.0"}, {:phoenix_ecto, "~> 4.0"},
{:phoenix_html, "~> 2.11"}, {:phoenix_html, "~> 2.12"},
{:phoenix_live_reload, "~> 1.2", only: :dev}, {:phoenix_live_reload, "~> 1.2", only: :dev},
{:phoenix_pubsub, "~> 2.0"}, {:phoenix_pubsub, "~> 2.0"},
{:plug_cowboy, "~> 2.3"}, {:plug_cowboy, "~> 2.3"},