Skip to content

Commit

Permalink
feat: Simplify Typia setup instructions
Browse files Browse the repository at this point in the history
This commit simplifies the setup instructions for Typia in the README.
The changes include:
- Replacing multiple npm install commands with a single npx command.
- Removing unnecessary ts-patch and ts-node installations.
- Updating the link to the setup instructions on the Typia website.
  • Loading branch information
ryoppippi committed Jun 5, 2024
1 parent 9d08599 commit f9a9c72
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions packages/unplugin-typia/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,15 +24,14 @@ npx jsr add -D @ryoppippi/unplugin-typia
Then, install `typia`:

```bash
npx jsr add -D @ryoppippi/unplugin-typia
npm install --save typia
npm install --save-dev typescript ts-patch ts-node
npx typia setup

npx ts-patch install
npx typia patch
npm run prepare
```

You should follow the [manual setup instructions](https://typia.io/docs/setup/#manual-setup) on the Typia website.
However, you don't need to add plugins to the `tsconfig.json` file.
You should follow the [Setup Instruction](https://typia.io/docs/setup/#unplugin-typia) on the Typia website.

Then, add the unplugin to your favorite bundler:

Expand Down

0 comments on commit f9a9c72

Please sign in to comment.