ssqch 0.9.0 → 0.10.1

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 (94) hide show
  1. package/README.md +1 -1
  2. package/bundled/completions/bash +1 -1
  3. package/bundled/completions/elvish +1 -0
  4. package/bundled/completions/fish +1 -0
  5. package/bundled/completions/powershell +1 -0
  6. package/bundled/completions/zsh +1 -0
  7. package/bundled/docs/agents.md +70 -0
  8. package/bundled/docs/benchmarks.md +29 -0
  9. package/bundled/docs/build-summary.md +57 -0
  10. package/bundled/docs/comparing-builds.md +51 -0
  11. package/bundled/docs/configuring.md +138 -0
  12. package/bundled/docs/content-schemas.md +54 -0
  13. package/bundled/docs/css-and-javascript.md +33 -0
  14. package/bundled/docs/data-files.md +55 -0
  15. package/bundled/docs/deploying.md +47 -0
  16. package/bundled/docs/field-guide.md +144 -0
  17. package/bundled/docs/footprint.md +27 -0
  18. package/bundled/docs/github-pages.md +41 -0
  19. package/bundled/docs/index.md +26 -0
  20. package/bundled/docs/install.md +27 -0
  21. package/bundled/docs/known-gaps.md +18 -0
  22. package/bundled/docs/markdown.md +114 -0
  23. package/bundled/docs/multilingual.md +14 -0
  24. package/bundled/docs/nav.yml +50 -0
  25. package/bundled/docs/netlify.md +30 -0
  26. package/bundled/docs/new-pages.md +42 -0
  27. package/bundled/docs/plugins.md +13 -0
  28. package/bundled/docs/rust-plugins.md +32 -0
  29. package/bundled/docs/seo.md +19 -0
  30. package/bundled/docs/template-languages.md +106 -0
  31. package/bundled/docs/templates.md +37 -0
  32. package/bundled/docs/themes.md +31 -0
  33. package/bundled/{trailheads → docs/trailheads}/from-component-frameworks.md +7 -3
  34. package/bundled/{trailheads → docs/trailheads}/from-docusaurus.md +7 -4
  35. package/bundled/{trailheads → docs/trailheads}/from-eleventy.md +7 -4
  36. package/bundled/{trailheads → docs/trailheads}/from-hexo.md +7 -4
  37. package/bundled/{trailheads → docs/trailheads}/from-jekyll.md +6 -3
  38. package/bundled/{trailheads → docs/trailheads}/from-mkdocs.md +8 -5
  39. package/bundled/{trailheads → docs/trailheads}/from-zola.md +6 -3
  40. package/bundled/docs/trailheads.md +38 -0
  41. package/bundled/docs/where-values-come-from.md +57 -0
  42. package/bundled/ssqch.d.ts +10 -3
  43. package/lib/assets.js +18 -12
  44. package/lib/{chunk-7PWCYHTJ.js → chunk-26SHWRC6.js} +6 -8
  45. package/lib/{chunk-GUKSZ2XM.js → chunk-3BQJY6GF.js} +4 -6
  46. package/lib/{chunk-TICWN55Z.js → chunk-3LODFCCH.js} +2 -3
  47. package/lib/{chunk-TVU3OPPK.js → chunk-3NDFUMV2.js} +3 -3
  48. package/lib/{chunk-YTHQBMDJ.js → chunk-6OUT5VFK.js} +3 -6
  49. package/lib/{chunk-HXCLCXRT.js → chunk-6RSZV5O2.js} +5 -3
  50. package/lib/{chunk-4Q6WMTER.js → chunk-7JGYYAKI.js} +1 -1
  51. package/lib/{chunk-MI6EJWA2.js → chunk-BT3NVQOD.js} +1 -1
  52. package/lib/{chunk-DDV6JEC2.js → chunk-BXARVN5Z.js} +1 -1
  53. package/lib/{chunk-RNJFPFXE.js → chunk-CXRHH5P5.js} +5 -6
  54. package/lib/{chunk-HPXAZ2HU.js → chunk-DNWA7WNO.js} +1 -1
  55. package/lib/{chunk-SURPOAW7.js → chunk-DTSTCVRX.js} +8 -9
  56. package/lib/{chunk-7SD7K567.js → chunk-DUGGZ4EE.js} +1 -1
  57. package/lib/{chunk-7XLK2GEG.js → chunk-ERNVEZOK.js} +1 -1
  58. package/lib/{chunk-3A647I3N.js → chunk-FYRC2HBU.js} +4 -6
  59. package/lib/{chunk-IJWHOFRP.js → chunk-FYU22VDK.js} +12 -13
  60. package/lib/{chunk-II5DEH3Q.js → chunk-FZGJUJAL.js} +5 -7
  61. package/lib/{chunk-BEGC7YP6.js → chunk-G67W2FTJ.js} +9 -11
  62. package/lib/{chunk-7RDRZHJD.js → chunk-HMVYNV6M.js} +13 -15
  63. package/lib/{chunk-DELWRJAO.js → chunk-HNG372DW.js} +143 -74
  64. package/lib/{chunk-47P4YREZ.js → chunk-II7ZRIAC.js} +11 -13
  65. package/lib/{chunk-NCWFYT74.js → chunk-IOXCGMSF.js} +5 -7
  66. package/lib/{chunk-GRWMGC7D.js → chunk-JFPLNHEQ.js} +2410 -2298
  67. package/lib/{chunk-LPHNACE4.js → chunk-LU73FTIR.js} +10 -11
  68. package/lib/{chunk-D2XE2GTY.js → chunk-LYPKL524.js} +9 -10
  69. package/lib/{chunk-NKXEPHRZ.js → chunk-MDB3D3LP.js} +106 -4
  70. package/lib/{chunk-CZ4XQC56.js → chunk-MDG5A4NI.js} +15 -13
  71. package/lib/{chunk-SXMJ52IK.js → chunk-MUYWL4ZX.js} +58 -19
  72. package/lib/{chunk-R7K3D5W5.js → chunk-P2TRR6XK.js} +83 -24
  73. package/lib/{chunk-SF4I6Z7S.js → chunk-R2YGC3VE.js} +2 -3
  74. package/lib/{chunk-76NTVE34.js → chunk-RFNLZM7W.js} +2 -4
  75. package/lib/{chunk-3K3ANWZ2.js → chunk-X7C6GFUM.js} +4 -4
  76. package/lib/{chunk-XMXBHXZR.js → chunk-XR7GFL4B.js} +12 -13
  77. package/lib/{chunk-NNUKIGOO.js → chunk-ZZBHBLDB.js} +16 -18
  78. package/lib/cli.js +25 -25
  79. package/lib/elements.js +10 -12
  80. package/lib/image.js +10 -11
  81. package/lib/links.js +13 -15
  82. package/lib/minify.js +9 -10
  83. package/lib/redirects.js +11 -13
  84. package/lib/rss.js +22 -22
  85. package/lib/sass.js +10 -12
  86. package/lib/sitemap.js +10 -12
  87. package/lib/ssqch.js +4 -5
  88. package/package.json +2 -2
  89. package/types/index.d.ts +9 -2
  90. package/types/rss.d.ts +1 -1
  91. package/bundled/README.md +0 -1314
  92. package/lib/chunk-VJWQSYEG.js +0 -119
  93. package/lib/{chunk-DELWRJAO.js.LEGAL.txt → chunk-HNG372DW.js.LEGAL.txt} +0 -0
  94. package/lib/{chunk-GRWMGC7D.js.LEGAL.txt → chunk-JFPLNHEQ.js.LEGAL.txt} +3 -3
