@wtf/project-docs 1.1.0 → 2.0.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 (327) hide show
  1. package/README.md +2 -0
  2. package/api/.generated +134 -12
  3. package/api/@wtf/project-astro/README.md +53 -14
  4. package/api/@wtf/project-astro/config/functions/baseConfig.md +1 -1
  5. package/api/@wtf/project-astro/config/functions/baseOf.md +1 -1
  6. package/api/@wtf/project-astro/config/functions/siteOf.md +1 -1
  7. package/api/@wtf/project-astro/config/type-aliases/BaseOptions.md +6 -6
  8. package/api/@wtf/project-astro/config/type-aliases/Env.md +1 -1
  9. package/api/@wtf/project-astro/errors/classes/BrokenLinksError.md +5 -5
  10. package/api/@wtf/project-astro/errors/classes/InvalidRedirectError.md +6 -6
  11. package/api/@wtf/project-astro/errors/classes/RedirectedLinksError.md +5 -5
  12. package/api/@wtf/project-astro/errors/classes/SiteError.md +4 -4
  13. package/api/@wtf/project-astro/index/type-aliases/BrokenLink.md +3 -3
  14. package/api/@wtf/project-astro/index/type-aliases/IgnoredLine.md +4 -4
  15. package/api/@wtf/project-astro/index/type-aliases/RedirectInput.md +2 -2
  16. package/api/@wtf/project-astro/index/type-aliases/RedirectMatch.md +3 -3
  17. package/api/@wtf/project-astro/index/type-aliases/RedirectRule.md +5 -5
  18. package/api/@wtf/project-astro/index/type-aliases/RedirectStatus.md +1 -1
  19. package/api/@wtf/project-astro/index/type-aliases/RedirectedLink.md +2 -2
  20. package/api/@wtf/project-astro/index/type-aliases/Redirects.md +3 -3
  21. package/api/@wtf/project-astro/links/functions/brokenLinksIn.md +1 -1
  22. package/api/@wtf/project-astro/links/functions/links.md +2 -2
  23. package/api/@wtf/project-astro/links/functions/redirectedLinksIn.md +1 -1
  24. package/api/@wtf/project-astro/links/variables/LINKS.md +1 -1
  25. package/api/@wtf/project-astro/pages/README.md +1 -1
  26. package/api/@wtf/project-astro/pages/functions/fixSearchUrlsIn.md +1 -1
  27. package/api/@wtf/project-astro/pages/functions/moveConflictingPages.md +1 -1
  28. package/api/@wtf/project-astro/pages/functions/pages.md +1 -1
  29. package/api/@wtf/project-astro/pages/functions/slashFolderLinksIn.md +1 -1
  30. package/api/@wtf/project-astro/pages/variables/PAGES.md +1 -1
  31. package/api/@wtf/project-astro/preview/README.md +20 -10
  32. package/api/@wtf/project-astro/preview/functions/files.md +5 -1
  33. package/api/@wtf/project-astro/preview/functions/listen.md +4 -2
  34. package/api/@wtf/project-astro/preview/functions/notFound.md +3 -2
  35. package/api/@wtf/project-astro/preview/functions/pagesOf.md +4 -3
  36. package/api/@wtf/project-astro/preview/functions/previewOf.md +25 -0
  37. package/api/@wtf/project-astro/preview/type-aliases/FilesOptions.md +2 -2
  38. package/api/@wtf/project-astro/preview/type-aliases/Handler.md +1 -1
  39. package/api/@wtf/project-astro/preview/type-aliases/ListenOptions.md +15 -3
  40. package/api/@wtf/project-astro/preview/type-aliases/Listening.md +16 -4
  41. package/api/@wtf/project-astro/preview/type-aliases/Pages.md +3 -3
  42. package/api/@wtf/project-astro/preview/type-aliases/Preview.md +19 -0
  43. package/api/@wtf/project-astro/preview/type-aliases/PreviewOptions.md +36 -0
  44. package/api/@wtf/project-astro/redirects/functions/formatRedirects.md +1 -1
  45. package/api/@wtf/project-astro/redirects/functions/matchRedirect.md +1 -1
  46. package/api/@wtf/project-astro/redirects/functions/parseRedirects.md +1 -1
  47. package/api/@wtf/project-astro/redirects/variables/MAX_PARTS.md +1 -1
  48. package/api/@wtf/project-astro/redirects/variables/MAX_RULES.md +1 -1
  49. package/api/@wtf/project-astro/redirects/variables/MAX_SIZE.md +1 -1
  50. package/api/@wtf/project-astro/schema/README.md +23 -0
  51. package/api/@wtf/project-astro/schema/variables/astroSchema.md +13 -0
  52. package/api/@wtf/project-config/README.md +94 -0
  53. package/api/@wtf/project-config/define/README.md +23 -0
  54. package/api/@wtf/project-config/define/functions/defineConfig.md +29 -0
  55. package/api/@wtf/project-config/env/README.md +33 -0
  56. package/api/@wtf/project-config/env/functions/envNameOf.md +22 -0
  57. package/api/@wtf/project-config/env/functions/envPrefixOf.md +22 -0
  58. package/api/@wtf/project-config/env/functions/jsonSchemaOf.md +23 -0
  59. package/api/@wtf/project-config/env/functions/variablesOf.md +23 -0
  60. package/api/@wtf/project-config/env/functions/withEnvironment.md +34 -0
  61. package/api/@wtf/project-config/env/type-aliases/Environment.md +11 -0
  62. package/api/@wtf/project-config/env/type-aliases/EnvironmentValue.md +32 -0
  63. package/api/@wtf/project-config/env/type-aliases/WithEnvironment.md +31 -0
  64. package/api/@wtf/project-config/errors/README.md +31 -0
  65. package/api/@wtf/project-config/errors/classes/ConfigError.md +200 -0
  66. package/api/@wtf/project-config/errors/classes/ConfigFileMismatchError.md +175 -0
  67. package/api/@wtf/project-config/errors/classes/ConfigInCodeError.md +177 -0
  68. package/api/@wtf/project-config/errors/classes/ConfigPathError.md +174 -0
  69. package/api/@wtf/project-config/errors/classes/EnvPlaceholderUnsetError.md +176 -0
  70. package/api/@wtf/project-config/errors/classes/InvalidConfigFileError.md +179 -0
  71. package/api/@wtf/project-config/errors/classes/InvalidSectionError.md +185 -0
  72. package/api/@wtf/project-config/errors/classes/NoConfigFileError.md +178 -0
  73. package/api/@wtf/project-config/errors/classes/NoConfigValueError.md +174 -0
  74. package/api/@wtf/project-config/errors/classes/SyncConfigInCodeError.md +177 -0
  75. package/api/@wtf/project-config/errors/classes/SyncSchemaError.md +174 -0
  76. package/api/@wtf/project-config/errors/classes/UnwritableConfigFileError.md +175 -0
  77. package/api/@wtf/project-config/index/README.md +35 -0
  78. package/api/@wtf/project-config/index/type-aliases/ConfigDefaults.md +36 -0
  79. package/api/@wtf/project-config/index/type-aliases/ConfigEnvironment.md +44 -0
  80. package/api/@wtf/project-config/index/type-aliases/ConfigIssue.md +31 -0
  81. package/api/@wtf/project-config/index/type-aliases/ConfigNames.md +52 -0
  82. package/api/@wtf/project-config/index/type-aliases/ConfigPath.md +12 -0
  83. package/api/@wtf/project-config/index/type-aliases/ConfigPlatform.md +14 -0
  84. package/api/@wtf/project-config/index/type-aliases/ConfigSection.md +19 -0
  85. package/api/@wtf/project-config/index/type-aliases/ConfigSource.md +35 -0
  86. package/api/@wtf/project-config/index/type-aliases/ConfigSyncPlatform.md +33 -0
  87. package/api/@wtf/project-config/index/type-aliases/ConfigWrite.md +116 -0
  88. package/api/@wtf/project-config/index/type-aliases/ImportModule.md +22 -0
  89. package/api/@wtf/project-config/index/type-aliases/JsonSchema.md +15 -0
  90. package/api/@wtf/project-config/index/type-aliases/LocatedConfig.md +45 -0
  91. package/api/@wtf/project-config/index/type-aliases/NamespaceConfig.md +29 -0
  92. package/api/@wtf/project-config/index/type-aliases/ResolvedConfig.md +109 -0
  93. package/api/@wtf/project-config/index/type-aliases/SectionSchema.md +23 -0
  94. package/api/@wtf/project-config/index/type-aliases/SectionsOf.md +19 -0
  95. package/api/@wtf/project-config/index/type-aliases/SyncFiles.md +55 -0
  96. package/api/@wtf/project-config/index/type-aliases/ValidateSection.md +24 -0
  97. package/api/@wtf/project-config/load/README.md +33 -0
  98. package/api/@wtf/project-config/load/functions/ignoredWarning.md +22 -0
  99. package/api/@wtf/project-config/load/functions/importFileModule.md +24 -0
  100. package/api/@wtf/project-config/load/functions/loadConfig.md +30 -0
  101. package/api/@wtf/project-config/load/functions/loadConfigSync.md +25 -0
  102. package/api/@wtf/project-config/load/type-aliases/LoadLayers.md +19 -0
  103. package/api/@wtf/project-config/load/type-aliases/LoadOptions.md +17 -0
  104. package/api/@wtf/project-config/load/type-aliases/LoadSyncOptions.md +11 -0
  105. package/api/@wtf/project-config/locate/README.md +40 -0
  106. package/api/@wtf/project-config/locate/functions/configFilesOf.md +23 -0
  107. package/api/@wtf/project-config/locate/functions/configNamesOf.md +24 -0
  108. package/api/@wtf/project-config/locate/functions/jsonFilesOf.md +22 -0
  109. package/api/@wtf/project-config/locate/functions/locateConfig.md +27 -0
  110. package/api/@wtf/project-config/locate/functions/locateConfigSync.md +23 -0
  111. package/api/@wtf/project-config/locate/functions/projectRootOf.md +25 -0
  112. package/api/@wtf/project-config/locate/functions/projectRootOfSync.md +23 -0
  113. package/api/@wtf/project-config/locate/type-aliases/LocateNames.md +18 -0
  114. package/api/@wtf/project-config/locate/type-aliases/LocateOptions.md +17 -0
  115. package/api/@wtf/project-config/locate/type-aliases/LocateSyncOptions.md +17 -0
  116. package/api/@wtf/project-config/locate/type-aliases/NamespaceNames.md +18 -0
  117. package/api/@wtf/project-config/locate/variables/DEFAULT_NAMESPACE.md +11 -0
  118. package/api/@wtf/project-config/node/README.md +27 -0
  119. package/api/@wtf/project-config/node/functions/loadConfig.md +24 -0
  120. package/api/@wtf/project-config/node/functions/loadConfigSync.md +24 -0
  121. package/api/@wtf/project-config/node/functions/nodeConfigPlatform.md +16 -0
  122. package/api/@wtf/project-config/node/functions/nodeSyncPlatform.md +16 -0
  123. package/api/@wtf/project-config/path/README.md +13 -0
  124. package/api/@wtf/project-config/path/functions/configPathOf.md +23 -0
  125. package/api/@wtf/project-config/path/functions/textOfConfigPath.md +21 -0
  126. package/api/@wtf/project-config/path/functions/valueAt.md +23 -0
  127. package/api/@wtf/project-config/placeholder/README.md +24 -0
  128. package/api/@wtf/project-config/placeholder/functions/expandPlaceholders.md +31 -0
  129. package/api/@wtf/project-config/placeholder/functions/expandString.md +31 -0
  130. package/api/@wtf/project-config/schema/README.md +29 -0
  131. package/api/@wtf/project-config/schema/functions/namespaceSchema.md +31 -0
  132. package/api/@wtf/project-config/schema/functions/sectionIdOf.md +23 -0
  133. package/api/@wtf/project-config/schema/type-aliases/NamespaceSchemaOptions.md +31 -0
  134. package/api/@wtf/project-config/schema/variables/JSON_SCHEMA_DRAFT.md +11 -0
  135. package/api/@wtf/project-config/section/README.md +34 -0
  136. package/api/@wtf/project-config/section/functions/issuesOf.md +30 -0
  137. package/api/@wtf/project-config/section/functions/issuesOfSync.md +34 -0
  138. package/api/@wtf/project-config/section/functions/mergeSection.md +28 -0
  139. package/api/@wtf/project-config/section/functions/sectionOf.md +43 -0
  140. package/api/@wtf/project-config/section/functions/sectionOfSync.md +35 -0
  141. package/api/@wtf/project-config/section/type-aliases/Checked.md +38 -0
  142. package/api/@wtf/project-config/write/README.md +30 -0
  143. package/api/@wtf/project-config/write/functions/setConfigValue.md +39 -0
  144. package/api/@wtf/project-config/write/functions/unsetConfigValue.md +31 -0
  145. package/api/@wtf/project-config/write/type-aliases/WriteOptions.md +18 -0
  146. package/api/@wtf/project-oxfmt/README.md +32 -8
  147. package/api/@wtf/project-oxfmt/config/README.md +23 -0
  148. package/api/@wtf/project-oxfmt/config/functions/oxfmtConfig.md +30 -0
  149. package/api/@wtf/project-oxfmt/config/type-aliases/OxfmtOptions.md +11 -0
  150. package/api/@wtf/project-oxfmt/config/variables/OXFMT_DEFAULTS.md +21 -0
  151. package/api/@wtf/project-oxfmt/config/variables/default.md +11 -0
  152. package/api/@wtf/project-oxfmt/schema/README.md +25 -0
  153. package/api/@wtf/project-oxfmt/schema/variables/oxfmtSchema.md +13 -0
  154. package/api/@wtf/project-oxlint/README.md +35 -8
  155. package/api/@wtf/project-oxlint/config/README.md +23 -0
  156. package/api/@wtf/project-oxlint/config/functions/oxlintConfig.md +30 -0
  157. package/api/@wtf/project-oxlint/config/type-aliases/OxlintOptions.md +13 -0
  158. package/api/@wtf/project-oxlint/config/variables/OXLINT_DEFAULTS.md +32 -0
  159. package/api/@wtf/project-oxlint/config/variables/default.md +11 -0
  160. package/api/@wtf/project-oxlint/schema/README.md +27 -0
  161. package/api/@wtf/project-oxlint/schema/variables/oxlintSchema.md +12 -0
  162. package/api/@wtf/project-resolve/condition/variables/SOURCE_CONDITION.md +1 -1
  163. package/api/@wtf/project-resolve/env/functions/isHook.md +1 -1
  164. package/api/@wtf/project-resolve/env/functions/optionsWithoutHook.md +1 -1
  165. package/api/@wtf/project-resolve/env/functions/withoutHook.md +1 -1
  166. package/api/@wtf/project-resolve/env/type-aliases/Env.md +1 -1
  167. package/api/@wtf/project-resolve/errors/classes/ResolveError.md +4 -4
  168. package/api/@wtf/project-resolve/errors/classes/UnreadableWorkspaceError.md +6 -6
  169. package/api/@wtf/project-resolve/errors/classes/WorkspaceError.md +5 -5
  170. package/api/@wtf/project-resolve/hooks/functions/candidatesOf.md +1 -1
  171. package/api/@wtf/project-resolve/hooks/functions/sourcesHookOf.md +1 -1
  172. package/api/@wtf/project-resolve/hooks/functions/sourcesOf.md +1 -1
  173. package/api/@wtf/project-resolve/hooks/variables/resolveTypeScript.md +1 -1
  174. package/api/@wtf/project-resolve/node/functions/nodePlatform.md +5 -5
  175. package/api/@wtf/project-resolve/register/variables/REGISTERED.md +1 -1
  176. package/api/@wtf/project-resolve/workspace/functions/filesOf.md +1 -1
  177. package/api/@wtf/project-resolve/workspace/functions/packagesOf.md +1 -1
  178. package/api/@wtf/project-resolve/workspace/functions/workspaceAt.md +1 -1
  179. package/api/@wtf/project-resolve/workspace/functions/workspaceOf.md +1 -1
  180. package/api/@wtf/project-resolve/workspace/functions/workspaceRootAbove.md +1 -1
  181. package/api/@wtf/project-resolve/workspace/functions/workspaceRootOf.md +1 -1
  182. package/api/@wtf/project-resolve/workspace/type-aliases/Agent.md +1 -1
  183. package/api/@wtf/project-resolve/workspace/type-aliases/DirectoryEntry.md +4 -4
  184. package/api/@wtf/project-resolve/workspace/type-aliases/FileContents.md +3 -3
  185. package/api/@wtf/project-resolve/workspace/type-aliases/PackageManager.md +4 -4
  186. package/api/@wtf/project-resolve/workspace/type-aliases/PackageManagerName.md +1 -1
  187. package/api/@wtf/project-resolve/workspace/type-aliases/ProcessWorkspaceOptions.md +1 -1
  188. package/api/@wtf/project-resolve/workspace/type-aliases/Workspace.md +5 -5
  189. package/api/@wtf/project-resolve/workspace/type-aliases/WorkspaceDirectoryHandle.md +6 -6
  190. package/api/@wtf/project-resolve/workspace/type-aliases/WorkspaceFileHandle.md +3 -3
  191. package/api/@wtf/project-resolve/workspace/type-aliases/WorkspaceFiles.md +6 -6
  192. package/api/@wtf/project-resolve/workspace/type-aliases/WorkspaceOptions.md +2 -2
  193. package/api/@wtf/project-resolve/workspace/type-aliases/WorkspacePackage.md +4 -4
  194. package/api/@wtf/project-resolve/workspace/type-aliases/WorkspacePaths.md +7 -7
  195. package/api/@wtf/project-typedoc/README.md +31 -4
  196. package/api/@wtf/project-typedoc/config/functions/gitRevisionOf.md +1 -1
  197. package/api/@wtf/project-typedoc/config/functions/typedocConfig.md +1 -1
  198. package/api/@wtf/project-typedoc/config/type-aliases/RevisionSources.md +3 -3
  199. package/api/@wtf/project-typedoc/config/type-aliases/TypedocConfig.md +1 -1
  200. package/api/@wtf/project-typedoc/config/type-aliases/TypedocOptions.md +6 -6
  201. package/api/@wtf/project-typedoc/config/variables/nodeRun.md +1 -1
  202. package/api/@wtf/project-typedoc/plugins/functions/cleanGeneratedMarkdown.md +1 -1
  203. package/api/@wtf/project-typedoc/plugins/functions/linkTrackedSources.md +1 -1
  204. package/api/@wtf/project-typedoc/plugins/functions/preventMediaFiles.md +1 -1
  205. package/api/@wtf/project-typedoc/plugins/type-aliases/CleanGeneratedMarkdownOptions.md +3 -3
  206. package/api/@wtf/project-typedoc/plugins/type-aliases/LinkTrackedSourcesOptions.md +3 -3
  207. package/api/@wtf/project-typedoc/plugins/type-aliases/PreventMediaFilesOptions.md +3 -3
  208. package/api/@wtf/project-typedoc/plugins/type-aliases/Run.md +1 -1
  209. package/api/@wtf/project-typedoc/plugins/type-aliases/TypedocPlugin.md +1 -1
  210. package/api/@wtf/project-typedoc/schema/README.md +28 -0
  211. package/api/@wtf/project-typedoc/schema/variables/typedocSchema.md +13 -0
  212. package/api/@wtf/project-vite/README.md +17 -33
  213. package/api/@wtf/project-vite/config/README.md +46 -0
  214. package/api/@wtf/project-vite/{functions → config/functions}/baseConfig.md +5 -5
  215. package/api/@wtf/project-vite/{functions → config/functions}/buildsSite.md +2 -2
  216. package/api/@wtf/project-vite/{functions → config/functions}/compress.md +2 -2
  217. package/api/@wtf/project-vite/{functions → config/functions}/conditionsOf.md +2 -2
  218. package/api/@wtf/project-vite/{type-aliases → config/type-aliases}/BaseOptions.md +3 -3
  219. package/api/@wtf/project-vite/{type-aliases → config/type-aliases}/CompressOptions.md +5 -5
  220. package/api/@wtf/project-vite/{variables → config/variables}/CLIENT_CONDITIONS.md +2 -2
  221. package/api/@wtf/project-vite/{variables → config/variables}/COMPRESSIBLE.md +2 -2
  222. package/api/@wtf/project-vite/{variables → config/variables}/FROM_DIST.md +2 -2
  223. package/api/@wtf/project-vite/{variables → config/variables}/THRESHOLD.md +2 -2
  224. package/api/@wtf/project-vite/schema/README.md +21 -0
  225. package/api/@wtf/project-vite/schema/variables/viteSchema.md +12 -0
  226. package/api/@wtf/project-vitest/README.md +26 -0
  227. package/api/@wtf/project-vitest/browser/functions/browserConfig.md +1 -1
  228. package/api/@wtf/project-vitest/browser/functions/browserRootConfig.md +1 -1
  229. package/api/@wtf/project-vitest/browser/type-aliases/BrowserOptions.md +3 -3
  230. package/api/@wtf/project-vitest/config/functions/integrationConfig.md +1 -1
  231. package/api/@wtf/project-vitest/config/functions/packageConfig.md +1 -1
  232. package/api/@wtf/project-vitest/config/functions/rootConfig.md +1 -1
  233. package/api/@wtf/project-vitest/config/type-aliases/RootConfigOptions.md +2 -2
  234. package/api/@wtf/project-vitest/config/type-aliases/RootOptions.md +7 -7
  235. package/api/@wtf/project-vitest/config/variables/FROM_DIST.md +1 -1
  236. package/api/@wtf/project-vitest/config/variables/GUARD_TIMEOUT.md +1 -1
  237. package/api/@wtf/project-vitest/config/variables/integration.md +9 -9
  238. package/api/@wtf/project-vitest/process/functions/childEnv.md +1 -1
  239. package/api/@wtf/project-vitest/process/type-aliases/Env.md +1 -1
  240. package/api/@wtf/project-vitest/schema/README.md +22 -0
  241. package/api/@wtf/project-vitest/schema/variables/vitestSchema.md +13 -0
  242. package/api/@wtf/project-vitest/storybook/functions/storybookConfig.md +1 -1
  243. package/api/@wtf/project-vitest/storybook/type-aliases/StorybookOptions.md +2 -2
  244. package/api/@wtf/project-wpt/README.md +44 -0
  245. package/api/@wtf/project-wpt/builtins/functions/builtins.md +1 -1
  246. package/api/@wtf/project-wpt/builtins/functions/intrinsics.md +1 -1
  247. package/api/@wtf/project-wpt/checkout/functions/checkoutFolderOf.md +1 -1
  248. package/api/@wtf/project-wpt/checkout/functions/checkoutTests.md +1 -1
  249. package/api/@wtf/project-wpt/checkout/functions/checkoutWpt.md +1 -1
  250. package/api/@wtf/project-wpt/checkout/functions/fileOf.md +1 -1
  251. package/api/@wtf/project-wpt/checkout/type-aliases/CheckedOutTests.md +3 -3
  252. package/api/@wtf/project-wpt/checkout/type-aliases/CheckoutOptions.md +8 -8
  253. package/api/@wtf/project-wpt/checkout/type-aliases/CheckoutTestsOptions.md +2 -2
  254. package/api/@wtf/project-wpt/checkout/variables/HARNESS.md +1 -1
  255. package/api/@wtf/project-wpt/checkout/variables/REWRITES.md +1 -1
  256. package/api/@wtf/project-wpt/checkout/variables/WPT_REPOSITORY.md +1 -1
  257. package/api/@wtf/project-wpt/errors/classes/HarnessFailedError.md +4 -4
  258. package/api/@wtf/project-wpt/errors/classes/InvalidCommitError.md +4 -4
  259. package/api/@wtf/project-wpt/errors/classes/InvalidExpectationsError.md +4 -4
  260. package/api/@wtf/project-wpt/errors/classes/NoSuiteError.md +4 -4
  261. package/api/@wtf/project-wpt/errors/classes/NotInWptError.md +5 -5
  262. package/api/@wtf/project-wpt/errors/classes/StaleExpectationError.md +4 -4
  263. package/api/@wtf/project-wpt/errors/classes/SubtestFailedError.md +4 -4
  264. package/api/@wtf/project-wpt/errors/classes/UnexpectedPassError.md +4 -4
  265. package/api/@wtf/project-wpt/errors/classes/WptError.md +4 -4
  266. package/api/@wtf/project-wpt/errors/classes/WptFetchError.md +4 -4
  267. package/api/@wtf/project-wpt/expectations/functions/checkHarness.md +1 -1
  268. package/api/@wtf/project-wpt/expectations/functions/checkSubtest.md +1 -1
  269. package/api/@wtf/project-wpt/expectations/functions/expectationOf.md +1 -1
  270. package/api/@wtf/project-wpt/expectations/functions/expectationsIssues.md +1 -1
  271. package/api/@wtf/project-wpt/expectations/functions/readExpectations.md +1 -1
  272. package/api/@wtf/project-wpt/expectations/functions/staleOf.md +1 -1
  273. package/api/@wtf/project-wpt/expectations/type-aliases/ReadExpectations.md +3 -3
  274. package/api/@wtf/project-wpt/index/type-aliases/ClearTimeout.md +1 -1
  275. package/api/@wtf/project-wpt/index/type-aliases/CreateRealm.md +1 -1
  276. package/api/@wtf/project-wpt/index/type-aliases/Env.md +1 -1
  277. package/api/@wtf/project-wpt/index/type-aliases/Exec.md +1 -1
  278. package/api/@wtf/project-wpt/index/type-aliases/Expectations.md +1 -1
  279. package/api/@wtf/project-wpt/index/type-aliases/FileExpectation.md +4 -4
  280. package/api/@wtf/project-wpt/index/type-aliases/FileResult.md +4 -4
  281. package/api/@wtf/project-wpt/index/type-aliases/Globals.md +1 -1
  282. package/api/@wtf/project-wpt/index/type-aliases/HarnessResult.md +4 -4
  283. package/api/@wtf/project-wpt/index/type-aliases/HarnessStatus.md +1 -1
  284. package/api/@wtf/project-wpt/index/type-aliases/HoldRejections.md +1 -1
  285. package/api/@wtf/project-wpt/index/type-aliases/Performance.md +3 -3
  286. package/api/@wtf/project-wpt/index/type-aliases/Realm.md +3 -3
  287. package/api/@wtf/project-wpt/index/type-aliases/SetTimeout.md +1 -1
  288. package/api/@wtf/project-wpt/index/type-aliases/SubtestResult.md +5 -5
  289. package/api/@wtf/project-wpt/index/type-aliases/SubtestStatus.md +1 -1
  290. package/api/@wtf/project-wpt/index/type-aliases/WptFile.md +3 -3
  291. package/api/@wtf/project-wpt/index/type-aliases/WptFiles.md +9 -9
  292. package/api/@wtf/project-wpt/index/type-aliases/WptPaths.md +4 -4
  293. package/api/@wtf/project-wpt/index/type-aliases/WptPlatform.md +6 -6
  294. package/api/@wtf/project-wpt/index/type-aliases/WptSystem.md +6 -6
  295. package/api/@wtf/project-wpt/index/type-aliases/WptTest.md +3 -3
  296. package/api/@wtf/project-wpt/meta/functions/idOf.md +1 -1
  297. package/api/@wtf/project-wpt/meta/functions/metaOf.md +1 -1
  298. package/api/@wtf/project-wpt/meta/functions/runsOutsideWindow.md +1 -1
  299. package/api/@wtf/project-wpt/meta/functions/scriptPathsOf.md +1 -1
  300. package/api/@wtf/project-wpt/meta/functions/testsOf.md +1 -1
  301. package/api/@wtf/project-wpt/meta/type-aliases/Meta.md +6 -6
  302. package/api/@wtf/project-wpt/node/functions/nodePlatform.md +1 -1
  303. package/api/@wtf/project-wpt/node/functions/nodeSystem.md +1 -1
  304. package/api/@wtf/project-wpt/node/variables/nodeExec.md +1 -1
  305. package/api/@wtf/project-wpt/node/variables/nodeFiles.md +1 -1
  306. package/api/@wtf/project-wpt/node/variables/nodeRealm.md +1 -1
  307. package/api/@wtf/project-wpt/node/variables/nodeRejections.md +1 -1
  308. package/api/@wtf/project-wpt/run/functions/runTest.md +1 -1
  309. package/api/@wtf/project-wpt/run/type-aliases/RunOptions.md +8 -8
  310. package/api/@wtf/project-wpt/run/type-aliases/RunPlatform.md +1 -1
  311. package/api/@wtf/project-wpt/run/variables/LONG_TIMEOUT.md +1 -1
  312. package/api/@wtf/project-wpt/run/variables/TIMEOUT.md +1 -1
  313. package/api/@wtf/project-wpt/run/variables/WPT_ORIGIN.md +1 -1
  314. package/api/@wtf/project-wpt/schema/README.md +39 -0
  315. package/api/@wtf/project-wpt/schema/type-aliases/WptConfig.md +27 -0
  316. package/api/@wtf/project-wpt/schema/type-aliases/WptSuiteConfig.md +19 -0
  317. package/api/@wtf/project-wpt/schema/variables/wptSchema.md +13 -0
  318. package/api/@wtf/project-wpt/suite/functions/wptSuite.md +1 -1
  319. package/api/@wtf/project-wpt/suite/type-aliases/WptSuiteOptions.md +8 -8
  320. package/api/README.md +1 -0
  321. package/api/trains.json +3 -0
  322. package/guides/astro.md +37 -20
  323. package/guides/config.md +153 -0
  324. package/guides/presets.md +16 -0
  325. package/package.json +10 -9
  326. package/api/@wtf/project-oxfmt/variables/default.md +0 -19
  327. package/api/@wtf/project-oxlint/variables/default.md +0 -30
