hugo-extended 0.154.4 → 0.155.0

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.
Files changed (2) hide show
  1. package/dist/hugo.d.mts +22 -47
  2. package/package.json +7 -7
package/dist/hugo.d.mts CHANGED
@@ -2,7 +2,6 @@ import { HugoCommand, HugoOptionsFor } from "./generated/types.mjs";
2
2
  import { ENV_VAR_DOCS, HugoEnvConfig, getEnvConfig } from "./lib/env.mjs";
3
3
 
4
4
  //#region src/hugo.d.ts
5
-
6
5
  /**
7
6
  * Gets the path to the Hugo binary, automatically installing it if it's missing.
8
7
  *
@@ -115,43 +114,34 @@ declare function execWithOutput<C extends HugoCommand>(command: C, positionalArg
115
114
  * ```
116
115
  */
117
116
  declare const hugo: {
118
- /** Build your site */
119
- build: (options?: HugoOptionsFor<"build">) => Promise<void>;
120
- /** Generate shell completion scripts */
117
+ /** Build your site */build: (options?: HugoOptionsFor<"build">) => Promise<void>; /** Generate shell completion scripts */
121
118
  completion: {
122
119
  bash: (options?: HugoOptionsFor<"completion bash">) => Promise<void>;
123
120
  fish: (options?: HugoOptionsFor<"completion fish">) => Promise<void>;
124
121
  powershell: (options?: HugoOptionsFor<"completion powershell">) => Promise<void>;
125
122
  zsh: (options?: HugoOptionsFor<"completion zsh">) => Promise<void>;
126
- };
127
- /** Print Hugo configuration */
128
- config: (options?: HugoOptionsFor<"config">) => Promise<void>;
129
- /** Convert content to different formats */
123
+ }; /** Print Hugo configuration */
124
+ config: (options?: HugoOptionsFor<"config">) => Promise<void>; /** Convert content to different formats */
130
125
  convert: {
131
126
  toJSON: (options?: HugoOptionsFor<"convert toJSON">) => Promise<void>;
132
127
  toTOML: (options?: HugoOptionsFor<"convert toTOML">) => Promise<void>;
133
128
  toYAML: (options?: HugoOptionsFor<"convert toYAML">) => Promise<void>;
134
- };
135
- /** Print Hugo environment info */
136
- env: (options?: HugoOptionsFor<"env">) => Promise<void>;
137
- /** Generate documentation */
129
+ }; /** Print Hugo environment info */
130
+ env: (options?: HugoOptionsFor<"env">) => Promise<void>; /** Generate documentation */
138
131
  gen: {
139
132
  doc: (options?: HugoOptionsFor<"gen doc">) => Promise<void>;
140
133
  man: (options?: HugoOptionsFor<"gen man">) => Promise<void>;
141
- };
142
- /** Import your site from others */
134
+ }; /** Import your site from others */
143
135
  import: {
144
136
  jekyll: (options?: HugoOptionsFor<"import jekyll">) => Promise<void>;
145
- };
146
- /** List various types of content */
137
+ }; /** List various types of content */
147
138
  list: {
148
139
  all: (options?: HugoOptionsFor<"list all">) => Promise<void>;
149
140
  drafts: (options?: HugoOptionsFor<"list drafts">) => Promise<void>;
150
141
  expired: (options?: HugoOptionsFor<"list expired">) => Promise<void>;
151
142
  future: (options?: HugoOptionsFor<"list future">) => Promise<void>;
152
143
  published: (options?: HugoOptionsFor<"list published">) => Promise<void>;
153
- };
154
- /** Module operations */
144
+ }; /** Module operations */
155
145
  mod: {
156
146
  clean: (options?: HugoOptionsFor<"mod clean">) => Promise<void>;
157
147
  get: (options?: HugoOptionsFor<"mod get">) => Promise<void>;
@@ -163,56 +153,44 @@ declare const hugo: {
163
153
  tidy: (options?: HugoOptionsFor<"mod tidy">) => Promise<void>;
164
154
  vendor: (options?: HugoOptionsFor<"mod vendor">) => Promise<void>;
165
155
  verify: (options?: HugoOptionsFor<"mod verify">) => Promise<void>;
166
- };
167
- /** Create new content */
156
+ }; /** Create new content */
168
157
  new: ((pathOrOptions?: string | HugoOptionsFor<"new">, options?: HugoOptionsFor<"new">) => Promise<void>) & {
169
158
  content: (pathOrOptions?: string | HugoOptionsFor<"new content">, options?: HugoOptionsFor<"new content">) => Promise<void>;
170
159
  site: (pathOrOptions?: string | HugoOptionsFor<"new site">, options?: HugoOptionsFor<"new site">) => Promise<void>;
171
160
  theme: (nameOrOptions?: string | HugoOptionsFor<"new theme">, options?: HugoOptionsFor<"new theme">) => Promise<void>;
172
- };
173
- /** Start the Hugo development server */
174
- server: (options?: HugoOptionsFor<"server">) => Promise<void>;
175
- /** Print the Hugo version */
161
+ }; /** Start the Hugo development server */
162
+ server: (options?: HugoOptionsFor<"server">) => Promise<void>; /** Print the Hugo version */
176
163
  version: (options?: HugoOptionsFor<"version">) => Promise<void>;
177
164
  };
