From 736e37bd01a453a2b756907838995f5e060f600a Mon Sep 17 00:00:00 2001 From: Brilliancoder <140956295+Brilliancoder@users.noreply.github.com> Date: Sat, 28 Nov 2026 12:12:10 +0700 Subject: [PATCH 1/2] docs: fix articles in init guide --- runtime/reference/cli/init.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/runtime/reference/cli/init.md b/runtime/reference/cli/init.md index de89a8817..596073a76 100644 --- a/runtime/reference/cli/init.md +++ b/runtime/reference/cli/init.md @@ -37,7 +37,7 @@ ok | 1 passed | 0 failed (29ms) The `init` subcommand will create two files (`main.ts` and `main_test.ts`). These files provide a basic example of how to write a Deno program and how to -write tests for it. The `main.ts` file exports a `add` function that adds two +write tests for it. The `main.ts` file exports an `add` function that adds two numbers together and the `main_test.ts` file contains a test for this function. You can also specify an argument to `deno init` to initialize a project in a @@ -187,7 +187,7 @@ Hello world! ## Generate a library project You can append a `--lib` flag to add extra parameters to your `deno.json`, such -as "name", "version" and an "exports" fields. +as "name", "version" and an "exports" field. ```sh deno init my_deno_project --lib From d6e9b47bc95b21f63586b92d6b7255e771bd96b6 Mon Sep 17 00:00:00 2001 From: Brilliancoder <140956295+Brilliancoder@users.noreply.github.com> Date: Sat, 28 Nov 2026 12:17:16 +0700 Subject: [PATCH 2/2] docs: bump last_modified for init guide --- runtime/reference/cli/init.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/runtime/reference/cli/init.md b/runtime/reference/cli/init.md index 596073a76..b8b384f12 100644 --- a/runtime/reference/cli/init.md +++ b/runtime/reference/cli/init.md @@ -1,5 +1,5 @@ --- -last_modified: 2026-06-15 +last_modified: 2026-11-28 title: "deno init" oldUrl: /runtime/manual/tools/init/ command: init