web: add custom readme to api client
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
This commit is contained in:
1
Makefile
1
Makefile
@ -46,6 +46,7 @@ gen-web:
|
||||
--additional-properties=typescriptThreePlus=true,supportsES6=true,npmName=@goauthentik/api,npmVersion=${NPM_VERSION}
|
||||
mkdir -p web/node_modules/@goauthentik/api
|
||||
python -m scripts.web_api_esm
|
||||
\cp -fv scripts/web_api_readme.md web-api/README.md
|
||||
cd web-api && npm i
|
||||
\cp -rfv web-api/* web/node_modules/@goauthentik/api
|
||||
|
||||
|
||||
Reference in New Issue
Block a user