From fc34a4a1768672e43d8a528f5a872ba7a783dce6 Mon Sep 17 00:00:00 2001 From: Somrat <58769763+tfsomrat@users.noreply.github.com> Date: Mon, 24 Feb 2025 17:02:03 +0600 Subject: [PATCH] update dependency versions --- .devcontainer/Dockerfile | 4 ++-- .devcontainer/devcontainer.json | 4 ++-- netlify.toml | 4 ++-- readme.md | 6 +++--- vercel-build.sh | 12 ++---------- 5 files changed, 11 insertions(+), 19 deletions(-) diff --git a/.devcontainer/Dockerfile b/.devcontainer/Dockerfile index 4caddec..8132c9d 100755 --- a/.devcontainer/Dockerfile +++ b/.devcontainer/Dockerfile @@ -2,8 +2,8 @@ FROM node:23 # Set environment variables for versions -ARG HUGO_VERSION=0.139.4 -ARG GO_VERSION=1.23.4 +ARG HUGO_VERSION=0.144.2 +ARG GO_VERSION=1.24.0 # Install dependencies RUN apt-get update && \ diff --git a/.devcontainer/devcontainer.json b/.devcontainer/devcontainer.json index a085fde..b36e006 100755 --- a/.devcontainer/devcontainer.json +++ b/.devcontainer/devcontainer.json @@ -3,8 +3,8 @@ "build": { "dockerfile": "Dockerfile", "args": { - "GO_VERSION": "1.23.4", - "HUGO_VERSION": "0.139.4" + "GO_VERSION": "1.24.0", + "HUGO_VERSION": "0.144.2" } }, "customizations": { diff --git a/netlify.toml b/netlify.toml index d6a9c37..080db9c 100755 --- a/netlify.toml +++ b/netlify.toml @@ -3,5 +3,5 @@ publish = "public" command = "yarn project-setup; yarn build" [build.environment] -HUGO_VERSION = "0.141.0" -GO_VERSION = "1.23.3" +HUGO_VERSION = "0.144.2" +GO_VERSION = "1.24.0" diff --git a/readme.md b/readme.md index 2dc4e0c..ea12a29 100755 --- a/readme.md +++ b/readme.md @@ -87,9 +87,9 @@ First you need to [clone](https://github.com/zeon-studio/hugoplate) or [download To start using this template, you need to have some prerequisites installed on your machine. -- [Hugo Extended v0.124+](https://gohugo.io/installation/) -- [Node v20+](https://nodejs.org/en/download/) -- [Go v1.22+](https://go.dev/doc/install) +- [Hugo Extended v0.144+](https://gohugo.io/installation/) +- [Node v22+](https://nodejs.org/en/download/) +- [Go v1.24+](https://go.dev/doc/install) ### 👉 Project Setup diff --git a/vercel-build.sh b/vercel-build.sh index 5419526..2fda5bd 100755 --- a/vercel-build.sh +++ b/vercel-build.sh @@ -1,16 +1,8 @@ #!/bin/bash # default versions -NODE_VERSION='18.16.1'; -GO_VERSION='1.23.3'; -HUGO_VERSION='0.141.0'; - -# install Node.js -# echo "Installing Node.js $NODE_VERSION..." -# curl -sSOL https://nodejs.org/dist/v${NODE_VERSION}/node-v${NODE_VERSION}.tar.gz -# tar -xzf node-v${NODE_VERSION}.tar.gz -# export PATH=$PATH:/usr/local/bin -# rm -rf node-v${NODE_VERSION}.tar.gz +GO_VERSION='1.24.0'; +HUGO_VERSION='0.144.2'; echo "USING NODE VERSION: $(node -v)"