Files
zitadel/packages/zitadel-client/package.json
Elio Bischof e210d0a16a chore: fix login integration (#10318)
# 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
2025-08-05 15:59:30 +00:00

96 lines
2.4 KiB
JSON

{
"packageManager": "pnpm@10.13.1",
"name": "@zitadel/client",
"version": "1.3.1",
"license": "MIT",
"publishConfig": {
"access": "public"
},
"type": "module",
"exports": {
".": {
"types": "./dist/index.d.ts",
"import": "./dist/index.js",
"require": "./dist/index.cjs"
},
"./v1": {
"types": {
"import": "./dist/v1.d.ts",
"require": "./dist/v1.d.cts",
"default": "./dist/v1.d.ts"
},
"import": "./dist/v1.js",
"require": "./dist/v1.cjs"
},
"./v2": {
"types": {
"import": "./dist/v2.d.ts",
"require": "./dist/v2.d.cts",
"default": "./dist/v2.d.ts"
},
"import": "./dist/v2.js",
"require": "./dist/v2.cjs"
},
"./v3alpha": {
"types": {
"import": "./dist/v3alpha.d.ts",
"require": "./dist/v3alpha.d.cts",
"default": "./dist/v3alpha.d.ts"
},
"import": "./dist/v3alpha.js",
"require": "./dist/v3alpha.cjs"
},
"./node": {
"types": {
"import": "./dist/node.d.ts",
"require": "./dist/node.d.cts",
"default": "./dist/node.d.ts"
},
"import": "./dist/node.js",
"require": "./dist/node.cjs"
},
"./web": {
"types": {
"import": "./dist/web.d.ts",
"require": "./dist/web.d.cts",
"default": "./dist/web.d.ts"
},
"import": "./dist/web.js",
"require": "./dist/web.cjs"
}
},
"main": "./dist/index.js",
"types": "./dist/index.d.ts",
"files": [
"dist/**"
],
"sideEffects": false,
"scripts": {
"build": "tsup",
"lint": "pnpm run '/^lint:check:.*$/'",
"lint:check:eslint": "eslint 'src/**/*.ts*'",
"lint:check:knip": "knip",
"test:unit": "vitest --run",
"clean": "rm -rf .turbo && rm -rf node_modules && rm -rf dist"
},
"dependencies": {
"@bufbuild/protobuf": "^2.2.2",
"@connectrpc/connect": "^2.0.0",
"@connectrpc/connect-node": "^2.0.0",
"@connectrpc/connect-web": "^2.0.0",
"@zitadel/proto": "workspace:*",
"jose": "^5.3.0"
},
"devDependencies": {
"@bufbuild/protocompile": "^0.0.1",
"@bufbuild/buf": "^1.53.0",
"@types/node": "^24.0.14",
"@typescript-eslint/eslint-plugin": "^8.15.0",
"@typescript-eslint/parser": "^8.15.0",
"eslint": "^8.57.0",
"knip": "^5.61.3",
"tsup": "^8.4.0",
"typescript": "^5.8.3",
"vitest": "^2.0.0"
}
}