From 1b7dbd0d7f5957813496e162a15fd97a294a9581 Mon Sep 17 00:00:00 2001 From: "Ji Yong, Kim" Date: Sun, 2 Jun 2024 22:33:35 +0900 Subject: [PATCH 1/2] chore: fix typo --- README.md | 2 +- packages/seia/src/process-polyfill.ts | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 7b0d20c..7f5c935 100644 --- a/README.md +++ b/README.md @@ -32,7 +32,7 @@ _Lightweight SSR framework for React Server Components_ Create a new empty React project or use your existing one. If you're unsure how to start, follow the [Vite's official template](https://vitejs.dev/guide/#scaffolding-your-first-vite-project). -They, install Seia: +Then, install Seia: ```sh $ npm install seia.js diff --git a/packages/seia/src/process-polyfill.ts b/packages/seia/src/process-polyfill.ts index 0c334b4..234896e 100644 --- a/packages/seia/src/process-polyfill.ts +++ b/packages/seia/src/process-polyfill.ts @@ -1,8 +1,8 @@ -// NOTE: typescript declare statement is global, so we should avoid redeclaring global `process` here, thus used `as any` +// NOTE: typescript declare statement is global, so we should avoid re-declaring global `process` here, thus used `as any` // it will now work well with `@types/node`, but of course this is hack. not a great idea. ;(globalThis as any).process = { env: { // eslint-disable-next-line @typescript-eslint/naming-convention - NODE_ENV: 'prodection', + NODE_ENV: 'production', }, } From ddfdf39aec8acd911609a46fb057d6951d51dc8f Mon Sep 17 00:00:00 2001 From: "Ji Yong, Kim" Date: Sun, 2 Jun 2024 23:49:20 +0900 Subject: [PATCH 2/2] chore: fix typo --- packages/seia/README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/seia/README.md b/packages/seia/README.md index 5f0eb21..3c85915 100644 --- a/packages/seia/README.md +++ b/packages/seia/README.md @@ -32,7 +32,7 @@ _Lightweight SSR framework for React Server Components_ Create a new empty React project or use your existing one. If you're unsure how to start, follow the [Vite's official template](https://vitejs.dev/guide/#scaffolding-your-first-vite-project). -They, install Seia: +Then, install Seia: ```sh $ npm install seia.js