Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .devcontainer/devcontainer.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
"version": "latest"
},
"ghcr.io/devcontainers/features/node:1": {
"version": "22.11.0"
"version": "24.13.0"
}
},

Expand Down
2 changes: 1 addition & 1 deletion .nvmrc
Original file line number Diff line number Diff line change
@@ -1 +1 @@
lts/jod
lts/krypton
2 changes: 1 addition & 1 deletion .tool-versions
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
ruby 3.3.8
nodejs 22.11.0
nodejs 24.13.0
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -21,14 +21,14 @@ FROM ruby:3.3.8-alpine

ARG RAILS_ROOT=/usr/src/app/

RUN apk add --no-cache --repository http://dl-cdn.alpinelinux.org/alpine/edge/main/ nodejs=24.13.0-r2 npm

# available: https://pkgs.alpinelinux.org/packages
RUN apk update && apk upgrade && apk add --update --no-cache \
bash \
build-base \
curl \
imagemagick \
nodejs \
npm \
postgresql-client \
tzdata \
vim \
Expand Down
1 change: 0 additions & 1 deletion app/javascript/src/validated_form.js
Original file line number Diff line number Diff line change
Expand Up @@ -253,7 +253,6 @@ $(() => { // JQuery's callback for the DOM loading
if ($('#case_contact_miles_driven').length) {
safeInstantiateComponent('non driving contact medium warning', () => {
const contactMediumWithMilesDrivenWarning = new NonDrivingContactMediumWarning(validatedFormCollection.find('.contact-medium.form-group input:not([type=hidden]), #case_contact_miles_driven'), pageNotifier)
console.log(contactMediumWithMilesDrivenWarning)
validatableFormSectionComponents.push(contactMediumWithMilesDrivenWarning)
})
}
Expand Down
6 changes: 3 additions & 3 deletions doc/LINUX_SETUP.md
Original file line number Diff line number Diff line change
Expand Up @@ -54,9 +54,9 @@ sudo -u postgres psql -c "CREATE USER $USER WITH CREATEDB"
```
# Install NVM and Node JS
# you can use curl
curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.40.1/install.sh | bash
curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.40.4/install.sh | bash
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Extracted from https://github.com/nvm-sh/nvm?tab=readme-ov-file#install--update-script

I do not use Linux, so I couldn't verify this works, though.

# or wget
wget -qO- https://raw.githubusercontent.com/nvm-sh/nvm/v0.40.1/install.sh | bash
wget -qO- https://raw.githubusercontent.com/nvm-sh/nvm/v0.40.4/install.sh | bash

# Restart your terminal

Expand All @@ -71,7 +71,7 @@ npm i -g npm@latest

```
# add node and node tools to the path
nvm alias default lts/jod
nvm alias default lts/krypton
```

```
Expand Down
2 changes: 1 addition & 1 deletion package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,6 @@
]
},
"engines": {
"node": "22.x"
"node": "24.x"
}
}
Loading