@@ -136,8 +136,13 @@ declare module "ssqch" {
136
136
  type MaybePromise<T> = T | Promise<T>;
137
137
  /** A function, or `{ run: "command" }` to run a program in the project root (through `sh -c`, or `cmd /C` on Windows). It gets `SSQCH_ENV`, `SSQCH_SERVING`, `SSQCH_QUIET`, `SSQCH_INPUT` and `SSQCH_OUTPUT`; a failure fails the build. */
138
138
  type Hook = ((event: BuildEvent) => MaybePromise<void>) | { run: string };
139
- /** Renders a template's body (front matter removed) with the page's data. */
140
- type EngineRender = (source: string, data: Record<string, any>) => MaybePromise<string>;
139
+ /** What a site's own engine is rendering, its third argument: a page's body, a layout, a Markdown render hook, or a page's `permalink` or `computed` string; and the file, as `page.inputPath` names it (`./src/posts/pine.md`). */
140
+ interface EngineContext {
141
+ kind: "body" | "layout" | "hook" | "permalink" | "computed";
142
+ path: string;
143
+ }
144
+ /** Renders a template's body (front matter removed) with the page's data. The third argument says what's being rendered. */
145
+ type EngineRender = (source: string, data: Record<string, any>, context: EngineContext) => MaybePromise<string>;
141
146
 
142
147
  /**
143
148
  * A field's type: `"string"`, `"number"`, `"integer"`, `"boolean"`, `"date"`, `"file"` (a path to a file that exists), `"object"`, `"array"` or `"any"`;
@@ -249,6 +254,8 @@ declare module "ssqch" {
249
254
  strict?: boolean;
250
255
  /** `page.lastModified`: `"git"` for the last commit that changed the page's file (its modification time when it has uncommitted changes), or `"file"` for the modification time. Off by default. Needs the full history in CI (`fetch-depth: 0`). */
251
256
  lastModified?: "git" | "file" | false;
257
+ /** The date of a page with no date of its own (in its data or its file name): `"git"` for the last commit that changed its file, the same in every checkout, or `"file"` (the default) for the file's modification time, which is when the checkout wrote it. Either way it sorts after the dated pages, by path. Needs the full history in CI (`fetch-depth: 0`). */
258
+ dateFallback?: "git" | "file";
252
259
  /** The time zone the site's own JavaScript runs in, as an IANA name (`"UTC"`, `"America/New_York"`): `Date`'s local methods and libraries like luxon and date-fns, in data files, filters, hooks and Edge templates, so a laptop and CI build the same pages. ssqch's own date filters are UTC whatever this says. Default: the machine's. The config's own top-level code runs before it applies. */
253
260
  timeZone?: string;
254
261
  /** The path the site is served under, when that isn't the root of its domain: `"/repo/"` for `https://you.github.io/repo/`. Templates and `page.url` stay as they are; ssqch adds the base to URLs from the site's root in the HTML it writes. Use the `withBase()` filter outside HTML attributes. */
@@ -407,7 +414,7 @@ declare module "ssqch/rss" {
407
414
  export function dateToRfc3339(date: Date | string): string;
408
415
  /** A date as RFC 822 (`Sat, 01 Jun 2024 00:00:00 +0000`), for RSS feeds. */
409
416
  export function dateToRfc822(date: Date | string): string;
410
- /** A URL made absolute against the site's address: `absoluteUrl(post.url, "https://example.com")`. */
417
+ /** A URL made absolute against the site's address: `absoluteUrl(post.url, "https://example.com")`. As a template filter, it puts the site's `base` in front of a URL from the root that doesn't have it yet; called from code, it resolves as `new URL(url, base)` does. */
411
418
  export function absoluteUrl(url: string, base: string): string;
412
419
  /** Every link and image in some HTML made absolute, for a feed's content. */
413
420
  export function htmlToAbsoluteUrls(html: string, base: string): string;
package/lib/assets.js CHANGED
@@ -2,30 +2,28 @@ import { createRequire as __ssqchCreateRequire } from "node:module";
2
2
  const require = __ssqchCreateRequire(import.meta.url);
3
3
  import {
4
4
  Options
5
- } from "./chunk-7SD7K567.js";
5
+ } from "./chunk-DUGGZ4EE.js";
6
6
  import {
7
7
  BUILTINS,
8
8
  blake3Hex,
9
9
  rewriteHtml
10
- } from "./chunk-R7K3D5W5.js";
11
- import "./chunk-7XLK2GEG.js";
12
- import "./chunk-NKXEPHRZ.js";
10
+ } from "./chunk-P2TRR6XK.js";
11
+ import "./chunk-ERNVEZOK.js";
12
+ import "./chunk-MDB3D3LP.js";
13
13
  import "./chunk-AD3HAW3W.js";
