Skip to content

web/NPM Workspaces: ESbuild version cleanup#14541

Merged
GirlBossRush merged 16 commits intomainfrom
esbuild-version-cleanup
May 20, 2025
Merged

web/NPM Workspaces: ESbuild version cleanup#14541
GirlBossRush merged 16 commits intomainfrom
esbuild-version-cleanup

Conversation

@GirlBossRush
Copy link
Contributor

@GirlBossRush GirlBossRush commented May 17, 2025

Details

Split off from #14370

This PR cleans up usage of the VERSION constant in the web bundle:


Checklist

  • Local tests pass (ak test authentik/)
  • The code has been formatted (make lint-fix)

If an API change has been made

  • The API schema has been updated (make gen-build)

If changes to the frontend have been made

  • The code has been formatted (make web)

If applicable

  • The documentation has been updated
  • The documentation has been formatted (make website)

@GirlBossRush GirlBossRush self-assigned this May 17, 2025
@GirlBossRush GirlBossRush requested a review from a team as a code owner May 17, 2025 15:26
@netlify
Copy link

netlify bot commented May 17, 2025

Deploy Preview for authentik-docs canceled.

Name Link
🔨 Latest commit 7eeeaa9
🔍 Latest deploy log https://app.netlify.com/projects/authentik-docs/deploys/682bc0751b844d00086727fa

@netlify
Copy link

netlify bot commented May 17, 2025

Deploy Preview for authentik-storybook ready!

Name Link
🔨 Latest commit 7eeeaa9
🔍 Latest deploy log https://app.netlify.com/projects/authentik-storybook/deploys/682bc0773c7d260008439fb2
😎 Deploy Preview https://deploy-preview-14541--authentik-storybook.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

@codecov
Copy link

codecov bot commented May 17, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 92.70%. Comparing base (c133ba9) to head (7eeeaa9).
Report is 1 commits behind head on main.

✅ All tests successful. No failed tests found.

Additional details and impacted files
@@            Coverage Diff             @@
##             main   #14541      +/-   ##
==========================================
- Coverage   92.70%   92.70%   -0.01%     
==========================================
  Files         814      814              
  Lines       41881    41881              
==========================================
- Hits        38827    38826       -1     
- Misses       3054     3055       +1     
Flag Coverage Δ
e2e 47.66% <ø> (+<0.01%) ⬆️
integration 24.42% <ø> (ø)
unit 90.58% <ø> (-0.01%) ⬇️

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@GirlBossRush GirlBossRush force-pushed the esbuild-version-cleanup branch from 8297045 to 3896650 Compare May 17, 2025 15:38
@github-actions
Copy link
Contributor

github-actions bot commented May 17, 2025

authentik PR Installation instructions

Instructions for docker-compose

Add the following block to your .env file:

AUTHENTIK_IMAGE=ghcr.io/goauthentik/dev-server
AUTHENTIK_TAG=gh-7eeeaa98d34f11520172d7b50a6601c6b8223794
AUTHENTIK_OUTPOSTS__CONTAINER_IMAGE_BASE=ghcr.io/goauthentik/dev-%(type)s:gh-%(build_hash)s

Afterwards, run the upgrade commands from the latest release notes.

Instructions for Kubernetes

Add the following block to your values.yml file:

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-7eeeaa98d34f11520172d7b50a6601c6b8223794

Afterwards, run the upgrade commands from the latest release notes.

@GirlBossRush GirlBossRush force-pushed the esbuild-version-cleanup branch from 3896650 to 3847acc Compare May 18, 2025 22:45
@GirlBossRush GirlBossRush changed the title web: ESbuild version cleanup web/NPM Workspaces: ESbuild version cleanup May 18, 2025
@GirlBossRush GirlBossRush force-pushed the esbuild-version-cleanup branch 2 times, most recently from 98fc81a to 7f30e9a Compare May 19, 2025 17:27
export function serializeEnvironmentVars(
input,
prefix = /** @type {Prefix} */ ("import.meta.env."),
) {
Copy link
Contributor

Choose a reason for hiding this comment

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

This is so clearly a mapping, so, you know, you could make it a mapping:

 Object.fromEntries(
        Object.entries(input).map(([key, value]) => [prefix + key, JSON.stringify(value ?? "")]),
    );

@GirlBossRush GirlBossRush force-pushed the esbuild-version-cleanup branch 3 times, most recently from 144470f to 31d25ea Compare May 19, 2025 20:15
@GirlBossRush GirlBossRush force-pushed the esbuild-version-cleanup branch from fe9d35e to a499074 Compare May 19, 2025 21:40
@GirlBossRush GirlBossRush force-pushed the esbuild-version-cleanup branch from 0a32e11 to 2f32f4d Compare May 19, 2025 22:19
@GirlBossRush GirlBossRush merged commit 1c5e906 into main May 20, 2025
94 checks passed
@GirlBossRush GirlBossRush deleted the esbuild-version-cleanup branch May 20, 2025 00:11
@GirlBossRush GirlBossRush mentioned this pull request May 20, 2025
6 tasks
kensternberg-authentik added a commit that referenced this pull request May 22, 2025
* main: (55 commits)
  web: Fix missing Enterprise sidebar entries. (#14615)
  core, web: update translations (#14626)
  esbuild-plugin-live-reload: Publish. (#14624)
  web/NPM Workspaces: Prep ESBuild plugin for publish. (#14552)
  lifecycle: fix arguments not being passed to worker command (#14574)
  translate: Updates for file locale/en/LC_MESSAGES/django.po in fr (#14611)
  providers/proxy: kubernetes outpost: fix reconcile when ingress class name changed (#14612)
  translate: Updates for file locale/en/LC_MESSAGES/django.po in zh-Hans (#14608)
  translate: Updates for file web/xliff/en.xlf in zh_CN (#14607)
  translate: Updates for file web/xliff/en.xlf in zh-Hans (#14609)
  translate: Updates for file locale/en/LC_MESSAGES/django.po in zh_CN (#14606)
  root: move forked dependencies to goauthentik org (#14590)
  core: bump library/node from 22 to 24 (#14410)
  core: bump django-guardian from 2.4.0 to v3.0.0 (#14453)
  enterprise/stages/mtls: improve certificate validation (#14582)
  translate: Updates for file web/xliff/en.xlf in it (#14575)
  core, web: update translations (#14578)
  core: bump sentry-sdk from 2.28.0 to 2.29.1 (#14579)
  core: bump astral-sh/uv from 0.7.5 to 0.7.6 (#14580)
  web/NPM Workspaces: ESbuild version cleanup (#14541)
  ...
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