mirror of
https://github.com/zitadel/zitadel.git
synced 2025-08-11 13:07:46 +00:00

# Which Problems Are Solved Login integration tests are not executed in the pipeline # How the Problems Are Solved The login integration tests are fixed and added as a pipeline workflow. It tests against the built login docker image. On pipeline failures, developers are guided on how to fix them using a dev container configured for this purpose. # Additional Changes - email domains are replaced by example.com. In case the tests were accidentally run against a cloud instance, it wouldn't cause bounces. - pnpm is upgraded, because the --filter argument doesn't work for the install command on the old version. - The login Dockerfile is optimized for docker image builds # Additional Changes From Review for https://github.com/zitadel/zitadel/pull/10305 These changes were requested from @peintnermax - The base dev container starts without any services besides the database and the dev container itself - CONTRIBUTING.md is restructured - To reproduce pipeline checks, only the devcontainer CLI and Docker are needed. This is described in the CONTRIBUTING.md - The convenience npm script "generate" is added # Additional Context - Follow-up for PR https://github.com/zitadel/zitadel/pull/10305 - Base for https://github.com/zitadel/zitadel/issues/10277
71 lines
3.0 KiB
JSON
71 lines
3.0 KiB
JSON
{
|
|
"name": "zitadel-docs",
|
|
"version": "0.0.0",
|
|
"private": true,
|
|
"scripts": {
|
|
"docusaurus": "docusaurus",
|
|
"dev": "docusaurus start",
|
|
"start": "docusaurus start",
|
|
"start:api": "pnpm run generate && docusaurus start",
|
|
"build": "pnpm run ensure-plugins && pnpm run generate && docusaurus build",
|
|
"swizzle": "docusaurus swizzle",
|
|
"deploy": "docusaurus deploy",
|
|
"clear": "docusaurus clear",
|
|
"serve": "docusaurus serve",
|
|
"write-translations": "docusaurus write-translations",
|
|
"write-heading-ids": "docusaurus write-heading-ids",
|
|
"ensure-plugins": "if [ ! -f \"protoc-gen-connect-openapi/protoc-gen-connect-openapi\" ]; then sh ./plugin-download.sh; fi",
|
|
"debug-plugins": "echo \"PWD: $(pwd)\" && echo \"Plugin file exists: $(test -f protoc-gen-connect-openapi/protoc-gen-connect-openapi && echo 'yes' || echo 'no')\" && echo \"Plugin executable: $(test -x protoc-gen-connect-openapi/protoc-gen-connect-openapi && echo 'yes' || echo 'no')\" && ls -la protoc-gen-connect-openapi/ || echo 'Plugin directory not found'",
|
|
"generate": "pnpm run generate:grpc && pnpm run generate:apidocs && pnpm run generate:configdocs",
|
|
"generate:grpc": "pnpm run ensure-plugins && buf generate ../proto",
|
|
"generate:apidocs": "docusaurus gen-api-docs all",
|
|
"generate:configdocs": "cp -r ../cmd/defaults.yaml ./docs/self-hosting/manage/configure/ && cp -r ../cmd/setup/steps.yaml ./docs/self-hosting/manage/configure/",
|
|
"generate:re-gen": "yarn generate:clean-all && pnpm generate",
|
|
"generate:clean-all": "docusaurus clean-api-docs all",
|
|
"postinstall": "sh ./plugin-download.sh",
|
|
"clean": "rm -rf node_modules .artifacts .docusaurus .turbo protoc-gen-connect-openapi docs/apis/resources"
|
|
},
|
|
"dependencies": {
|
|
"@bufbuild/buf": "^1.14.0",
|
|
"@docusaurus/core": "^3.8.1",
|
|
"@docusaurus/faster": "^3.8.1",
|
|
"@docusaurus/preset-classic": "^3.8.1",
|
|
"@docusaurus/theme-mermaid": "^3.8.1",
|
|
"@docusaurus/theme-search-algolia": "^3.8.1",
|
|
"@headlessui/react": "^1.7.4",
|
|
"@heroicons/react": "^2.0.13",
|
|
"@signalwire/docusaurus-plugin-llms-txt": "^1.2.0",
|
|
"@inkeep/cxkit-docusaurus": "^0.5.89",
|
|
"autoprefixer": "^10.4.13",
|
|
"clsx": "^1.2.1",
|
|
"docusaurus-plugin-image-zoom": "^3.0.1",
|
|
"docusaurus-plugin-openapi-docs": "4.4.0",
|
|
"docusaurus-theme-github-codeblock": "^2.0.2",
|
|
"docusaurus-theme-openapi-docs": "4.4.0",
|
|
"mdx-mermaid": "^2.0.0",
|
|
"postcss": "^8.4.31",
|
|
"raw-loader": "^4.0.2",
|
|
"react": "^18.2.0",
|
|
"react-copy-to-clipboard": "^5.1.0",
|
|
"react-dom": "^18.2.0",
|
|
"react-google-charts": "^5.2.1",
|
|
"react-player": "^2.15.1"
|
|
},
|
|
"browserslist": {
|
|
"production": [
|
|
">0.5%",
|
|
"not dead",
|
|
"not op_mini all"
|
|
],
|
|
"development": [
|
|
"last 1 chrome version",
|
|
"last 1 firefox version",
|
|
"last 1 safari version"
|
|
]
|
|
},
|
|
"devDependencies": {
|
|
"@docusaurus/module-type-aliases": "^3.8.1",
|
|
"@docusaurus/types": "^3.8.1",
|
|
"tailwindcss": "^3.2.4"
|
|
}
|
|
} |