178
165
  declare const _default: (() => Promise<string>) & {
179
- /** Build your site */
180
- build: (options?: HugoOptionsFor<"build">) => Promise<void>;
181
- /** Generate shell completion scripts */
166
+ /** Build your site */build: (options?: HugoOptionsFor<"build">) => Promise<void>; /** Generate shell completion scripts */
182
167
  completion: {
183
168
  bash: (options?: HugoOptionsFor<"completion bash">) => Promise<void>;
184
169
  fish: (options?: HugoOptionsFor<"completion fish">) => Promise<void>;
185
170
  powershell: (options?: HugoOptionsFor<"completion powershell">) => Promise<void>;
186
171
  zsh: (options?: HugoOptionsFor<"completion zsh">) => Promise<void>;
187
- };
188
- /** Print Hugo configuration */
189
- config: (options?: HugoOptionsFor<"config">) => Promise<void>;
190
- /** Convert content to different formats */
172
+ }; /** Print Hugo configuration */
173
+ config: (options?: HugoOptionsFor<"config">) => Promise<void>; /** Convert content to different formats */
191
174
  convert: {
192
175
  toJSON: (options?: HugoOptionsFor<"convert toJSON">) => Promise<void>;
193
176
  toTOML: (options?: HugoOptionsFor<"convert toTOML">) => Promise<void>;
194
177
  toYAML: (options?: HugoOptionsFor<"convert toYAML">) => Promise<void>;
195
- };
196
- /** Print Hugo environment info */
197
- env: (options?: HugoOptionsFor<"env">) => Promise<void>;
198
- /** Generate documentation */
178
+ }; /** Print Hugo environment info */
179
+ env: (options?: HugoOptionsFor<"env">) => Promise<void>; /** Generate documentation */
199
180
  gen: {
200
181
  doc: (options?: HugoOptionsFor<"gen doc">) => Promise<void>;
201
182
  man: (options?: HugoOptionsFor<"gen man">) => Promise<void>;
202
- };
203
- /** Import your site from others */
183
+ }; /** Import your site from others */
204
184
  import: {
205
185
  jekyll: (options?: HugoOptionsFor<"import jekyll">) => Promise<void>;
206
- };
207
- /** List various types of content */
186
+ }; /** List various types of content */
208
187
  list: {
209
188
  all: (options?: HugoOptionsFor<"list all">) => Promise<void>;
210
189
  drafts: (options?: HugoOptionsFor<"list drafts">) => Promise<void>;
211
190
  expired: (options?: HugoOptionsFor<"list expired">) => Promise<void>;
212
191
  future: (options?: HugoOptionsFor<"list future">) => Promise<void>;
213
192
  published: (options?: HugoOptionsFor<"list published">) => Promise<void>;
214
- };
215
- /** Module operations */
193
+ }; /** Module operations */
216
194
  mod: {
217
195
  clean: (options?: HugoOptionsFor<"mod clean">) => Promise<void>;
218
196
  get: (options?: HugoOptionsFor<"mod get">) => Promise<void>;
@@ -224,16 +202,13 @@ declare const _default: (() => Promise<string>) & {
224
202
  tidy: (options?: HugoOptionsFor<"mod tidy">) => Promise<void>;
225
203
  vendor: (options?: HugoOptionsFor<"mod vendor">) => Promise<void>;
226
204
  verify: (options?: HugoOptionsFor<"mod verify">) => Promise<void>;
227
- };
228
- /** Create new content */
205
+ }; /** Create new content */
229
206
  new: ((pathOrOptions?: string | HugoOptionsFor<"new">, options?: HugoOptionsFor<"new">) => Promise<void>) & {
230
207
  content: (pathOrOptions?: string | HugoOptionsFor<"new content">, options?: HugoOptionsFor<"new content">) => Promise<void>;
231
208
  site: (pathOrOptions?: string | HugoOptionsFor<"new site">, options?: HugoOptionsFor<"new site">) => Promise<void>;
232
209
  theme: (nameOrOptions?: string | HugoOptionsFor<"new theme">, options?: HugoOptionsFor<"new theme">) => Promise<void>;
233
- };
234
- /** Start the Hugo development server */
235
- server: (options?: HugoOptionsFor<"server">) => Promise<void>;
236
- /** Print the Hugo version */
210
+ }; /** Start the Hugo development server */
211
+ server: (options?: HugoOptionsFor<"server">) => Promise<void>; /** Print the Hugo version */
237
212
  version: (options?: HugoOptionsFor<"version">) => Promise<void>;
238
213
  };
239
214
  //#endregion
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "hugo-extended",
3
- "version": "0.154.4",
3
+ "version": "0.155.0",
4
4
  "description": "✏️ Plug-and-play binary wrapper for Hugo Extended, the awesomest static-site generator.",
5
5
  "license": "MIT",
6
6
  "repository": {
@@ -59,18 +59,18 @@
59
59
  },
60
60
  "dependencies": {
61
61
  "adm-zip": "^0.5.16",
62
- "tar": "^7.5.2"
62
+ "tar": "^7.5.7"
63
63
  },
64
64
  "devDependencies": {
65
- "@biomejs/biome": "^2.3.11",
65
+ "@biomejs/biome": "^2.3.13",
66
66
  "@types/adm-zip": "^0.5.7",
67
- "@types/node": "^25.0.3",
67
+ "@types/node": "^25.1.0",
68
68
  "@types/tar": "^6.1.13",
69
- "@vitest/coverage-v8": "^4.0.16",
69
+ "@vitest/coverage-v8": "^4.0.18",
70
70
  "tinyexec": "^1.0.2",
71
- "tsdown": "^0.19.0-beta.5",
71
+ "tsdown": "^0.20.1",
72
72
  "typescript": "^5.9.3",
73
- "vitest": "^4.0.16"
73
+ "vitest": "^4.0.18"
74
74
  },
75
75
  "engines": {
76
76
  "node": ">=18.17"