package/README.md CHANGED
@@ -7,6 +7,8 @@ workspace of TypeScript packages compiles, lints, formats, tests and documents w
7
7
  and configs, and lay out a package the presets fit.
8
8
  - [The presets](guides/presets.md): extend the shared TypeScript, oxlint, oxfmt and TypeDoc configs,
9
9
  and see what each one sets.
10
+ - [Configuration](guides/config.md): keep the settings of a project's tools in one `wtf` config,
11
+ with the environment over it, and hand each tool its section.
10
12
  - [The tests](guides/vitest.md): run the tests from source or from the build, with coverage, in a
11
13
  browser, as Storybook stories, and against the Web Platform Tests.
12
14
  - [Testing](guides/testing.md): run every suite from the source on your machine and from the
package/api/.generated CHANGED
@@ -36,11 +36,14 @@
36
36
  @wtf/project-astro/preview/functions/listen.md
37
37
  @wtf/project-astro/preview/functions/notFound.md
38
38
  @wtf/project-astro/preview/functions/pagesOf.md
39
+ @wtf/project-astro/preview/functions/previewOf.md
39
40
  @wtf/project-astro/preview/type-aliases/FilesOptions.md
40
41
  @wtf/project-astro/preview/type-aliases/Handler.md
41
42
  @wtf/project-astro/preview/type-aliases/ListenOptions.md
