This is an automated email from the ASF dual-hosted git repository. zregvart pushed a commit to branch main in repository https://gitbox.apache.org/repos/asf/camel-website.git
commit d40ba5dd056c2b4ec0ab96d0ce9a24a644bd8266 Author: Zoran Regvart <[email protected]> AuthorDate: Fri May 21 10:04:11 2021 +0200 chore: upgrade Hugo to 0.83.1 We need at least 0.74.0 to return a value from a partial, which we need for version sorting implementation. --- .pnp.js | 10 ++-- .yarn/build-state.yml | 6 +-- ...o-extended-npm-0.73.0-f4a4b1a424-2bd13f528f.zip | Bin 4868 -> 0 bytes ...o-extended-npm-0.83.1-0d67d3a0ea-ec3625a4df.zip | Bin 0 -> 5650 bytes .../node_modules/hugo-extended/lib/index.js | 30 ------------ .../node_modules/hugo-extended/.ready | 0 .../node_modules/hugo-extended/LICENSE.md | 0 .../node_modules/hugo-extended/README.md | 21 +++++++-- .../node_modules/hugo-extended/cli.js | 0 .../node_modules/hugo-extended/index.js | 0 .../node_modules/hugo-extended/lib/index.js | 10 ++++ .../node_modules/hugo-extended/lib/install.js | 2 +- .../node_modules/hugo-extended/lib/src.js | 52 +++++++++++++++++++++ .../node_modules/hugo-extended/package.json | 10 ++-- .../node_modules/hugo-extended/vendor/LICENSE | 0 .../node_modules/hugo-extended/vendor/README.md | 12 +++-- .../node_modules/hugo-extended/vendor/hugo | Bin 47082384 -> 45879352 bytes package.json | 2 +- yarn.lock | 10 ++-- 19 files changed, 107 insertions(+), 58 deletions(-) diff --git a/.pnp.js b/.pnp.js index 70c3c7d..efebadb 100755 --- a/.pnp.js +++ b/.pnp.js @@ -63,7 +63,7 @@ function $$SETUP_STATE(hydrateRuntimeState, basePath) { ["gulp-htmlmin", "npm:5.0.1"], ["html-validate", "npm:4.11.0"], ["http-proxy", "npm:1.18.1"], - ["hugo-extended", "npm:0.73.0"], + ["hugo-extended", "npm:0.83.1"], ["netlify-cli", "npm:2.69.11"], ["npm-run-all", "npm:4.1.5"], ["opal-runtime", "npm:1.0.11"], @@ -4391,7 +4391,7 @@ function $$SETUP_STATE(hydrateRuntimeState, basePath) { ["gulp-htmlmin", "npm:5.0.1"], ["html-validate", "npm:4.11.0"], ["http-proxy", "npm:1.18.1"], - ["hugo-extended", "npm:0.73.0"], + ["hugo-extended", "npm:0.83.1"], ["netlify-cli", "npm:2.69.11"], ["npm-run-all", "npm:4.1.5"], ["opal-runtime", "npm:1.0.11"], @@ -11850,10 +11850,10 @@ function $$SETUP_STATE(hydrateRuntimeState, basePath) { }] ]], ["hugo-extended", [ - ["npm:0.73.0", { - "packageLocation": "./.yarn/unplugged/hugo-extended-npm-0.73.0-f4a4b1a424/node_modules/hugo-extended/", + ["npm:0.83.1", { + "packageLocation": "./.yarn/unplugged/hugo-extended-npm-0.83.1-0d67d3a0ea/node_modules/hugo-extended/", "packageDependencies": [ - ["hugo-extended", "npm:0.73.0"], + ["hugo-extended", "npm:0.83.1"], ["bin-wrapper", "npm:4.1.0"] ], "linkType": "HARD", diff --git a/.yarn/build-state.yml b/.yarn/build-state.yml index 4b1a6c8..3763a3a 100644 --- a/.yarn/build-state.yml +++ b/.yarn/build-state.yml @@ -9,9 +9,9 @@ "47efba2323306056b5eb4428fb87bbe745eb0587d7a5c64c188c6bc7d13bb2ab6ee9099b11957e60c6dacefbfc0d074aa862e206c771bef851d72b01b35da575": c3d5b416918c488a10c332af3fc0adcbd4ac721d9df91323a9cb435cda4bbb8dcd65ff2c9e2af6dc264d0ebf44a9cc1e2a08208acde7d929ab40c1810d0506d1 -# hugo-extended@npm:0.73.0 -"f4a4b1a424d4f0eeec4214510de20c5e149bf5a11cd09c1470703b565b9d6dae99e59a984e629d6f699070766d0f02d1381989a7dd8af6d5d77d2f29be9f3d88": - 283d15e697604a5a0c2480265c7974d2441b79737f17940785ef204db7c109eaed399a6705c20c0227408d381f24e6ada59c0eee3d993d444d7146dd454aeb88 +# hugo-extended@npm:0.83.1 +"0d67d3a0ea9acf75aaac236a84168d7e78de359f3c24011598a0c4a3e8e32918dfce8ed5d11fdf06f78fac501a65a3380b256b3e41544df9ec255fc2c59b0649": + dfb136ffd5c589b8b0190a7fb72be3f635027e56a026f11dfaec0d551c142918a55fa3b1c0dddfb6fa7e0007737b3ddd048a1972bc2c7e0549b325d8cf4564fd # jpegtran-bin@npm:4.0.0 "c1e70a98c194359902d396160440b8d6aafc026faec0b483b98d24dac1a2756f6ebdb0d5b12c609339320ad38e22580c8c8b6e70edfc9c5019a30d10094fd1fb": diff --git a/.yarn/cache/hugo-extended-npm-0.73.0-f4a4b1a424-2bd13f528f.zip b/.yarn/cache/hugo-extended-npm-0.73.0-f4a4b1a424-2bd13f528f.zip deleted file mode 100644 index 6050bd6..0000000 Binary files a/.yarn/cache/hugo-extended-npm-0.73.0-f4a4b1a424-2bd13f528f.zip and /dev/null differ diff --git a/.yarn/cache/hugo-extended-npm-0.83.1-0d67d3a0ea-ec3625a4df.zip b/.yarn/cache/hugo-extended-npm-0.83.1-0d67d3a0ea-ec3625a4df.zip new file mode 100644 index 0000000..3851443 Binary files /dev/null and b/.yarn/cache/hugo-extended-npm-0.83.1-0d67d3a0ea-ec3625a4df.zip differ diff --git a/.yarn/unplugged/hugo-extended-npm-0.73.0-f4a4b1a424/node_modules/hugo-extended/lib/index.js b/.yarn/unplugged/hugo-extended-npm-0.73.0-f4a4b1a424/node_modules/hugo-extended/lib/index.js deleted file mode 100644 index 3d08c70..0000000 --- a/.yarn/unplugged/hugo-extended-npm-0.73.0-f4a4b1a424/node_modules/hugo-extended/lib/index.js +++ /dev/null @@ -1,30 +0,0 @@ -'use strict'; - -const path = require('path'); -const BinWrapper = require('bin-wrapper'); -const { hugoVersion } = require('../package.json'); - -const baseUrl = `https://github.com/gohugoio/hugo/releases/download/v${hugoVersion}/`; - -// Default to extended Hugo, fall back to vanilla Hugo on unsupported platforms -module.exports = new BinWrapper() - .src(`${baseUrl}hugo_extended_${hugoVersion}_Linux-64bit.tar.gz`, 'linux', 'x64') - .src(`${baseUrl}hugo_extended_${hugoVersion}_macOS-64bit.tar.gz`, 'darwin', 'x64') - .src(`${baseUrl}hugo_extended_${hugoVersion}_Windows-64bit.zip`, 'win32', 'x64') - .src(`${baseUrl}hugo_${hugoVersion}_Linux-32bit.tar.gz`, 'linux', 'x86') - .src(`${baseUrl}hugo_${hugoVersion}_Linux-ARM.tar.gz`, 'linux', 'arm') - .src(`${baseUrl}hugo_${hugoVersion}_Linux-ARM64.tar.gz`, 'linux', 'arm64') - .src(`${baseUrl}hugo_${hugoVersion}_macOS-32bit.tar.gz`, 'darwin', 'x86') - .src(`${baseUrl}hugo_${hugoVersion}_Windows-32bit.zip`, 'win32', 'x86') - .src(`${baseUrl}hugo_${hugoVersion}_FreeBSD-64bit.tar.gz`, 'freebsd', 'x64') - .src(`${baseUrl}hugo_${hugoVersion}_FreeBSD-32bit.tar.gz`, 'freebsd', 'x86') - .src(`${baseUrl}hugo_${hugoVersion}_FreeBSD-ARM.tar.gz`, 'freebsd', 'arm') - .src(`${baseUrl}hugo_${hugoVersion}_NetBSD-64bit.tar.gz`, 'netbsd', 'x64') - .src(`${baseUrl}hugo_${hugoVersion}_NetBSD-32bit.tar.gz`, 'netbsd', 'x86') - .src(`${baseUrl}hugo_${hugoVersion}_NetBSD-ARM.tar.gz`, 'netbsd', 'arm') - .src(`${baseUrl}hugo_${hugoVersion}_OpenBSD-64bit.tar.gz`, 'openbsd', 'x64') - .src(`${baseUrl}hugo_${hugoVersion}_OpenBSD-32bit.tar.gz`, 'openbsd', 'x86') - .src(`${baseUrl}hugo_${hugoVersion}_OpenBSD-ARM.tar.gz`, 'openbsd', 'arm') - .src(`${baseUrl}hugo_${hugoVersion}_DragonFlyBSD-64bit.tar.gz`, 'dragonfly', 'x64') - .dest(path.join(__dirname, '../vendor')) - .use(process.platform === 'win32' ? 'hugo.exe' : 'hugo'); diff --git a/.yarn/unplugged/hugo-extended-npm-0.73.0-f4a4b1a424/node_modules/hugo-extended/.ready b/.yarn/unplugged/hugo-extended-npm-0.83.1-0d67d3a0ea/node_modules/hugo-extended/.ready similarity index 100% rename from .yarn/unplugged/hugo-extended-npm-0.73.0-f4a4b1a424/node_modules/hugo-extended/.ready rename to .yarn/unplugged/hugo-extended-npm-0.83.1-0d67d3a0ea/node_modules/hugo-extended/.ready diff --git a/.yarn/unplugged/hugo-extended-npm-0.73.0-f4a4b1a424/node_modules/hugo-extended/LICENSE.md b/.yarn/unplugged/hugo-extended-npm-0.83.1-0d67d3a0ea/node_modules/hugo-extended/LICENSE.md similarity index 100% rename from .yarn/unplugged/hugo-extended-npm-0.73.0-f4a4b1a424/node_modules/hugo-extended/LICENSE.md rename to .yarn/unplugged/hugo-extended-npm-0.83.1-0d67d3a0ea/node_modules/hugo-extended/LICENSE.md diff --git a/.yarn/unplugged/hugo-extended-npm-0.73.0-f4a4b1a424/node_modules/hugo-extended/README.md b/.yarn/unplugged/hugo-extended-npm-0.83.1-0d67d3a0ea/node_modules/hugo-extended/README.md similarity index 60% rename from .yarn/unplugged/hugo-extended-npm-0.73.0-f4a4b1a424/node_modules/hugo-extended/README.md rename to .yarn/unplugged/hugo-extended-npm-0.83.1-0d67d3a0ea/node_modules/hugo-extended/README.md index 1b61ac0..753dddd 100644 --- a/.yarn/unplugged/hugo-extended-npm-0.73.0-f4a4b1a424/node_modules/hugo-extended/README.md +++ b/.yarn/unplugged/hugo-extended-npm-0.83.1-0d67d3a0ea/node_modules/hugo-extended/README.md @@ -1,4 +1,4 @@ -# <img src="https://raw.githubusercontent.com/gohugoio/gohugoioTheme/master/static/images/hugo-logo-wide.svg?sanitize=true" alt="Hugo" width="115"> via NPM [](https://github.com/jakejarvis/hugo-extended/actions) [](https://www.npmjs.com/package/hugo-extended) [](https://github. [...] +# <img src="https://raw.githubusercontent.com/gohugoio/gohugoioTheme/master/static/images/hugo-logo-wide.svg?sanitize=true" alt="Hugo" width="115"> via NPM [](https://github.com/jakejarvis/hugo-extended/actions) [](https://www.npmjs.com/package/hugo-extended) [, the > awesomest static-site generator. @@ -16,16 +16,29 @@ This package's version numbers align with Hugo's — `[email protected]` ins ## Usage -The following examples simply refer to executing Hugo as a local Node dependency. See the [official Hugo docs](https://gohugo.io/documentation/) for guidance on actual Hugo usage. +The following examples simply refer to downloading and executing Hugo as a Node dependency. See the [official Hugo docs](https://gohugo.io/documentation/) for guidance on actual Hugo usage. ### via CLI / `package.json`: -```json +If you'll be using the SCSS features of Hugo Extended, it's probably smart to install [`postcss`](https://www.npmjs.com/package/postcss), [`postcss-cli`](https://www.npmjs.com/package/postcss-cli), and [`autoprefixer`](https://www.npmjs.com/package/autoprefixer) as devDependencies too, since they can be called via [built-in Hugo pipes](https://gohugo.io/hugo-pipes/postcss/). + +The `build:preview` script below is designed for [Netlify deploy previews](https://www.netlify.com/blog/2016/07/20/introducing-deploy-previews-in-netlify/), where [`$DEPLOY_PRIME_URL`](https://docs.netlify.com/configure-builds/environment-variables/#deploy-urls-and-metadata) is substituted for the base URL (usually ending in netlify.app) of each commit or pull request. + +```jsonc { + // ... "scripts": { "build": "hugo", - "start": "hugo server --buildDrafts --buildFuture --port 1313" + "build:preview": "hugo --baseURL \"${DEPLOY_PRIME_URL:-/}\" --buildDrafts --buildFuture", + "start": "hugo server" + }, + "devDependencies": { + "autoprefixer": "^10.2.5", + "hugo-extended": "^0.75.1", + "postcss": "^8.2.9", + "postcss-cli": "^8.3.1" } + // ... } ``` diff --git a/.yarn/unplugged/hugo-extended-npm-0.73.0-f4a4b1a424/node_modules/hugo-extended/cli.js b/.yarn/unplugged/hugo-extended-npm-0.83.1-0d67d3a0ea/node_modules/hugo-extended/cli.js similarity index 100% rename from .yarn/unplugged/hugo-extended-npm-0.73.0-f4a4b1a424/node_modules/hugo-extended/cli.js rename to .yarn/unplugged/hugo-extended-npm-0.83.1-0d67d3a0ea/node_modules/hugo-extended/cli.js diff --git a/.yarn/unplugged/hugo-extended-npm-0.73.0-f4a4b1a424/node_modules/hugo-extended/index.js b/.yarn/unplugged/hugo-extended-npm-0.83.1-0d67d3a0ea/node_modules/hugo-extended/index.js similarity index 100% rename from .yarn/unplugged/hugo-extended-npm-0.73.0-f4a4b1a424/node_modules/hugo-extended/index.js rename to .yarn/unplugged/hugo-extended-npm-0.83.1-0d67d3a0ea/node_modules/hugo-extended/index.js diff --git a/.yarn/unplugged/hugo-extended-npm-0.83.1-0d67d3a0ea/node_modules/hugo-extended/lib/index.js b/.yarn/unplugged/hugo-extended-npm-0.83.1-0d67d3a0ea/node_modules/hugo-extended/lib/index.js new file mode 100644 index 0000000..8f3cbfc --- /dev/null +++ b/.yarn/unplugged/hugo-extended-npm-0.83.1-0d67d3a0ea/node_modules/hugo-extended/lib/index.js @@ -0,0 +1,10 @@ +'use strict'; + +const path = require('path'); +const BinWrapper = require('bin-wrapper'); +const src = require('./src'); + +module.exports = new BinWrapper() + .src(src) + .dest(path.join(__dirname, '../vendor')) + .use(process.platform === 'win32' ? 'hugo.exe' : 'hugo'); diff --git a/.yarn/unplugged/hugo-extended-npm-0.73.0-f4a4b1a424/node_modules/hugo-extended/lib/install.js b/.yarn/unplugged/hugo-extended-npm-0.83.1-0d67d3a0ea/node_modules/hugo-extended/lib/install.js similarity index 61% rename from .yarn/unplugged/hugo-extended-npm-0.73.0-f4a4b1a424/node_modules/hugo-extended/lib/install.js rename to .yarn/unplugged/hugo-extended-npm-0.83.1-0d67d3a0ea/node_modules/hugo-extended/lib/install.js index 8e32691..c8b9c11 100644 --- a/.yarn/unplugged/hugo-extended-npm-0.73.0-f4a4b1a424/node_modules/hugo-extended/lib/install.js +++ b/.yarn/unplugged/hugo-extended-npm-0.83.1-0d67d3a0ea/node_modules/hugo-extended/lib/install.js @@ -7,6 +7,6 @@ const bin = require('.'); await bin.run(['version']); console.log('✔ Hugo installed successfully!'); } catch (error) { - console.error('✖ ERROR: Hugo installation failed. :(\n', error); + console.error('✖ ERROR: Hugo installation failed. :( Are you sure this platform is supported?\n', error); } })(); diff --git a/.yarn/unplugged/hugo-extended-npm-0.83.1-0d67d3a0ea/node_modules/hugo-extended/lib/src.js b/.yarn/unplugged/hugo-extended-npm-0.83.1-0d67d3a0ea/node_modules/hugo-extended/lib/src.js new file mode 100644 index 0000000..dadea1c --- /dev/null +++ b/.yarn/unplugged/hugo-extended-npm-0.83.1-0d67d3a0ea/node_modules/hugo-extended/lib/src.js @@ -0,0 +1,52 @@ +'use strict'; + +const { version } = require('../package.json'); +const baseUrl = `https://github.com/gohugoio/hugo/releases/download/v${version}/`; + +// Platforms: https://nodejs.org/api/process.html#process_process_platform +// Architectures: https://nodejs.org/api/process.html#process_process_arch + +// Hugo Extended supports: macOS x64, macOS ARM64, Linux x64, Windows x64. +// all other combos fall back to vanilla Hugo. + +/* eslint-disable indent, operator-linebreak, unicorn/no-nested-ternary */ +module.exports = + process.platform === 'darwin' && process.arch === 'x64' + ? `${baseUrl}hugo_extended_${version}_macOS-64bit.tar.gz` : + process.platform === 'darwin' && process.arch === 'arm64' + ? `${baseUrl}hugo_extended_${version}_macOS-ARM64.tar.gz` : + + process.platform === 'win32' && process.arch === 'x64' + ? `${baseUrl}hugo_extended_${version}_Windows-64bit.zip` : + process.platform === 'win32' && process.arch.endsWith('32') + ? `${baseUrl}hugo_${version}_Windows-32bit.zip` : + + process.platform === 'linux' && process.arch === 'x64' + ? `${baseUrl}hugo_extended_${version}_Linux-64bit.tar.gz` : + process.platform === 'linux' && process.arch.endsWith('32') + ? `${baseUrl}hugo_${version}_Linux-32bit.tar.gz` : + process.platform === 'linux' && process.arch === 'arm' + ? `${baseUrl}hugo_${version}_Linux-ARM.tar.gz` : + process.platform === 'linux' && process.arch === 'arm64' + ? `${baseUrl}hugo_${version}_Linux-ARM64.tar.gz` : + + process.platform === 'freebsd' && process.arch === 'x64' + ? `${baseUrl}hugo_${version}_FreeBSD-64bit.tar.gz` : + process.platform === 'freebsd' && process.arch.endsWith('32') + ? `${baseUrl}hugo_${version}_FreeBSD-32bit.tar.gz` : + process.platform === 'freebsd' && process.arch === 'arm' + ? `${baseUrl}hugo_${version}_FreeBSD-ARM.tar.gz` : + process.platform === 'freebsd' && process.arch === 'arm64' + ? `${baseUrl}hugo_${version}_FreeBSD-ARM64.tar.gz` : + + process.platform === 'openbsd' && process.arch === 'x64' + ? `${baseUrl}hugo_${version}_OpenBSD-64bit.tar.gz` : + process.platform === 'openbsd' && process.arch.endsWith('32') + ? `${baseUrl}hugo_${version}_OpenBSD-32bit.tar.gz` : + process.platform === 'openbsd' && process.arch === 'arm' + ? `${baseUrl}hugo_${version}_OpenBSD-ARM.tar.gz` : + process.platform === 'openbsd' && process.arch === 'arm64' + ? `${baseUrl}hugo_${version}_OpenBSD-ARM64.tar.gz` : + + null; +/* eslint-enable indent, operator-linebreak, unicorn/no-nested-ternary */ diff --git a/.yarn/unplugged/hugo-extended-npm-0.73.0-f4a4b1a424/node_modules/hugo-extended/package.json b/.yarn/unplugged/hugo-extended-npm-0.83.1-0d67d3a0ea/node_modules/hugo-extended/package.json similarity index 87% rename from .yarn/unplugged/hugo-extended-npm-0.73.0-f4a4b1a424/node_modules/hugo-extended/package.json rename to .yarn/unplugged/hugo-extended-npm-0.83.1-0d67d3a0ea/node_modules/hugo-extended/package.json index e9f950f..2ff5248 100644 --- a/.yarn/unplugged/hugo-extended-npm-0.73.0-f4a4b1a424/node_modules/hugo-extended/package.json +++ b/.yarn/unplugged/hugo-extended-npm-0.83.1-0d67d3a0ea/node_modules/hugo-extended/package.json @@ -1,9 +1,7 @@ { "name": "hugo-extended", - "version": "0.73.0", - "hugoVersion": "0.73.0", + "version": "0.83.1", "description": "Plug-and-play binary wrapper for Hugo Extended, the awesomest static-site generator.", - "homepage": "https://jarv.is/hugo-node/", "license": "MIT", "author": { "name": "Jake Jarvis", @@ -39,15 +37,15 @@ }, "devDependencies": { "bin-check": "^4.1.0", - "mocha": "~6.x", - "xo": "~0.25.x" + "mocha": "^8.3.2", + "xo": "^0.39.1" }, "scripts": { "postinstall": "node lib/install.js", "test": "xo && mocha && node cli.js env" }, "engines": { - "node": ">=8" + "node": ">=10" }, "files": [ "lib/*.js", diff --git a/.yarn/unplugged/hugo-extended-npm-0.73.0-f4a4b1a424/node_modules/hugo-extended/vendor/LICENSE b/.yarn/unplugged/hugo-extended-npm-0.83.1-0d67d3a0ea/node_modules/hugo-extended/vendor/LICENSE similarity index 100% rename from .yarn/unplugged/hugo-extended-npm-0.73.0-f4a4b1a424/node_modules/hugo-extended/vendor/LICENSE rename to .yarn/unplugged/hugo-extended-npm-0.83.1-0d67d3a0ea/node_modules/hugo-extended/vendor/LICENSE diff --git a/.yarn/unplugged/hugo-extended-npm-0.73.0-f4a4b1a424/node_modules/hugo-extended/vendor/README.md b/.yarn/unplugged/hugo-extended-npm-0.83.1-0d67d3a0ea/node_modules/hugo-extended/vendor/README.md similarity index 95% rename from .yarn/unplugged/hugo-extended-npm-0.73.0-f4a4b1a424/node_modules/hugo-extended/vendor/README.md rename to .yarn/unplugged/hugo-extended-npm-0.83.1-0d67d3a0ea/node_modules/hugo-extended/vendor/README.md index c6fb633..b2a8ca0 100755 --- a/.yarn/unplugged/hugo-extended-npm-0.73.0-f4a4b1a424/node_modules/hugo-extended/vendor/README.md +++ b/.yarn/unplugged/hugo-extended-npm-0.83.1-0d67d3a0ea/node_modules/hugo-extended/vendor/README.md @@ -10,7 +10,7 @@ A Fast and Flexible Static Site Generator built with love by [bep](https://githu [Twitter](https://twitter.com/gohugoio) [](https://godoc.org/github.com/gohugoio/hugo) -[](https://travis-ci.org/gohugoio/hugo) +[](https://github.com/gohugoio/hugo/actions?query=workflow%3ATest) [](https://goreportcard.com/report/github.com/gohugoio/hugo) ## Overview @@ -54,7 +54,7 @@ Use the [installation instructions in the Hugo documentation](https://gohugo.io/ #### Prerequisite Tools * [Git](https://git-scm.com/) -* [Go (we test it with the last 2 major versions)](https://golang.org/dl/) +* [Go (we test it with the last 2 major versions; but note that Hugo 0.81.0 only builds with >= Go 1.16.)](https://golang.org/dl/) #### Fetch from GitHub @@ -69,7 +69,13 @@ go install ``` **If you are a Windows user, substitute the `$HOME` environment variable above with `%USERPROFILE%`.** - + +If you want to compile with Sass/SCSS support use `--tags extended` and make sure `CGO_ENABLED=1` is set in your go environment. If you don't want to have CGO enabled, you may use the following command to temporarily enable CGO only for hugo compilation: + +```bash +CGO_ENABLED=1 go install --tags extended +``` + ## The Hugo Documentation The Hugo documentation now lives in its own repository, see https://github.com/gohugoio/hugoDocs. But we do keep a version of that documentation as a `git subtree` in this repository. To build the sub folder `/docs` as a Hugo site, you need to clone this repo: diff --git a/.yarn/unplugged/hugo-extended-npm-0.73.0-f4a4b1a424/node_modules/hugo-extended/vendor/hugo b/.yarn/unplugged/hugo-extended-npm-0.83.1-0d67d3a0ea/node_modules/hugo-extended/vendor/hugo similarity index 75% rename from .yarn/unplugged/hugo-extended-npm-0.73.0-f4a4b1a424/node_modules/hugo-extended/vendor/hugo rename to .yarn/unplugged/hugo-extended-npm-0.83.1-0d67d3a0ea/node_modules/hugo-extended/vendor/hugo index 0b54915..1ddce46 100755 Binary files a/.yarn/unplugged/hugo-extended-npm-0.73.0-f4a4b1a424/node_modules/hugo-extended/vendor/hugo and b/.yarn/unplugged/hugo-extended-npm-0.83.1-0d67d3a0ea/node_modules/hugo-extended/vendor/hugo differ diff --git a/package.json b/package.json index 19344a3..1879115 100644 --- a/package.json +++ b/package.json @@ -43,7 +43,7 @@ "gulp-htmlmin": "~5.0", "html-validate": "~4", "http-proxy": "~1.18", - "hugo-extended": "^0.73.0", + "hugo-extended": "^0.83.1", "netlify-cli": "^2.69.11", "npm-run-all": "~4", "opal-runtime": "1.0.11", diff --git a/yarn.lock b/yarn.lock index c95b099..ba11ed1 100644 --- a/yarn.lock +++ b/yarn.lock @@ -3220,7 +3220,7 @@ __metadata: gulp-htmlmin: ~5.0 html-validate: ~4 http-proxy: ~1.18 - hugo-extended: ^0.73.0 + hugo-extended: ^0.83.1 netlify-cli: ^2.69.11 npm-run-all: ~4 opal-runtime: 1.0.11 @@ -9962,14 +9962,14 @@ fsevents@~2.1.2: languageName: node linkType: hard -"hugo-extended@npm:^0.73.0": - version: 0.73.0 - resolution: "hugo-extended@npm:0.73.0" +"hugo-extended@npm:^0.83.1": + version: 0.83.1 + resolution: "hugo-extended@npm:0.83.1" dependencies: bin-wrapper: ^4.1.0 bin: hugo: cli.js - checksum: 2bd13f528ffed3eedfa7e8915acb90a125835bc37cc6697793bb556d3909f7f65f59f56448f1e70ff956b72bac9ff8eddda8fcedd23d52cc5963fce8580df20b + checksum: ec3625a4dfe572d8fca60ef2e90ab326aedbf144793b02ffcf9a218406d320d1eb465b0a303e20c6730cddc298405115693f10c71ad262c011333720fed89b0f languageName: node linkType: hard
