aboutsummaryrefslogtreecommitdiff
path: root/src/hugo/devcontainer-feature.json
diff options
context:
space:
mode:
authorMikey Lombardi (He/Him) <michael.t.lombardi@gmail.com>2022-11-15 19:19:33 +0300
committerGitHub <noreply@github.com>2022-11-15 19:19:33 +0300
commit474444fa9f0decb2d7734828c7f9d629535dcb94 (patch)
treedf57de5bff88e9c06e7914b94311ec2f6f0180c5 /src/hugo/devcontainer-feature.json
parentada30c21f5148715719bf6d6b94f3e5dce50b19d (diff)
(GH-198) Add `extended` option to hugo feature (#240)
Prior to this change, the hugo feature only supported specifying the version of Hugo to install. Hugo is available in two builds: standard, which the feature already installs, and extended, which includes functionality for post-processing CSS/SCSS/SASS and JavaScript. This change adds a new `extended` option to the hugo feature, allowing users to specify that they require the extended build of Hugo. It defaults to `false` and installs the standard build of Hugo. - Resolves #198
Diffstat (limited to 'src/hugo/devcontainer-feature.json')
-rw-r--r--src/hugo/devcontainer-feature.json7
1 files changed, 6 insertions, 1 deletions
diff --git a/src/hugo/devcontainer-feature.json b/src/hugo/devcontainer-feature.json
index 7a96d85..37a805d 100644
--- a/src/hugo/devcontainer-feature.json
+++ b/src/hugo/devcontainer-feature.json
@@ -1,6 +1,6 @@
{
"id": "hugo",
- "version": "1.0.6",
+ "version": "1.1.0",
"name": "Hugo",
"documentationURL": "https://github.com/devcontainers/features/tree/main/src/hugo",
"options": {
@@ -11,6 +11,11 @@
],
"default": "latest",
"description": "Select or enter a version."
+ },
+ "extended": {
+ "type": "boolean",
+ "default": false,
+ "description": "Install Hugo extended for SASS/SCSS changes"
}
},
"containerEnv": {