42
43
  @wtf/project-astro/preview/type-aliases/Listening.md
43
44
  @wtf/project-astro/preview/type-aliases/Pages.md
45
+ @wtf/project-astro/preview/type-aliases/Preview.md
46
+ @wtf/project-astro/preview/type-aliases/PreviewOptions.md
44
47
  @wtf/project-astro/redirects/README.md
45
48
  @wtf/project-astro/redirects/functions/formatRedirects.md
46
49
  @wtf/project-astro/redirects/functions/matchRedirect.md
@@ -48,10 +51,118 @@
48
51
  @wtf/project-astro/redirects/variables/MAX_PARTS.md
49
52
  @wtf/project-astro/redirects/variables/MAX_RULES.md
50
53
  @wtf/project-astro/redirects/variables/MAX_SIZE.md
54
+ @wtf/project-astro/schema/README.md
55
+ @wtf/project-astro/schema/variables/astroSchema.md
56
+ @wtf/project-config/README.md
57
+ @wtf/project-config/define/README.md
58
+ @wtf/project-config/define/functions/defineConfig.md
59
+ @wtf/project-config/env/README.md
60
+ @wtf/project-config/env/functions/envNameOf.md
61
+ @wtf/project-config/env/functions/envPrefixOf.md
62
+ @wtf/project-config/env/functions/jsonSchemaOf.md
63
+ @wtf/project-config/env/functions/variablesOf.md
64
+ @wtf/project-config/env/functions/withEnvironment.md
65
+ @wtf/project-config/env/type-aliases/Environment.md
66
+ @wtf/project-config/env/type-aliases/EnvironmentValue.md
67
+ @wtf/project-config/env/type-aliases/WithEnvironment.md
68
+ @wtf/project-config/errors/README.md
69
+ @wtf/project-config/errors/classes/ConfigError.md
70
+ @wtf/project-config/errors/classes/ConfigFileMismatchError.md
71
+ @wtf/project-config/errors/classes/ConfigInCodeError.md
72
+ @wtf/project-config/errors/classes/ConfigPathError.md
73
+ @wtf/project-config/errors/classes/EnvPlaceholderUnsetError.md
74
+ @wtf/project-config/errors/classes/InvalidConfigFileError.md
75
+ @wtf/project-config/errors/classes/InvalidSectionError.md
76
+ @wtf/project-config/errors/classes/NoConfigFileError.md
77
+ @wtf/project-config/errors/classes/NoConfigValueError.md
78
+ @wtf/project-config/errors/classes/SyncConfigInCodeError.md
79
+ @wtf/project-config/errors/classes/SyncSchemaError.md
80
+ @wtf/project-config/errors/classes/UnwritableConfigFileError.md
81
+ @wtf/project-config/index/README.md
82
+ @wtf/project-config/index/type-aliases/ConfigDefaults.md
83
+ @wtf/project-config/index/type-aliases/ConfigEnvironment.md
84
+ @wtf/project-config/index/type-aliases/ConfigIssue.md
85
+ @wtf/project-config/index/type-aliases/ConfigNames.md
86
+ @wtf/project-config/index/type-aliases/ConfigPath.md
87
+ @wtf/project-config/index/type-aliases/ConfigPlatform.md
88
+ @wtf/project-config/index/type-aliases/ConfigSection.md
89
+ @wtf/project-config/index/type-aliases/ConfigSource.md
90
+ @wtf/project-config/index/type-aliases/ConfigSyncPlatform.md
91
+ @wtf/project-config/index/type-aliases/ConfigWrite.md
92
+ @wtf/project-config/index/type-aliases/ImportModule.md
93
+ @wtf/project-config/index/type-aliases/JsonSchema.md
94
+ @wtf/project-config/index/type-aliases/LocatedConfig.md
95
+ @wtf/project-config/index/type-aliases/NamespaceConfig.md
96
+ @wtf/project-config/index/type-aliases/ResolvedConfig.md
97
+ @wtf/project-config/index/type-aliases/SectionSchema.md
98
+ @wtf/project-config/index/type-aliases/SectionsOf.md
99
+ @wtf/project-config/index/type-aliases/SyncFiles.md
100
+ @wtf/project-config/index/type-aliases/ValidateSection.md
101
+ @wtf/project-config/load/README.md
102
+ @wtf/project-config/load/functions/ignoredWarning.md
103
+ @wtf/project-config/load/functions/importFileModule.md
104
+ @wtf/project-config/load/functions/loadConfig.md
105
+ @wtf/project-config/load/functions/loadConfigSync.md
106
+ @wtf/project-config/load/type-aliases/LoadLayers.md
107
+ @wtf/project-config/load/type-aliases/LoadOptions.md
108
+ @wtf/project-config/load/type-aliases/LoadSyncOptions.md
109
+ @wtf/project-config/locate/README.md
110
+ @wtf/project-config/locate/functions/configFilesOf.md
111
+ @wtf/project-config/locate/functions/configNamesOf.md
112
+ @wtf/project-config/locate/functions/jsonFilesOf.md
113
+ @wtf/project-config/locate/functions/locateConfig.md
114
+ @wtf/project-config/locate/functions/locateConfigSync.md
115
+ @wtf/project-config/locate/functions/projectRootOf.md
116
+ @wtf/project-config/locate/functions/projectRootOfSync.md
117
+ @wtf/project-config/locate/type-aliases/LocateNames.md
118
+ @wtf/project-config/locate/type-aliases/LocateOptions.md
119
+ @wtf/project-config/locate/type-aliases/LocateSyncOptions.md
120
+ @wtf/project-config/locate/type-aliases/NamespaceNames.md
121
+ @wtf/project-config/locate/variables/DEFAULT_NAMESPACE.md
122
+ @wtf/project-config/node/README.md
123
+ @wtf/project-config/node/functions/loadConfig.md
124
+ @wtf/project-config/node/functions/loadConfigSync.md
125
+ @wtf/project-config/node/functions/nodeConfigPlatform.md
126
+ @wtf/project-config/node/functions/nodeSyncPlatform.md
127
+ @wtf/project-config/path/README.md
128
+ @wtf/project-config/path/functions/configPathOf.md
129
+ @wtf/project-config/path/functions/textOfConfigPath.md
130
+ @wtf/project-config/path/functions/valueAt.md
131
+ @wtf/project-config/placeholder/README.md
132
+ @wtf/project-config/placeholder/functions/expandPlaceholders.md
133
+ @wtf/project-config/placeholder/functions/expandString.md
134
+ @wtf/project-config/schema/README.md
135
+ @wtf/project-config/schema/functions/namespaceSchema.md
136
+ @wtf/project-config/schema/functions/sectionIdOf.md
137
+ @wtf/project-config/schema/type-aliases/NamespaceSchemaOptions.md
138
+ @wtf/project-config/schema/variables/JSON_SCHEMA_DRAFT.md
139
+ @wtf/project-config/section/README.md
140
+ @wtf/project-config/section/functions/issuesOf.md
141
+ @wtf/project-config/section/functions/issuesOfSync.md
142
+ @wtf/project-config/section/functions/mergeSection.md
143
+ @wtf/project-config/section/functions/sectionOf.md
144
+ @wtf/project-config/section/functions/sectionOfSync.md
145
+ @wtf/project-config/section/type-aliases/Checked.md
146
+ @wtf/project-config/write/README.md
147
+ @wtf/project-config/write/functions/setConfigValue.md
148
+ @wtf/project-config/write/functions/unsetConfigValue.md
149
+ @wtf/project-config/write/type-aliases/WriteOptions.md
51
150
  @wtf/project-oxfmt/README.md
