From b52625002098eb4a7c601110c1ba53f216bd8882 Mon Sep 17 00:00:00 2001 From: Victor Adossi Date: Tue, 7 Jan 2025 00:56:30 +0900 Subject: [PATCH] chore(examples): node -> 22.12.0, update docs This commit updates the node version specified in `.nvmrc` for all examples to 22.12.0 ("Jod"), and includes a note about using the latest stable version of Node Signed-off-by: Victor Adossi --- examples/components/http-hello-world/.nvmrc | 2 +- examples/components/http-hello-world/README.md | 7 +++++++ examples/components/http-password-checker/.nvmrc | 2 +- examples/components/http-password-checker/README.md | 11 +++++++++-- 4 files changed, 18 insertions(+), 4 deletions(-) diff --git a/examples/components/http-hello-world/.nvmrc b/examples/components/http-hello-world/.nvmrc index eb96b9a..dc0bb0f 100644 --- a/examples/components/http-hello-world/.nvmrc +++ b/examples/components/http-hello-world/.nvmrc @@ -1 +1 @@ -v21.5.0 +v22.12.0 diff --git a/examples/components/http-hello-world/README.md b/examples/components/http-hello-world/README.md index 8f6d339..927db85 100644 --- a/examples/components/http-hello-world/README.md +++ b/examples/components/http-hello-world/README.md @@ -18,6 +18,13 @@ This component: # Dependencies +> ![WARN] +> When building this project, ensure you are using a stable NodeJS release. +> +> Use of node version management tools (ex. [`nvm`](https://github.com/nvm-sh/nvm) or more newer NVM +> compatible tools like [`fnm`](https://github.com/Schniz/fnm)) are recommended -- a `.nvmrc` file is +> included for easy use. + Building this project relies on the following software: | Name | Description | diff --git a/examples/components/http-password-checker/.nvmrc b/examples/components/http-password-checker/.nvmrc index 37dbbaf..dc0bb0f 100644 --- a/examples/components/http-password-checker/.nvmrc +++ b/examples/components/http-password-checker/.nvmrc @@ -1 +1 @@ -v22.5.1 \ No newline at end of file +v22.12.0 diff --git a/examples/components/http-password-checker/README.md b/examples/components/http-password-checker/README.md index 14646ca..2e9090c 100644 --- a/examples/components/http-password-checker/README.md +++ b/examples/components/http-password-checker/README.md @@ -24,10 +24,17 @@ This example also serves as a great example of using JS ecosystem projects, nota # Dependencies -This relies on the following installed software: +> ![WARN] +> When building this project, ensure you are using a stable NodeJS release. +> +> Use of node version management tools (ex. [`nvm`](https://github.com/nvm-sh/nvm) or more newer NVM +> compatible tools like [`fnm`](https://github.com/Schniz/fnm)) are recommended -- a `.nvmrc` file is +> included for easy use. + +Building this project relies on the following installed software: | Name | Description | -| ------ | ----------------------------------------------------------------------------------------------------------- | +|--------|-------------------------------------------------------------------------------------------------------------| | `wash` | [Wasmcloud Shell][wash] controls your [wasmcloud][wasmcloud] host instances and enables building components | | `npm` | [Node Package Manager (NPM)][npm] which manages packages for for the NodeJS ecosystem | | `node` | [NodeJS runtime][nodejs] (see `.nvmrc` for version) |