Repository navigation
root: add .nvmrc - #24440
root: add .nvmrc#24440
Conversation
✅ Deploy Preview for authentik-storybook ready!
To edit notification comments on pull requests, go to your Netlify project configuration. |
✅ Deploy Preview for authentik-docs ready!
To edit notification comments on pull requests, go to your Netlify project configuration. |
There was a problem hiding this comment.
Pull request overview
Adds repository-root Node.js version metadata so local Node version managers (notably nvm) can automatically select the intended Node version for authentik development.
Changes:
- Add
.nvmrcat the repo root to pin the Node.js major version (24) fornvm use/nvm install.
Comments suppressed due to low confidence (1)
.nvmrc:2
.nvmrccurrently contains an extra blank line after24(file is two lines). Keeping this file to a single line avoids ambiguity for tools that parse the whole file and matches the PR description (“contains24).
24
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #24440 +/- ##
==========================================
- Coverage 93.62% 93.58% -0.04%
==========================================
Files 1089 1089
Lines 66264 66264
Branches 424 424
==========================================
- Hits 62037 62016 -21
- Misses 4227 4248 +21
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Harness. |
ffa312d to
1f59a73
Compare
The setup docs tell contributors to install Node.js with nvm, but there was nothing in the repo for it to read, so the version had to be passed by hand on every `nvm install` / `nvm use`. Add an .nvmrc pinning 24, which is the floor declared in package.json's `engines.node` and the version the setup guides name. Running newer than the pin locally is fine: CI resolves `>=24` through setup-node's `node-version-file: package.json` and so tracks the latest satisfying release. Co-authored-by: Playpen Agent <[email protected]>
1f59a73 to
f04c9e0
Compare
kensternberg-authentik
left a comment
There was a problem hiding this comment.
Exciting!
|
authentik PR Installation instructions Instructions for docker-composeAdd the following block to your AUTHENTIK_IMAGE=ghcr.io/goauthentik/dev-server
AUTHENTIK_TAG=gh-f04c9e0889a780e8308847df83a3cff66680f508
AUTHENTIK_OUTPOSTS__CONTAINER_IMAGE_BASE=ghcr.io/goauthentik/dev-%(type)s:gh-%(build_hash)sAfterwards, run the upgrade commands from the latest release notes. Instructions for KubernetesAdd the following block to your authentik:
outposts:
container_image_base: ghcr.io/goauthentik/dev-%(type)s:gh-%(build_hash)s
global:
image:
repository: ghcr.io/goauthentik/dev-server
tag: gh-f04c9e0889a780e8308847df83a3cff66680f508Afterwards, run the upgrade commands from the latest release notes. |
Details
Adds a single file at the repository root:
.nvmrc, containing24.With it in place,
nvm installandnvm useresolve the version on their own instead of needing it spelled out each time.Follows up #24439, which points the setup docs at nvm as the preferred way to install Node.js. The two PRs touch disjoint files and can merge in either order.
Why is this change needed?
The setup docs now tell contributors to install Node.js with nvm, but nothing in the repo told nvm which version to use.
Linked issues
refs #24439