Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix release process and README tweaks #106

Merged
merged 1 commit into from
Oct 17, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,11 @@ jobs:
version: ${{ steps.version.outputs.tag }}
package: 'packages/nestjs-zod'

- name: Copy README from root of project to nestjs-zod
run: |
cp logo.svg packages/nestjs-zod
cp README.md packages/nestjs-zod

- name: Create NPM config
run: cd packages/nestjs-zod && npm config set //registry.npmjs.org/:_authToken $NPM_TOKEN
env:
Expand Down
17 changes: 5 additions & 12 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,32 +2,25 @@
<img src="logo.svg" width="560px" align="center" alt="NestJS + Zod logo" style="max-width: 100%;" />
<h1></h1>
<p align="center">
✨ A superior validation solution for your NestJS application ✨
✨ A seamless validation solution for your NestJS application ✨
</p>
</p>
<br/>
<p align="center">
<a href="https://github.com/risenforces/nestjs-zod/actions?query=branch%3Amain">
<img src="https://github.com/risenforces/nestjs-zod/actions/workflows/test-and-build.yml/badge.svg?event=push&branch=main" alt="nestjs-zod CI Status" />
<a href="https://github.com/BenLorantfy/nestjs-zod/actions?query=branch%3Amain">
<img src="https://github.com/BenLorantfy/nestjs-zod/actions/workflows/test-and-build.yml/badge.svg?event=push&branch=main" alt="nestjs-zod CI Status" />
</a>
<a href="https://opensource.org/licenses/MIT" rel="nofollow">
<img src="https://img.shields.io/github/license/risenforces/nestjs-zod" alt="License">
<img src="https://img.shields.io/github/license/BenLorantfy/nestjs-zod" alt="License">
</a>
<a href="https://www.npmjs.com/package/nestjs-zod" rel="nofollow">
<img src="https://img.shields.io/npm/dw/nestjs-zod.svg" alt="npm">
</a>
<a href="https://www.npmjs.com/package/nestjs-zod" rel="nofollow">
<img src="https://img.shields.io/github/stars/risenforces/nestjs-zod" alt="stars">
<img src="https://img.shields.io/github/stars/BenLorantfy/nestjs-zod" alt="stars">
</a>
</p>

## Ecosystem

| Package | About |
| :-------------------------------------------------------------------- | :------------------------------------------------------- |
| [nestjs-zod](https://github.com/risenforces/nestjs-zod) | A tools for integrating Zod into your NestJS application |
| [nestjs-zod-prisma](https://github.com/risenforces/nestjs-zod-prisma) | Generate Zod schemas from your Prisma schema |

## Core library features

- `createZodDto` - create DTO classes from Zod schemas
Expand Down
Loading