diff --git a/.drone.yml b/.drone.yml index c068568..bf2f37e 100644 --- a/.drone.yml +++ b/.drone.yml @@ -17,7 +17,7 @@ steps: - .mix - name: test - image: elixir:1.16.1-alpine + image: elixir:1.17.0-alpine environment: TEST_DATABASE_URL: ecto://postgres:postgres@database/memex_test HOST: testing.example.tld @@ -26,8 +26,8 @@ steps: MIX_ENV: test commands: - apk add --no-cache build-base npm git - - mix local.rebar --force --if-missing - - mix local.hex --force --if-missing + - mix local.rebar --force + - mix local.hex --force - mix deps.get - npm set cache .npm - npm --prefix ./assets ci --no-audit --prefer-offline diff --git a/.tool-versions b/.tool-versions index 04b4a5e..351230f 100644 --- a/.tool-versions +++ b/.tool-versions @@ -1,3 +1,3 @@ -elixir 1.16.1-otp-26 -erlang 26.2.2 -nodejs 21.6.2 +elixir 1.17.0-otp-27 +erlang 27.0 +nodejs 22.3.0 diff --git a/Dockerfile b/Dockerfile index a2dccab..ada5782 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,4 +1,4 @@ -FROM elixir:1.16.1-alpine AS build +FROM elixir:1.17.0-alpine AS build # install build dependencies RUN apk add --no-cache build-base npm git python3 @@ -7,8 +7,8 @@ RUN apk add --no-cache build-base npm git python3 WORKDIR /app # install hex + rebar -RUN mix local.hex --force && \ - mix local.rebar --force +RUN mix local.rebar --force && + mix local.hex --force # set build ENV ENV MIX_ENV=prod diff --git a/assets/package.json b/assets/package.json index aa8cc3d..7d05681 100644 --- a/assets/package.json +++ b/assets/package.json @@ -3,8 +3,8 @@ "description": " ", "license": "MIT", "engines": { - "node": "v21.6.2", - "npm": "10.2.4" + "node": "v22.3.0", + "npm": "10.8.1" }, "scripts": { "deploy": "NODE_ENV=production webpack --mode production", @@ -13,35 +13,35 @@ "test": "standard" }, "dependencies": { - "@fontsource/nunito-sans": "^5.0.8", - "@fortawesome/fontawesome-free": "^6.5.1", + "@fontsource/nunito-sans": "^5.0.13", + "@fortawesome/fontawesome-free": "^6.6.0", "phoenix": "file:../deps/phoenix", "phoenix_html": "file:../deps/phoenix_html", "phoenix_live_view": "file:../deps/phoenix_live_view", - "topbar": "^2.0.2" + "topbar": "^3.0.0" }, "devDependencies": { - "@babel/core": "^7.23.9", - "@babel/preset-env": "^7.23.9", - "autoprefixer": "^10.4.17", + "@babel/core": "^7.24.9", + "@babel/preset-env": "^7.25.0", + "autoprefixer": "^10.4.19", "babel-loader": "^9.1.3", "copy-webpack-plugin": "^12.0.2", - "css-loader": "^6.10.0", - "css-minimizer-webpack-plugin": "^6.0.0", + "css-loader": "^7.1.2", + "css-minimizer-webpack-plugin": "^7.0.0", "file-loader": "^6.2.0", - "mini-css-extract-plugin": "^2.8.0", - "npm-check-updates": "^16.14.15", - "postcss": "^8.4.35", - "postcss-import": "^16.0.1", - "postcss-loader": "^8.1.0", - "postcss-preset-env": "^9.4.0", - "sass": "^1.71.1", - "sass-loader": "^14.1.1", + "mini-css-extract-plugin": "^2.9.0", + "npm-check-updates": "^16.14.20", + "postcss": "^8.4.40", + "postcss-import": "^16.1.0", + "postcss-loader": "^8.1.1", + "postcss-preset-env": "^9.6.0", + "sass": "^1.77.8", + "sass-loader": "^16.0.0", "standard": "^17.1.0", - "tailwindcss": "^3.4.1", + "tailwindcss": "^3.4.7", "terser-webpack-plugin": "^5.3.10", - "webpack": "^5.90.3", + "webpack": "^5.93.0", "webpack-cli": "^5.1.4", - "webpack-dev-server": "^5.0.2" + "webpack-dev-server": "^5.0.4" } } diff --git a/changelog.md b/changelog.md index d5330bf..ca8c096 100644 --- a/changelog.md +++ b/changelog.md @@ -1,6 +1,7 @@ # v0.1.16 - Fix empty invite index page - Fix faq copy +- Update deps # v0.1.15 - Sanitize titles while they are being typed diff --git a/mix.exs b/mix.exs index 54ecd06..7ec218e 100644 --- a/mix.exs +++ b/mix.exs @@ -5,7 +5,7 @@ defmodule Memex.MixProject do [ app: :memex, version: "0.1.16", - elixir: "1.16.1", + elixir: "1.17.0", elixirc_paths: elixirc_paths(Mix.env()), start_permanent: Mix.env() == :prod, aliases: aliases(),