Skip to content

Node.js v24 - #291

Open
jameshadfield wants to merge 2 commits into
masterfrom
auspice-v3
Open

Node.js v24#291
jameshadfield wants to merge 2 commits into
masterfrom
auspice-v3

Conversation

@jameshadfield

@jameshadfield jameshadfield commented Jul 27, 2026

Copy link
Copy Markdown
Member

This PR prepares for Auspice v3, which requires Node.js v24.

I tested the first commit (bumping Node.js to v24) in a local image. This worked well with the latest Auspice release (2.73.0), so can we merge this first commit now ahead of Auspice v3? cc @victorlin

The second commit (to be dropped - hence the draft PR) shows that Auspice v3 works as expected in the Docker container. There's deprecation warnings due to how auspice view should now be invoked, but fixing them requires changes in nextstrain/cli: nextstrain/cli#541

@jameshadfield
jameshadfield requested a review from victorlin July 27, 2026 01:15

@victorlin victorlin left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

👍 nothing else in the image should depend on Node.js.

@jameshadfield
jameshadfield marked this pull request as ready for review September 2, 2026 23:59
jameshadfield and others added 2 commits September 3, 2026 12:01
In preparation for Auspice v3 which has a minimum nodejs dep of v24
Auspice 3.0.0 now has a prepare` lifecycle script that runs `tsc` (a
devDependency) during `npm install`. Our previous `npm install --omit dev`
skipped devDependencies but still triggered `prepare`, so the build failed
with `tsc: not found`. This new approach allows auspice to install with
dev dependencies and then prune them out after linking.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants