This is an automated email from the ASF dual-hosted git repository. zregvart pushed a commit to branch pr/upgrade-hugo-remove-proxy in repository https://gitbox.apache.org/repos/asf/camel-website.git
commit 0b0dec16206b4111f10d60d12b57fec72341d8da Author: Zoran Regvart <zregv...@apache.org> AuthorDate: Tue Jun 29 21:27:31 2021 +0200 chore: upgrade Hugo and remove GitHub proxy We can now upgrade to Hugo 0.84.x which includes passing HTTP headers in `getJSON`, so this removes the bespoke GitHub proxy and replaces it with built in support for HTTP headers in Hugo. --- .pnp.js | 107 ++++++++++++- .yarn/build-state.yml | 20 +-- ...resorhus-is-npm-4.0.1-30716423e5-16908ae19a.zip | Bin 0 -> 15739 bytes .../chalk-npm-4.1.1-f1ce6bae57-445c12db7a.zip | Bin 0 -> 13703 bytes .../execa-npm-5.1.1-191347acf5-4286ade8cd.zip | Bin 0 -> 20280 bytes .../get-stream-npm-6.0.1-83e51a4642-83de1fde5b.zip | Bin 0 -> 6276 bytes .../cache/got-npm-11.8.2-c1eb105458-6415f98ec2.zip | Bin 0 -> 83577 bytes ...o-extended-npm-0.83.1-0d67d3a0ea-ec3625a4df.zip | Bin 5650 -> 0 bytes ...o-extended-npm-0.84.3-127c9ef304-3cf345cfc8.zip | Bin 0 -> 5939 bytes ...man-signals-npm-2.1.0-f75815481d-70bfd94d27.zip | Bin 0 -> 16903 bytes .../onetime-npm-5.1.2-3ed148fa42-e425f6caeb.zip | Bin 0 -> 3878 bytes ...signal-exit-npm-3.0.3-5a2d797648-f8f3fec95c.zip | Bin 0 -> 5403 bytes .../sumchecker-npm-3.0.1-b6973781e3-7f4f9276f7.zip | Bin 0 -> 89396 bytes .../node_modules/hugo-extended/cli.js | 9 -- .../node_modules/hugo-extended/index.js | 3 - .../node_modules/hugo-extended/lib/index.js | 10 -- .../node_modules/hugo-extended/lib/install.js | 12 -- .../node_modules/hugo-extended/lib/src.js | 52 ------- .../node_modules/hugo-extended/.ready | 0 .../node_modules/hugo-extended/LICENSE.md | 0 .../node_modules/hugo-extended/README.md | 6 +- .../node_modules/hugo-extended/cli.js | 9 ++ .../node_modules/hugo-extended/index.js | 7 + .../node_modules/hugo-extended/install.js | 154 +++++++++++++++++++ .../node_modules/hugo-extended/package.json | 67 +++++---- .../node_modules/hugo-extended/vendor/LICENSE | 0 .../node_modules/hugo-extended/vendor/README.md | 166 ++++++++++++--------- .../node_modules/hugo-extended/vendor/hugo | Bin 45879352 -> 45558328 bytes Jenkinsfile | 11 +- README.md | 22 +-- config.toml | 3 +- github-proxy.js | 60 -------- layouts/blog/post.html | 2 +- layouts/blog/summary.html | 2 +- layouts/partials/releases/camel-k-runtime.html | 2 +- layouts/partials/releases/camel-k.html | 2 +- .../partials/releases/camel-kafka-connector.html | 2 +- layouts/partials/releases/camel-quarkus.html | 2 +- package.json | 7 +- yarn.lock | 118 +++++++++++++-- 40 files changed, 548 insertions(+), 307 deletions(-) diff --git a/.pnp.js b/.pnp.js index efebadb..e690741 100755 --- a/.pnp.js +++ b/.pnp.js @@ -62,8 +62,7 @@ function $$SETUP_STATE(hydrateRuntimeState, basePath) { ["gulp-cheerio", "npm:1.0.0"], ["gulp-htmlmin", "npm:5.0.1"], ["html-validate", "npm:4.11.0"], - ["http-proxy", "npm:1.18.1"], - ["hugo-extended", "npm:0.83.1"], + ["hugo-extended", "npm:0.84.3"], ["netlify-cli", "npm:2.69.11"], ["npm-run-all", "npm:4.1.5"], ["opal-runtime", "npm:1.0.11"], @@ -3376,6 +3375,13 @@ function $$SETUP_STATE(hydrateRuntimeState, basePath) { ["@sindresorhus/is", "npm:3.1.2"] ], "linkType": "HARD", + }], + ["npm:4.0.1", { + "packageLocation": "./.yarn/cache/@sindresorhus-is-npm-4.0.1-30716423e5-16908ae19a.zip/node_modules/@sindresorhus/is/", + "packageDependencies": [ + ["@sindresorhus/is", "npm:4.0.1"] + ], + "linkType": "HARD", }] ]], ["@sindresorhus/slugify", [ @@ -4390,8 +4396,7 @@ function $$SETUP_STATE(hydrateRuntimeState, basePath) { ["gulp-cheerio", "npm:1.0.0"], ["gulp-htmlmin", "npm:5.0.1"], ["html-validate", "npm:4.11.0"], - ["http-proxy", "npm:1.18.1"], - ["hugo-extended", "npm:0.83.1"], + ["hugo-extended", "npm:0.84.3"], ["netlify-cli", "npm:2.69.11"], ["npm-run-all", "npm:4.1.5"], ["opal-runtime", "npm:1.0.11"], @@ -6057,6 +6062,15 @@ function $$SETUP_STATE(hydrateRuntimeState, basePath) { ["supports-color", "npm:7.2.0"] ], "linkType": "HARD", + }], + ["npm:4.1.1", { + "packageLocation": "./.yarn/cache/chalk-npm-4.1.1-f1ce6bae57-445c12db7a.zip/node_modules/chalk/", + "packageDependencies": [ + ["chalk", "npm:4.1.1"], + ["ansi-styles", "npm:4.3.0"], + ["supports-color", "npm:7.2.0"] + ], + "linkType": "HARD", }] ]], ["character-entities", [ @@ -9373,6 +9387,22 @@ function $$SETUP_STATE(hydrateRuntimeState, basePath) { ["strip-final-newline", "npm:2.0.0"] ], "linkType": "HARD", + }], + ["npm:5.1.1", { + "packageLocation": "./.yarn/cache/execa-npm-5.1.1-191347acf5-4286ade8cd.zip/node_modules/execa/", + "packageDependencies": [ + ["execa", "npm:5.1.1"], + ["cross-spawn", "npm:7.0.3"], + ["get-stream", "npm:6.0.1"], + ["human-signals", "npm:2.1.0"], + ["is-stream", "npm:2.0.0"], + ["merge-stream", "npm:2.0.0"], + ["npm-run-path", "npm:4.0.1"], + ["onetime", "npm:5.1.2"], + ["signal-exit", "npm:3.0.3"], + ["strip-final-newline", "npm:2.0.0"] + ], + "linkType": "HARD", }] ]], ["execall", [ @@ -10495,6 +10525,13 @@ function $$SETUP_STATE(hydrateRuntimeState, basePath) { ["pump", "npm:3.0.0"] ], "linkType": "HARD", + }], + ["npm:6.0.1", { + "packageLocation": "./.yarn/cache/get-stream-npm-6.0.1-83e51a4642-83de1fde5b.zip/node_modules/get-stream/", + "packageDependencies": [ + ["get-stream", "npm:6.0.1"] + ], + "linkType": "HARD", }] ]], ["get-value", [ @@ -10859,6 +10896,24 @@ function $$SETUP_STATE(hydrateRuntimeState, basePath) { ], "linkType": "HARD", }], + ["npm:11.8.2", { + "packageLocation": "./.yarn/cache/got-npm-11.8.2-c1eb105458-6415f98ec2.zip/node_modules/got/", + "packageDependencies": [ + ["got", "npm:11.8.2"], + ["@sindresorhus/is", "npm:4.0.1"], + ["@szmarczak/http-timer", "npm:4.0.5"], + ["@types/cacheable-request", "npm:6.0.1"], + ["@types/responselike", "npm:1.0.0"], + ["cacheable-lookup", "npm:5.0.3"], + ["cacheable-request", "npm:7.0.1"], + ["decompress-response", "npm:6.0.0"], + ["http2-wrapper", "npm:1.0.0-beta.5.2"], + ["lowercase-keys", "npm:2.0.0"], + ["p-cancelable", "npm:2.0.0"], + ["responselike", "npm:2.0.0"] + ], + "linkType": "HARD", + }], ["npm:7.1.0", { "packageLocation": "./.yarn/cache/got-npm-7.1.0-83d1107046-db742d18a8.zip/node_modules/got/", "packageDependencies": [ @@ -11850,11 +11905,15 @@ function $$SETUP_STATE(hydrateRuntimeState, basePath) { }] ]], ["hugo-extended", [ - ["npm:0.83.1", { - "packageLocation": "./.yarn/unplugged/hugo-extended-npm-0.83.1-0d67d3a0ea/node_modules/hugo-extended/", + ["npm:0.84.3", { + "packageLocation": "./.yarn/unplugged/hugo-extended-npm-0.84.3-127c9ef304/node_modules/hugo-extended/", "packageDependencies": [ - ["hugo-extended", "npm:0.83.1"], - ["bin-wrapper", "npm:4.1.0"] + ["hugo-extended", "npm:0.84.3"], + ["chalk", "npm:4.1.1"], + ["decompress", "npm:4.2.1"], + ["execa", "npm:5.1.1"], + ["got", "npm:11.8.2"], + ["sumchecker", "npm:3.0.1"] ], "linkType": "HARD", }] @@ -11866,6 +11925,13 @@ function $$SETUP_STATE(hydrateRuntimeState, basePath) { ["human-signals", "npm:1.1.1"] ], "linkType": "HARD", + }], + ["npm:2.1.0", { + "packageLocation": "./.yarn/cache/human-signals-npm-2.1.0-f75815481d-70bfd94d27.zip/node_modules/human-signals/", + "packageDependencies": [ + ["human-signals", "npm:2.1.0"] + ], + "linkType": "HARD", }] ]], ["hyperlinker", [ @@ -16230,6 +16296,14 @@ function $$SETUP_STATE(hydrateRuntimeState, basePath) { ["mimic-fn", "npm:2.1.0"] ], "linkType": "HARD", + }], + ["npm:5.1.2", { + "packageLocation": "./.yarn/cache/onetime-npm-5.1.2-3ed148fa42-e425f6caeb.zip/node_modules/onetime/", + "packageDependencies": [ + ["onetime", "npm:5.1.2"], + ["mimic-fn", "npm:2.1.0"] + ], + "linkType": "HARD", }] ]], ["opal-runtime", [ @@ -19597,6 +19671,13 @@ function $$SETUP_STATE(hydrateRuntimeState, basePath) { ["signal-exit", "npm:3.0.2"] ], "linkType": "HARD", + }], + ["npm:3.0.3", { + "packageLocation": "./.yarn/cache/signal-exit-npm-3.0.3-5a2d797648-f8f3fec95c.zip/node_modules/signal-exit/", + "packageDependencies": [ + ["signal-exit", "npm:3.0.3"] + ], + "linkType": "HARD", }] ]], ["simple-concat", [ @@ -20557,6 +20638,16 @@ function $$SETUP_STATE(hydrateRuntimeState, basePath) { "linkType": "HARD", }] ]], + ["sumchecker", [ + ["npm:3.0.1", { + "packageLocation": "./.yarn/cache/sumchecker-npm-3.0.1-b6973781e3-7f4f9276f7.zip/node_modules/sumchecker/", + "packageDependencies": [ + ["sumchecker", "npm:3.0.1"], + ["debug", "virtual:d27045f313cae7cbc212b229738d5843f6d2265eba3ea36069f78075a79d301bc17e702a21a7b811ca9aa59de4cb7943fb27cda91a0e7d8a8ad547668124b185#npm:4.3.2"] + ], + "linkType": "HARD", + }] + ]], ["supports-color", [ ["npm:0.2.0", { "packageLocation": "./.yarn/cache/supports-color-npm-0.2.0-b6e7d48cdb-a626d16683.zip/node_modules/supports-color/", diff --git a/.yarn/build-state.yml b/.yarn/build-state.yml index 3763a3a..9f2903a 100644 --- a/.yarn/build-state.yml +++ b/.yarn/build-state.yml @@ -3,32 +3,32 @@ # core-js@npm:3.6.5 "5941340066f775d2694fe1955bef9a66af767bfade2eca6ca442d82a68a5c999e76165c38ab532c125bf81c66c151d83d8e96f86a3f7af2d755000b3e2d48171": - 3d2206ed58088a0e50c448c4653ddafd8db9c8f11ec5f43756fa6850336cfd7e8fd771d73c508a0c9462f1b78231b417a73f53dc47591b590fa363cf586491af + 8fb6f8d7e03257bd51c4c85a5432aefeca49825a2ec5bcfb03fcf986aaac670db4a758e48ffd59bd2269a276f5b39bc8b28acfcafbd279d006d418393010f949 # gifsicle@npm:4.0.1 "47efba2323306056b5eb4428fb87bbe745eb0587d7a5c64c188c6bc7d13bb2ab6ee9099b11957e60c6dacefbfc0d074aa862e206c771bef851d72b01b35da575": - c3d5b416918c488a10c332af3fc0adcbd4ac721d9df91323a9cb435cda4bbb8dcd65ff2c9e2af6dc264d0ebf44a9cc1e2a08208acde7d929ab40c1810d0506d1 + d9e73db85723b506e7d5255a09435e883f604bcaddc8bc121c69da6198347f6e7e87418259f887c83405885d5a061a67f443619cb3e22bd34d6a35ec2c419f58 -# hugo-extended@npm:0.83.1 -"0d67d3a0ea9acf75aaac236a84168d7e78de359f3c24011598a0c4a3e8e32918dfce8ed5d11fdf06f78fac501a65a3380b256b3e41544df9ec255fc2c59b0649": - dfb136ffd5c589b8b0190a7fb72be3f635027e56a026f11dfaec0d551c142918a55fa3b1c0dddfb6fa7e0007737b3ddd048a1972bc2c7e0549b325d8cf4564fd +# hugo-extended@npm:0.84.3 +"127c9ef3041ac7625fdf9db1b2a808d2d956765fe5b30ae41642abb3e202d1a40851800fd5163a03f4fe997d9b2a0885d90b242c8ff3efbd14f83906fdd43d3a": + d2ff4b7dcd94b0a5acb77fed9fa58211c249964186c9cd80e01d8f0668537e42541e8c3d3f5b88025bda479f63d036ed9e2d1de4f37583860f5a41220cdad10f # jpegtran-bin@npm:4.0.0 "c1e70a98c194359902d396160440b8d6aafc026faec0b483b98d24dac1a2756f6ebdb0d5b12c609339320ad38e22580c8c8b6e70edfc9c5019a30d10094fd1fb": - ea2e6a88f31e9c55a99d60556ffd021388d0f27cce8e662c2643d32afe55f0bcbf4cc35f16b02b7904cdf1437737beaa7081cc600c68b9879a247844b5415500 + e808baf3f11f226fe81e9046a71a3f352709c37928ad41cf96424dad90b06c55a9e9bd520c73774881157c2287fca9275a3290dd782d3267818cacd413f81ea7 # jsonpath@npm:1.0.2 "15a9845dcac098aea0fce6305149a650048254230879c676eaa1f0c5c7d0a5e7f876de3520b3cdd4f066307a91b2809cc494aaab558fa55d7a4e34efae876ce0": - 638e422c6f9168c455a9613a05eafa11220a4a3c688b88bd159ea5f862b23b2631705ebd675ea5e1e788cfd140849a1b623dd18b46bea1313d8a6dcd0bbdf0dc + 8f051ecb41b911853190b93b0f8c53a829f691cdc048b92994fc186b3ad4a38f1ea5423e3df7f92ef7e2e1229b635673384310dd2db577b01ff5a0a0a3fecc0c # netlify-cli@npm:2.69.11 "1bef96be32000472bc703fad626b4a6fa1a569c541b606746eab97f205f992a1d2729de82f1bbe67078d23a08ea5cb3fa70a36b171b75e37e9595e42812a57db": - 317fd64465038a9dc7f764c35d8d09ce356934d95ea4faea0c8c43a1b8d4729d5735534ca6ca23a261a3bc4dcc0aca851032a83b811830c2f2decf3e2d4acfd7 + 9344e4b42d2d7dbc63e46f108ab126cb4e7c66ddde6da6386f5f012bcfe84b1cab60f58ced7c591df8a4ddfc9135bd746912a82bf62959f98cf0dd5ea252956d # optipng-bin@npm:6.0.0 "3aa5f04a3e5704a556a7f98fdddf5ad260b55ca04a2b8cd3d448861d0bd4778bbc092bf0bd558eba02998faceda73052710fa3124f1940098d2ee8bd93474567": - 94e3e450b9e2f7de911036e1398ca86f41a4a845111eed31baf6d417d0eebdce4861e6636f2b6950a9610e956fb96c94122bd294a8c1d6c13f14431e438ecc34 + fb2b1b70c5135292956e5878b7d64b62a828ee4fbcfa043ef4ff8c70553e57d829a24cc9327b69cad06e4dc09d0a86227ff49adfa43c22e6c0ab1c17ff0d9ad8 # yarn@npm:1.22.10 "b1a926d20f1e430bdfcc8706073d2adcc314a8e8b82f3cc446658d95e2366a290d3a17ecf7b92aaae3887cff0340a9f8410a39dba0fc7e68b77c5c2b9d70de4d": - 1a293287d3fd19bfbbf4ba385aeade4f41b29515bfd5ddbb921e3ad4b9ea2b184b392d34a188bb1e22056f0c5b9d93c8344be3edc159aa734d0db887ef4c16f6 + 5f2565bc3bdddadfea6061243b8352beeebfe356cf268362e006509cd1818c10c08c08cdac61f41e536dc6d75df13c12e1e006b8e3b2970a63fb69d26a308178 diff --git a/.yarn/cache/@sindresorhus-is-npm-4.0.1-30716423e5-16908ae19a.zip b/.yarn/cache/@sindresorhus-is-npm-4.0.1-30716423e5-16908ae19a.zip new file mode 100644 index 0000000..1f850f9 Binary files /dev/null and b/.yarn/cache/@sindresorhus-is-npm-4.0.1-30716423e5-16908ae19a.zip differ diff --git a/.yarn/cache/chalk-npm-4.1.1-f1ce6bae57-445c12db7a.zip b/.yarn/cache/chalk-npm-4.1.1-f1ce6bae57-445c12db7a.zip new file mode 100644 index 0000000..7422fb6 Binary files /dev/null and b/.yarn/cache/chalk-npm-4.1.1-f1ce6bae57-445c12db7a.zip differ diff --git a/.yarn/cache/execa-npm-5.1.1-191347acf5-4286ade8cd.zip b/.yarn/cache/execa-npm-5.1.1-191347acf5-4286ade8cd.zip new file mode 100644 index 0000000..fcb0840 Binary files /dev/null and b/.yarn/cache/execa-npm-5.1.1-191347acf5-4286ade8cd.zip differ diff --git a/.yarn/cache/get-stream-npm-6.0.1-83e51a4642-83de1fde5b.zip b/.yarn/cache/get-stream-npm-6.0.1-83e51a4642-83de1fde5b.zip new file mode 100644 index 0000000..8faf860 Binary files /dev/null and b/.yarn/cache/get-stream-npm-6.0.1-83e51a4642-83de1fde5b.zip differ diff --git a/.yarn/cache/got-npm-11.8.2-c1eb105458-6415f98ec2.zip b/.yarn/cache/got-npm-11.8.2-c1eb105458-6415f98ec2.zip new file mode 100644 index 0000000..571d6c3 Binary files /dev/null and b/.yarn/cache/got-npm-11.8.2-c1eb105458-6415f98ec2.zip 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 deleted file mode 100644 index 3851443..0000000 Binary files a/.yarn/cache/hugo-extended-npm-0.83.1-0d67d3a0ea-ec3625a4df.zip and /dev/null differ diff --git a/.yarn/cache/hugo-extended-npm-0.84.3-127c9ef304-3cf345cfc8.zip b/.yarn/cache/hugo-extended-npm-0.84.3-127c9ef304-3cf345cfc8.zip new file mode 100644 index 0000000..106b381 Binary files /dev/null and b/.yarn/cache/hugo-extended-npm-0.84.3-127c9ef304-3cf345cfc8.zip differ diff --git a/.yarn/cache/human-signals-npm-2.1.0-f75815481d-70bfd94d27.zip b/.yarn/cache/human-signals-npm-2.1.0-f75815481d-70bfd94d27.zip new file mode 100644 index 0000000..b21fd63 Binary files /dev/null and b/.yarn/cache/human-signals-npm-2.1.0-f75815481d-70bfd94d27.zip differ diff --git a/.yarn/cache/onetime-npm-5.1.2-3ed148fa42-e425f6caeb.zip b/.yarn/cache/onetime-npm-5.1.2-3ed148fa42-e425f6caeb.zip new file mode 100644 index 0000000..404b102 Binary files /dev/null and b/.yarn/cache/onetime-npm-5.1.2-3ed148fa42-e425f6caeb.zip differ diff --git a/.yarn/cache/signal-exit-npm-3.0.3-5a2d797648-f8f3fec95c.zip b/.yarn/cache/signal-exit-npm-3.0.3-5a2d797648-f8f3fec95c.zip new file mode 100644 index 0000000..38ed7ff Binary files /dev/null and b/.yarn/cache/signal-exit-npm-3.0.3-5a2d797648-f8f3fec95c.zip differ diff --git a/.yarn/cache/sumchecker-npm-3.0.1-b6973781e3-7f4f9276f7.zip b/.yarn/cache/sumchecker-npm-3.0.1-b6973781e3-7f4f9276f7.zip new file mode 100644 index 0000000..eb73224 Binary files /dev/null and b/.yarn/cache/sumchecker-npm-3.0.1-b6973781e3-7f4f9276f7.zip differ diff --git a/.yarn/unplugged/hugo-extended-npm-0.83.1-0d67d3a0ea/node_modules/hugo-extended/cli.js b/.yarn/unplugged/hugo-extended-npm-0.83.1-0d67d3a0ea/node_modules/hugo-extended/cli.js deleted file mode 100755 index c313e97..0000000 --- a/.yarn/unplugged/hugo-extended-npm-0.83.1-0d67d3a0ea/node_modules/hugo-extended/cli.js +++ /dev/null @@ -1,9 +0,0 @@ -#!/usr/bin/env node - -'use strict'; - -const { spawn } = require('child_process'); -const hugo = require('.'); - -spawn(hugo, process.argv.slice(2), { stdio: 'inherit' }) - .on('exit', process.exit); diff --git a/.yarn/unplugged/hugo-extended-npm-0.83.1-0d67d3a0ea/node_modules/hugo-extended/index.js b/.yarn/unplugged/hugo-extended-npm-0.83.1-0d67d3a0ea/node_modules/hugo-extended/index.js deleted file mode 100644 index 7f82843..0000000 --- a/.yarn/unplugged/hugo-extended-npm-0.83.1-0d67d3a0ea/node_modules/hugo-extended/index.js +++ /dev/null @@ -1,3 +0,0 @@ -'use strict'; - -module.exports = require('./lib').path(); 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 deleted file mode 100644 index 8f3cbfc..0000000 --- a/.yarn/unplugged/hugo-extended-npm-0.83.1-0d67d3a0ea/node_modules/hugo-extended/lib/index.js +++ /dev/null @@ -1,10 +0,0 @@ -'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.83.1-0d67d3a0ea/node_modules/hugo-extended/lib/install.js b/.yarn/unplugged/hugo-extended-npm-0.83.1-0d67d3a0ea/node_modules/hugo-extended/lib/install.js deleted file mode 100644 index c8b9c11..0000000 --- a/.yarn/unplugged/hugo-extended-npm-0.83.1-0d67d3a0ea/node_modules/hugo-extended/lib/install.js +++ /dev/null @@ -1,12 +0,0 @@ -'use strict'; - -const bin = require('.'); - -(async () => { - try { - await bin.run(['version']); - console.log('✔ Hugo installed successfully!'); - } catch (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 deleted file mode 100644 index dadea1c..0000000 --- a/.yarn/unplugged/hugo-extended-npm-0.83.1-0d67d3a0ea/node_modules/hugo-extended/lib/src.js +++ /dev/null @@ -1,52 +0,0 @@ -'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.83.1-0d67d3a0ea/node_modules/hugo-extended/.ready b/.yarn/unplugged/hugo-extended-npm-0.84.3-127c9ef304/node_modules/hugo-extended/.ready similarity index 100% rename from .yarn/unplugged/hugo-extended-npm-0.83.1-0d67d3a0ea/node_modules/hugo-extended/.ready rename to .yarn/unplugged/hugo-extended-npm-0.84.3-127c9ef304/node_modules/hugo-extended/.ready diff --git a/.yarn/unplugged/hugo-extended-npm-0.83.1-0d67d3a0ea/node_modules/hugo-extended/LICENSE.md b/.yarn/unplugged/hugo-extended-npm-0.84.3-127c9ef304/node_modules/hugo-extended/LICENSE.md similarity index 100% rename from .yarn/unplugged/hugo-extended-npm-0.83.1-0d67d3a0ea/node_modules/hugo-extended/LICENSE.md rename to .yarn/unplugged/hugo-extended-npm-0.84.3-127c9ef304/node_modules/hugo-extended/LICENSE.md diff --git a/.yarn/unplugged/hugo-extended-npm-0.83.1-0d67d3a0ea/node_modules/hugo-extended/README.md b/.yarn/unplugged/hugo-extended-npm-0.84.3-127c9ef304/node_modules/hugo-extended/README.md similarity index 85% rename from .yarn/unplugged/hugo-extended-npm-0.83.1-0d67d3a0ea/node_modules/hugo-extended/README.md rename to .yarn/unplugged/hugo-extended-npm-0.84.3-127c9ef304/node_modules/hugo-extended/README.md index 753dddd..be86f06 100644 --- a/.yarn/unplugged/hugo-extended-npm-0.83.1-0d67d3a0ea/node_modules/hugo-extended/README.md +++ b/.yarn/unplugged/hugo-extended-npm-0.84.3-127c9ef304/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://www.npmjs.com/package/hugo-extended) [](https://github.com/jakejarvis/hugo-extended/actions) > Plug-and-play binary wrapper for [Hugo Extended](https://gohugo.io/), the > awesomest static-site generator. @@ -34,7 +34,7 @@ The `build:preview` script below is designed for [Netlify deploy previews](https }, "devDependencies": { "autoprefixer": "^10.2.5", - "hugo-extended": "^0.75.1", + "hugo-extended": "^0.83.1", "postcss": "^8.2.9", "postcss-cli": "^8.3.1" } @@ -43,7 +43,7 @@ The `build:preview` script below is designed for [Netlify deploy previews](https ``` ```bash -$ npm start +$ npm run start Building sites … diff --git a/.yarn/unplugged/hugo-extended-npm-0.84.3-127c9ef304/node_modules/hugo-extended/cli.js b/.yarn/unplugged/hugo-extended-npm-0.84.3-127c9ef304/node_modules/hugo-extended/cli.js new file mode 100755 index 0000000..c9936a6 --- /dev/null +++ b/.yarn/unplugged/hugo-extended-npm-0.84.3-127c9ef304/node_modules/hugo-extended/cli.js @@ -0,0 +1,9 @@ +#!/usr/bin/env node + +'use strict'; + +const execa = require('execa'); +const hugo = require('.'); +const args = process.argv.slice(2); + +execa(hugo, args, { stdio: 'inherit' }); diff --git a/.yarn/unplugged/hugo-extended-npm-0.84.3-127c9ef304/node_modules/hugo-extended/index.js b/.yarn/unplugged/hugo-extended-npm-0.84.3-127c9ef304/node_modules/hugo-extended/index.js new file mode 100644 index 0000000..c9f7b78 --- /dev/null +++ b/.yarn/unplugged/hugo-extended-npm-0.84.3-127c9ef304/node_modules/hugo-extended/index.js @@ -0,0 +1,7 @@ +'use strict'; + +module.exports = require('path').join( + __dirname, + 'vendor', + process.platform === 'win32' ? 'hugo.exe' : 'hugo' +); diff --git a/.yarn/unplugged/hugo-extended-npm-0.84.3-127c9ef304/node_modules/hugo-extended/install.js b/.yarn/unplugged/hugo-extended-npm-0.84.3-127c9ef304/node_modules/hugo-extended/install.js new file mode 100644 index 0000000..411659a --- /dev/null +++ b/.yarn/unplugged/hugo-extended-npm-0.84.3-127c9ef304/node_modules/hugo-extended/install.js @@ -0,0 +1,154 @@ +'use strict'; + +const fs = require('fs'); +const stream = require('stream'); +const { promisify } = require('util'); +const path = require('path'); +const execa = require('execa'); +const chalk = require('chalk'); +const got = require('got'); +const decompress = require('decompress'); +const sumchecker = require('sumchecker'); + +installHugo() + .then((bin) => { + // print output of `hugo version` to console + const { stdout } = execa.sync(bin, ['version']); + return stdout; + }) + .then((version) => { + console.log(chalk.green('✔ Hugo installed successfully!')); + console.log(version); + }) + .catch((error) => { + // pass whatever error occured along the way along to console + console.error(chalk.red('✖ Hugo installation failed. :(')); + throw error; + }); + +async function installHugo() { + // this package's version number (should) always match the Hugo release we want + const { version } = require('./package.json'); + const downloadBaseUrl = `https://github.com/gohugoio/hugo/releases/download/v${version}/`; + const releaseFile = getArchiveFilename(version, process.platform, process.arch); + const checksumFile = `hugo_${version}_checksums.txt`; + + // stop here if there's nothing we can download + if (!releaseFile) throw 'Are you sure this platform is supported?'; + + const releaseUrl = downloadBaseUrl + releaseFile; + const checksumUrl = downloadBaseUrl + checksumFile; + const vendorDir = path.join(__dirname, 'vendor'); + const archivePath = path.join(vendorDir, releaseFile); + const checksumPath = path.join(vendorDir, checksumFile); + const binName = process.platform === 'win32' ? 'hugo.exe' : 'hugo'; + const binPath = path.join(vendorDir, binName); + + try { + // ensure the target directory exists + await fs.promises.mkdir(vendorDir, { recursive: true }); + + await Promise.all([ + // fetch the archive file from GitHub + downloadFile(releaseUrl, archivePath), + // fetch the checksum file from GitHub + downloadFile(checksumUrl, checksumPath), + ]); + + // validate the checksum of the download + await checkChecksum(vendorDir, checksumPath, releaseFile); + + // extract the downloaded file + await decompress(archivePath, vendorDir); + } finally { + await Promise.all([ + // delete the downloaded archive when finished + deleteFile(archivePath), + // ...and the checksum file + deleteFile(checksumPath), + ]); + } + + // return the full path to our Hugo binary + return binPath; +} + +async function downloadFile(url, dest) { + const pipeline = promisify(stream.pipeline); + return await pipeline( + got.stream(url, { followRedirect: true }), // GitHub releases redirect to unpredictable URLs + fs.createWriteStream(dest) + ); +} + +async function deleteFile(path) { + if (fs.existsSync(path)) { + return await fs.promises.unlink(path); + } else { + return; + } +} + +async function checkChecksum(baseDir, checksumFile, binFile) { + const checker = new sumchecker.ChecksumValidator('sha256', checksumFile, { + // returns a completely different hash without this for some reason + defaultTextEncoding: 'binary' + }); + + return await checker.validate(baseDir, binFile); +} + +// Hugo Extended supports: macOS x64, macOS ARM64, Linux x64, Windows x64. +// all other combos fall back to vanilla Hugo. there are surely much better ways +// to do this but this is easy to read/update. :) +function getArchiveFilename(version, os, arch) { + const filename = + // macOS + os === 'darwin' && arch === 'x64' + ? `hugo_extended_${version}_macOS-64bit.tar.gz` : + os === 'darwin' && arch === 'arm64' + ? `hugo_extended_${version}_macOS-ARM64.tar.gz` : + + // Windows + os === 'win32' && arch === 'x64' + ? `hugo_extended_${version}_Windows-64bit.zip` : + os === 'win32' && arch.endsWith('32') + ? `hugo_${version}_Windows-32bit.zip` : + + // Linux + os === 'linux' && arch === 'x64' + ? `hugo_extended_${version}_Linux-64bit.tar.gz` : + os === 'linux' && arch.endsWith('32') + ? `hugo_${version}_Linux-32bit.tar.gz` : + os === 'linux' && arch === 'arm' + ? `hugo_${version}_Linux-ARM.tar.gz` : + os === 'linux' && arch === 'arm64' + ? `hugo_${version}_Linux-ARM64.tar.gz` : + + // FreeBSD + os === 'freebsd' && arch === 'x64' + ? `hugo_${version}_FreeBSD-64bit.tar.gz` : + os === 'freebsd' && arch.endsWith('32') + ? `hugo_${version}_FreeBSD-32bit.tar.gz` : + os === 'freebsd' && arch === 'arm' + ? `hugo_${version}_FreeBSD-ARM.tar.gz` : + os === 'freebsd' && arch === 'arm64' + ? `hugo_${version}_FreeBSD-ARM64.tar.gz` : + + // OpenBSD + os === 'openbsd' && arch === 'x64' + ? `hugo_${version}_OpenBSD-64bit.tar.gz` : + os === 'openbsd' && arch.endsWith('32') + ? `hugo_${version}_OpenBSD-32bit.tar.gz` : + os === 'openbsd' && arch === 'arm' + ? `hugo_${version}_OpenBSD-ARM.tar.gz` : + os === 'openbsd' && arch === 'arm64' + ? `hugo_${version}_OpenBSD-ARM64.tar.gz` : + + // not gonna work :( + null; + + return filename; +} + +module.exports.installHugo = installHugo; diff --git a/.yarn/unplugged/hugo-extended-npm-0.83.1-0d67d3a0ea/node_modules/hugo-extended/package.json b/.yarn/unplugged/hugo-extended-npm-0.84.3-127c9ef304/node_modules/hugo-extended/package.json similarity index 60% rename from .yarn/unplugged/hugo-extended-npm-0.83.1-0d67d3a0ea/node_modules/hugo-extended/package.json rename to .yarn/unplugged/hugo-extended-npm-0.84.3-127c9ef304/node_modules/hugo-extended/package.json index 2ff5248..d2ac537 100644 --- a/.yarn/unplugged/hugo-extended-npm-0.83.1-0d67d3a0ea/node_modules/hugo-extended/package.json +++ b/.yarn/unplugged/hugo-extended-npm-0.84.3-127c9ef304/node_modules/hugo-extended/package.json @@ -1,6 +1,6 @@ { "name": "hugo-extended", - "version": "0.83.1", + "version": "0.84.3", "description": "Plug-and-play binary wrapper for Hugo Extended, the awesomest static-site generator.", "license": "MIT", "author": { @@ -12,6 +12,34 @@ "type": "git", "url": "git+https://github.com/jakejarvis/hugo-extended.git" }, + "files": [ + "index.js", + "cli.js", + "install.js" + ], + "bin": { + "hugo": "cli.js", + "hugo-extended": "cli.js" + }, + "main": "index.js", + "dependencies": { + "chalk": "^4.1.1", + "decompress": "^4.2.1", + "execa": "^5.1.1", + "got": "^11.8.2", + "sumchecker": "^3.0.1" + }, + "devDependencies": { + "eslint": "^7.29.0", + "mocha": "^8.4.0" + }, + "scripts": { + "postinstall": "node install.js", + "test": "eslint \"**/*.js\" && mocha" + }, + "engines": { + "node": ">=10" + }, "keywords": [ "hugo", "hugo extended", @@ -31,34 +59,15 @@ "go", "golang" ], - "main": "index.js", - "dependencies": { - "bin-wrapper": "^4.1.0" - }, - "devDependencies": { - "bin-check": "^4.1.0", - "mocha": "^8.3.2", - "xo": "^0.39.1" - }, - "scripts": { - "postinstall": "node lib/install.js", - "test": "xo && mocha && node cli.js env" - }, - "engines": { - "node": ">=10" - }, - "files": [ - "lib/*.js", - "cli.js", - "index.js" - ], - "bin": { - "hugo": "cli.js" - }, - "xo": { - "space": true, - "rules": { - "object-curly-spacing": "off" + "eslintConfig": { + "extends": "eslint:recommended", + "parserOptions": { + "ecmaVersion": 8, + "sourceType": "module" + }, + "env": { + "node": true, + "es6": true } } } diff --git a/.yarn/unplugged/hugo-extended-npm-0.83.1-0d67d3a0ea/node_modules/hugo-extended/vendor/LICENSE b/.yarn/unplugged/hugo-extended-npm-0.84.3-127c9ef304/node_modules/hugo-extended/vendor/LICENSE old mode 100755 new mode 100644 similarity index 100% rename from .yarn/unplugged/hugo-extended-npm-0.83.1-0d67d3a0ea/node_modules/hugo-extended/vendor/LICENSE rename to .yarn/unplugged/hugo-extended-npm-0.84.3-127c9ef304/node_modules/hugo-extended/vendor/LICENSE diff --git a/.yarn/unplugged/hugo-extended-npm-0.83.1-0d67d3a0ea/node_modules/hugo-extended/vendor/README.md b/.yarn/unplugged/hugo-extended-npm-0.84.3-127c9ef304/node_modules/hugo-extended/vendor/README.md old mode 100755 new mode 100644 similarity index 51% rename from .yarn/unplugged/hugo-extended-npm-0.83.1-0d67d3a0ea/node_modules/hugo-extended/vendor/README.md rename to .yarn/unplugged/hugo-extended-npm-0.84.3-127c9ef304/node_modules/hugo-extended/vendor/README.md index b2a8ca0..66b1f2c --- a/.yarn/unplugged/hugo-extended-npm-0.83.1-0d67d3a0ea/node_modules/hugo-extended/vendor/README.md +++ b/.yarn/unplugged/hugo-extended-npm-0.84.3-127c9ef304/node_modules/hugo-extended/vendor/README.md @@ -126,71 +126,101 @@ For a complete guide to contributing code to Hugo, see the [Contribution Guide]( ## Dependencies -Hugo stands on the shoulder of many great open source libraries, in lexical order: - - | Dependency | License | - | :------------- | :------------- | - | [github.com/alecthomas/chroma](https://github.com/alecthomas/chroma) | MIT License | - | [github.com/armon/go-radix](https://github.com/armon/go-radix) | MIT License | - | [github.com/aws/aws-sdk-go](https://github.com/aws/aws-sdk-go) | Apache License 2.0 | - | [github.com/bep/debounce](https://github.com/bep/debounce) | MIT License | - | [github.com/bep/gitmap](https://github.com/bep/gitmap) | MIT License | - | [github.com/bep/golibsass](https://github.com/bep/golibsass) | MIT License | - | [github.com/bep/tmc](https://github.com/bep/tmc) | MIT License | - | [github.com/BurntSushi/locker](https://github.com/BurntSushi/locker) | The Unlicense | - | [github.com/BurntSushi/toml](https://github.com/BurntSushi/toml) | MIT License | - | [github.com/cpuguy83/go-md2man](https://github.com/cpuguy83/go-md2man) | MIT License | - | [github.com/danwakefield/fnmatch](https://github.com/danwakefield/fnmatch) | BSD 2-Clause "Simplified" License | - | [github.com/disintegration/gift](https://github.com/disintegration/gift) | MIT License | - | [github.com/dustin/go-humanize](https://github.com/dustin/go-humanize) | MIT License | - | [github.com/fsnotify/fsnotify](https://github.com/fsnotify/fsnotify) | BSD 3-Clause "New" or "Revised" License | - | [github.com/gobwas/glob](https://github.com/gobwas/glob) | MIT License | - | [github.com/gorilla/websocket](https://github.com/gorilla/websocket) | BSD 2-Clause "Simplified" License | - | [github.com/hashicorp/golang-lru](https://github.com/hashicorp/golang-lru) | Mozilla Public License 2.0 | - | [github.com/hashicorp/hcl](https://github.com/hashicorp/hcl) | Mozilla Public License 2.0 | - | [github.com/jdkato/prose](https://github.com/jdkato/prose) | MIT License | - | [github.com/kr/pretty](https://github.com/kr/pretty) | MIT License | - | [github.com/kyokomi/emoji](https://github.com/kyokomi/emoji) | MIT License | - | [github.com/magiconair/properties](https://github.com/magiconair/properties) | BSD 2-Clause "Simplified" License | - | [github.com/markbates/inflect](https://github.com/markbates/inflect) | MIT License | - | [github.com/mattn/go-isatty](https://github.com/mattn/go-isatty) | MIT License | - | [github.com/mattn/go-runewidth](https://github.com/mattn/go-runewidth) | MIT License | - | [github.com/miekg/mmark](https://github.com/miekg/mmark) | Simplified BSD License | - | [github.com/mitchellh/hashstructure](https://github.com/mitchellh/hashstructure) | MIT License | - | [github.com/mitchellh/mapstructure](https://github.com/mitchellh/mapstructure) | MIT License | - | [github.com/muesli/smartcrop](https://github.com/muesli/smartcrop) | MIT License | - | [github.com/nicksnyder/go-i18n](https://github.com/nicksnyder/go-i18n) | MIT License | - | [github.com/niklasfasching/go-org](https://github.com/niklasfasching/go-org) | MIT License | - | [github.com/olekukonko/tablewriter](https://github.com/olekukonko/tablewriter) | MIT License | - | [github.com/pelletier/go-toml](https://github.com/pelletier/go-toml) | MIT License | - | [github.com/pkg/errors](https://github.com/pkg/errors) | BSD 2-Clause "Simplified" License | - | [github.com/PuerkitoBio/purell](https://github.com/PuerkitoBio/purell) | BSD 3-Clause "New" or "Revised" License | - | [github.com/PuerkitoBio/urlesc](https://github.com/PuerkitoBio/urlesc) | BSD 3-Clause "New" or "Revised" License | - | [github.com/rogpeppe/go-internal](https://github.com/rogpeppe/go-internal) | BSD 3-Clause "New" or "Revised" License | - | [github.com/russross/blackfriday](https://github.com/russross/blackfriday) | Simplified BSD License | - | [github.com/rwcarlsen/goexif](https://github.com/rwcarlsen/goexif) | BSD 2-Clause "Simplified" License | - | [github.com/spf13/afero](https://github.com/spf13/afero) | Apache License 2.0 | - | [github.com/spf13/cast](https://github.com/spf13/cast) | MIT License | - | [github.com/spf13/cobra](https://github.com/spf13/cobra) | Apache License 2.0 | - | [github.com/spf13/fsync](https://github.com/spf13/fsync) | MIT License | - | [github.com/spf13/jwalterweatherman](https://github.com/spf13/jwalterweatherman) | MIT License | - | [github.com/spf13/pflag](https://github.com/spf13/pflag) | BSD 3-Clause "New" or "Revised" License | - | [github.com/spf13/viper](https://github.com/spf13/viper) | MIT License | - | [github.com/tdewolff/minify](https://github.com/tdewolff/minify) | MIT License | - | [github.com/tdewolff/parse](https://github.com/tdewolff/parse) | MIT License | - | [github.com/yuin/goldmark](https://github.com/yuin/goldmark) | MIT License | - | [github.com/yuin/goldmark-highlighting](https://github.com/yuin/goldmark-highlighting) | MIT License | - | [go.opencensus.io](https://go.opencensus.io) | Apache License 2.0 | - | [go.uber.org/atomic](https://go.uber.org/atomic) | MIT License | - | [gocloud.dev](https://gocloud.dev) | Apache License 2.0 | - | [golang.org/x/image](https://golang.org/x/image) | BSD 3-Clause "New" or "Revised" License | - | [golang.org/x/net](https://golang.org/x/net) | BSD 3-Clause "New" or "Revised" License | - | [golang.org/x/oauth2](https://golang.org/x/oauth2) | BSD 3-Clause "New" or "Revised" License | - | [golang.org/x/sync](https://golang.org/x/sync) | BSD 3-Clause "New" or "Revised" License | - | [golang.org/x/sys](https://golang.org/x/sys) | BSD 3-Clause "New" or "Revised" License | - | [golang.org/x/text](https://golang.org/x/text) | BSD 3-Clause "New" or "Revised" License | - | [golang.org/x/xerrors](https://golang.org/x/xerrors) | BSD 3-Clause "New" or "Revised" License | - | [google.golang.org/api](https://google.golang.org/api) | BSD 3-Clause "New" or "Revised" License | - | [google.golang.org/genproto](https://google.golang.org/genproto) | Apache License 2.0 | - | [gopkg.in/ini.v1](https://gopkg.in/ini.v1) | Apache License 2.0 | - | [gopkg.in/yaml.v2](https://gopkg.in/yaml.v2) | Apache License 2.0 | +Hugo stands on the shoulder of many great open source libraries. + +If you run `hugo env -v` you will get a complete and up to date list. + +In Hugo 0.83.0 that list is, in lexical order: + +```json +cloud.google.com/go/storage="v1.10.0" +cloud.google.com/go="v0.81.0" +github.com/Azure/azure-pipeline-go="v0.2.2" +github.com/Azure/azure-storage-blob-go="v0.9.0" +github.com/BurntSushi/locker="v0.0.0-20171006230638-a6e239ea1c69" +github.com/BurntSushi/toml="v0.3.1" +github.com/PuerkitoBio/purell="v1.1.1" +github.com/PuerkitoBio/urlesc="v0.0.0-20170810143723-de5bf2ad4578" +github.com/alecthomas/chroma="v0.9.1" +github.com/armon/go-radix="v1.0.0" +github.com/aws/aws-sdk-go="v1.38.23" +github.com/bep/debounce="v1.2.0" +github.com/bep/gitmap="v1.1.2" +github.com/bep/godartsass="v0.12.0" +github.com/bep/gowebp="v0.1.0" +github.com/bep/tmc="v0.5.1" +github.com/cli/safeexec="v1.0.0" +github.com/cpuguy83/go-md2man/v2="v2.0.0" +github.com/danwakefield/fnmatch="v0.0.0-20160403171240-cbb64ac3d964" +github.com/disintegration/gift="v1.2.1" +github.com/dlclark/regexp2="v1.4.0" +github.com/dustin/go-humanize="v1.0.0" +github.com/evanw/esbuild="v0.11.16" +github.com/fsnotify/fsnotify="v1.4.9" +github.com/getkin/kin-openapi="v0.61.0" +github.com/ghodss/yaml="v1.0.0" +github.com/go-openapi/jsonpointer="v0.19.5" +github.com/go-openapi/swag="v0.19.5" +github.com/gobuffalo/flect="v0.2.2" +github.com/gobwas/glob="v0.2.3" +github.com/gohugoio/go-i18n/v2="v2.1.3-0.20210430103248-4c28c89f8013" +github.com/golang/groupcache="v0.0.0-20200121045136-8c9f03a8e57e" +github.com/golang/protobuf="v1.5.2" +github.com/google/go-cmp="v0.5.5" +github.com/google/uuid="v1.1.2" +github.com/google/wire="v0.4.0" +github.com/googleapis/gax-go/v2="v2.0.5" +github.com/googleapis/gax-go="v2.0.2+incompatible" +github.com/gorilla/websocket="v1.4.2" +github.com/hashicorp/hcl="v1.0.0" +github.com/jdkato/prose="v1.2.1" +github.com/jmespath/go-jmespath="v0.4.0" +github.com/kyokomi/emoji/v2="v2.2.8" +github.com/magiconair/properties="v1.8.1" +github.com/mailru/easyjson="v0.0.0-20190626092158-b2ccc519800e" +github.com/mattn/go-ieproxy="v0.0.1" +github.com/mattn/go-isatty="v0.0.12" +github.com/mattn/go-runewidth="v0.0.9" +github.com/miekg/mmark="v1.3.6" +github.com/mitchellh/hashstructure="v1.0.0" +github.com/mitchellh/mapstructure="v1.3.3" +github.com/muesli/smartcrop="v0.3.0" +github.com/niklasfasching/go-org="v1.5.0" +github.com/olekukonko/tablewriter="v0.0.5" +github.com/pelletier/go-toml="v1.9.0" +github.com/pkg/errors="v0.9.1" +github.com/rogpeppe/go-internal="v1.8.0" +github.com/russross/blackfriday/v2="v2.0.1" +github.com/russross/blackfriday="v1.5.3-0.20200218234912-41c5fccfd6f6" +github.com/rwcarlsen/goexif="v0.0.0-20190401172101-9e8deecbddbd" +github.com/sanity-io/litter="v1.5.0" +github.com/shurcooL/sanitized_anchor_name="v1.0.0" +github.com/spf13/afero="v1.6.0" +github.com/spf13/cast="v1.3.1" +github.com/spf13/cobra="v1.1.3" +github.com/spf13/fsync="v0.9.0" +github.com/spf13/jwalterweatherman="v1.1.0" +github.com/spf13/pflag="v1.0.5" +github.com/spf13/viper="v1.7.1" +github.com/subosito/gotenv="v1.2.0" +github.com/tdewolff/minify/v2="v2.9.16" +github.com/tdewolff/parse/v2="v2.5.14" +github.com/yuin/goldmark-highlighting="v0.0.0-20200307114337-60d527fdb691" +github.com/yuin/goldmark="v1.3.5" +go.opencensus.io="v0.23.0" +gocloud.dev="v0.20.0" +golang.org/x/image="v0.0.0-20210220032944-ac19c3e999fb" +golang.org/x/net="v0.0.0-20210316092652-d523dce5a7f4" +golang.org/x/oauth2="v0.0.0-20210413134643-5e61552d6c78" +golang.org/x/sync="v0.0.0-20210220032951-036812b2e83c" +golang.org/x/sys="v0.0.0-20210412220455-f1c623a9e750" +golang.org/x/text="v0.3.6" +golang.org/x/xerrors="v0.0.0-20200804184101-5ec99f83aff1" +google.golang.org/api="v0.45.0" +google.golang.org/genproto="v0.0.0-20210413151531-c14fb6ef47c3" +google.golang.org/grpc="v1.37.0" +google.golang.org/protobuf="v1.26.0" +gopkg.in/ini.v1="v1.51.1" +gopkg.in/yaml.v2="v2.4.0" + + diff --git a/.yarn/unplugged/hugo-extended-npm-0.83.1-0d67d3a0ea/node_modules/hugo-extended/vendor/hugo b/.yarn/unplugged/hugo-extended-npm-0.84.3-127c9ef304/node_modules/hugo-extended/vendor/hugo similarity index 80% rename from .yarn/unplugged/hugo-extended-npm-0.83.1-0d67d3a0ea/node_modules/hugo-extended/vendor/hugo rename to .yarn/unplugged/hugo-extended-npm-0.84.3-127c9ef304/node_modules/hugo-extended/vendor/hugo index 1ddce46..cc6adb0 100755 Binary files a/.yarn/unplugged/hugo-extended-npm-0.83.1-0d67d3a0ea/node_modules/hugo-extended/vendor/hugo and b/.yarn/unplugged/hugo-extended-npm-0.84.3-127c9ef304/node_modules/hugo-extended/vendor/hugo differ diff --git a/Jenkinsfile b/Jenkinsfile index 757889d..5337770 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -35,11 +35,10 @@ pipeline { } environment { - ANTORA_CACHE_DIR = "$WORKSPACE/.antora-cache" - CAMEL_ENV = 'production' - GITHUB = credentials('399061d0-5ab5-4142-a186-a52081fef742') // asf-ci credential - HUGO_CACHEDIR = "$WORKSPACE/.hugo-cache" - HUGO_PARAMS_GitHubAPI = 'http://localhost:22635' + ANTORA_CACHE_DIR = "$WORKSPACE/.antora-cache" + CAMEL_ENV = 'production' + GITHUB = credentials('399061d0-5ab5-4142-a186-a52081fef742') // asf-ci credential + HUGO_CACHEDIR = "$WORKSPACE/.hugo-cache" } stages { @@ -58,7 +57,7 @@ pipeline { } steps { - sh "cd $WORKSPACE/camel-website && yarn clean; yarn build-all" + sh "cd $WORKSPACE/camel-website && yarn clean; HUGO_PARAMS_GitHubUsername=$GITHUB_USR HUGO_PARAMS_GitHubToken=$GITHUB_PSW yarn build-all" } } diff --git a/README.md b/README.md index 91baa97..f02e405 100644 --- a/README.md +++ b/README.md @@ -400,20 +400,14 @@ The configuration of the HTML validation rules is in `.htmlvalidate.json`, with `.htmlvalidateignore` file, custom rules are in `rules.js` for mandating relative links to camel.apache.org domain, JSON-LD schema validation, and mandating that the HTML title be set. -Some of the content for the website is derived from the data received from GitHub API, even though we cache the -data, GitHub API rate limits can cause build failures. Until we can use authenticated requests against the GitHub -API (see https://github.com/gohugoio/hugo/issues/5617), a API "proxy" can be/is used to add authentication to -the requests as authenticated users receive a higher GitHub API limit. To use the proxy following environment -variables need to be set (and are set in the production build, see `Jenkinsfile`): - - - `HUGO_PARAMS_GitHubAPI=http://localhost:22635` - - `GITHUB_USR=<GitHub username>` - - `GITHUB_PSW=<GitHub token>` - -When those environment variables are set, requests are sent to `localhost:22635` instead of `api.github.com` -where the request is modified to set the correct `Host` header and to add the `Authorization` header for -authenticated access. The proxy is defined in the `github-proxy.js`, and since it's run in the backround -any logs from the proxy can be found in `.github-proxy.log` file. +Some of the content for the website is derived from the data received from GitHub API and rate limits can cause +build failures. For that reason it is necessary to set the following environment variables: + + - `HUGO_PARAMS_GitHubUsername=<GitHub username>` + - `HUGO_PARAMS_GitHubToken=<GitHub token>` + +These values are used by Hugo when building or running in development mode (`yarn preview:hugo`) to access GitHub +API with a higher rate limit. ## Pull request previews are powered by Netlify diff --git a/config.toml b/config.toml index d24fb6b..55d36d3 100644 --- a/config.toml +++ b/config.toml @@ -18,7 +18,8 @@ defaultMarkdownHandler = "blackfriday" socialProfiles = ["https://twitter.com/ApacheCamel"] organizationLogo = "https://camel.apache.org/_/img/logo-d.svg" organizationDescription = "Apache Camel ™ is a versatile open-source integration framework based on known Enterprise Integration Patterns. Camel empowers you to define routing and mediation rules in a variety of domain-specific languages, including a Java-based Fluent API, Spring or Blueprint XML Configuration files, and a Scala DSL." - GitHubAPI = "https://api.github.com" + GitHubUsername = "" + GitHubToken = "" [caches] diff --git a/github-proxy.js b/github-proxy.js deleted file mode 100644 index 9ed1a71..0000000 --- a/github-proxy.js +++ /dev/null @@ -1,60 +0,0 @@ -const PID_FILE = '.github-proxy.pid'; - -if (process.argv.indexOf('stop') > 0) { - const { readFile, existsSync, unlink } = require('fs'); - - if (!existsSync(PID_FILE)) { - return; - } - - readFile(PID_FILE, (err, data) => { - if (err) { - throw err; - } - - try { - process.kill(Number.parseInt(data), 'SIGINT'); - } catch (e) { - unlink(PID_FILE); - } - }); -} else if (process.argv.indexOf('start') > 0) { - const fs = require('fs'); - - const log = fs.createWriteStream('.github-proxy.log', { flags: 'a' }); - process.stdout.write = process.stderr.write = log.write.bind(log); - - if (!(process.env.GITHUB_USR && process.env.GITHUB_PSW)) { - console.log('No GITHUB_USR and GITHUB_PSW environment variables set'); - process.exit(1); - } - - fs.writeFile(PID_FILE, process.pid.toString()); - process.on('SIGINT', (code) => { - console.log('Stopping'); - log.uncork(); - log.end(); - fs.unlink(PID_FILE); - process.exit(0); - }); - - const httpProxy = require('http-proxy'); - - const proxy = httpProxy.createProxyServer({ - auth: `${process.env.GITHUB_USR}:${process.env.GITHUB_PSW}`, - changeOrigin: true, - target: 'https://api.github.com' - }).listen(22635) - console.info('Proxy started.'); - - proxy.on('error', console.error); -} else { - const { spawn } = require('child_process'); - - const proxy = spawn(process.argv[0], ['github-proxy.js', 'start'], { - detached: true, - stdio: 'ignore' - }); - - proxy.unref(); -} diff --git a/layouts/blog/post.html b/layouts/blog/post.html index 9fd8098..7f47c48 100644 --- a/layouts/blog/post.html +++ b/layouts/blog/post.html @@ -13,7 +13,7 @@ Posted on <time itemprop="published" datetime="{{ dateFormat "2006-01-02" .PublishDate }}" title="{{ dateFormat "Monday, January 2, 2006" .PublishDate }}">{{ dateFormat "January 2, 2006" .PublishDate }}</time>, by {{ range $author := .Params.authors }} - {{ with getJSON $.Site.Params.GitHubAPI "/users/" $author }} + {{ with getJSON "https://api.github.com/users/" $author (dict "Authorization" (printf "%s:%s" $.Site.Params.GitHubUsername $.Site.Params.GitHubToken | base64Encode)) }} <figure> <img src="{{ .avatar_url }}" alt="{{ .name }}"> <figcaption rel="author">{{ .name }}</figcaption> diff --git a/layouts/blog/summary.html b/layouts/blog/summary.html index a2fb0e5..c566544 100644 --- a/layouts/blog/summary.html +++ b/layouts/blog/summary.html @@ -2,7 +2,7 @@ <header> <a href="{{ .RelPermalink }}"><h1>{{ .Title }}</h1></a> - <time itemprop="published" datetime="{{ dateFormat "2006-01-02" .PublishDate }}" title="{{ dateFormat "Monday, January 2, 2006" .PublishDate }}">{{ dateFormat "January 2, 2006" .PublishDate }}</time>, by {{ range $idx, $author := .Params.authors }}{{ if gt $idx 0 }}, {{ end }}<span rel="author">{{ (getJSON $.Site.Params.GitHubAPI "/users/" $author).name }}</span>{{ end }} + <time itemprop="published" datetime="{{ dateFormat "2006-01-02" .PublishDate }}" title="{{ dateFormat "Monday, January 2, 2006" .PublishDate }}">{{ dateFormat "January 2, 2006" .PublishDate }}</time>, by {{ range $idx, $author := .Params.authors }}{{ if gt $idx 0 }}, {{ end }}<span rel="author">{{ (getJSON "https://api.github.com/users/" $author (dict "Authorization" (printf "%s:%s" $.Site.Params.GitHubUsername $.Site.Params.GitHubToken | base64Encode))).name }}</span>{{ end }} </header> <p>{{ .Summary }}</p> <p><a class="continue" href="{{ .RelPermalink }}">Continue reading ❯</a></p> diff --git a/layouts/partials/releases/camel-k-runtime.html b/layouts/partials/releases/camel-k-runtime.html index 1ec1e17..5c2e04f 100644 --- a/layouts/partials/releases/camel-k-runtime.html +++ b/layouts/partials/releases/camel-k-runtime.html @@ -11,7 +11,7 @@ git checkout camel-k-runtime-parent-{{ .Params.version }}</pre> <h2 id="resolved"><a class="anchor" href="#resolved"></a>Resolved issues</h2> <p>Here is a list of all the issues that have been resolved for this release</p> -{{ $issues := getJSON $.Site.Params.GitHubAPI "/repos/apache/camel-k-runtime/issues?state=closed&milestone=" (string .Params.milestone ) }} +{{ $issues := getJSON "https://api.github.com/repos/apache/camel-k-runtime/issues?state=closed&milestone=" (string .Params.milestone ) (dict "Authorization" (printf "%s:%s" $.Site.Params.GitHubUsername $.Site.Params.GitHubToken | base64Encode)) }} <dl> {{ range $issues }} <dt><a href="{{ .html_url }}">#{{ .number }}</a></dt><dd>{{ .title }}</dd> diff --git a/layouts/partials/releases/camel-k.html b/layouts/partials/releases/camel-k.html index 13c760f..0f5cce7 100644 --- a/layouts/partials/releases/camel-k.html +++ b/layouts/partials/releases/camel-k.html @@ -11,7 +11,7 @@ git checkout v{{ .Params.version }}</pre> <h2 id="resolved"><a class="anchor" href="#resolved"></a>Resolved issues</h2> <p>Here is a list of all the issues that have been resolved for this release</p> -{{ $issues := getJSON $.Site.Params.GitHubAPI "/repos/apache/camel-k/issues?state=closed&milestone=" (string .Params.milestone ) }} +{{ $issues := getJSON "https://api.github.com/repos/apache/camel-k/issues?state=closed&milestone=" (string .Params.milestone) (dict "Authorization" (printf "%s:%s" $.Site.Params.GitHubUsername $.Site.Params.GitHubToken | base64Encode)) }} <dl> {{ range $issues }} <dt><a href="{{ .html_url }}">#{{ .number }}</a></dt><dd>{{ .title }}</dd> diff --git a/layouts/partials/releases/camel-kafka-connector.html b/layouts/partials/releases/camel-kafka-connector.html index bc22cdd..325ab4e 100644 --- a/layouts/partials/releases/camel-kafka-connector.html +++ b/layouts/partials/releases/camel-kafka-connector.html @@ -26,7 +26,7 @@ git checkout camel-kafka-connector-{{ .Params.version }}</pre> <h2 id="resolved"><a class="anchor" href="#resolved"></a>Resolved issues</h2> <p>Here is a list of all the issues that have been resolved for this release</p> -{{ $issues := getJSON $.Site.Params.GitHubAPI "/repos/apache/camel-kafka-connector/issues?state=closed&labels=" (string .Params.version) }} +{{ $issues := getJSON "https://api.github.com/repos/apache/camel-kafka-connector/issues?state=closed&labels=" (string .Params.version) (dict "Authorization" (printf "%s:%s" $.Site.Params.GitHubUsername $.Site.Params.GitHubToken | base64Encode)) }} <dl> {{ range $issues }} <dt><a href="{{ .html_url }}">#{{ .number }}</a></dt><dd>{{ .title }}</dd> diff --git a/layouts/partials/releases/camel-quarkus.html b/layouts/partials/releases/camel-quarkus.html index bf4519c..66f05c8 100644 --- a/layouts/partials/releases/camel-quarkus.html +++ b/layouts/partials/releases/camel-quarkus.html @@ -11,7 +11,7 @@ git checkout {{ .Params.version }}</pre> <h2 id="resolved"><a class="anchor" href="#resolved"></a>Resolved issues</h2> <p>Here is a list of all the issues that have been resolved for this release</p> -{{ $issues := getJSON $.Site.Params.GitHubAPI "/repos/apache/camel-quarkus/issues?state=closed&milestone=" (string .Params.milestone ) }} +{{ $issues := getJSON "https://api.github.com/repos/apache/camel-quarkus/issues?state=closed&milestone=" (string .Params.milestone) (dict "Authorization" (printf "%s:%s" $.Site.Params.GitHubUsername $.Site.Params.GitHubToken | base64Encode)) }} <dl> {{ range $issues }} <dt><a href="{{ .html_url }}">#{{ .number }}</a></dt><dd>{{ .title }}</dd> diff --git a/package.json b/package.json index 1879115..a67df5e 100644 --- a/package.json +++ b/package.json @@ -5,11 +5,9 @@ "scripts": { "build:antora": "antora --clean --fetch antora-playbook.yml --stacktrace --require ./patch-sitemap.js", "build:hugo": "hugo --cacheDir ${HUGO_CACHE_DIR:-$(pwd)/.hugo_data}", - "build:hugo-with-proxy": "run-s build:github-proxy build:hugo 'build:github-proxy stop'", "build:minify": "gulp minify", - "build:github-proxy": "node github-proxy.js", "build:sitemap": "gulp sitemap", - "build": "run-s build:antora build:hugo-with-proxy build:sitemap build:minify", + "build": "run-s build:antora build:hugo build:sitemap build:minify", "build-all": "yarn workspaces foreach --topological-dev run build", "clean": "gulp clean", "preview": "run-s preview:antora preview:hugo", @@ -42,8 +40,7 @@ "gulp-cheerio": "~1.0", "gulp-htmlmin": "~5.0", "html-validate": "~4", - "http-proxy": "~1.18", - "hugo-extended": "^0.83.1", + "hugo-extended": "^0.84.3", "netlify-cli": "^2.69.11", "npm-run-all": "~4", "opal-runtime": "1.0.11", diff --git a/yarn.lock b/yarn.lock index ba11ed1..355d4af 100644 --- a/yarn.lock +++ b/yarn.lock @@ -2364,6 +2364,13 @@ __metadata: languageName: node linkType: hard +"@sindresorhus/is@npm:^4.0.0": + version: 4.0.1 + resolution: "@sindresorhus/is@npm:4.0.1" + checksum: 16908ae19a1ca54173594bfdc8f33c6b2203fc0592cd54d551999e5b7c937815b6127fbd131360fc2dd1b1e7fb6a6afcd3d0f977a630ee17d3c7afbe8e739c02 + languageName: node + linkType: hard + "@sindresorhus/slugify@npm:^1.1.0": version: 1.1.0 resolution: "@sindresorhus/slugify@npm:1.1.0" @@ -3219,8 +3226,7 @@ __metadata: gulp-cheerio: ~1.0 gulp-htmlmin: ~5.0 html-validate: ~4 - http-proxy: ~1.18 - hugo-extended: ^0.83.1 + hugo-extended: ^0.84.3 netlify-cli: ^2.69.11 npm-run-all: ~4 opal-runtime: 1.0.11 @@ -3875,7 +3881,7 @@ __metadata: languageName: node linkType: hard -"bin-wrapper@npm:^4.0.0, bin-wrapper@npm:^4.1.0": +"bin-wrapper@npm:^4.0.0": version: 4.1.0 resolution: "bin-wrapper@npm:4.1.0" dependencies: @@ -4723,6 +4729,16 @@ __metadata: languageName: node linkType: hard +"chalk@npm:^4.1.1": + version: 4.1.1 + resolution: "chalk@npm:4.1.1" + dependencies: + ansi-styles: ^4.1.0 + supports-color: ^7.1.0 + checksum: 445c12db7aeed0046500a1e4184d31209a77d165654c885a789c41c8598a6a95bd2392180987cac572c967b93a2a730dda778bb7f87fa06ca63fd8592f8cc59f + languageName: node + linkType: hard + "character-entities-html4@npm:^1.0.0": version: 1.1.4 resolution: "character-entities-html4@npm:1.1.4" @@ -5805,7 +5821,7 @@ __metadata: languageName: node linkType: hard -"cross-spawn@npm:^7.0.0": +"cross-spawn@npm:^7.0.0, cross-spawn@npm:^7.0.3": version: 7.0.3 resolution: "cross-spawn@npm:7.0.3" dependencies: @@ -6215,7 +6231,7 @@ __metadata: languageName: node linkType: hard -"decompress@npm:^4.0.0, decompress@npm:^4.2.0": +"decompress@npm:^4.0.0, decompress@npm:^4.2.0, decompress@npm:^4.2.1": version: 4.2.1 resolution: "decompress@npm:4.2.1" dependencies: @@ -7683,6 +7699,23 @@ __metadata: languageName: node linkType: hard +"execa@npm:^5.1.1": + version: 5.1.1 + resolution: "execa@npm:5.1.1" + dependencies: + cross-spawn: ^7.0.3 + get-stream: ^6.0.0 + human-signals: ^2.1.0 + is-stream: ^2.0.0 + merge-stream: ^2.0.0 + npm-run-path: ^4.0.1 + onetime: ^5.1.2 + signal-exit: ^3.0.3 + strip-final-newline: ^2.0.0 + checksum: 4286ade8cdb267bfb982bddbf894a58df29ff4f3bb871252a4832c4608e485dd71e5a8bbfde9f95d7db4af864f5de1aa6a1780017217bd946a16409b8e022987 + languageName: node + linkType: hard + "execall@npm:^2.0.0": version: 2.0.0 resolution: "execall@npm:2.0.0" @@ -8717,6 +8750,13 @@ fsevents@~2.1.2: languageName: node linkType: hard +"get-stream@npm:^6.0.0": + version: 6.0.1 + resolution: "get-stream@npm:6.0.1" + checksum: 83de1fde5b21f879b91e45c1be765f53cf041873d65aea3b5a15cd53d4bc7825118693b1f50efb5c33a5d979dd20b398b6af955ffd70a013017da933b18fa5c8 + languageName: node + linkType: hard + "get-value@npm:^2.0.3, get-value@npm:^2.0.6": version: 2.0.6 resolution: "get-value@npm:2.0.6" @@ -9041,6 +9081,25 @@ fsevents@~2.1.2: languageName: node linkType: hard +"got@npm:^11.8.2": + version: 11.8.2 + resolution: "got@npm:11.8.2" + dependencies: + "@sindresorhus/is": ^4.0.0 + "@szmarczak/http-timer": ^4.0.5 + "@types/cacheable-request": ^6.0.1 + "@types/responselike": ^1.0.0 + cacheable-lookup: ^5.0.3 + cacheable-request: ^7.0.1 + decompress-response: ^6.0.0 + http2-wrapper: ^1.0.0-beta.5.2 + lowercase-keys: ^2.0.0 + p-cancelable: ^2.0.0 + responselike: ^2.0.0 + checksum: 6415f98ec249e932ca8223396e58ec18017ade64e21efc40db62f994f3551eaf7eca945671d40b2486f0650b1f17b5a2a0f11655ea501712566ef60be010f07f + languageName: node + linkType: hard + "got@npm:^7.0.0": version: 7.1.0 resolution: "got@npm:7.1.0" @@ -9913,7 +9972,7 @@ fsevents@~2.1.2: languageName: node linkType: hard -"http-proxy@npm:^1.18.0, http-proxy@npm:^1.18.1, http-proxy@npm:~1.18": +"http-proxy@npm:^1.18.0, http-proxy@npm:^1.18.1": version: 1.18.1 resolution: "http-proxy@npm:1.18.1" dependencies: @@ -9962,14 +10021,19 @@ fsevents@~2.1.2: languageName: node linkType: hard -"hugo-extended@npm:^0.83.1": - version: 0.83.1 - resolution: "hugo-extended@npm:0.83.1" +"hugo-extended@npm:^0.84.3": + version: 0.84.3 + resolution: "hugo-extended@npm:0.84.3" dependencies: - bin-wrapper: ^4.1.0 + chalk: ^4.1.1 + decompress: ^4.2.1 + execa: ^5.1.1 + got: ^11.8.2 + sumchecker: ^3.0.1 bin: hugo: cli.js - checksum: ec3625a4dfe572d8fca60ef2e90ab326aedbf144793b02ffcf9a218406d320d1eb465b0a303e20c6730cddc298405115693f10c71ad262c011333720fed89b0f + hugo-extended: cli.js + checksum: 3cf345cfc8aee60912b49f6bb30c6770b98e9b9a80ad0865cf02b7b9dcb75e849744024d8f227838cabf4e8c13bcc75670328bf593f71ec97ee2b2a1e6f63ade languageName: node linkType: hard @@ -9980,6 +10044,13 @@ fsevents@~2.1.2: languageName: node linkType: hard +"human-signals@npm:^2.1.0": + version: 2.1.0 + resolution: "human-signals@npm:2.1.0" + checksum: 70bfd94d27b8ca94f76f92f56d294694860c15264393a8ffee83f49535a08da02e477064d91e2b511cc642ec5c7922675d2babcca2b6bf6f45e4d037b632759d + languageName: node + linkType: hard + "hyperlinker@npm:^1.0.0": version: 1.0.0 resolution: "hyperlinker@npm:1.0.0" @@ -13889,6 +13960,15 @@ fsevents@~2.1.2: languageName: node linkType: hard +"onetime@npm:^5.1.2": + version: 5.1.2 + resolution: "onetime@npm:5.1.2" + dependencies: + mimic-fn: ^2.1.0 + checksum: e425f6caeb20cf2598ffece94be5663932e34d074f1631b682b13d5f01cc1e0712a7dc711eff1706bb5a5aaab8a52e37bd5edcf560334e3222219d7e8b09c21c + languageName: node + linkType: hard + "opal-runtime@npm:1.0.11": version: 1.0.11 resolution: "opal-runtime@npm:1.0.11" @@ -16962,6 +17042,13 @@ resolve@^2.0.0-next.1: languageName: node linkType: hard +"signal-exit@npm:^3.0.3": + version: 3.0.3 + resolution: "signal-exit@npm:3.0.3" + checksum: f8f3fec95c8d1f9ad7e3cce07e1195f84e7a85cdcb4e825e8a2b76aa5406a039083d2bc9662b3cf40e6948262f41277047d20e6fbd58c77edced0b18fab647d8 + languageName: node + linkType: hard + "simple-concat@npm:^1.0.0": version: 1.0.0 resolution: "simple-concat@npm:1.0.0" @@ -17822,6 +17909,15 @@ resolve@^2.0.0-next.1: languageName: node linkType: hard +"sumchecker@npm:^3.0.1": + version: 3.0.1 + resolution: "sumchecker@npm:3.0.1" + dependencies: + debug: ^4.1.0 + checksum: 7f4f9276f77124e688cc469bf77e57bba79e33246c9b053e97be2ef6c1d1ac4fd84ffddbc85bfbaab2c40b3fccadf85d0895b6761eb5a68121916d325d9d9921 + languageName: node + linkType: hard + "supports-color@npm:^0.2.0": version: 0.2.0 resolution: "supports-color@npm:0.2.0"