fix(packages): cjs, and module resolution fix (#10322)

This PR introduces CJS support for @zitadel/client and @zitadel/proto
from https://github.com/zitadel/zitadel/pull/10290
and fixes a module resolution error of @zitadel/client

---------

Co-authored-by: reluc <relu.cri@gmail.com>
This commit is contained in:
Max Peintner
2025-07-25 13:42:48 +02:00
committed by GitHub
parent b43c627c74
commit c46fd01947
23 changed files with 244 additions and 472 deletions

View File

@@ -3,8 +3,24 @@ managed:
enabled: true
plugins:
- remote: buf.build/bufbuild/es:v2.2.0
out: .
out: es
include_imports: true
opt:
- target=js
- json_types=true
- import_extension=js
- remote: buf.build/bufbuild/es:v2.2.0
out: cjs
include_imports: true
opt:
- target=js
- json_types=true
- import_extension=js
- js_import_style=legacy_commonjs
- remote: buf.build/bufbuild/es:v2.2.0
out: types
include_imports: true
opt:
- target=dts
- json_types=true
- import_extension=js