use turbo convention

This commit is contained in:
Elio Bischof
2025-07-17 13:20:50 +02:00
parent 028a657fd0
commit 706a966f22
381 changed files with 591 additions and 1260 deletions

5
packages/zitadel-proto/.gitignore vendored Normal file
View File

@@ -0,0 +1,5 @@
zitadel
google
protoc-gen-openapiv2
validate
node_modules

View File

@@ -0,0 +1,47 @@
# @zitadel/proto
## 1.2.0
### Minor Changes
- 62ad388: revert CJS support
## 1.1.0
### Minor Changes
- 9692297: add CJS and ESM support
## 1.0.4
### Patch Changes
- 97b0332: bind @zitadel/proto version to zitadel tag
## 1.0.3
### Patch Changes
- 90fbdd1: use node16/nodenext module resolution
## 1.0.2
### Patch Changes
- include validate, google and protoc-gen-openapiv2
## 1.0.1
### Patch Changes
- README updates
## 1.0.0
### Major Changes
- 32e1199: Initial Release
### Minor Changes
- f32ab7f: Initial release

View File

@@ -0,0 +1,35 @@
# ZITADEL Proto
This package provides the Protocol Buffers (proto) definitions used by ZITADEL projects. It includes the proto files and generated code for interacting with ZITADEL's gRPC APIs.
## Installation
To install the package, use npm or yarn:
```sh
npm install @zitadel/proto
```
or
```sh
yarn add @zitadel/proto
```
## Usage
To use the proto definitions in your project, import the generated code:
```ts
import { Organization } from "@zitadel/proto/zitadel/org/v2/org_pb";
const org: Organization | null = await getDefaultOrg();
```
## Documentation
For detailed documentation and API references, please visit the [ZITADEL documentation](https://zitadel.com/docs).
## Contributing
Contributions are welcome! Please read the contributing guidelines before getting started.

View File

@@ -0,0 +1,10 @@
version: v2
managed:
enabled: true
plugins:
- remote: buf.build/bufbuild/es:v2.2.0
out: .
include_imports: true
opt:
- json_types=true
- import_extension=js

View File

@@ -0,0 +1,26 @@
{
"name": "@zitadel/proto",
"version": "1.2.0",
"license": "MIT",
"publishConfig": {
"access": "public"
},
"type": "module",
"files": [
"zitadel/**",
"validate/**",
"google/**",
"protoc-gen-openapiv2/**"
],
"sideEffects": false,
"scripts": {
"generate": "pnpm exec buf generate ../../../proto --path ../../../proto/zitadel",
"clean": "rm -rf zitadel .turbo node_modules google protoc-gen-openapiv2 validate"
},
"dependencies": {
"@bufbuild/protobuf": "^2.2.2"
},
"devDependencies": {
"@bufbuild/buf": "^1.53.0"
}
}

View File

@@ -0,0 +1,8 @@
{
"extends": ["//"],
"tasks": {
"generate": {
"outputs": ["zitadel/**"]
}
}
}