From 308e18f0f391a24ecc4ae85e005436b19f711a46 Mon Sep 17 00:00:00 2001 From: Geng Yan Date: Thu, 26 Sep 2024 04:36:15 +0800 Subject: [PATCH] =?UTF-8?q?=F0=9F=90=9E=20fix:=20fix=20docs=20error?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- README.md | 4 ++-- README_CN.md | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index 0e168d2..cba9a34 100644 --- a/README.md +++ b/README.md @@ -16,7 +16,7 @@ NestJS Prisma Generator is a command-line tool for generating NestJS and Prisma ## Installation ```bash -npm install +npm install @gylove1994/npg -g ``` ## Usage @@ -26,7 +26,7 @@ npm install You can use the following command to generate code: ```bash -npx @gylove1994/npg +npg ``` Follow the prompts to select the type of code you want to generate, the path to your Prisma schema file, and the output directory. diff --git a/README_CN.md b/README_CN.md index 30bd0df..feec8aa 100644 --- a/README_CN.md +++ b/README_CN.md @@ -14,7 +14,7 @@ NestJS Prisma Generator 是一个用于生成 NestJS 和 Prisma 代码的命令 ## 安装 ```bash -npm install +npm install @gylove1994/npg -g ``` ## 使用方法 @@ -24,7 +24,7 @@ npm install 你可以使用以下命令来生成代码: ```bash -npx @gylove1994/npg +npg ``` 根据提示选择你要生成的代码类型、Prisma schema 文件路径和输出目录。