Skip to content

web/NPM Workspaces: TypeScript API Client TSConfig.#14555

Merged
GirlBossRush merged 1 commit intomainfrom
npm-workspaces-ts-api
May 28, 2025
Merged

web/NPM Workspaces: TypeScript API Client TSConfig.#14555
GirlBossRush merged 1 commit intomainfrom
npm-workspaces-ts-api

Conversation

@GirlBossRush
Copy link
Contributor

Details

This PR adds tsconfig.json template that is compatible with NPM workspaces and TypeScript project references.


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 19, 2025
@GirlBossRush GirlBossRush requested a review from a team as a code owner May 19, 2025 00:52
@netlify
Copy link

netlify bot commented May 19, 2025

Deploy Preview for authentik-docs canceled.

Name Link
🔨 Latest commit 42ebfef
🔍 Latest deploy log https://app.netlify.com/projects/authentik-docs/deploys/682bcd2837b9640008db4d8b

@netlify
Copy link

netlify bot commented May 19, 2025

Deploy Preview for authentik-storybook ready!

Name Link
🔨 Latest commit 42ebfef
🔍 Latest deploy log https://app.netlify.com/projects/authentik-storybook/deploys/682bcd2801ab2e00080f56dc
😎 Deploy Preview https://deploy-preview-14555--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.

@GirlBossRush GirlBossRush force-pushed the npm-workspaces-ts-api branch from 8105696 to b9559f0 Compare May 19, 2025 00:53
@GirlBossRush GirlBossRush requested a review from a team as a code owner May 19, 2025 00:53
@codecov
Copy link

codecov bot commented May 19, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 92.70%. Comparing base (1c5e906) to head (42ebfef).
Report is 79 commits behind head on main.

✅ All tests successful. No failed tests found.

Additional details and impacted files
@@            Coverage Diff             @@
##             main   #14555      +/-   ##
==========================================
- Coverage   92.70%   92.70%   -0.01%     
==========================================
  Files         814      814              
  Lines       41881    41881              
==========================================
- Hits        38826    38825       -1     
- Misses       3055     3056       +1     
Flag Coverage Δ
e2e 47.66% <ø> (ø)
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.

@github-actions
Copy link
Contributor

github-actions bot commented May 19, 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-42ebfef5c956055d819f018d41377b133b13ab9f
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-42ebfef5c956055d819f018d41377b133b13ab9f

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

@GirlBossRush GirlBossRush force-pushed the npm-workspaces-ts-api branch from b9559f0 to d71ed28 Compare May 19, 2025 02:36
@GirlBossRush GirlBossRush force-pushed the npm-workspaces-ts-api branch from d71ed28 to 42ebfef Compare May 20, 2025 00:30
@GirlBossRush GirlBossRush requested a review from BeryJu May 20, 2025 00:58
"$schema": "https://json.schemastore.org/tsconfig",
"extends": "./tsconfig.json",
"compilerOptions": {
"outDir": "dist/esm",
Copy link
Contributor Author

Choose a reason for hiding this comment

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

Defined by OpenAPI's generator.

@GirlBossRush GirlBossRush mentioned this pull request May 21, 2025
6 tasks
@GirlBossRush GirlBossRush merged commit f5a6136 into main May 28, 2025
94 checks passed
@GirlBossRush GirlBossRush deleted the npm-workspaces-ts-api branch May 28, 2025 11:07
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