diff --git a/.nvmrc b/.nvmrc new file mode 100644 index 0000000..b009dfb --- /dev/null +++ b/.nvmrc @@ -0,0 +1 @@ +lts/* diff --git a/Makefile b/Makefile index 8c38e75..a01ef24 100644 --- a/Makefile +++ b/Makefile @@ -1,5 +1,3 @@ -HUGO_VERSION = 0.79.0 - DRAFT_ARGS = --buildDrafts --buildFuture BUILD_ARGS = --minify ifeq (draft, $(or $(findstring draft,$(HEAD)),$(findstring draft,$(BRANCH)))) diff --git a/README.md b/README.md index a7f36a2..9c7acc3 100644 --- a/README.md +++ b/README.md @@ -6,8 +6,14 @@ The [grpc.io][] site, built using [Hugo][] and hosted on [Netlify][]. ### 1. Install the following tools -- **[Hugo, extended version][hugo-install]** -- **[nvm][]**, the Node Version Manager +- **[Hugo, extended edition][hugo-install]**; match the version specified in + [netlify.toml](netlify.toml) +- **Node**, the latest [LTS release][]. Like Netlify, we use **[nvm][]**, the + Node Version, to install and manage Node versions: + ```console + $ nvm install --lts + $ nvm use --lts + ``` ### 2. Clone this repo _and_ its submodules @@ -138,6 +144,7 @@ returned from `/grpc` links are false negatives that you can ignore. [grpc.io]: https://grpc.io [Hugo]: https://gohugo.io [hugo-install]: https://gohugo.io/getting-started/installing +[LTS release]: https://nodejs.org/en/about/releases/ [Netlify]: https://netlify.com [Netlify dev]: https://www.netlify.com/products/dev [Netlify gRPC Team dashboard]: https://app.netlify.com/teams/grpc/overview diff --git a/netlify.toml b/netlify.toml index e88017c..67223b6 100644 --- a/netlify.toml +++ b/netlify.toml @@ -3,8 +3,7 @@ publish = "public" command = "git submodule update --init --recursive --depth 1 && make production-build" [build.environment] -HUGO_VERSION = "0.79.0" -NODE_VERSION = "12" +HUGO_VERSION = "0.80.0" [context.branch-deploy] command = "git submodule update --init --recursive --depth 1 && make preview-build" diff --git a/package.json b/package.json index 1194bd5..8846ecf 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "devDependencies": { "autoprefixer": "^9.8.6", - "netlify-cli": "^3.4.8", + "netlify-cli": "^3.5.0", "postcss-cli": "^7.1.2" } }