Repository navigation
web: add the oxlint and oxfmt config packages - #23519
Conversation
✅ Deploy Preview for authentik-integrations ready!
To edit notification comments on pull requests, go to your Netlify project configuration. |
✅ 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. |
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #23519 +/- ##
==========================================
- Coverage 91.97% 91.96% -0.01%
==========================================
Files 1172 1172
Lines 75927 75927
Branches 4056 4056
==========================================
- Hits 69834 69830 -4
- Misses 6051 6055 +4
Partials 42 42
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-8cf3243d98b832111790fe30310fded920fc4b4d
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-8cf3243d98b832111790fe30310fded920fc4b4dAfterwards, run the upgrade commands from the latest release notes. |
|
@dependabot recreate |
97721e4 to
d8148a2
Compare
Playwright e2e —
|
| Result | Count |
|---|---|
| ✅ Passed | 43 |
| ❌ Failed | 0 |
| 1 | |
| ⏭️ Skipped | 4 |
Workflow run · HTML report hosting is gated off until the authentik-playwright-artifacts S3 bucket is provisioned (vars.PLAYWRIGHT_S3_ENABLED). Until then, download the playwright-report artifact from the run page.
d8148a2 to
8a88436
Compare
8a88436 to
6d8d1f6
Compare
Two new workspace packages, ahead of anything using them. `@goauthentik/oxlint-config` exports a `createOxlintConfig` factory rather than a static config, because the lit/wc rules and the React plugin vary per consumer and four near-copies of one rule set is how they drift. It also carries the platform-layering `no-restricted-imports` rules and a bundled JS plugin for authentik's own rules. `@goauthentik/oxfmt-config` is the formatting half. `src/imports.ts` is the part worth a look: it reproduces the import grouping `format-imports` gave us under Prettier, using oxfmt's perfectionist-style selectors. Both compile to a gitignored `out/`, which every consuming config imports at load time, so both carry a `prepare` script — pnpm runs it on a fresh install, which is what CI always does. `make node-install` builds them explicitly as well, since `prepare` does not re-run on a warm tree when the lockfile is already satisfied. Nothing consumes either package yet.
6d8d1f6 to
8cf3243
Compare
Details
This PR adds
@goauthentik/oxlint-configand@goauthentik/oxfmt-config, deferring their actual implementation to the PR stack.