14
- import "./chunk-DDV6JEC2.js";
15
- import "./chunk-NCWFYT74.js";
14
+ import "./chunk-BXARVN5Z.js";
15
+ import "./chunk-IOXCGMSF.js";
16
16
  import "./chunk-FVZ5JBRI.js";
17
- import "./chunk-HPXAZ2HU.js";
17
+ import "./chunk-DNWA7WNO.js";
18
18
  import "./chunk-UU43WIZG.js";
19
- import "./chunk-76NTVE34.js";
19
+ import "./chunk-RFNLZM7W.js";
20
20
  import "./chunk-CMUWRPSQ.js";
21
21
  import {
22
22
  bail,
23
+ displayPath,
23
24
  warn,
24
25
  warning
25
- } from "./chunk-GRWMGC7D.js";
26
- import {
27
- displayPath
28
- } from "./chunk-VJWQSYEG.js";
26
+ } from "./chunk-JFPLNHEQ.js";
29
27
  import "./chunk-I3PS26CI.js";
30
28
 
31
29
  // src/modules/assets.ts
@@ -167,6 +165,7 @@ BUILTINS.set("ssqch/assets", (config, given) => {
167
165
  let sri = /* @__PURE__ */ new Map();
168
166
  let names = [];
169
167
  let changing = [];
168
+ let renamed = [];
170
169
  config.beforeBuild.push({ label: "", fn: () => {
171
170
  const output = path.resolve(config.root, config.output);
172
171
  const shownOutput = displayPath(config.root, output);
@@ -174,6 +173,8 @@ BUILTINS.set("ssqch/assets", (config, given) => {
174
173
  const map = /* @__PURE__ */ new Map();
175
174
  const hashes = /* @__PURE__ */ new Map();
176
175
  const done = [];
176
+ for (const plain of renamed) config.renamedCopies.delete(plain);
177
+ renamed = [];
177
178
  for (const file of files) {
178
179
  if (enabled) {
179
180
  const src = passthroughSource(config, file);
@@ -187,6 +188,11 @@ BUILTINS.set("ssqch/assets", (config, given) => {
187
188
  }
188
189
  }
189
190
  const hashed = fingerprint(output, file);
191
+ if (src !== void 0) {
192
+ const plain = path.join(output, file.replace(/^\/+/, ""));
193
+ config.renamedCopies.set(plain, path.join(output, hashed.replace(/^\/+/, "")));
194
+ renamed.push(plain);
195
+ }
190
196
  if (withIntegrity) {
191
197
  const at = path.join(output, hashed.replace(/^\/+/, ""));
192
198
  let bytes;
@@ -3,13 +3,13 @@ const require = __ssqchCreateRequire(import.meta.url);
3
3
  import {
4
4
  buildFiles,
5
5
  urlOf
6
- } from "./chunk-II5DEH3Q.js";
7
- import "./chunk-7XLK2GEG.js";
6
+ } from "./chunk-FZGJUJAL.js";
7
+ import "./chunk-ERNVEZOK.js";
8
8
  import {
9
9
  bytes,
10
10
  count
11
- } from "./chunk-NKXEPHRZ.js";
12
- import "./chunk-DDV6JEC2.js";
11
+ } from "./chunk-MDB3D3LP.js";
12
+ import "./chunk-BXARVN5Z.js";
13
13
  import "./chunk-FVZ5JBRI.js";
14
14
  import "./chunk-UU43WIZG.js";
15
15
  import {
@@ -19,11 +19,9 @@ import {
19
19
  } from "./chunk-CMUWRPSQ.js";
20
20
  import {
21
21
  BuildError,
22
- bail
23
- } from "./chunk-GRWMGC7D.js";
24
- import {
22
+ bail,
25
23
  compareText
26
- } from "./chunk-VJWQSYEG.js";
24
+ } from "./chunk-JFPLNHEQ.js";
27
25
  import "./chunk-I3PS26CI.js";
28
26
 
29
27
  // src/diff.ts
@@ -1,13 +1,11 @@
1
1
  import { createRequire as __ssqchCreateRequire } from "node:module";
2
2
  const require = __ssqchCreateRequire(import.meta.url);
3
3
  import {
4
+ compareText,
5
+ realPath,
4
6
  warn,
5
7
  warning
6
- } from "./chunk-GRWMGC7D.js";
7
- import {
8
- compareText,
9
- realPath
10
- } from "./chunk-VJWQSYEG.js";
8
+ } from "./chunk-JFPLNHEQ.js";
11
9
 
12
10
  // src/serve/live.ts
13
11
  import crypto from "node:crypto";
@@ -84,7 +82,7 @@ async function settled(files) {
84
82
  return last;
85
83
  }
86
84
  function missingMessage(url, tools, output) {
87
- if (tools.length === 0) return `${url} is linked but nothing wrote it to ${output}. If a tool makes it, run its watcher with \`serve.run\` (see "CSS and JavaScript" in the README)`;
85
+ if (tools.length === 0) return `${url} is linked but nothing wrote it to ${output}. If a tool makes it, run its watcher with \`serve.run\` (\`ssqch docs "CSS and JavaScript"\`)`;
88
86
  if (tools.length === 1) return `${url} is linked but isn't in ${output}: serve.run's ${tools[0]} hasn't written it (its output is in the terminal)`;
89
87
  return `${url} is linked but isn't in ${output}: none of serve.run's ${tools.slice(0, -1).join(", ")} or ${tools[tools.length - 1]} has written it (their output is in the terminal)`;
90
88
  }
@@ -6,10 +6,9 @@ import {
6
6
  globSet,
7
7
  globToRegExp,
8
8
  isGlob
9
- } from "./chunk-HPXAZ2HU.js";
9
+ } from "./chunk-DNWA7WNO.js";
10
10
  import "./chunk-CMUWRPSQ.js";
11
- import "./chunk-GRWMGC7D.js";
12
- import "./chunk-VJWQSYEG.js";
11
+ import "./chunk-JFPLNHEQ.js";
13
12
  import "./chunk-I3PS26CI.js";
14
13
  export {
15
14
  globBase,
@@ -2,7 +2,7 @@ import { createRequire as __ssqchCreateRequire } from "node:module";
2
2
  const require = __ssqchCreateRequire(import.meta.url);
3
3
  import {
4
4
  Options
5
- } from "./chunk-7SD7K567.js";
5
+ } from "./chunk-DUGGZ4EE.js";
6
6
  import {
7
7
  BUILTINS,
8
8
  addImagePlugin,
@@ -11,10 +11,10 @@ import {
11
11
  imageOptionsFor,
12
12
  meant,
13
13
  parseFormat
14
- } from "./chunk-R7K3D5W5.js";
14
+ } from "./chunk-P2TRR6XK.js";
15
15
  import {
16
16
  bail
17
- } from "./chunk-GRWMGC7D.js";
17
+ } from "./chunk-JFPLNHEQ.js";
18
18
 
19
19
  // src/modules/image.ts
20
20
  import fs from "node:fs";
@@ -1,13 +1,11 @@
1
1
  import { createRequire as __ssqchCreateRequire } from "node:module";
2
2
  const require = __ssqchCreateRequire(import.meta.url);
3
- import {
4
- red
5
- } from "./chunk-GRWMGC7D.js";
6
3
  import {
7
4
  joinAsGiven,
8
5
  parentAsGiven,
6
+ red,
9
7
  slashes
10
- } from "./chunk-VJWQSYEG.js";
8
+ } from "./chunk-JFPLNHEQ.js";
11
9
 
12
10
  // src/commands/init.ts
13
11
  import fs2 from "node:fs";
@@ -20,8 +18,7 @@ import { fileURLToPath } from "node:url";
20
18
  var PACKAGE = path.dirname(path.dirname(fileURLToPath(new URL("../src/bundled.ts", import.meta.url).href)));
21
19
  var BUNDLED = path.join(PACKAGE, "bundled");
22
20
  var FROM_REPOSITORY = [
23
- ["README.md", "README.md"],
24
- ["trailheads", "docs/trailheads"]
21
+ ["docs", "site/src/docs"]
25
22
  ];
26
23
  function bundledPath(rel) {
27
24
  const inPackage = path.join(BUNDLED, rel);
@@ -5,16 +5,18 @@ import {
5
5
  count,
6
6
  duration,
7
7
  fixed,
8
+ profileText,
8
9
  summary
9
- } from "./chunk-NKXEPHRZ.js";
10
- import "./chunk-DDV6JEC2.js";
10
+ } from "./chunk-MDB3D3LP.js";
11
+ import "./chunk-BXARVN5Z.js";
11
12
  import "./chunk-UU43WIZG.js";
12
- import "./chunk-VJWQSYEG.js";
13
+ import "./chunk-JFPLNHEQ.js";
13
14
  import "./chunk-I3PS26CI.js";
14
15
  export {
15
16
  bytes,
16
17
  count,
17
18
  duration,
18
19
  fixed,
20
+ profileText,
19
21
  summary
20
22
  };
@@ -2,7 +2,7 @@ import { createRequire as __ssqchCreateRequire } from "node:module";
2
2
  const require = __ssqchCreateRequire(import.meta.url);
3
3
  import {
4
4
  isDir
5
- } from "./chunk-VJWQSYEG.js";
5
+ } from "./chunk-JFPLNHEQ.js";
6
6
 
7
7
  // src/command-line.ts
8
8
  import os from "node:os";
@@ -2,7 +2,7 @@ import { createRequire as __ssqchCreateRequire } from "node:module";
2
2
  const require = __ssqchCreateRequire(import.meta.url);
3
3
  import {
4
4
  red
5
- } from "./chunk-GRWMGC7D.js";
5
+ } from "./chunk-JFPLNHEQ.js";
6
6
 
7
7
  // src/serve/builder.ts
8
8
  import { fork } from "node:child_process";
@@ -2,7 +2,7 @@ import { createRequire as __ssqchCreateRequire } from "node:module";
2
2
  const require = __ssqchCreateRequire(import.meta.url);
3
3
  import {
4
4
  slashes
5
- } from "./chunk-VJWQSYEG.js";
5
+ } from "./chunk-JFPLNHEQ.js";
6
6
 
7
7
  // src/dirs.ts
8
8
  import fs from "node:fs";
@@ -8,15 +8,14 @@ import {
8
8
  measure,
9
9
  overBudget,
10
10
  urlOf
11
- } from "./chunk-II5DEH3Q.js";
12
- import "./chunk-7XLK2GEG.js";
13
- import "./chunk-NKXEPHRZ.js";
14
- import "./chunk-DDV6JEC2.js";
11
+ } from "./chunk-FZGJUJAL.js";
12
+ import "./chunk-ERNVEZOK.js";
13
+ import "./chunk-MDB3D3LP.js";
14
+ import "./chunk-BXARVN5Z.js";
15
15
  import "./chunk-FVZ5JBRI.js";
