update versions

This commit is contained in:
shibao 2024-07-28 12:59:09 -04:00
parent 48f7c8d18e
commit 306e60d3c6
6 changed files with 32 additions and 31 deletions

View File

@ -17,7 +17,7 @@ steps:
- .mix - .mix
- name: test - name: test
image: elixir:1.16.1-alpine image: elixir:1.17.0-alpine
environment: environment:
TEST_DATABASE_URL: ecto://postgres:postgres@database/memex_test TEST_DATABASE_URL: ecto://postgres:postgres@database/memex_test
HOST: testing.example.tld HOST: testing.example.tld
@ -26,8 +26,8 @@ steps:
MIX_ENV: test MIX_ENV: test
commands: commands:
- apk add --no-cache build-base npm git - apk add --no-cache build-base npm git
- mix local.rebar --force --if-missing - mix local.rebar --force
- mix local.hex --force --if-missing - mix local.hex --force
- mix deps.get - mix deps.get
- npm set cache .npm - npm set cache .npm
- npm --prefix ./assets ci --no-audit --prefer-offline - npm --prefix ./assets ci --no-audit --prefer-offline

View File

@ -1,3 +1,3 @@
elixir 1.16.1-otp-26 elixir 1.17.0-otp-27
erlang 26.2.2 erlang 27.0
nodejs 21.6.2 nodejs 22.3.0

View File

@ -1,4 +1,4 @@
FROM elixir:1.16.1-alpine AS build FROM elixir:1.17.0-alpine AS build
# install build dependencies # install build dependencies
RUN apk add --no-cache build-base npm git python3 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 WORKDIR /app
# install hex + rebar # install hex + rebar
RUN mix local.hex --force && \ RUN mix local.rebar --force &&
mix local.rebar --force mix local.hex --force
# set build ENV # set build ENV
ENV MIX_ENV=prod ENV MIX_ENV=prod

View File

@ -3,8 +3,8 @@
"description": " ", "description": " ",
"license": "MIT", "license": "MIT",
"engines": { "engines": {
"node": "v21.6.2", "node": "v22.3.0",
"npm": "10.2.4" "npm": "10.8.1"
}, },
"scripts": { "scripts": {
"deploy": "NODE_ENV=production webpack --mode production", "deploy": "NODE_ENV=production webpack --mode production",
@ -13,35 +13,35 @@
"test": "standard" "test": "standard"
}, },
"dependencies": { "dependencies": {
"@fontsource/nunito-sans": "^5.0.8", "@fontsource/nunito-sans": "^5.0.13",
"@fortawesome/fontawesome-free": "^6.5.1", "@fortawesome/fontawesome-free": "^6.6.0",
"phoenix": "file:../deps/phoenix", "phoenix": "file:../deps/phoenix",
"phoenix_html": "file:../deps/phoenix_html", "phoenix_html": "file:../deps/phoenix_html",
"phoenix_live_view": "file:../deps/phoenix_live_view", "phoenix_live_view": "file:../deps/phoenix_live_view",
"topbar": "^2.0.2" "topbar": "^3.0.0"
}, },
"devDependencies": { "devDependencies": {
"@babel/core": "^7.23.9", "@babel/core": "^7.24.9",
"@babel/preset-env": "^7.23.9", "@babel/preset-env": "^7.25.0",
"autoprefixer": "^10.4.17", "autoprefixer": "^10.4.19",
"babel-loader": "^9.1.3", "babel-loader": "^9.1.3",
"copy-webpack-plugin": "^12.0.2", "copy-webpack-plugin": "^12.0.2",
"css-loader": "^6.10.0", "css-loader": "^7.1.2",
"css-minimizer-webpack-plugin": "^6.0.0", "css-minimizer-webpack-plugin": "^7.0.0",
"file-loader": "^6.2.0", "file-loader": "^6.2.0",
"mini-css-extract-plugin": "^2.8.0", "mini-css-extract-plugin": "^2.9.0",
"npm-check-updates": "^16.14.15", "npm-check-updates": "^16.14.20",
"postcss": "^8.4.35", "postcss": "^8.4.40",
"postcss-import": "^16.0.1", "postcss-import": "^16.1.0",
"postcss-loader": "^8.1.0", "postcss-loader": "^8.1.1",
"postcss-preset-env": "^9.4.0", "postcss-preset-env": "^9.6.0",
"sass": "^1.71.1", "sass": "^1.77.8",
"sass-loader": "^14.1.1", "sass-loader": "^16.0.0",
"standard": "^17.1.0", "standard": "^17.1.0",
"tailwindcss": "^3.4.1", "tailwindcss": "^3.4.7",
"terser-webpack-plugin": "^5.3.10", "terser-webpack-plugin": "^5.3.10",
"webpack": "^5.90.3", "webpack": "^5.93.0",
"webpack-cli": "^5.1.4", "webpack-cli": "^5.1.4",
"webpack-dev-server": "^5.0.2" "webpack-dev-server": "^5.0.4"
} }
} }

View File

@ -1,6 +1,7 @@
# v0.1.16 # v0.1.16
- Fix empty invite index page - Fix empty invite index page
- Fix faq copy - Fix faq copy
- Update deps
# v0.1.15 # v0.1.15
- Sanitize titles while they are being typed - Sanitize titles while they are being typed

View File

@ -5,7 +5,7 @@ defmodule Memex.MixProject do
[ [
app: :memex, app: :memex,
version: "0.1.16", version: "0.1.16",
elixir: "1.16.1", elixir: "1.17.0",
elixirc_paths: elixirc_paths(Mix.env()), elixirc_paths: elixirc_paths(Mix.env()),
start_permanent: Mix.env() == :prod, start_permanent: Mix.env() == :prod,
aliases: aliases(), aliases: aliases(),