hugo-bin-extended 0.125.1 → 0.125.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +15 -3
- package/package.json +18 -10
package/README.md
CHANGED
|
@@ -113,17 +113,29 @@ set HUGO_BIN_HUGO_VERSION=0.124.1
|
|
|
113
113
|
|
|
114
114
|
### Options
|
|
115
115
|
|
|
116
|
+
#### buildTags
|
|
117
|
+
|
|
118
|
+
- Type: `string`
|
|
119
|
+
- Default: `""`
|
|
120
|
+
|
|
121
|
+
Set `buildTags` to `extended` to download the [extended version](https://github.com/gohugoio/hugo/releases/tag/v0.43) binary.
|
|
122
|
+
|
|
123
|
+
If this is set to `extended` but it's not available for the user's platform, then the normal version will be downloaded instead.
|
|
124
|
+
|
|
116
125
|
#### downloadRepo
|
|
117
126
|
|
|
118
|
-
|
|
127
|
+
- Type: `string`
|
|
128
|
+
- Default: `"https://github.com"`
|
|
119
129
|
|
|
120
130
|
Set it to your proxy URL to download the hugo binary from a different download repository.
|
|
121
131
|
|
|
122
132
|
#### hugoVersion
|
|
123
133
|
|
|
124
|
-
|
|
134
|
+
- Type: `string`
|
|
135
|
+
- Default: the version specified in [package.json](package.json)
|
|
125
136
|
|
|
126
|
-
You can override the Hugo version here
|
|
137
|
+
You can override the Hugo version here. Please note that if any of the URLs have changed upstream, you might not be able to use
|
|
138
|
+
any version and you will probably need to update to a newer hugo-bin version which takes into consideration the new URLs.
|
|
127
139
|
|
|
128
140
|
## Super Inspired By
|
|
129
141
|
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "hugo-bin-extended",
|
|
3
|
-
"version": "0.125.
|
|
4
|
-
"hugoVersion": "0.125.
|
|
3
|
+
"version": "0.125.3",
|
|
4
|
+
"hugoVersion": "0.125.3",
|
|
5
5
|
"description": "Binary wrapper for Hugo",
|
|
6
6
|
"repository": {
|
|
7
7
|
"type": "git",
|
|
@@ -21,6 +21,14 @@
|
|
|
21
21
|
"url": "https://github.com/sponsors/MarlonLuan"
|
|
22
22
|
}
|
|
23
23
|
],
|
|
24
|
+
"keywords": [
|
|
25
|
+
"binary",
|
|
26
|
+
"executable",
|
|
27
|
+
"hugo",
|
|
28
|
+
"sass",
|
|
29
|
+
"scss",
|
|
30
|
+
"wrapper"
|
|
31
|
+
],
|
|
24
32
|
"license": "MIT",
|
|
25
33
|
"type": "module",
|
|
26
34
|
"exports": {
|
|
@@ -29,6 +37,14 @@
|
|
|
29
37
|
"bin": {
|
|
30
38
|
"hugo": "bin/cli.js"
|
|
31
39
|
},
|
|
40
|
+
"files": [
|
|
41
|
+
"bin/cli.js",
|
|
42
|
+
"lib/*.js",
|
|
43
|
+
"index.js"
|
|
44
|
+
],
|
|
45
|
+
"engines": {
|
|
46
|
+
"node": ">=16"
|
|
47
|
+
},
|
|
32
48
|
"dependencies": {
|
|
33
49
|
"@xhmikosr/bin-wrapper": "^12.0.0",
|
|
34
50
|
"pkg-conf": "^4.0.0"
|
|
@@ -47,14 +63,6 @@
|
|
|
47
63
|
"test:ci": "c8 npm run uvu",
|
|
48
64
|
"postinstall": "node lib/install.js"
|
|
49
65
|
},
|
|
50
|
-
"files": [
|
|
51
|
-
"bin/cli.js",
|
|
52
|
-
"lib/*.js",
|
|
53
|
-
"index.js"
|
|
54
|
-
],
|
|
55
|
-
"engines": {
|
|
56
|
-
"node": ">=16"
|
|
57
|
-
},
|
|
58
66
|
"xo": {
|
|
59
67
|
"space": true,
|
|
60
68
|
"rules": {
|