16
16
  import "./chunk-UU43WIZG.js";
17
17
  import "./chunk-CMUWRPSQ.js";
18
- import "./chunk-GRWMGC7D.js";
19
- import "./chunk-VJWQSYEG.js";
18
+ import "./chunk-JFPLNHEQ.js";
20
19
  import "./chunk-I3PS26CI.js";
21
20
  export {
22
21
  buildFiles,
@@ -5,7 +5,7 @@ import {
5
5
  } from "./chunk-CMUWRPSQ.js";
6
6
  import {
7
7
  bail
8
- } from "./chunk-GRWMGC7D.js";
8
+ } from "./chunk-JFPLNHEQ.js";
9
9
 
10
10
  // src/glob.ts
11
11
  var stripDot = (p) => p.replace(/^(\.\/)+/, "");
@@ -8,9 +8,9 @@ import {
8
8
  loadConfig,
9
9
  meant,
10
10
  tomlKeyLine
11
- } from "./chunk-R7K3D5W5.js";
12
- import "./chunk-7XLK2GEG.js";
13
- import "./chunk-NKXEPHRZ.js";
11
+ } from "./chunk-P2TRR6XK.js";
12
+ import "./chunk-ERNVEZOK.js";
13
+ import "./chunk-MDB3D3LP.js";
14
14
  import "./chunk-AD3HAW3W.js";
