Skip to content

Commit

Permalink
docs: deno usage
Browse files Browse the repository at this point in the history
  • Loading branch information
scarf005 committed Jan 31, 2025
1 parent f029028 commit 483eec9
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -149,6 +149,11 @@ const res = isMyDataValid(data)
* Use `curl -fsSl https://bun.sh/install | bash -s "bun-v1.0.x"` to switch to a specific bun version
* `curl -fsSl https://bun.sh/install | bash -s "bun-v1.1.43"` - switch to bun 1.1.43

#### Deno

* Use `deno upgrade x.x.x` to switch to a specific Deno version
* `deno upgrade stable` - switch to Deno x.x.x

## Adding new runtime version

### Node.js runtime
Expand All @@ -162,6 +167,11 @@ const res = isMyDataValid(data)
* update bun version matrix in `.github/workflows/pr.yml` and `.github/workflows/release.yml`
* update `BUN_VERSIONS` in `docs/dist/app.tsx` and run `npm run docs:build`

### Deno runtime

* update Deno version matrix in `.github/workflows/pr.yml` and `.github/workflows/release.yml`
* update `DENO_VERSIONS` in `docs/dist/app.tsx` and run `npm run docs:build`

## Test cases

* **Safe Parsing**
Expand Down

0 comments on commit 483eec9

Please sign in to comment.