52
- @wtf/project-oxfmt/variables/default.md
151
+ @wtf/project-oxfmt/config/README.md
152
+ @wtf/project-oxfmt/config/functions/oxfmtConfig.md
153
+ @wtf/project-oxfmt/config/type-aliases/OxfmtOptions.md
154
+ @wtf/project-oxfmt/config/variables/OXFMT_DEFAULTS.md
155
+ @wtf/project-oxfmt/config/variables/default.md
156
+ @wtf/project-oxfmt/schema/README.md
157
+ @wtf/project-oxfmt/schema/variables/oxfmtSchema.md
53
158
  @wtf/project-oxlint/README.md
54
- @wtf/project-oxlint/variables/default.md
159
+ @wtf/project-oxlint/config/README.md
160
+ @wtf/project-oxlint/config/functions/oxlintConfig.md
161
+ @wtf/project-oxlint/config/type-aliases/OxlintOptions.md
162
+ @wtf/project-oxlint/config/variables/OXLINT_DEFAULTS.md
163
+ @wtf/project-oxlint/config/variables/default.md
164
+ @wtf/project-oxlint/schema/README.md
165
+ @wtf/project-oxlint/schema/variables/oxlintSchema.md
55
166
  @wtf/project-resolve/README.md
56
167
  @wtf/project-resolve/condition/README.md
57
168
  @wtf/project-resolve/condition/variables/SOURCE_CONDITION.md
@@ -110,17 +221,22 @@
110
221
  @wtf/project-typedoc/plugins/type-aliases/PreventMediaFilesOptions.md
111
222
  @wtf/project-typedoc/plugins/type-aliases/Run.md
112
223
  @wtf/project-typedoc/plugins/type-aliases/TypedocPlugin.md