15
15
  import {
16
16
  CONFIG_FILES,
@@ -18,15 +18,14 @@ import {
18
18
  parseEnvironment,
19
19
  shownDir,
20
20
  shownOutput
21
- } from "./chunk-DDV6JEC2.js";
22
- import "./chunk-NCWFYT74.js";
21
+ } from "./chunk-BXARVN5Z.js";
22
+ import "./chunk-IOXCGMSF.js";
23
23
  import "./chunk-FVZ5JBRI.js";
24
- import "./chunk-HPXAZ2HU.js";
24
+ import "./chunk-DNWA7WNO.js";
25
25
  import "./chunk-UU43WIZG.js";
26
- import "./chunk-76NTVE34.js";
26
+ import "./chunk-RFNLZM7W.js";
27
27
  import "./chunk-CMUWRPSQ.js";
28
- import "./chunk-GRWMGC7D.js";
29
- import "./chunk-VJWQSYEG.js";
28
+ import "./chunk-JFPLNHEQ.js";
30
29
  import "./chunk-I3PS26CI.js";
31
30
  export {
32
31
  BUILTINS,
@@ -5,7 +5,7 @@ import {
5
5
  } from "./chunk-FVZ5JBRI.js";
6
6
  import {
7
7
  bail
8
- } from "./chunk-GRWMGC7D.js";
8
+ } from "./chunk-JFPLNHEQ.js";
9
9
 
