Files
authentik/packages/client-ts/Makefile
Jens L. f38584b343 root: misc API client and web typing fixes (#21388)
* fix relObjId type

Signed-off-by: Jens Langhammer <jens@goauthentik.io>

* fix slot comments

Signed-off-by: Jens Langhammer <jens@goauthentik.io>

* sigh

Signed-off-by: Jens Langhammer <jens@goauthentik.io>

* use prettier on generated ts code

Signed-off-by: Jens Langhammer <jens@goauthentik.io>

---------

Signed-off-by: Jens Langhammer <jens@goauthentik.io>
2026-04-05 13:46:08 +02:00

19 lines
430 B
Makefile
Generated

.SHELLFLAGS += -x -e
PWD = $(shell pwd)
UID = $(shell id -u)
GID = $(shell id -g)
build:
rm -rf src
docker compose run --rm --user "${UID}:${GID}" gen \
generate \
-i /schema.yml \
-g typescript-fetch \
-o local \
-c /local/config.yaml \
--additional-properties=npmVersion=0.0.0 \
--git-repo-id authentik \
--git-user-id goauthentik
rm -rf "${PWD}/.openapi-generator"
npx prettier --cache --write -u "${PWD}"