mirror of
https://github.com/goauthentik/authentik.git
synced 2026-08-30 18:51:39 -07:00
* Replace npm + Corepack with pnpm
Migrate package management from npm + Corepack to pnpm across the root,
web, and website workspaces:
- Swap npm/Corepack tooling for pnpm: drop package-lock.json files and the
bespoke Corepack bootstrap scripts (setup-corepack.mjs, utils/corepack.mjs,
lint-lockfile.mjs); add pnpm-lock.yaml + pnpm-workspace.yaml per workspace.
- CI uses the official pnpm/action-setup + actions/setup-node; pin the pnpm
store dir via PNPM_HOME so setup-node's `cache: pnpm` post-step succeeds.
- Docker sources pnpm from the official ghcr.io/pnpm/pnpm image via a
${BUILDPLATFORM}-pinned stage; the website docs build does a hoisted root
install so @goauthentik/docusaurus-config resolves its own deps.
- Gate the web install on the `node` dep so runtime-only jobs don't invoke
pnpm; scope the from-stable env setup so the new tooling doesn't run against
the stable checkout's npm packageManager field.
- Resolve @goauthentik/api (client-ts) from its TypeScript source instead of a
tsc-built dist, so it no longer depends on an install-time prepare having run
(the storybook build's environment never built it); sfe's rollup gains .ts
resolution to match.
- Netlify builds with pnpm; encode pnpm's supply-chain controls
(onlyBuiltDependencies/allowBuilds, minimumReleaseAge) in the workspace.
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Remove custom node action.
* Format.
245 lines
3.4 KiB
Plaintext
245 lines
3.4 KiB
Plaintext
|
|
# Created by https://www.gitignore.io/api/python,django
|
|
# Edit at https://www.gitignore.io/?templates=python,django
|
|
|
|
### Django ###
|
|
*.log
|
|
*.pot
|
|
*.pyc
|
|
__pycache__/
|
|
local_settings.py
|
|
db.sqlite3
|
|
media
|
|
|
|
# Node
|
|
|
|
node_modules
|
|
|
|
.cspellcache
|
|
cspell-report.*
|
|
|
|
# Release generation artifacts
|
|
/changelog.md
|
|
/diff.md
|
|
|
|
# If your build process includes running collectstatic, then you probably don't need or want to include staticfiles/
|
|
# in your Git repository. Update and uncomment the following line accordingly.
|
|
# <django-project-name>/staticfiles/
|
|
|
|
### Django.Python Stack ###
|
|
# Byte-compiled / optimized / DLL files
|
|
*.py[cod]
|
|
*$py.class
|
|
|
|
# C extensions
|
|
*.so
|
|
|
|
# Distribution / packaging
|
|
.Python
|
|
build/
|
|
develop-eggs/
|
|
downloads/
|
|
eggs/
|
|
.eggs/
|
|
lib64/
|
|
parts/
|
|
dist/
|
|
out/
|
|
sdist/
|
|
var/
|
|
wheels/
|
|
*.egg-info/
|
|
.installed.cfg
|
|
*.egg
|
|
MANIFEST
|
|
|
|
# PyInstaller
|
|
# Usually these files are written by a python script from a template
|
|
# before PyInstaller builds the exe, so as to inject date/other infos into it.
|
|
*.manifest
|
|
*.spec
|
|
|
|
# Installer logs
|
|
pip-log.txt
|
|
pip-delete-this-directory.txt
|
|
|
|
# Unit test / coverage reports
|
|
htmlcov/
|
|
.tox/
|
|
.nox/
|
|
.coverage
|
|
.coverage.*
|
|
.cache
|
|
nosetests.xml
|
|
coverage.xml
|
|
*.cover
|
|
.hypothesis/
|
|
.pytest_cache/
|
|
unittest.xml
|
|
|
|
# Translations
|
|
# Have to include binary mo files as they are annoying to compile at build time
|
|
# since a full postgres instance is required
|
|
# *.mo
|
|
|
|
# Django stuff:
|
|
|
|
# Flask stuff:
|
|
instance/
|
|
.webassets-cache
|
|
|
|
# Scrapy stuff:
|
|
.scrapy
|
|
|
|
# Sphinx documentation
|
|
docs/_build/
|
|
|
|
# PyBuilder
|
|
target/
|
|
|
|
# Jupyter Notebook
|
|
.ipynb_checkpoints
|
|
|
|
# IPython
|
|
profile_default/
|
|
ipython_config.py
|
|
|
|
# pyenv
|
|
.python-version
|
|
|
|
# SageMath parsed files
|
|
*.sage.py
|
|
|
|
# Environments
|
|
.env
|
|
.venv
|
|
env/
|
|
venv/
|
|
ENV/
|
|
env.bak/
|
|
venv.bak/
|
|
|
|
# Spyder project settings
|
|
.spyderproject
|
|
.spyproject
|
|
|
|
# Rope project settings
|
|
.ropeproject
|
|
|
|
# mkdocs documentation
|
|
/site
|
|
|
|
# mypy
|
|
.mypy_cache/
|
|
.dmypy.json
|
|
dmypy.json
|
|
|
|
# Pyre type checker
|
|
.pyre/
|
|
|
|
### Python ###
|
|
# Byte-compiled / optimized / DLL files
|
|
|
|
# C extensions
|
|
|
|
# Distribution / packaging
|
|
|
|
# PyInstaller
|
|
# Usually these files are written by a python script from a template
|
|
# before PyInstaller builds the exe, so as to inject date/other infos into it.
|
|
|
|
# Installer logs
|
|
|
|
# Unit test / coverage reports
|
|
|
|
# Translations
|
|
|
|
# Django stuff:
|
|
|
|
# Flask stuff:
|
|
|
|
# Scrapy stuff:
|
|
|
|
# Sphinx documentation
|
|
|
|
# PyBuilder
|
|
|
|
# Jupyter Notebook
|
|
|
|
# IPython
|
|
|
|
# pyenv
|
|
|
|
# SageMath parsed files
|
|
|
|
# Environments
|
|
**/.DS_Store
|
|
|
|
# Spyder project settings
|
|
|
|
# Rope project settings
|
|
|
|
# mkdocs documentation
|
|
|
|
# mypy
|
|
|
|
# Pyre type checker
|
|
|
|
### Python Patch ###
|
|
.venv/
|
|
|
|
### Python.VirtualEnv Stack ###
|
|
# Virtualenv
|
|
# http://iamzed.com/2009/05/07/a-primer-on-virtualenv/
|
|
[Bb]in
|
|
[Ii]nclude
|
|
[Ll]ib64
|
|
[Ll]ocal
|
|
pyvenv.cfg
|
|
pip-selfcheck.json
|
|
|
|
# End of https://www.gitignore.io/api/python,django
|
|
|
|
# Created by https://www.toptal.com/developers/gitignore/api/rust
|
|
# Edit at https://www.toptal.com/developers/gitignore?templates=rust
|
|
|
|
### Rust ###
|
|
# Generated by Cargo
|
|
# will have compiled files and executables
|
|
debug/
|
|
target/
|
|
|
|
# These are backup files generated by rustfmt
|
|
**/*.rs.bk
|
|
|
|
# MSVC Windows builds of rustc generate these, which store debugging information
|
|
*.pdb
|
|
|
|
# End of https://www.toptal.com/developers/gitignore/api/rust
|
|
|
|
/static/
|
|
local.env.yml
|
|
|
|
media/
|
|
*mmdb
|
|
|
|
.idea/
|
|
data/
|
|
|
|
# Local Netlify folder
|
|
.netlify
|
|
.ruff_cache
|
|
source_docs/
|
|
|
|
### Golang ###
|
|
/vendor/
|
|
/server
|
|
/proxy
|
|
/ldap
|
|
/rac
|
|
/radius
|
|
|
|
### Docker ###
|
|
tests/openid_conformance/exports/*.zip
|
|
compose.override.yml
|