From 483eec9728b112dab1d1151d625c1b1385d8edb3 Mon Sep 17 00:00:00 2001 From: scarf Date: Fri, 31 Jan 2025 23:53:08 +0900 Subject: [PATCH] docs: deno usage --- README.md | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/README.md b/README.md index b1512fc36..01587bd1e 100644 --- a/README.md +++ b/README.md @@ -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 @@ -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**