10
10
  // src/modules/options.ts
11
11
  var Options = class {
@@ -8,7 +8,7 @@ import {
8
8
  } from "./chunk-CMUWRPSQ.js";
9
9
  import {
10
10
  bail
11
- } from "./chunk-GRWMGC7D.js";
11
+ } from "./chunk-JFPLNHEQ.js";
12
12
 
13
13
  // src/budgets.ts
14
14
  var BUDGETS = [
@@ -2,18 +2,16 @@ import { createRequire as __ssqchCreateRequire } from "node:module";
2
2
  const require = __ssqchCreateRequire(import.meta.url);
3
3
  import {
4
4
  withBase
5
- } from "./chunk-R7K3D5W5.js";
5
+ } from "./chunk-P2TRR6XK.js";
6
6
  import {
7
7
  slugOptions,
8
8
  slugWith
9
- } from "./chunk-NCWFYT74.js";
9
+ } from "./chunk-IOXCGMSF.js";
10
10
  import {
11
11
  BuildError,
12
+ compareText,
12
13
  isPlainObject
13
- } from "./chunk-GRWMGC7D.js";
14
- import {
15
- compareText
16
- } from "./chunk-VJWQSYEG.js";
14
+ } from "./chunk-JFPLNHEQ.js";
17
15
 
