-
Notifications
You must be signed in to change notification settings - Fork 38
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #328 from zitadel/changesets-init
chore: Automate publishing packages with changesets
- Loading branch information
Showing
28 changed files
with
379 additions
and
90 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,11 @@ | ||
{ | ||
"$schema": "https://unpkg.com/@changesets/[email protected]/schema.json", | ||
"baseBranch": "main", | ||
"$schema": "https://unpkg.com/@changesets/[email protected]/schema.json", | ||
"changelog": "@changesets/cli/changelog", | ||
"commit": false, | ||
"fixed": [], | ||
"linked": [], | ||
"access": "public", | ||
"baseBranch": "main", | ||
"updateInternalDependencies": "patch", | ||
"ignore": ["@zitadel/login"] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
name: Release | ||
|
||
on: | ||
push: | ||
branches: | ||
- main | ||
|
||
concurrency: ${{ github.workflow }}-${{ github.ref }} | ||
|
||
jobs: | ||
release: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Checkout code | ||
uses: actions/checkout@v3 | ||
|
||
- name: Set up Node.js | ||
uses: actions/setup-node@v3 | ||
with: | ||
node-version: '20' | ||
|
||
- name: Install dependencies | ||
run: pnpm install | ||
|
||
- name: Create Release Pull Request | ||
uses: changesets/action@v1 | ||
env: | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
module.exports = { | ||
root: true, | ||
extends: ["zitadel"], | ||
extends: ["@zitadel/eslint-config"], | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
# @zitadel/client | ||
|
||
## 1.0.0 | ||
|
||
### Major Changes | ||
|
||
- 32e1199: Initial Release | ||
|
||
### Minor Changes | ||
|
||
- f32ab7f: Initial release | ||
|
||
### Patch Changes | ||
|
||
- Updated dependencies [f32ab7f] | ||
- Updated dependencies [32e1199] | ||
- @zitadel/proto@1.0.0 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,53 @@ | ||
# ZITADEL Client | ||
|
||
This package exports services and utilities to interact with ZITADEL | ||
|
||
## Installation | ||
|
||
To install the package, use npm or yarn: | ||
|
||
```sh | ||
npm install @zitadel/client | ||
``` | ||
|
||
or | ||
|
||
```sh | ||
yarn add @zitadel/client | ||
``` | ||
|
||
## Usage | ||
|
||
### Importing Services | ||
|
||
You can import and use the services provided by this package to interact with ZITADEL. | ||
|
||
```ts | ||
import { createSettingsServiceClient, makeReqCtx } from "@zitadel/client/v2"; | ||
|
||
// Example usage | ||
const transport = createServerTransport(process.env.ZITADEL_SERVICE_USER_TOKEN!, { baseUrl: process.env.ZITADEL_API_URL! }); | ||
|
||
const settingsService = createSettingsServiceClient(transport); | ||
|
||
settingsService.getBrandingSettings({ ctx: makeReqCtx("orgId") }, {}); | ||
``` | ||
|
||
### Utilities | ||
|
||
This package also provides various utilities to work with ZITADEL | ||
|
||
```ts | ||
import { timestampMs } from "@zitadel/client"; | ||
|
||
// Example usage | ||
console.log(`${timestampMs(session.creationDate)}`); | ||
``` | ||
|
||
## 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. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
# @zitadel/eslint-config | ||
|
||
## 0.1.0 | ||
|
||
### Minor Changes | ||
|
||
- f32ab7f: Initial release |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
# ZITADEL ESLint Config | ||
|
||
This package provides the ESLint configuration used by ZITADEL projects. It includes a set of rules and plugins to ensure consistent code quality and style across all ZITADEL codebases. | ||
|
||
## Installation | ||
|
||
To install the package, use npm or yarn: | ||
|
||
```sh | ||
npm install @zitadel/eslint-config | ||
``` | ||
|
||
or | ||
|
||
```sh | ||
yarn add @zitadel/eslint-config | ||
``` | ||
|
||
## Usage | ||
|
||
To use the ESLint configuration in your project, extend it in your `.eslintrc` file: | ||
|
||
```js | ||
{ | ||
"extends": "@zitadel/eslint-config" | ||
} | ||
``` | ||
|
||
## Documentation | ||
|
||
For detailed documentation and configuration options, please refer to the [ESLint documentation](https://eslint.org/docs/user-guide/configuring). | ||
|
||
## Contributing | ||
|
||
Contributions are welcome! Please read the contributing guidelines before getting started. |
File renamed without changes.
4 changes: 2 additions & 2 deletions
4
packages/eslint-config-zitadel/package.json → packages/zitadel-eslint-config/package.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
# @zitadel/prettier-config | ||
|
||
## 0.1.0 | ||
|
||
### Minor Changes | ||
|
||
- f32ab7f: Initial release |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,36 @@ | ||
# ZITADEL Prettier Config | ||
|
||
This package provides the Prettier configuration used by ZITADEL projects. It includes a set of formatting rules to ensure consistent code style across all ZITADEL codebases. | ||
|
||
## Installation | ||
|
||
To install the package, use npm or yarn: | ||
|
||
```sh | ||
npm install @zitadel/prettier-config | ||
``` | ||
|
||
or | ||
|
||
```sh | ||
yarn add @zitadel/prettier-config | ||
``` | ||
|
||
## Usage | ||
|
||
To use the Prettier configuration in your project, extend it in your `prettier.config.js` file: | ||
|
||
```js | ||
module.exports = { | ||
...require("@zitadel/prettier-config"), | ||
// Add your custom configurations here | ||
}; | ||
``` | ||
|
||
## Documentation | ||
|
||
For detailed documentation and configuration options, please refer to the [Prettier documentation](https://prettier.io/docs/en/configuration.html). | ||
|
||
## Contributing | ||
|
||
Contributions are welcome! Please read the contributing guidelines before getting started. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
# @zitadel/proto | ||
|
||
## 1.0.0 | ||
|
||
### Major Changes | ||
|
||
- 32e1199: Initial Release | ||
|
||
### Minor Changes | ||
|
||
- f32ab7f: Initial release |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
# @zitadel/tailwind-config | ||
|
||
## 0.1.0 | ||
|
||
### Minor Changes | ||
|
||
- f32ab7f: Initial release |
Oops, something went wrong.