224
+ @wtf/project-typedoc/schema/README.md
225
+ @wtf/project-typedoc/schema/variables/typedocSchema.md
113
226
  @wtf/project-vite/README.md
114
- @wtf/project-vite/functions/baseConfig.md
115
- @wtf/project-vite/functions/buildsSite.md
116
- @wtf/project-vite/functions/compress.md
117
- @wtf/project-vite/functions/conditionsOf.md
118
- @wtf/project-vite/type-aliases/BaseOptions.md
119
- @wtf/project-vite/type-aliases/CompressOptions.md
120
- @wtf/project-vite/variables/CLIENT_CONDITIONS.md
121
- @wtf/project-vite/variables/COMPRESSIBLE.md
122
- @wtf/project-vite/variables/FROM_DIST.md
123
- @wtf/project-vite/variables/THRESHOLD.md
227
+ @wtf/project-vite/config/README.md
228
+ @wtf/project-vite/config/functions/baseConfig.md
229
+ @wtf/project-vite/config/functions/buildsSite.md
230
+ @wtf/project-vite/config/functions/compress.md
231
+ @wtf/project-vite/config/functions/conditionsOf.md
232
+ @wtf/project-vite/config/type-aliases/BaseOptions.md
233
+ @wtf/project-vite/config/type-aliases/CompressOptions.md
234
+ @wtf/project-vite/config/variables/CLIENT_CONDITIONS.md
235
+ @wtf/project-vite/config/variables/COMPRESSIBLE.md
236
+ @wtf/project-vite/config/variables/FROM_DIST.md
237
+ @wtf/project-vite/config/variables/THRESHOLD.md
238
+ @wtf/project-vite/schema/README.md
239
+ @wtf/project-vite/schema/variables/viteSchema.md
124
240
  @wtf/project-vitest/README.md
125
241
  @wtf/project-vitest/browser/README.md
126
242
  @wtf/project-vitest/browser/functions/browserConfig.md
@@ -138,6 +254,8 @@
138
254
  @wtf/project-vitest/process/README.md
139
255
  @wtf/project-vitest/process/functions/childEnv.md
140
256
  @wtf/project-vitest/process/type-aliases/Env.md
257
+ @wtf/project-vitest/schema/README.md
258
+ @wtf/project-vitest/schema/variables/vitestSchema.md
141
259
  @wtf/project-vitest/storybook/README.md
142
260
  @wtf/project-vitest/storybook/functions/storybookConfig.md
143
261
  @wtf/project-vitest/storybook/type-aliases/StorybookOptions.md
@@ -219,6 +337,10 @@
219
337
  @wtf/project-wpt/run/variables/LONG_TIMEOUT.md
220
338
  @wtf/project-wpt/run/variables/TIMEOUT.md
221
339
  @wtf/project-wpt/run/variables/WPT_ORIGIN.md
340
+ @wtf/project-wpt/schema/README.md
341
+ @wtf/project-wpt/schema/type-aliases/WptConfig.md
342
+ @wtf/project-wpt/schema/type-aliases/WptSuiteConfig.md
343
+ @wtf/project-wpt/schema/variables/wptSchema.md
222
344
  @wtf/project-wpt/suite/README.md
223
345
  @wtf/project-wpt/suite/functions/wptSuite.md
224
346
  @wtf/project-wpt/suite/type-aliases/WptSuiteOptions.md
@@ -5,18 +5,19 @@
5
5
  Build an Astro site that serves on GitLab Pages as it does on your machine, and try it before it
6
6
  ships. Start your `astro.config.mjs` from one base config. It builds each page where GitLab Pages
7
7
  finds it and gives each link the URL its page is served at. It fails the build on a link that leads
8
- to no page, or only through a redirect. `project-astro preview` serves the build the way GitLab
9
- Pages does, `_redirects` included. Astro is a peer dependency.
10
-
11
- | Subpath | What you get |
12
- | ------------- | -------------------------------------------------------------------------------------------------------------------------------------------------- |
13
- | `.` | The types: `RedirectRule`, `RedirectInput`, `IgnoredLine`, `Redirects`, `RedirectMatch`, `BrokenLink`, `RedirectedLink` |
14
- | `./config` | `baseConfig(options)`: the base of an `astro.config.mjs`; `siteOf(env)` and `baseOf(env)`, of the URL of GitLab Pages |
15
- | `./pages` | `pages()`: the integration that makes the build serve on GitLab Pages; its passes, `moveConflictingPages`, `slashFolderLinksIn`, `fixSearchUrlsIn` |
16
- | `./links` | `links()`: the integration that fails the build on a link of no page, or of a redirect; `brokenLinksIn`, `redirectedLinksIn` |
17
- | `./redirects` | `parseRedirects(text)`, `formatRedirects(rules)` and `matchRedirect(rules, path)`: a `_redirects` file read, written, matched |
18
- | `./preview` | `pagesOf(folder, base)`: a built site served as GitLab Pages serves it; `files`, `notFound`, and `listen` on Node's server |
19
- | `./errors` | `SiteError`, `BrokenLinksError`, `RedirectedLinksError` and `InvalidRedirectError`, each with a stable `code` |
8
+ to no page, or only through a redirect. `./preview` serves the build the way GitLab Pages does,
9
+ `_redirects` included, from a script of your own. Astro is a peer dependency.
10
+
11
+ | Subpath | What you get |
12
+ | ------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
13
+ | `.` | The types: `RedirectRule`, `RedirectInput`, `IgnoredLine`, `Redirects`, `RedirectMatch`, `BrokenLink`, `RedirectedLink` |
14
+ | `./config` | `baseConfig(options)`: the base of an `astro.config.mjs`; `siteOf(env)` and `baseOf(env)`, of the URL of GitLab Pages |
15
+ | `./pages` | `pages()`: the integration that makes the build serve on GitLab Pages; its passes, `moveConflictingPages`, `slashFolderLinksIn`, `fixSearchUrlsIn` |
16
+ | `./links` | `links()`: the integration that fails the build on a link of no page, or of a redirect; `brokenLinksIn`, `redirectedLinksIn` |
17
+ | `./redirects` | `parseRedirects(text)`, `formatRedirects(rules)` and `matchRedirect(rules, path)`: a `_redirects` file read, written, matched |
18
+ | `./preview` | `previewOf(folder, { base })`: a built folder to serve as GitLab Pages does, and its warnings; `listen`, on Node's server until its signal; `pagesOf`, `files`, `notFound` |
19
+ | `./schema` | `astroSchema`: the Standard Schema of the options of `baseConfig()`, which gives their JSON Schema |
20
+ | `./errors` | `SiteError`, `BrokenLinksError`, `RedirectedLinksError` and `InvalidRedirectError`, each with a stable `code` |
20
21
 
21
22
  ```ts
22
23
  // astro.config.mjs
@@ -29,10 +30,25 @@ export default defineConfig(
29
30
  )
30
31
  ```
31
32
 
32
- ```sh
33
- project-astro preview public --base /docs/
33
+ A script of ten lines serves the build as GitLab Pages does, under the base of `ASTRO_BASE` or
34
+ `CI_PAGES_URL`, until `Ctrl+C`, and warns of each line of `_redirects` GitLab Pages ignores:
35
+
36
+ ```ts
37
+ // scripts/preview.ts
38
+ import { listen, previewOf } from '@wtf/project-astro/preview'
39
+
40
+ const site = await previewOf('dist')
41
+ for (const warning of site.warnings) console.warn(warning)
42
+ const stop = new AbortController()
43
+ for (const signal of ['SIGINT', 'SIGTERM'] as const) process.once(signal, () => stop.abort())
44
+ const server = await listen(site.handler, { port: 4321, signal: stop.signal })
45
+ console.log(`Serving dist as GitLab Pages does at ${site.urlOf(server)}`)
46
+ await server.closed
34
47
  ```
35
48
 
49
+ Run it as `node scripts/preview.ts`, from a `preview` script of your package.json. Pass
50
+ `previewOf(folder, { base })` and `listen(handler, { host, port })` the flags of your own.
51
+
36
52
  ## What it sets
37
53
 
38
54
  `baseConfig()` gives your site:
@@ -55,6 +71,28 @@ Starlight's search indexed it. Each reads the folder of the build through a hand
55
71
  [File System Standard](https://fs.spec.whatwg.org/), on the disk by `@wtf/platform-fs-node`; you
56
72
  can run its passes on a folder in memory too.
57
73
 
74
+ ## From the wtf configuration
75
+
76
+ The config reads no file of its own. Keep the options of `baseConfig()` that JSON holds, `pages`,
77
+ `links` and `vite`, in the `astro` section of the repo's `wtf` configuration, load it with
78
+ [`@wtf/project-config`](../project-config/README.md), and spread the section in, checked by
79
+ `astroSchema`; the markdown plugins, which are code, you pass in code after it:
80
+
81
+ ```ts
82
+ // astro.config.mjs
83
+ import { loadConfig } from '@wtf/project-config/node'
84
+ import { sectionOf } from '@wtf/project-config/section'
85
+ import { baseConfig } from '@wtf/project-astro/config'
86
+ import { astroSchema } from '@wtf/project-astro/schema'
87
+
88
+ const config = await loadConfig()
89
+ export default baseConfig({ ...(await sectionOf(config, 'astro', astroSchema)) })
90
+ ```
91
+
92
+ ```json
93
+ { "astro": { "links": false, "vite": { "compress": false } } }
94
+ ```
95
+
58
96
  See [Astro sites](../../../guides/astro.md) in the guides.
59
97
 
60
98
  ## Modules
@@ -66,3 +104,4 @@ See [Astro sites](../../../guides/astro.md) in the guides.
66
104
  - [pages](pages/README.md)
67
105
  - [preview](preview/README.md)
68
106
  - [redirects](redirects/README.md)
107
+ - [schema](schema/README.md)
@@ -6,7 +6,7 @@
6
6
  function baseConfig(options?): AstroUserConfig;
7
7
  ```
8
8
 