18
16
  // src/content.ts
19
17
  var HEADING = /<h([1-6])(\s[^>]*)?>(.*?)<\/h[1-6]\s*>/gis;
@@ -9,26 +9,25 @@ import {
9
9
  inspectPages,
10
10
  runCommand,
11
11
  sameContentsForTest
12
- } from "./chunk-DELWRJAO.js";
12
+ } from "./chunk-HNG372DW.js";
13
13
  import {
14
14
  commandLine,
15
15
  toolPath
16
- } from "./chunk-4Q6WMTER.js";
17
- import "./chunk-3A647I3N.js";
18
- import "./chunk-II5DEH3Q.js";
19
- import "./chunk-R7K3D5W5.js";
20
- import "./chunk-7XLK2GEG.js";
21
- import "./chunk-NKXEPHRZ.js";
16
+ } from "./chunk-7JGYYAKI.js";
17
+ import "./chunk-FYRC2HBU.js";
18
+ import "./chunk-FZGJUJAL.js";
19
+ import "./chunk-P2TRR6XK.js";
20
+ import "./chunk-ERNVEZOK.js";
21
+ import "./chunk-MDB3D3LP.js";
22
22
  import "./chunk-AD3HAW3W.js";
23
- import "./chunk-DDV6JEC2.js";
24
- import "./chunk-NCWFYT74.js";
23
+ import "./chunk-BXARVN5Z.js";
24
+ import "./chunk-IOXCGMSF.js";
25
25
  import "./chunk-FVZ5JBRI.js";
26
- import "./chunk-HPXAZ2HU.js";
26
+ import "./chunk-DNWA7WNO.js";
27
27
  import "./chunk-UU43WIZG.js";
28
- import "./chunk-76NTVE34.js";
28
+ import "./chunk-RFNLZM7W.js";
29
29
  import "./chunk-CMUWRPSQ.js";
30
- import "./chunk-GRWMGC7D.js";
31
- import "./chunk-VJWQSYEG.js";
30
+ import "./chunk-JFPLNHEQ.js";
32
31
  import "./chunk-I3PS26CI.js";
33
32
  export {
34
33
  OUTPUT_LIST,
@@ -2,12 +2,12 @@ import { createRequire as __ssqchCreateRequire } from "node:module";
2
2
  const require = __ssqchCreateRequire(import.meta.url);
3
3
  import {
4
4
  BUDGETS
5
- } from "./chunk-7XLK2GEG.js";
5
+ } from "./chunk-ERNVEZOK.js";
6
6
  import {
7
7
  bytes,
8
8
  count,
9
9
  fixed
10
- } from "./chunk-NKXEPHRZ.js";
10
+ } from "./chunk-MDB3D3LP.js";
11
11
  import {
12
12
  padEnd,
13
13
  padStart
@@ -15,12 +15,10 @@ import {
15
15
  import {
16
16
  BuildError,
17
17
  bail,
18
- warning
19
- } from "./chunk-GRWMGC7D.js";
20
- import {
21
18
  compareText,
22
- realPath
23
- } from "./chunk-VJWQSYEG.js";
19
+ realPath,
20
+ warning
21
+ } from "./chunk-JFPLNHEQ.js";
24
22
 
25
23
  // src/footprint.ts
26
24
  import fs from "node:fs";
@@ -1,37 +1,35 @@
1
1
  import { createRequire as __ssqchCreateRequire } from "node:module";
2
2
  const require = __ssqchCreateRequire(import.meta.url);
3
- import "./chunk-R7K3D5W5.js";
4
- import "./chunk-7XLK2GEG.js";
5
- import "./chunk-NKXEPHRZ.js";
3
+ import "./chunk-P2TRR6XK.js";
4
+ import "./chunk-ERNVEZOK.js";
5
+ import "./chunk-MDB3D3LP.js";
6
6
  import "./chunk-AD3HAW3W.js";
7
7
  import {
8
8
  dirsOf,
9
9
  shownDir
10
- } from "./chunk-DDV6JEC2.js";
10
+ } from "./chunk-BXARVN5Z.js";
11
11
  import {
12
12
  slugWith
13
- } from "./chunk-NCWFYT74.js";
13
+ } from "./chunk-IOXCGMSF.js";
14
14
  import "./chunk-FVZ5JBRI.js";
