Repository navigation
root: add a pnpm catalog drift lint + config cleanup - #23781
Conversation
✅ Deploy Preview for authentik-storybook ready!
To edit notification comments on pull requests, go to your Netlify project configuration. |
✅ Deploy Preview for authentik-integrations 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. |
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #23781 +/- ##
=======================================
Coverage 93.23% 93.24%
=======================================
Files 1043 1043
Lines 60963 60963
Branches 424 424
=======================================
+ Hits 56841 56843 +2
+ Misses 4122 4120 -2
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Harness. |
|
authentik PR Installation instructions Instructions for docker-composeAdd the following block to your AUTHENTIK_IMAGE=ghcr.io/goauthentik/dev-server
AUTHENTIK_TAG=gh-cd04ac52e0988dca2dc0a4dda22101f490abda2c
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-cd04ac52e0988dca2dc0a4dda22101f490abda2cAfterwards, run the upgrade commands from the latest release notes. |
CI gained a catalogs check with no make counterpart, breaking the documented promise that every ci-lint-* target has a local equivalent. Also drops the second of two success log lines the script printed on every clean run. Co-Authored-By: Playpen Agent <[email protected]>
a140bd0 to
cd04ac5
Compare
Part 1 of 4 splitting the post-pnpm-migration cleanup (was #23781) into reviewable pieces.
Adds a lint that keeps the pnpm
catalog:pins in sync across the root,web/, andwebsite/workspaces, plus the small config fixes around it.Why
The three directories are separate pnpm workspaces (they need different
nodeLinkersettings), and pnpm cannot share a catalog across workspace roots, so eachpnpm-workspace.yamlre-declares the same shared pins. The "keep these in sync" comments were the only guard, and eslint had already drifted (^9.39.3in one,^9.39.4in another).Changes
scripts/node/lint-catalogs.ts+make lint-catalogs+ CIcatalogsjob: fails when a package pinned in more than one workspace catalog diverges. Uses a real YAML parser, not a regex.^9.39.4.pnpm --filter "./website/api"selectors matched nothing (website/is not part of the root workspace); replaced with--dir.packages/logger-js(npm) plusscripts/andtests/openid_conformance(docker-compose); logger-js added to the npm publish path triggers.make lint-catalogsso everyci-lint-*check keeps a local counterpart.Follow-ups: #23784 migrates the duplicated pins to the
catalog:protocol; the CI install and website type-portability fixes ship separately.