Repository navigation
root, web, docs, packages/*-config: Fix pnpm symlinks, version ranges - #23592
Conversation
✅ 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 #23592 +/- ##
==========================================
+ Coverage 93.21% 93.23% +0.01%
==========================================
Files 1039 1039
Lines 60865 60865
Branches 424 424
==========================================
+ Hits 56738 56748 +10
+ Misses 4127 4117 -10
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-7fcaf7bff28da44def04e1438cecac92606dae0d
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-7fcaf7bff28da44def04e1438cecac92606dae0dAfterwards, run the upgrade commands from the latest release notes. |
Bumps the storybook group with 1 update in the /web directory: [storybook](https://github.com/storybookjs/storybook/tree/HEAD/code/core). Updates `storybook` from 10.4.2 to 10.4.6 - [Release notes](https://github.com/storybookjs/storybook/releases) - [Changelog](https://github.com/storybookjs/storybook/blob/next/CHANGELOG.md) - [Commits](https://github.com/storybookjs/storybook/commits/v10.4.6/code/core) --- updated-dependencies: - dependency-name: storybook dependency-version: 10.4.6 dependency-type: direct:production update-type: version-update:semver-patch dependency-group: storybook ... Signed-off-by: dependabot[bot] <[email protected]>
Signed-off-by: Jens Langhammer <[email protected]>
Signed-off-by: Jens Langhammer <[email protected]>
Signed-off-by: Jens Langhammer <[email protected]>
… cycle The two shared config packages mutually link:-depended on each other so each could lint/format its own source. Under npm's flat hoisting this was harmless, but pnpm's isolated linker materializes it as directly nested node_modules symlinks, producing an infinite physical path that any symlink-following recursive walk (Docusaurus theme scan, tsc, IDE indexers) blows up on with ENAMETOOLONG — breaking the website build. Drop @goauthentik/eslint-config from prettier-config's devDependencies to cut one edge of the cycle. prettier-config's own eslint.config.mjs still resolves @goauthentik/eslint-config (workspace v2.0.0) via the root node_modules symlink, so its lint is unaffected. Co-authored-by: Playpen Agent <[email protected]>
9361229 to
8f0d7da
Compare
✅ Deploy Preview for authentik-storybook ready!
To edit notification comments on pull requests, go to your Netlify project configuration. |
…fix/prettier-config-eslint-symlink-cycle
kensternberg-authentik
left a comment
There was a problem hiding this comment.
It gets us back to sanity.
Details
This PR is a follow up to #22826.
Changes
Dependabot clean up
Package version ranges
Tightened up the prettier version, preventing prettier's new algo from counting the line length differently, resulting in a lot of unnecessary diffs
Symlink fixes
packages/eslint-configandpackages/prettier-configmutuallylink:-depended on each other so each could lint/format its own source. Under npm's flat hoisting that was harmless. Under pnpm's isolated linker the two get directly nestednode_modulessymlinks, forming an infinite path that any symlink-following recursive walk hits withENAMETOOLONG.That broke the website build with a misleading "Sidebars file failed to be loaded", whose real cause was a deep
scandir ENAMETOOLONGunder the theme's nestednode_modules.This PR drops
@goauthentik/eslint-configfromprettier-config'sdevDependenciesto cut one edge of the cycle. Itseslint.config.mjsstill resolves the config via the rootnode_modulessymlink (workspace v2.0.0), so linting is unaffected.