15
- import "./chunk-HPXAZ2HU.js";
15
+ import "./chunk-DNWA7WNO.js";
16
16
  import {
17
17
  FIELD_NOTES
18
18
  } from "./chunk-UU43WIZG.js";
19
- import "./chunk-76NTVE34.js";
19
+ import "./chunk-RFNLZM7W.js";
20
20
  import {
21
21
  serdeFloat
22
22
  } from "./chunk-CMUWRPSQ.js";
23
23
  import {
24
24
  bail,
25
25
  context,
26
- parseFrontMatter
27
- } from "./chunk-GRWMGC7D.js";
28
- import {
29
26
  isDir,
30
27
  isFile,
31
28
  isInside,
29
+ parseFrontMatter,
32
30
  realPath,
33
31
  slashes
34
- } from "./chunk-VJWQSYEG.js";
32
+ } from "./chunk-JFPLNHEQ.js";
35
33
  import "./chunk-I3PS26CI.js";
36
34
 
37
35
  // src/commands/new.ts
@@ -2,20 +2,20 @@ import { createRequire as __ssqchCreateRequire } from "node:module";
2
2
  const require = __ssqchCreateRequire(import.meta.url);
3
3
  import {
4
4
  inspectPages
5
- } from "./chunk-DELWRJAO.js";
6
- import "./chunk-4Q6WMTER.js";
7
- import "./chunk-3A647I3N.js";
8
- import "./chunk-II5DEH3Q.js";
9
- import "./chunk-R7K3D5W5.js";
10
- import "./chunk-7XLK2GEG.js";
11
- import "./chunk-NKXEPHRZ.js";
5
+ } from "./chunk-HNG372DW.js";
6
+ import "./chunk-7JGYYAKI.js";
7
+ import "./chunk-FYRC2HBU.js";
8
+ import "./chunk-FZGJUJAL.js";
9
+ import "./chunk-P2TRR6XK.js";
10
+ import "./chunk-ERNVEZOK.js";
11
+ import "./chunk-MDB3D3LP.js";
12
12
  import "./chunk-AD3HAW3W.js";
13
- import "./chunk-DDV6JEC2.js";
14
- import "./chunk-NCWFYT74.js";
13
+ import "./chunk-BXARVN5Z.js";
14
+ import "./chunk-IOXCGMSF.js";
15
15
  import "./chunk-FVZ5JBRI.js";
16
- import "./chunk-HPXAZ2HU.js";
16
+ import "./chunk-DNWA7WNO.js";
17
17
  import "./chunk-UU43WIZG.js";
18
- import "./chunk-76NTVE34.js";
18
+ import "./chunk-RFNLZM7W.js";
19
19
  import {
20
20
  charCount,
21
21
  firstChars,
@@ -27,14 +27,12 @@ import {
27
27
  } from "./chunk-CMUWRPSQ.js";
28
28
  import {
29
29
  bail,
30
- getPath
31
- } from "./chunk-GRWMGC7D.js";
32
- import {
33
30
  comparePaths,
34
31
  compareText,
32
+ getPath,
35
33
  realPath,
36
34
  shown
37
- } from "./chunk-VJWQSYEG.js";
35
+ } from "./chunk-JFPLNHEQ.js";
38
36
  import "./chunk-I3PS26CI.js";
39
37
 
40
38
  // src/inspect.ts