Merge branch 'master' into app-passwords
This commit is contained in:
commit
d05562a388
2
.github/workflows/web-api-publish.yml
vendored
2
.github/workflows/web-api-publish.yml
vendored
|
@ -1,7 +1,7 @@
|
||||||
name: authentik-web-api-publish
|
name: authentik-web-api-publish
|
||||||
on:
|
on:
|
||||||
push:
|
push:
|
||||||
branches: [ master, '*', next, version* ]
|
branches: [ master, version* ]
|
||||||
paths:
|
paths:
|
||||||
- 'schema.yml'
|
- 'schema.yml'
|
||||||
jobs:
|
jobs:
|
||||||
|
|
1
Makefile
1
Makefile
|
@ -47,7 +47,6 @@ gen-web:
|
||||||
mkdir -p web/node_modules/@goauthentik/api
|
mkdir -p web/node_modules/@goauthentik/api
|
||||||
python -m scripts.web_api_esm
|
python -m scripts.web_api_esm
|
||||||
\cp -fv scripts/web_api_readme.md web-api/README.md
|
\cp -fv scripts/web_api_readme.md web-api/README.md
|
||||||
\cp -fv LICENSE web-api/LICENSE
|
|
||||||
cd web-api && npm i
|
cd web-api && npm i
|
||||||
\cp -rfv web-api/* web/node_modules/@goauthentik/api
|
\cp -rfv web-api/* web/node_modules/@goauthentik/api
|
||||||
|
|
||||||
|
|
|
@ -21,6 +21,7 @@ TSCONFIG_ESM = {
|
||||||
|
|
||||||
with open("web-api/package.json", encoding="utf-8") as _package:
|
with open("web-api/package.json", encoding="utf-8") as _package:
|
||||||
package = loads(_package.read())
|
package = loads(_package.read())
|
||||||
|
package["license"] = "GPL-3.0-only"
|
||||||
package["module"] = "./dist/esm/index.js"
|
package["module"] = "./dist/esm/index.js"
|
||||||
package["sideEffects"] = False
|
package["sideEffects"] = False
|
||||||
package["scripts"]["build"] = "tsc && tsc --project tsconfig.esm.json"
|
package["scripts"]["build"] = "tsc && tsc --project tsconfig.esm.json"
|
||||||
|
|
Reference in a new issue