9
- Defined in: [packages/project-astro/src/config.ts:81](https://gitlab.com/wetryfun/project/project/-/blob/docs-v1.1.0/packages/project-astro/src/config.ts#L81)
9
+ Defined in: [packages/project-astro/src/config.ts:81](https://gitlab.com/wetryfun/project/project/-/blob/docs-v2.0.0/packages/project-astro/src/config.ts#L81)
10
10
 
11
11
  The base config a site's `astro.config.mjs` starts from, by
12
12
  `mergeConfig(baseConfig(), yours)` of `astro/config`, which appends the site's integrations to
@@ -6,7 +6,7 @@
6
6
  function baseOf(env?): string | undefined;
7
7
  ```
8
8
 
9
- Defined in: [packages/project-astro/src/env.ts:35](https://gitlab.com/wetryfun/project/project/-/blob/docs-v1.1.0/packages/project-astro/src/env.ts#L35)
9
+ Defined in: [packages/project-astro/src/env.ts:35](https://gitlab.com/wetryfun/project/project/-/blob/docs-v2.0.0/packages/project-astro/src/env.ts#L35)
10
10
 
11
11
  The base of the site, of `ASTRO_BASE` or else `CI_PAGES_URL` of `env`: the path of the URL,
12
12
  with a slash at each end, such as `/project/` of `https://group.gitlab.io/project`. None, of
@@ -6,7 +6,7 @@
6
6
  function siteOf(env?): string | undefined;
7
7
  ```
8
8
 
9
- Defined in: [packages/project-astro/src/env.ts:25](https://gitlab.com/wetryfun/project/project/-/blob/docs-v1.1.0/packages/project-astro/src/env.ts#L25)
9
+ Defined in: [packages/project-astro/src/env.ts:25](https://gitlab.com/wetryfun/project/project/-/blob/docs-v2.0.0/packages/project-astro/src/env.ts#L25)
10
10
 
11
11
  The site's URL, of `ASTRO_BASE` or else `CI_PAGES_URL` of `env`: its origin, with a final
12
12
  slash, as Astro's `site` takes it, such as `https://group.gitlab.io/`. None, of neither.
@@ -6,7 +6,7 @@
6
6
  type BaseOptions = object;
7
7
  ```
8
8
 
9
- Defined in: [packages/project-astro/src/config.ts:39](https://gitlab.com/wetryfun/project/project/-/blob/docs-v1.1.0/packages/project-astro/src/config.ts#L39)
9
+ Defined in: [packages/project-astro/src/config.ts:39](https://gitlab.com/wetryfun/project/project/-/blob/docs-v2.0.0/packages/project-astro/src/config.ts#L39)
10
10
 
11
11
  What [baseConfig](../functions/baseConfig.md) takes.
12
12
 
@@ -18,7 +18,7 @@ What [baseConfig](../functions/baseConfig.md) takes.
18
18
  readonly optional env?: Env;
19
19
  ```
20
20
 
21
- Defined in: [packages/project-astro/src/config.ts:53](https://gitlab.com/wetryfun/project/project/-/blob/docs-v1.1.0/packages/project-astro/src/config.ts#L53)
21
+ Defined in: [packages/project-astro/src/config.ts:53](https://gitlab.com/wetryfun/project/project/-/blob/docs-v2.0.0/packages/project-astro/src/config.ts#L53)
22
22
 
23
23
  The environment the site and its base are read of: the process's own by default.
24
24
 
@@ -30,7 +30,7 @@ The environment the site and its base are read of: the process's own by default.
30
30
  readonly optional links?: boolean;
31
31
  ```
32
32
 
33
- Defined in: [packages/project-astro/src/config.ts:51](https://gitlab.com/wetryfun/project/project/-/blob/docs-v1.1.0/packages/project-astro/src/config.ts#L51)
33
+ Defined in: [packages/project-astro/src/config.ts:51](https://gitlab.com/wetryfun/project/project/-/blob/docs-v2.0.0/packages/project-astro/src/config.ts#L51)
34
34
 
35
35
  Whether the build fails on a link of no page, or of a redirect, by `links()` of `./links`: by
36
36
  default.
@@ -43,7 +43,7 @@ default.
43
43
  readonly optional markdown?: UnifiedProcessorOptions;
44
44
  ```
45
45
 
46
- Defined in: [packages/project-astro/src/config.ts:44](https://gitlab.com/wetryfun/project/project/-/blob/docs-v1.1.0/packages/project-astro/src/config.ts#L44)
46
+ Defined in: [packages/project-astro/src/config.ts:44](https://gitlab.com/wetryfun/project/project/-/blob/docs-v2.0.0/packages/project-astro/src/config.ts#L44)
47
47
 
48
48
  The options of the markdown processor, `unified()` of `@astrojs/markdown-remark`: its remark
49
49
  and rehype plugins, among the rest. None by default.
@@ -56,7 +56,7 @@ and rehype plugins, among the rest. None by default.
56
56
  readonly optional pages?: boolean;
57
57
  ```
58
58
 
59
- Defined in: [packages/project-astro/src/config.ts:48](https://gitlab.com/wetryfun/project/project/-/blob/docs-v1.1.0/packages/project-astro/src/config.ts#L48)
59
+ Defined in: [packages/project-astro/src/config.ts:48](https://gitlab.com/wetryfun/project/project/-/blob/docs-v2.0.0/packages/project-astro/src/config.ts#L48)
60
60
 
61
61
  Whether the build is made to serve on GitLab Pages, by `pages()` of `./pages`: by default.
62
62
 
@@ -68,6 +68,6 @@ Whether the build is made to serve on GitLab Pages, by `pages()` of `./pages`: b
68
68
  readonly optional vite?: BaseOptions;
69
69
  ```
70
70
 
71
- Defined in: [packages/project-astro/src/config.ts:46](https://gitlab.com/wetryfun/project/project/-/blob/docs-v1.1.0/packages/project-astro/src/config.ts#L46)
71
+ Defined in: [packages/project-astro/src/config.ts:46](https://gitlab.com/wetryfun/project/project/-/blob/docs-v2.0.0/packages/project-astro/src/config.ts#L46)
72
72
 
73
73
  The options of `baseConfig()` of `@wtf/project-vite/config`, as `{ compress: false }`.
@@ -6,6 +6,6 @@
6
6
  type Env = Readonly<Record<string, string | undefined>>;
7
7
  ```
8
8
 
9
- Defined in: [packages/project-astro/src/env.ts:10](https://gitlab.com/wetryfun/project/project/-/blob/docs-v1.1.0/packages/project-astro/src/env.ts#L10)
9
+ Defined in: [packages/project-astro/src/env.ts:10](https://gitlab.com/wetryfun/project/project/-/blob/docs-v2.0.0/packages/project-astro/src/env.ts#L10)
10
10
 
11
11
  An environment, as Node's `process.env` is.
@@ -2,7 +2,7 @@
2
2
 
3
3
  # Class: BrokenLinksError
4
4
 
5
- Defined in: [packages/project-astro/src/errors.ts:29](https://gitlab.com/wetryfun/project/project/-/blob/docs-v1.1.0/packages/project-astro/src/errors.ts#L29)
5
+ Defined in: [packages/project-astro/src/errors.ts:29](https://gitlab.com/wetryfun/project/project/-/blob/docs-v2.0.0/packages/project-astro/src/errors.ts#L29)
6
6
 
7
7
  Each internal link of a build that leads to no page, as GitLab Pages serves the build.
8
8
 
@@ -18,7 +18,7 @@ Each internal link of a build that leads to no page, as GitLab Pages serves the
18
18
  new BrokenLinksError(links): BrokenLinksError;
19
19
  ```
20
20
 
21
- Defined in: [packages/project-astro/src/errors.ts:33](https://gitlab.com/wetryfun/project/project/-/blob/docs-v1.1.0/packages/project-astro/src/errors.ts#L33)
21
+ Defined in: [packages/project-astro/src/errors.ts:33](https://gitlab.com/wetryfun/project/project/-/blob/docs-v2.0.0/packages/project-astro/src/errors.ts#L33)
22
22
 
23
23
  #### Parameters
24
24
 
@@ -39,9 +39,9 @@ Defined in: [packages/project-astro/src/errors.ts:33](https://gitlab.com/wetryfu
39
39
  | Property | Modifier | Type | Default value | Description | Inherited from | Defined in |
40
40
  | ------ | ------ | ------ | ------ | ------ | ------ | ------ |
41
41
  | <a id="property-cause"></a> `cause?` | `public` | `unknown` | `undefined` | - | [`SiteError`](SiteError.md).[`cause`](SiteError.md#property-cause) | - |
42
- | <a id="property-code"></a> `code` | `readonly` | `string` | `undefined` | - | [`SiteError`](SiteError.md).[`code`](SiteError.md#property-code) | [packages/project-astro/src/errors.ts:17](https://gitlab.com/wetryfun/project/project/-/blob/docs-v1.1.0/packages/project-astro/src/errors.ts#L17) |
43
- | <a id="property-exitcode"></a> `exitCode` | `readonly` | `number` | `1` | What a command that fails by it exits with. | [`SiteError`](SiteError.md).[`exitCode`](SiteError.md#property-exitcode) | [packages/project-astro/src/errors.ts:19](https://gitlab.com/wetryfun/project/project/-/blob/docs-v1.1.0/packages/project-astro/src/errors.ts#L19) |
44
- | <a id="property-links"></a> `links` | `readonly` | readonly [`BrokenLink`](../../index/type-aliases/BrokenLink.md)[] | `undefined` | The links, each with its page. | - | [packages/project-astro/src/errors.ts:31](https://gitlab.com/wetryfun/project/project/-/blob/docs-v1.1.0/packages/project-astro/src/errors.ts#L31) |
42
+ | <a id="property-code"></a> `code` | `readonly` | `string` | `undefined` | - | [`SiteError`](SiteError.md).[`code`](SiteError.md#property-code) | [packages/project-astro/src/errors.ts:17](https://gitlab.com/wetryfun/project/project/-/blob/docs-v2.0.0/packages/project-astro/src/errors.ts#L17) |
43
+ | <a id="property-exitcode"></a> `exitCode` | `readonly` | `number` | `1` | What a command that fails by it exits with. | [`SiteError`](SiteError.md).[`exitCode`](SiteError.md#property-exitcode) | [packages/project-astro/src/errors.ts:19](https://gitlab.com/wetryfun/project/project/-/blob/docs-v2.0.0/packages/project-astro/src/errors.ts#L19) |
44
+ | <a id="property-links"></a> `links` | `readonly` | readonly [`BrokenLink`](../../index/type-aliases/BrokenLink.md)[] | `undefined` | The links, each with its page. | - | [packages/project-astro/src/errors.ts:31](https://gitlab.com/wetryfun/project/project/-/blob/docs-v2.0.0/packages/project-astro/src/errors.ts#L31) |
45
45
  | <a id="property-message"></a> `message` | `public` | `string` | `undefined` | - | [`SiteError`](SiteError.md).[`message`](SiteError.md#property-message) | - |
46
46
  | <a id="property-name"></a> `name` | `public` | `string` | `undefined` | - | [`SiteError`](SiteError.md).[`name`](SiteError.md#property-name) | - |
47
47
  | <a id="property-stack"></a> `stack?` | `public` | `string` | `undefined` | - | [`SiteError`](SiteError.md).[`stack`](SiteError.md#property-stack) | - |
@@ -2,7 +2,7 @@
2
2
 
3
3
  # Class: InvalidRedirectError
4
4
 
5
- Defined in: [packages/project-astro/src/errors.ts:64](https://gitlab.com/wetryfun/project/project/-/blob/docs-v1.1.0/packages/project-astro/src/errors.ts#L64)
5
+ Defined in: [packages/project-astro/src/errors.ts:64](https://gitlab.com/wetryfun/project/project/-/blob/docs-v2.0.0/packages/project-astro/src/errors.ts#L64)
6
6
 
7
7
  A rule of `_redirects` that GitLab Pages would ignore, and why, as it is written.
8
8
 
@@ -18,7 +18,7 @@ A rule of `_redirects` that GitLab Pages would ignore, and why, as it is written
18
18
  new InvalidRedirectError(rule, reason): InvalidRedirectError;
19
19
  ```
20
20
 
21
- Defined in: [packages/project-astro/src/errors.ts:70](https://gitlab.com/wetryfun/project/project/-/blob/docs-v1.1.0/packages/project-astro/src/errors.ts#L70)
21
+ Defined in: [packages/project-astro/src/errors.ts:70](https://gitlab.com/wetryfun/project/project/-/blob/docs-v2.0.0/packages/project-astro/src/errors.ts#L70)
22
22
 
23
23
  #### Parameters
24
24
 
@@ -40,12 +40,12 @@ Defined in: [packages/project-astro/src/errors.ts:70](https://gitlab.com/wetryfu
40
40
  | Property | Modifier | Type | Default value | Description | Inherited from | Defined in |
41
41
  | ------ | ------ | ------ | ------ | ------ | ------ | ------ |
42
42
  | <a id="property-cause"></a> `cause?` | `public` | `unknown` | `undefined` | - | [`SiteError`](SiteError.md).[`cause`](SiteError.md#property-cause) | - |
43
- | <a id="property-code"></a> `code` | `readonly` | `string` | `undefined` | - | [`SiteError`](SiteError.md).[`code`](SiteError.md#property-code) | [packages/project-astro/src/errors.ts:17](https://gitlab.com/wetryfun/project/project/-/blob/docs-v1.1.0/packages/project-astro/src/errors.ts#L17) |
44
- | <a id="property-exitcode"></a> `exitCode` | `readonly` | `number` | `1` | What a command that fails by it exits with. | [`SiteError`](SiteError.md).[`exitCode`](SiteError.md#property-exitcode) | [packages/project-astro/src/errors.ts:19](https://gitlab.com/wetryfun/project/project/-/blob/docs-v1.1.0/packages/project-astro/src/errors.ts#L19) |
43
+ | <a id="property-code"></a> `code` | `readonly` | `string` | `undefined` | - | [`SiteError`](SiteError.md).[`code`](SiteError.md#property-code) | [packages/project-astro/src/errors.ts:17](https://gitlab.com/wetryfun/project/project/-/blob/docs-v2.0.0/packages/project-astro/src/errors.ts#L17) |
44
+ | <a id="property-exitcode"></a> `exitCode` | `readonly` | `number` | `1` | What a command that fails by it exits with. | [`SiteError`](SiteError.md).[`exitCode`](SiteError.md#property-exitcode) | [packages/project-astro/src/errors.ts:19](https://gitlab.com/wetryfun/project/project/-/blob/docs-v2.0.0/packages/project-astro/src/errors.ts#L19) |
45
45
  | <a id="property-message"></a> `message` | `public` | `string` | `undefined` | - | [`SiteError`](SiteError.md).[`message`](SiteError.md#property-message) | - |
46
46
  | <a id="property-name"></a> `name` | `public` | `string` | `undefined` | - | [`SiteError`](SiteError.md).[`name`](SiteError.md#property-name) | - |
47
- | <a id="property-reason"></a> `reason` | `readonly` | `string` | `undefined` | Why GitLab Pages would ignore it. | - | [packages/project-astro/src/errors.ts:68](https://gitlab.com/wetryfun/project/project/-/blob/docs-v1.1.0/packages/project-astro/src/errors.ts#L68) |
48
- | <a id="property-rule"></a> `rule` | `readonly` | `string` | `undefined` | The rule, as a line of the file, or what is too much of the file. | - | [packages/project-astro/src/errors.ts:66](https://gitlab.com/wetryfun/project/project/-/blob/docs-v1.1.0/packages/project-astro/src/errors.ts#L66) |
47
+ | <a id="property-reason"></a> `reason` | `readonly` | `string` | `undefined` | Why GitLab Pages would ignore it. | - | [packages/project-astro/src/errors.ts:68](https://gitlab.com/wetryfun/project/project/-/blob/docs-v2.0.0/packages/project-astro/src/errors.ts#L68) |
48
+ | <a id="property-rule"></a> `rule` | `readonly` | `string` | `undefined` | The rule, as a line of the file, or what is too much of the file. | - | [packages/project-astro/src/errors.ts:66](https://gitlab.com/wetryfun/project/project/-/blob/docs-v2.0.0/packages/project-astro/src/errors.ts#L66) |
49
49
  | <a id="property-stack"></a> `stack?` | `public` | `string` | `undefined` | - | [`SiteError`](SiteError.md).[`stack`](SiteError.md#property-stack) | - |
50
50
  | <a id="property-stacktracelimit"></a> `stackTraceLimit` | `static` | `number` | `undefined` | The `Error.stackTraceLimit` property specifies the number of stack frames collected by a stack trace (whether generated by `new Error().stack` or `Error.captureStackTrace(obj)`). The default value is `10` but may be set to any valid JavaScript number. Changes will affect any stack trace captured _after_ the value has been changed. If set to a non-number value, or set to a negative number, stack traces will not capture any frames. | [`SiteError`](SiteError.md).[`stackTraceLimit`](SiteError.md#property-stacktracelimit) | - |
51
51
 
@@ -2,7 +2,7 @@
2
2
 
3
3
  # Class: RedirectedLinksError
4
4
 
5
- Defined in: [packages/project-astro/src/errors.ts:48](https://gitlab.com/wetryfun/project/project/-/blob/docs-v1.1.0/packages/project-astro/src/errors.ts#L48)
5
+ Defined in: [packages/project-astro/src/errors.ts:48](https://gitlab.com/wetryfun/project/project/-/blob/docs-v2.0.0/packages/project-astro/src/errors.ts#L48)
6
6
 
7
7
  Each internal link of a build that leads to its page only through a redirect, which costs each
8
8
  reader a round trip: link to where it leads instead.
@@ -19,7 +19,7 @@ reader a round trip: link to where it leads instead.
19
19
  new RedirectedLinksError(links): RedirectedLinksError;
20
20
  ```
21
21
 
22
- Defined in: [packages/project-astro/src/errors.ts:52](https://gitlab.com/wetryfun/project/project/-/blob/docs-v1.1.0/packages/project-astro/src/errors.ts#L52)
22
+ Defined in: [packages/project-astro/src/errors.ts:52](https://gitlab.com/wetryfun/project/project/-/blob/docs-v2.0.0/packages/project-astro/src/errors.ts#L52)
23
23
 
24
24
  #### Parameters
25
25
 
@@ -40,9 +40,9 @@ Defined in: [packages/project-astro/src/errors.ts:52](https://gitlab.com/wetryfu
40
40
  | Property | Modifier | Type | Default value | Description | Inherited from | Defined in |
41
41
  | ------ | ------ | ------ | ------ | ------ | ------ | ------ |
42
42
  | <a id="property-cause"></a> `cause?` | `public` | `unknown` | `undefined` | - | [`SiteError`](SiteError.md).[`cause`](SiteError.md#property-cause) | - |
43
- | <a id="property-code"></a> `code` | `readonly` | `string` | `undefined` | - | [`SiteError`](SiteError.md).[`code`](SiteError.md#property-code) | [packages/project-astro/src/errors.ts:17](https://gitlab.com/wetryfun/project/project/-/blob/docs-v1.1.0/packages/project-astro/src/errors.ts#L17) |
44
- | <a id="property-exitcode"></a> `exitCode` | `readonly` | `number` | `1` | What a command that fails by it exits with. | [`SiteError`](SiteError.md).[`exitCode`](SiteError.md#property-exitcode) | [packages/project-astro/src/errors.ts:19](https://gitlab.com/wetryfun/project/project/-/blob/docs-v1.1.0/packages/project-astro/src/errors.ts#L19) |
45
- | <a id="property-links"></a> `links` | `readonly` | readonly [`RedirectedLink`](../../index/type-aliases/RedirectedLink.md)[] | `undefined` | The links, each with its page and where it leads. | - | [packages/project-astro/src/errors.ts:50](https://gitlab.com/wetryfun/project/project/-/blob/docs-v1.1.0/packages/project-astro/src/errors.ts#L50) |
43
+ | <a id="property-code"></a> `code` | `readonly` | `string` | `undefined` | - | [`SiteError`](SiteError.md).[`code`](SiteError.md#property-code) | [packages/project-astro/src/errors.ts:17](https://gitlab.com/wetryfun/project/project/-/blob/docs-v2.0.0/packages/project-astro/src/errors.ts#L17) |
44
+ | <a id="property-exitcode"></a> `exitCode` | `readonly` | `number` | `1` | What a command that fails by it exits with. | [`SiteError`](SiteError.md).[`exitCode`](SiteError.md#property-exitcode) | [packages/project-astro/src/errors.ts:19](https://gitlab.com/wetryfun/project/project/-/blob/docs-v2.0.0/packages/project-astro/src/errors.ts#L19) |
45
+ | <a id="property-links"></a> `links` | `readonly` | readonly [`RedirectedLink`](../../index/type-aliases/RedirectedLink.md)[] | `undefined` | The links, each with its page and where it leads. | - | [packages/project-astro/src/errors.ts:50](https://gitlab.com/wetryfun/project/project/-/blob/docs-v2.0.0/packages/project-astro/src/errors.ts#L50) |
46
46
  | <a id="property-message"></a> `message` | `public` | `string` | `undefined` | - | [`SiteError`](SiteError.md).[`message`](SiteError.md#property-message) | - |
47
47
  | <a id="property-name"></a> `name` | `public` | `string` | `undefined` | - | [`SiteError`](SiteError.md).[`name`](SiteError.md#property-name) | - |
48
48
  | <a id="property-stack"></a> `stack?` | `public` | `string` | `undefined` | - | [`SiteError`](SiteError.md).[`stack`](SiteError.md#property-stack) | - |
@@ -2,7 +2,7 @@
2
2
 
3
3
  # Class: SiteError
4
4
 
5
- Defined in: [packages/project-astro/src/errors.ts:16](https://gitlab.com/wetryfun/project/project/-/blob/docs-v1.1.0/packages/project-astro/src/errors.ts#L16)
5
+ Defined in: [packages/project-astro/src/errors.ts:16](https://gitlab.com/wetryfun/project/project/-/blob/docs-v2.0.0/packages/project-astro/src/errors.ts#L16)
6
6
 
7
7
  What this package throws: an Error with a stable SCREAMING_SNAKE `code` to match on in place of
8
8
  its message, and the `exitCode` a command that fails by it exits with, 1.
@@ -29,7 +29,7 @@ new SiteError(
29
29
  ): SiteError;
30
30
  ```
31
31
 
32
- Defined in: [packages/project-astro/src/errors.ts:21](https://gitlab.com/wetryfun/project/project/-/blob/docs-v1.1.0/packages/project-astro/src/errors.ts#L21)
32
+ Defined in: [packages/project-astro/src/errors.ts:21](https://gitlab.com/wetryfun/project/project/-/blob/docs-v2.0.0/packages/project-astro/src/errors.ts#L21)
33
33
 
34
34
  #### Parameters
35
35
 
@@ -54,8 +54,8 @@ Error.constructor
54
54
  | Property | Modifier | Type | Default value | Description | Inherited from | Defined in |
55
55
  | ------ | ------ | ------ | ------ | ------ | ------ | ------ |
56
56
  | <a id="property-cause"></a> `cause?` | `public` | `unknown` | `undefined` | - | `Error.cause` | - |
57
- | <a id="property-code"></a> `code` | `readonly` | `string` | `undefined` | - | - | [packages/project-astro/src/errors.ts:17](https://gitlab.com/wetryfun/project/project/-/blob/docs-v1.1.0/packages/project-astro/src/errors.ts#L17) |
58
- | <a id="property-exitcode"></a> `exitCode` | `readonly` | `number` | `1` | What a command that fails by it exits with. | - | [packages/project-astro/src/errors.ts:19](https://gitlab.com/wetryfun/project/project/-/blob/docs-v1.1.0/packages/project-astro/src/errors.ts#L19) |
57
+ | <a id="property-code"></a> `code` | `readonly` | `string` | `undefined` | - | - | [packages/project-astro/src/errors.ts:17](https://gitlab.com/wetryfun/project/project/-/blob/docs-v2.0.0/packages/project-astro/src/errors.ts#L17) |
58
+ | <a id="property-exitcode"></a> `exitCode` | `readonly` | `number` | `1` | What a command that fails by it exits with. | - | [packages/project-astro/src/errors.ts:19](https://gitlab.com/wetryfun/project/project/-/blob/docs-v2.0.0/packages/project-astro/src/errors.ts#L19) |
59
59
  | <a id="property-message"></a> `message` | `public` | `string` | `undefined` | - | `Error.message` | - |
60
60
  | <a id="property-name"></a> `name` | `public` | `string` | `undefined` | - | `Error.name` | - |
61
61
  | <a id="property-stack"></a> `stack?` | `public` | `string` | `undefined` | - | `Error.stack` | - |
@@ -6,7 +6,7 @@
6
6
  type BrokenLink = object;
7
7
  ```
8
8
 
9
- Defined in: [packages/project-astro/src/index.ts:66](https://gitlab.com/wetryfun/project/project/-/blob/docs-v1.1.0/packages/project-astro/src/index.ts#L66)
9
+ Defined in: [packages/project-astro/src/index.ts:66](https://gitlab.com/wetryfun/project/project/-/blob/docs-v2.0.0/packages/project-astro/src/index.ts#L66)
10
10
 
11
11
  An internal link of a built page that leads to no page.
12
12
 
@@ -18,7 +18,7 @@ An internal link of a built page that leads to no page.
18
18
  readonly href: string;
19
19
  ```
20
20
 
21
- Defined in: [packages/project-astro/src/index.ts:70](https://gitlab.com/wetryfun/project/project/-/blob/docs-v1.1.0/packages/project-astro/src/index.ts#L70)
21
+ Defined in: [packages/project-astro/src/index.ts:70](https://gitlab.com/wetryfun/project/project/-/blob/docs-v2.0.0/packages/project-astro/src/index.ts#L70)
22
22
 
23
23
  The link, as the page's `href` writes it.
24
24
 
@@ -30,6 +30,6 @@ The link, as the page's `href` writes it.
30
30
  readonly page: string;
31
31
  ```
32
32
 
33
- Defined in: [packages/project-astro/src/index.ts:68](https://gitlab.com/wetryfun/project/project/-/blob/docs-v1.1.0/packages/project-astro/src/index.ts#L68)
33
+ Defined in: [packages/project-astro/src/index.ts:68](https://gitlab.com/wetryfun/project/project/-/blob/docs-v2.0.0/packages/project-astro/src/index.ts#L68)
34
34
 
35
35
  The page, from the folder of the build, such as `/en/blog/hello.html`.
@@ -6,7 +6,7 @@
6
6
  type IgnoredLine = object;
7
7
  ```
8
8
 
9
- Defined in: [packages/project-astro/src/index.ts:40](https://gitlab.com/wetryfun/project/project/-/blob/docs-v1.1.0/packages/project-astro/src/index.ts#L40)
9
+ Defined in: [packages/project-astro/src/index.ts:40](https://gitlab.com/wetryfun/project/project/-/blob/docs-v2.0.0/packages/project-astro/src/index.ts#L40)
10
10
 
11
11
  A line of a `_redirects` file that is no rule GitLab Pages supports, and why.
12
12
 
@@ -18,7 +18,7 @@ A line of a `_redirects` file that is no rule GitLab Pages supports, and why.
18
18
  readonly line: number;
19
19
  ```
20
20
 
21
- Defined in: [packages/project-astro/src/index.ts:42](https://gitlab.com/wetryfun/project/project/-/blob/docs-v1.1.0/packages/project-astro/src/index.ts#L42)
21
+ Defined in: [packages/project-astro/src/index.ts:42](https://gitlab.com/wetryfun/project/project/-/blob/docs-v2.0.0/packages/project-astro/src/index.ts#L42)
22
22
 
23
23
  The line, from 1; `0` for the whole file.
24
24
 
@@ -30,7 +30,7 @@ The line, from 1; `0` for the whole file.
30
30
  readonly reason: string;
31
31
  ```
32
32
 
33
- Defined in: [packages/project-astro/src/index.ts:46](https://gitlab.com/wetryfun/project/project/-/blob/docs-v1.1.0/packages/project-astro/src/index.ts#L46)
33
+ Defined in: [packages/project-astro/src/index.ts:46](https://gitlab.com/wetryfun/project/project/-/blob/docs-v2.0.0/packages/project-astro/src/index.ts#L46)
34
34
 
35
35
  Why GitLab Pages ignores it, and what it supports instead.
36
36
 
@@ -42,6 +42,6 @@ Why GitLab Pages ignores it, and what it supports instead.
42
42
  readonly text: string;
43
43
  ```
44
44
 
45
- Defined in: [packages/project-astro/src/index.ts:44](https://gitlab.com/wetryfun/project/project/-/blob/docs-v1.1.0/packages/project-astro/src/index.ts#L44)
45
+ Defined in: [packages/project-astro/src/index.ts:44](https://gitlab.com/wetryfun/project/project/-/blob/docs-v2.0.0/packages/project-astro/src/index.ts#L44)
46
46
 
47
47
  The text of the line, trimmed; empty for the whole file.
@@ -6,7 +6,7 @@
6
6
  type RedirectInput = Pick<RedirectRule, "from" | "to"> & object;
7
7
  ```
8
8
 
9
- Defined in: [packages/project-astro/src/index.ts:34](https://gitlab.com/wetryfun/project/project/-/blob/docs-v1.1.0/packages/project-astro/src/index.ts#L34)
9
+ Defined in: [packages/project-astro/src/index.ts:34](https://gitlab.com/wetryfun/project/project/-/blob/docs-v2.0.0/packages/project-astro/src/index.ts#L34)
10
10
 
11
11
  A rule to write into a `_redirects` file: its status `301` by default, and of no line.
12
12
 
@@ -14,4 +14,4 @@ A rule to write into a `_redirects` file: its status `301` by default, and of no
14
14
 
15
15
  | Name | Type | Description | Defined in |
16
16
  | ------ | ------ | ------ | ------ |
17
- | `status?` | [`RedirectStatus`](RedirectStatus.md) | What the rule answers with: `301` by default, as GitLab Pages reads a rule of none. | [packages/project-astro/src/index.ts:36](https://gitlab.com/wetryfun/project/project/-/blob/docs-v1.1.0/packages/project-astro/src/index.ts#L36) |
17
+ | `status?` | [`RedirectStatus`](RedirectStatus.md) | What the rule answers with: `301` by default, as GitLab Pages reads a rule of none. | [packages/project-astro/src/index.ts:36](https://gitlab.com/wetryfun/project/project/-/blob/docs-v2.0.0/packages/project-astro/src/index.ts#L36) |