@wtf/project-docs 2.3.1 → 3.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 (374) hide show
  1. package/api/.generated +15 -13
  2. package/api/@wtf/project-astro/README.md +42 -25
  3. package/api/@wtf/project-astro/config/README.md +9 -1
  4. package/api/@wtf/project-astro/config/functions/baseConfig.md +10 -6
  5. package/api/@wtf/project-astro/config/functions/baseOf.md +5 -5
  6. package/api/@wtf/project-astro/config/functions/siteOf.md +5 -5
  7. package/api/@wtf/project-astro/config/type-aliases/BaseOptions.md +21 -19
  8. package/api/@wtf/project-astro/config/type-aliases/Env.md +3 -3
  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/README.md +3 -1
  14. package/api/@wtf/project-astro/index/type-aliases/AstroPlatform.md +15 -0
  15. package/api/@wtf/project-astro/index/type-aliases/BrokenLink.md +3 -3
  16. package/api/@wtf/project-astro/index/type-aliases/IgnoredLine.md +4 -4
  17. package/api/@wtf/project-astro/index/type-aliases/RedirectInput.md +2 -2
  18. package/api/@wtf/project-astro/index/type-aliases/RedirectMatch.md +3 -3
  19. package/api/@wtf/project-astro/index/type-aliases/RedirectRule.md +5 -5
  20. package/api/@wtf/project-astro/index/type-aliases/RedirectStatus.md +1 -1
  21. package/api/@wtf/project-astro/index/type-aliases/RedirectedLink.md +2 -2
  22. package/api/@wtf/project-astro/index/type-aliases/Redirects.md +3 -3
  23. package/api/@wtf/project-astro/links/README.md +4 -0
  24. package/api/@wtf/project-astro/links/functions/brokenLinksIn.md +1 -1
  25. package/api/@wtf/project-astro/links/functions/links.md +15 -6
  26. package/api/@wtf/project-astro/links/functions/redirectedLinksIn.md +1 -1
  27. package/api/@wtf/project-astro/links/type-aliases/LinksOptions.md +23 -0
  28. package/api/@wtf/project-astro/links/variables/LINKS.md +1 -1
  29. package/api/@wtf/project-astro/pages/functions/fixSearchUrlsIn.md +1 -1
  30. package/api/@wtf/project-astro/pages/functions/moveConflictingPages.md +1 -1
  31. package/api/@wtf/project-astro/pages/functions/pages.md +9 -6
  32. package/api/@wtf/project-astro/pages/functions/prefixedLocaleOf.md +1 -1
  33. package/api/@wtf/project-astro/pages/functions/redirectBaseToLocaleIn.md +1 -1
  34. package/api/@wtf/project-astro/pages/functions/slashFolderLinksIn.md +1 -1
  35. package/api/@wtf/project-astro/pages/type-aliases/I18n.md +1 -1
  36. package/api/@wtf/project-astro/pages/type-aliases/PagesOptions.md +2 -2
  37. package/api/@wtf/project-astro/pages/variables/PAGES.md +1 -1
  38. package/api/@wtf/project-astro/preview/README.md +7 -4
  39. package/api/@wtf/project-astro/preview/functions/files.md +1 -1
  40. package/api/@wtf/project-astro/preview/functions/listen.md +1 -1
  41. package/api/@wtf/project-astro/preview/functions/notFound.md +1 -1
  42. package/api/@wtf/project-astro/preview/functions/pagesOf.md +1 -1
  43. package/api/@wtf/project-astro/preview/functions/previewOf.md +6 -5
  44. package/api/@wtf/project-astro/preview/type-aliases/FilesOptions.md +2 -2
  45. package/api/@wtf/project-astro/preview/type-aliases/Handler.md +1 -1
  46. package/api/@wtf/project-astro/preview/type-aliases/ListenOptions.md +4 -4
  47. package/api/@wtf/project-astro/preview/type-aliases/Listening.md +5 -5
  48. package/api/@wtf/project-astro/preview/type-aliases/Pages.md +3 -3
  49. package/api/@wtf/project-astro/preview/type-aliases/Preview.md +4 -4
  50. package/api/@wtf/project-astro/preview/type-aliases/PreviewOptions.md +8 -7
  51. package/api/@wtf/project-astro/redirects/functions/formatRedirects.md +1 -1
  52. package/api/@wtf/project-astro/redirects/functions/matchRedirect.md +1 -1
  53. package/api/@wtf/project-astro/redirects/functions/parseRedirects.md +1 -1
  54. package/api/@wtf/project-astro/redirects/variables/MAX_PARTS.md +1 -1
  55. package/api/@wtf/project-astro/redirects/variables/MAX_RULES.md +1 -1
  56. package/api/@wtf/project-astro/redirects/variables/MAX_SIZE.md +1 -1
  57. package/api/@wtf/project-astro/schema/README.md +7 -3
  58. package/api/@wtf/project-astro/schema/functions/astroSchemaWith.md +3 -3
  59. package/api/@wtf/project-astro/schema/type-aliases/AstroSection.md +11 -0
  60. package/api/@wtf/project-astro/schema/type-aliases/JsonSchema.md +12 -12
  61. package/api/@wtf/project-astro/schema/type-aliases/OptionsSchema.md +1 -1
  62. package/api/@wtf/project-astro/schema/variables/astroProperties.md +4 -3
  63. package/api/@wtf/project-astro/schema/variables/astroSchema.md +5 -5
  64. package/api/@wtf/project-config/README.md +40 -26
  65. package/api/@wtf/project-config/define/functions/defineConfig.md +1 -1
  66. package/api/@wtf/project-config/env/README.md +2 -2
  67. package/api/@wtf/project-config/env/functions/envNameOf.md +1 -1
  68. package/api/@wtf/project-config/env/functions/envPrefixOf.md +1 -1
  69. package/api/@wtf/project-config/env/functions/jsonSchemaOf.md +1 -1
  70. package/api/@wtf/project-config/env/functions/variablesOf.md +1 -1
  71. package/api/@wtf/project-config/env/functions/withEnvironment.md +1 -1
  72. package/api/@wtf/project-config/env/type-aliases/Environment.md +1 -1
  73. package/api/@wtf/project-config/env/type-aliases/EnvironmentValue.md +3 -3
  74. package/api/@wtf/project-config/env/type-aliases/WithEnvironment.md +3 -3
  75. package/api/@wtf/project-config/errors/classes/ConfigError.md +4 -4
  76. package/api/@wtf/project-config/errors/classes/ConfigFileMismatchError.md +6 -6
  77. package/api/@wtf/project-config/errors/classes/ConfigInCodeError.md +5 -5
  78. package/api/@wtf/project-config/errors/classes/ConfigPathError.md +5 -5
  79. package/api/@wtf/project-config/errors/classes/EnvPlaceholderUnsetError.md +6 -6
  80. package/api/@wtf/project-config/errors/classes/InvalidConfigFileError.md +5 -5
  81. package/api/@wtf/project-config/errors/classes/InvalidSectionError.md +7 -7
  82. package/api/@wtf/project-config/errors/classes/NamedError.md +12 -12
  83. package/api/@wtf/project-config/errors/classes/NoConfigFileError.md +5 -5
  84. package/api/@wtf/project-config/errors/classes/NoConfigValueError.md +6 -6
  85. package/api/@wtf/project-config/errors/classes/SyncConfigInCodeError.md +5 -5
  86. package/api/@wtf/project-config/errors/classes/SyncSchemaError.md +5 -5
  87. package/api/@wtf/project-config/errors/classes/UnwritableConfigFileError.md +5 -5
  88. package/api/@wtf/project-config/errors/type-aliases/NamedErrorCode.md +1 -1
  89. package/api/@wtf/project-config/errors/type-aliases/NamedErrorDetails.md +9 -9
  90. package/api/@wtf/project-config/index/type-aliases/ConfigDefaults.md +3 -3
  91. package/api/@wtf/project-config/index/type-aliases/ConfigEnvironment.md +4 -4
  92. package/api/@wtf/project-config/index/type-aliases/ConfigIssue.md +3 -3
  93. package/api/@wtf/project-config/index/type-aliases/ConfigNames.md +4 -4
  94. package/api/@wtf/project-config/index/type-aliases/ConfigPath.md +1 -1
  95. package/api/@wtf/project-config/index/type-aliases/ConfigPlatform.md +3 -3
  96. package/api/@wtf/project-config/index/type-aliases/ConfigSection.md +1 -1
  97. package/api/@wtf/project-config/index/type-aliases/ConfigSource.md +3 -3
  98. package/api/@wtf/project-config/index/type-aliases/ConfigSyncPlatform.md +5 -5
  99. package/api/@wtf/project-config/index/type-aliases/ConfigWrite.md +10 -10
  100. package/api/@wtf/project-config/index/type-aliases/ImportModule.md +1 -1
  101. package/api/@wtf/project-config/index/type-aliases/JsonSchema.md +1 -1
  102. package/api/@wtf/project-config/index/type-aliases/LocatedConfig.md +4 -4
  103. package/api/@wtf/project-config/index/type-aliases/NamespaceConfig.md +2 -2
  104. package/api/@wtf/project-config/index/type-aliases/ResolvedConfig.md +9 -9
  105. package/api/@wtf/project-config/index/type-aliases/SectionSchema.md +1 -1
  106. package/api/@wtf/project-config/index/type-aliases/SectionsOf.md +1 -1
  107. package/api/@wtf/project-config/index/type-aliases/SyncFiles.md +3 -3
  108. package/api/@wtf/project-config/index/type-aliases/ValidateSection.md +1 -1
  109. package/api/@wtf/project-config/load/README.md +12 -5
  110. package/api/@wtf/project-config/load/functions/ignoredWarning.md +1 -1
  111. package/api/@wtf/project-config/load/functions/importFileModule.md +1 -1
  112. package/api/@wtf/project-config/load/functions/loadConfig.md +10 -11
  113. package/api/@wtf/project-config/load/functions/loadConfigSync.md +4 -4
  114. package/api/@wtf/project-config/load/type-aliases/LoadLayers.md +5 -5
  115. package/api/@wtf/project-config/load/type-aliases/LoadOptions.md +4 -3
  116. package/api/@wtf/project-config/load/type-aliases/LoadPlatform.md +15 -0
  117. package/api/@wtf/project-config/load/type-aliases/LoadSyncOptions.md +8 -2
  118. package/api/@wtf/project-config/load/type-aliases/LoadSyncPlatform.md +19 -0
  119. package/api/@wtf/project-config/locate/README.md +5 -2
  120. package/api/@wtf/project-config/locate/functions/configFilesOf.md +1 -1
  121. package/api/@wtf/project-config/locate/functions/configNamesOf.md +1 -1
  122. package/api/@wtf/project-config/locate/functions/jsonFilesOf.md +1 -1
  123. package/api/@wtf/project-config/locate/functions/locateConfig.md +1 -1
  124. package/api/@wtf/project-config/locate/functions/locateConfigSync.md +1 -1
  125. package/api/@wtf/project-config/locate/functions/projectRootOf.md +1 -1
  126. package/api/@wtf/project-config/locate/functions/projectRootOfSync.md +1 -1
  127. package/api/@wtf/project-config/locate/type-aliases/LocateNames.md +2 -2
  128. package/api/@wtf/project-config/locate/type-aliases/LocateOptions.md +2 -2
  129. package/api/@wtf/project-config/locate/type-aliases/LocateSyncOptions.md +2 -2
  130. package/api/@wtf/project-config/locate/type-aliases/NamespaceNames.md +2 -2
  131. package/api/@wtf/project-config/locate/variables/DEFAULT_NAMESPACE.md +1 -1
  132. package/api/@wtf/project-config/named/functions/factoryOf.md +1 -1
  133. package/api/@wtf/project-config/named/functions/namedSchema.md +1 -1
  134. package/api/@wtf/project-config/named/functions/namedSetSchema.md +1 -1
  135. package/api/@wtf/project-config/named/functions/resolveNamed.md +1 -1
  136. package/api/@wtf/project-config/named/functions/resolveNamedSet.md +1 -1
  137. package/api/@wtf/project-config/named/type-aliases/LoadModule.md +1 -1
  138. package/api/@wtf/project-config/named/type-aliases/ModuleReference.md +3 -3
  139. package/api/@wtf/project-config/named/type-aliases/NamedCheckOptions.md +5 -5
  140. package/api/@wtf/project-config/named/type-aliases/NamedEntries.md +1 -1
  141. package/api/@wtf/project-config/named/type-aliases/NamedFactory.md +1 -1
  142. package/api/@wtf/project-config/named/type-aliases/NamedOptions.md +1 -1
  143. package/api/@wtf/project-config/named/type-aliases/NamedReference.md +1 -1
  144. package/api/@wtf/project-config/named/type-aliases/NamedResolveOptions.md +3 -3
  145. package/api/@wtf/project-config/named/type-aliases/NamedSchema.md +1 -1
  146. package/api/@wtf/project-config/named/type-aliases/NamedSchemaOptions.md +4 -4
  147. package/api/@wtf/project-config/named/type-aliases/NamedSet.md +1 -1
  148. package/api/@wtf/project-config/named/type-aliases/NamedSetOptions.md +2 -2
  149. package/api/@wtf/project-config/named/type-aliases/NamedSetSchemaOptions.md +3 -3
  150. package/api/@wtf/project-config/named/type-aliases/NamedSets.md +1 -1
  151. package/api/@wtf/project-config/named/type-aliases/NamedUse.md +1 -1
  152. package/api/@wtf/project-config/node/README.md +13 -16
  153. package/api/@wtf/project-config/node/functions/nodeLoadModule.md +7 -7
  154. package/api/@wtf/project-config/node/functions/nodeSyncPlatform.md +12 -5
  155. package/api/@wtf/project-config/path/functions/configPathOf.md +1 -1
  156. package/api/@wtf/project-config/path/functions/textOfConfigPath.md +1 -1
  157. package/api/@wtf/project-config/path/functions/valueAt.md +1 -1
  158. package/api/@wtf/project-config/placeholder/functions/expandPlaceholders.md +1 -1
  159. package/api/@wtf/project-config/placeholder/functions/expandString.md +1 -1
  160. package/api/@wtf/project-config/schema/functions/namespaceSchema.md +1 -1
  161. package/api/@wtf/project-config/schema/functions/sectionIdOf.md +1 -1
  162. package/api/@wtf/project-config/schema/type-aliases/NamespaceSchemaOptions.md +3 -3
  163. package/api/@wtf/project-config/schema/variables/JSON_SCHEMA_DRAFT.md +1 -1
  164. package/api/@wtf/project-config/section/README.md +7 -3
  165. package/api/@wtf/project-config/section/functions/issuesOf.md +1 -1
  166. package/api/@wtf/project-config/section/functions/issuesOfSync.md +1 -1
  167. package/api/@wtf/project-config/section/functions/mergeSection.md +1 -1
  168. package/api/@wtf/project-config/section/functions/sectionOf.md +6 -6
  169. package/api/@wtf/project-config/section/functions/sectionOfSync.md +1 -1
  170. package/api/@wtf/project-config/section/type-aliases/Checked.md +3 -3
  171. package/api/@wtf/project-config/write/README.md +5 -4
  172. package/api/@wtf/project-config/write/functions/setConfigValue.md +1 -1
  173. package/api/@wtf/project-config/write/functions/unsetConfigValue.md +1 -1
  174. package/api/@wtf/project-config/write/type-aliases/WriteOptions.md +2 -2
  175. package/api/@wtf/project-oxfmt/README.md +5 -2
  176. package/api/@wtf/project-oxfmt/config/functions/oxfmtConfig.md +1 -1
  177. package/api/@wtf/project-oxfmt/config/type-aliases/OxfmtOptions.md +1 -1
  178. package/api/@wtf/project-oxfmt/config/variables/OXFMT_DEFAULTS.md +6 -6
  179. package/api/@wtf/project-oxfmt/config/variables/default.md +1 -1
  180. package/api/@wtf/project-oxfmt/schema/variables/oxfmtSchema.md +1 -1
  181. package/api/@wtf/project-oxlint/README.md +5 -2
  182. package/api/@wtf/project-oxlint/config/functions/oxlintConfig.md +1 -1
  183. package/api/@wtf/project-oxlint/config/type-aliases/OxlintOptions.md +1 -1
  184. package/api/@wtf/project-oxlint/config/variables/OXLINT_DEFAULTS.md +17 -17
  185. package/api/@wtf/project-oxlint/config/variables/default.md +1 -1
  186. package/api/@wtf/project-oxlint/schema/variables/oxlintSchema.md +1 -1
  187. package/api/@wtf/project-resolve/condition/variables/SOURCE_CONDITION.md +1 -1
  188. package/api/@wtf/project-resolve/env/functions/isHook.md +1 -1
  189. package/api/@wtf/project-resolve/env/functions/optionsWithoutHook.md +1 -1
  190. package/api/@wtf/project-resolve/env/functions/withoutHook.md +1 -1
  191. package/api/@wtf/project-resolve/env/type-aliases/Env.md +1 -1
  192. package/api/@wtf/project-resolve/errors/classes/ResolveError.md +4 -4
  193. package/api/@wtf/project-resolve/errors/classes/UnreadableWorkspaceError.md +6 -6
  194. package/api/@wtf/project-resolve/errors/classes/WorkspaceError.md +5 -5
  195. package/api/@wtf/project-resolve/hooks/functions/candidatesOf.md +1 -1
  196. package/api/@wtf/project-resolve/hooks/functions/sourcesHookOf.md +1 -1
  197. package/api/@wtf/project-resolve/hooks/functions/sourcesOf.md +1 -1
  198. package/api/@wtf/project-resolve/hooks/variables/resolveTypeScript.md +1 -1
  199. package/api/@wtf/project-resolve/node/functions/nodePlatform.md +5 -5
  200. package/api/@wtf/project-resolve/register/variables/REGISTERED.md +1 -1
  201. package/api/@wtf/project-resolve/workspace/functions/filesOf.md +1 -1
  202. package/api/@wtf/project-resolve/workspace/functions/packagesOf.md +1 -1
  203. package/api/@wtf/project-resolve/workspace/functions/workspaceAt.md +1 -1
  204. package/api/@wtf/project-resolve/workspace/functions/workspaceOf.md +1 -1
  205. package/api/@wtf/project-resolve/workspace/functions/workspaceRootAbove.md +1 -1
  206. package/api/@wtf/project-resolve/workspace/functions/workspaceRootOf.md +1 -1
  207. package/api/@wtf/project-resolve/workspace/type-aliases/Agent.md +1 -1
  208. package/api/@wtf/project-resolve/workspace/type-aliases/DirectoryEntry.md +4 -4
  209. package/api/@wtf/project-resolve/workspace/type-aliases/FileContents.md +3 -3
  210. package/api/@wtf/project-resolve/workspace/type-aliases/PackageManager.md +4 -4
  211. package/api/@wtf/project-resolve/workspace/type-aliases/PackageManagerName.md +1 -1
  212. package/api/@wtf/project-resolve/workspace/type-aliases/ProcessWorkspaceOptions.md +1 -1
  213. package/api/@wtf/project-resolve/workspace/type-aliases/Workspace.md +5 -5
  214. package/api/@wtf/project-resolve/workspace/type-aliases/WorkspaceDirectoryHandle.md +6 -6
  215. package/api/@wtf/project-resolve/workspace/type-aliases/WorkspaceFileHandle.md +3 -3
  216. package/api/@wtf/project-resolve/workspace/type-aliases/WorkspaceFiles.md +6 -6
  217. package/api/@wtf/project-resolve/workspace/type-aliases/WorkspaceOptions.md +2 -2
  218. package/api/@wtf/project-resolve/workspace/type-aliases/WorkspacePackage.md +4 -4
  219. package/api/@wtf/project-resolve/workspace/type-aliases/WorkspacePaths.md +7 -7
  220. package/api/@wtf/project-typedoc/README.md +17 -3
  221. package/api/@wtf/project-typedoc/config/README.md +20 -4
  222. package/api/@wtf/project-typedoc/config/functions/gitRevisionOf.md +6 -6
  223. package/api/@wtf/project-typedoc/config/functions/typedocConfig.md +5 -5
  224. package/api/@wtf/project-typedoc/config/type-aliases/RevisionSources.md +7 -7
  225. package/api/@wtf/project-typedoc/config/type-aliases/TypedocConfig.md +1 -1
  226. package/api/@wtf/project-typedoc/config/type-aliases/TypedocOptions.md +8 -6
  227. package/api/@wtf/project-typedoc/config/type-aliases/TypedocPlatform.md +18 -0
  228. package/api/@wtf/project-typedoc/plugins/README.md +0 -1
  229. package/api/@wtf/project-typedoc/plugins/functions/cleanGeneratedMarkdown.md +1 -1
  230. package/api/@wtf/project-typedoc/plugins/functions/linkTrackedSources.md +2 -2
  231. package/api/@wtf/project-typedoc/plugins/functions/preventMediaFiles.md +1 -1
  232. package/api/@wtf/project-typedoc/plugins/type-aliases/CleanGeneratedMarkdownOptions.md +15 -3
  233. package/api/@wtf/project-typedoc/plugins/type-aliases/LinkTrackedSourcesOptions.md +9 -9
  234. package/api/@wtf/project-typedoc/plugins/type-aliases/PreventMediaFilesOptions.md +23 -3
  235. package/api/@wtf/project-typedoc/plugins/type-aliases/TypedocPlugin.md +1 -1
  236. package/api/@wtf/project-typedoc/schema/README.md +11 -2
  237. package/api/@wtf/project-typedoc/schema/type-aliases/TypedocSection.md +19 -0
  238. package/api/@wtf/project-typedoc/schema/variables/typedocSchema.md +6 -5
  239. package/api/@wtf/project-vite/README.md +20 -11
  240. package/api/@wtf/project-vite/config/README.md +11 -4
  241. package/api/@wtf/project-vite/config/functions/baseConfig.md +14 -9
  242. package/api/@wtf/project-vite/config/functions/buildsSite.md +1 -1
  243. package/api/@wtf/project-vite/config/functions/compress.md +1 -1
  244. package/api/@wtf/project-vite/config/functions/conditionsOf.md +8 -7
  245. package/api/@wtf/project-vite/config/functions/fromDist.md +22 -0
  246. package/api/@wtf/project-vite/config/type-aliases/BaseOptions.md +15 -2
  247. package/api/@wtf/project-vite/config/type-aliases/CompressOptions.md +4 -4
  248. package/api/@wtf/project-vite/config/variables/CLIENT_CONDITIONS.md +1 -1
  249. package/api/@wtf/project-vite/config/variables/COMPRESSIBLE.md +1 -1
  250. package/api/@wtf/project-vite/config/variables/THRESHOLD.md +1 -1
  251. package/api/@wtf/project-vite/schema/README.md +10 -3
  252. package/api/@wtf/project-vite/schema/type-aliases/ViteSection.md +11 -0
  253. package/api/@wtf/project-vite/schema/variables/viteSchema.md +5 -4
  254. package/api/@wtf/project-vitest/README.md +34 -16
  255. package/api/@wtf/project-vitest/browser/README.md +2 -1
  256. package/api/@wtf/project-vitest/browser/functions/browserConfig.md +6 -6
  257. package/api/@wtf/project-vitest/browser/functions/browserRootConfig.md +2 -2
  258. package/api/@wtf/project-vitest/browser/type-aliases/BrowserOptions.md +8 -6
  259. package/api/@wtf/project-vitest/config/README.md +17 -1
  260. package/api/@wtf/project-vitest/config/functions/fromDist.md +22 -0
  261. package/api/@wtf/project-vitest/config/functions/integrationConfig.md +2 -2
  262. package/api/@wtf/project-vitest/config/functions/packageConfig.md +17 -10
  263. package/api/@wtf/project-vitest/config/functions/rootConfig.md +5 -2
  264. package/api/@wtf/project-vitest/config/type-aliases/PackageOptions.md +18 -0
  265. package/api/@wtf/project-vitest/config/type-aliases/RootConfigOptions.md +2 -2
  266. package/api/@wtf/project-vitest/config/type-aliases/RootOptions.md +32 -7
  267. package/api/@wtf/project-vitest/config/type-aliases/VitestPlatform.md +26 -0
  268. package/api/@wtf/project-vitest/config/variables/GUARD_TIMEOUT.md +1 -1
  269. package/api/@wtf/project-vitest/config/variables/integration.md +10 -10
  270. package/api/@wtf/project-vitest/process/README.md +3 -3
  271. package/api/@wtf/project-vitest/process/functions/childEnv.md +6 -6
  272. package/api/@wtf/project-vitest/process/type-aliases/Env.md +1 -1
  273. package/api/@wtf/project-vitest/schema/README.md +14 -3
  274. package/api/@wtf/project-vitest/schema/type-aliases/VitestSection.md +12 -0
  275. package/api/@wtf/project-vitest/schema/variables/vitestSchema.md +6 -5
  276. package/api/@wtf/project-vitest/storybook/functions/storybookConfig.md +6 -4
  277. package/api/@wtf/project-vitest/storybook/type-aliases/StorybookOptions.md +3 -3
  278. package/api/@wtf/project-wpt/README.md +27 -19
  279. package/api/@wtf/project-wpt/builtins/functions/builtins.md +1 -1
  280. package/api/@wtf/project-wpt/builtins/functions/intrinsics.md +1 -1
  281. package/api/@wtf/project-wpt/checkout/README.md +3 -2
  282. package/api/@wtf/project-wpt/checkout/functions/checkoutFolderOf.md +1 -1
  283. package/api/@wtf/project-wpt/checkout/functions/checkoutTests.md +1 -1
  284. package/api/@wtf/project-wpt/checkout/functions/checkoutWpt.md +1 -1
  285. package/api/@wtf/project-wpt/checkout/functions/execOf.md +28 -0
  286. package/api/@wtf/project-wpt/checkout/functions/fileOf.md +1 -1
  287. package/api/@wtf/project-wpt/checkout/type-aliases/CheckedOutTests.md +3 -3
  288. package/api/@wtf/project-wpt/checkout/type-aliases/CheckoutOptions.md +12 -12
  289. package/api/@wtf/project-wpt/checkout/type-aliases/CheckoutTestsOptions.md +2 -2
  290. package/api/@wtf/project-wpt/checkout/variables/HARNESS.md +1 -1
  291. package/api/@wtf/project-wpt/checkout/variables/REWRITES.md +1 -1
  292. package/api/@wtf/project-wpt/checkout/variables/WPT_REPOSITORY.md +1 -1
  293. package/api/@wtf/project-wpt/errors/classes/HarnessFailedError.md +4 -4
  294. package/api/@wtf/project-wpt/errors/classes/InvalidCommitError.md +4 -4
  295. package/api/@wtf/project-wpt/errors/classes/InvalidExpectationsError.md +4 -4
  296. package/api/@wtf/project-wpt/errors/classes/NoSuiteError.md +4 -4
  297. package/api/@wtf/project-wpt/errors/classes/NotInWptError.md +5 -5
  298. package/api/@wtf/project-wpt/errors/classes/StaleExpectationError.md +4 -4
  299. package/api/@wtf/project-wpt/errors/classes/SubtestFailedError.md +4 -4
  300. package/api/@wtf/project-wpt/errors/classes/UnexpectedPassError.md +4 -4
  301. package/api/@wtf/project-wpt/errors/classes/WptError.md +4 -4
  302. package/api/@wtf/project-wpt/errors/classes/WptFetchError.md +4 -4
  303. package/api/@wtf/project-wpt/expectations/functions/checkHarness.md +1 -1
  304. package/api/@wtf/project-wpt/expectations/functions/checkSubtest.md +1 -1
  305. package/api/@wtf/project-wpt/expectations/functions/expectationOf.md +1 -1
  306. package/api/@wtf/project-wpt/expectations/functions/expectationsIssues.md +1 -1
  307. package/api/@wtf/project-wpt/expectations/functions/readExpectations.md +6 -4
  308. package/api/@wtf/project-wpt/expectations/functions/staleOf.md +1 -1
  309. package/api/@wtf/project-wpt/expectations/type-aliases/ReadExpectations.md +3 -3
  310. package/api/@wtf/project-wpt/index/README.md +2 -5
  311. package/api/@wtf/project-wpt/index/type-aliases/CreateRealm.md +1 -1
  312. package/api/@wtf/project-wpt/index/type-aliases/Exec.md +3 -3
  313. package/api/@wtf/project-wpt/index/type-aliases/Expectations.md +1 -1
  314. package/api/@wtf/project-wpt/index/type-aliases/FileExpectation.md +4 -4
  315. package/api/@wtf/project-wpt/index/type-aliases/FileResult.md +4 -4
  316. package/api/@wtf/project-wpt/index/type-aliases/Globals.md +1 -1
  317. package/api/@wtf/project-wpt/index/type-aliases/HarnessResult.md +4 -4
  318. package/api/@wtf/project-wpt/index/type-aliases/HarnessStatus.md +1 -1
  319. package/api/@wtf/project-wpt/index/type-aliases/HoldRejections.md +1 -1
  320. package/api/@wtf/project-wpt/index/type-aliases/Realm.md +3 -3
  321. package/api/@wtf/project-wpt/index/type-aliases/SubtestResult.md +5 -5
  322. package/api/@wtf/project-wpt/index/type-aliases/SubtestStatus.md +1 -1
  323. package/api/@wtf/project-wpt/index/type-aliases/WptFile.md +3 -3
  324. package/api/@wtf/project-wpt/index/type-aliases/WptFiles.md +9 -9
  325. package/api/@wtf/project-wpt/index/type-aliases/WptPaths.md +4 -4
  326. package/api/@wtf/project-wpt/index/type-aliases/WptPlatform.md +10 -60
  327. package/api/@wtf/project-wpt/index/type-aliases/WptSystem.md +8 -8
  328. package/api/@wtf/project-wpt/index/type-aliases/WptTest.md +3 -3
  329. package/api/@wtf/project-wpt/meta/functions/idOf.md +1 -1
  330. package/api/@wtf/project-wpt/meta/functions/metaOf.md +1 -1
  331. package/api/@wtf/project-wpt/meta/functions/runsOutsideWindow.md +1 -1
  332. package/api/@wtf/project-wpt/meta/functions/scriptPathsOf.md +1 -1
  333. package/api/@wtf/project-wpt/meta/functions/testsOf.md +1 -1
  334. package/api/@wtf/project-wpt/meta/type-aliases/Meta.md +6 -6
  335. package/api/@wtf/project-wpt/node/README.md +16 -8
  336. package/api/@wtf/project-wpt/node/functions/nodeSystem.md +9 -3
  337. package/api/@wtf/project-wpt/node/type-aliases/NodeSystemPlatform.md +12 -0
  338. package/api/@wtf/project-wpt/node/variables/nodeFiles.md +1 -1
  339. package/api/@wtf/project-wpt/node/variables/nodeRealm.md +1 -1
  340. package/api/@wtf/project-wpt/node/variables/nodeRejections.md +1 -1
  341. package/api/@wtf/project-wpt/run/functions/runTest.md +1 -1
  342. package/api/@wtf/project-wpt/run/type-aliases/RunOptions.md +10 -9
  343. package/api/@wtf/project-wpt/run/type-aliases/RunPlatform.md +3 -3
  344. package/api/@wtf/project-wpt/run/variables/LONG_TIMEOUT.md +1 -1
  345. package/api/@wtf/project-wpt/run/variables/TIMEOUT.md +1 -1
  346. package/api/@wtf/project-wpt/run/variables/WPT_ORIGIN.md +1 -1
  347. package/api/@wtf/project-wpt/schema/README.md +6 -3
  348. package/api/@wtf/project-wpt/schema/type-aliases/WptConfig.md +2 -2
  349. package/api/@wtf/project-wpt/schema/type-aliases/WptSuiteConfig.md +2 -2
  350. package/api/@wtf/project-wpt/schema/variables/wptSchema.md +1 -1
  351. package/api/@wtf/project-wpt/suite/README.md +6 -2
  352. package/api/@wtf/project-wpt/suite/functions/wptSuite.md +1 -1
  353. package/api/@wtf/project-wpt/suite/type-aliases/WptSuiteOptions.md +8 -8
  354. package/api/llms.txt +8 -3
  355. package/guides/astro.md +48 -23
  356. package/guides/config.md +38 -13
  357. package/guides/getting-started.md +8 -2
  358. package/guides/presets.md +11 -2
  359. package/guides/vite.md +20 -10
  360. package/guides/vitest.md +54 -27
  361. package/package.json +7 -7
  362. package/api/@wtf/project-config/node/functions/loadConfig.md +0 -24
  363. package/api/@wtf/project-config/node/functions/loadConfigSync.md +0 -24
  364. package/api/@wtf/project-config/node/functions/nodeConfigPlatform.md +0 -16
  365. package/api/@wtf/project-typedoc/config/variables/nodeRun.md +0 -33
  366. package/api/@wtf/project-typedoc/plugins/type-aliases/Run.md +0 -25
  367. package/api/@wtf/project-vite/config/variables/FROM_DIST.md +0 -11
  368. package/api/@wtf/project-vitest/config/variables/FROM_DIST.md +0 -11
  369. package/api/@wtf/project-wpt/index/type-aliases/ClearTimeout.md +0 -21
  370. package/api/@wtf/project-wpt/index/type-aliases/Env.md +0 -11
  371. package/api/@wtf/project-wpt/index/type-aliases/Performance.md +0 -35
  372. package/api/@wtf/project-wpt/index/type-aliases/SetTimeout.md +0 -22
  373. package/api/@wtf/project-wpt/node/functions/nodePlatform.md +0 -18
  374. package/api/@wtf/project-wpt/node/variables/nodeExec.md +0 -11
@@ -6,24 +6,24 @@
6
6
  const integration: object;
7
7
  ```
8
8
 
9
- Defined in: [packages/project-vitest/src/config.ts:158](https://gitlab.com/wetryfun/project/project/-/blob/docs-v2.3.1/packages/project-vitest/src/config.ts#L158)
9
+ Defined in: [packages/project-vitest/src/config.ts:195](https://gitlab.com/wetryfun/project/project/-/blob/docs-v3.0.0/packages/project-vitest/src/config.ts#L195)
10
10
 
11
11
  What a package's integration suite gives [packageConfig](../functions/packageConfig.md): each `*.integration.test.ts` of
12
12
  test/, in a process of its own, one file at a time, with five minutes for a test or a hook.
13
13
 
14
14
  ```ts
15
- export default packageConfig({ ...integration, name: 'file:integration' })
15
+ export default packageConfig({ platform, ...integration, name: 'file:integration' })
16
16
  ```
17
17
 
18
18
  ## Type Declaration
19
19
 
20
20
  | Name | Type | Default value | Defined in |
21
21
  | ------ | ------ | ------ | ------ |
22
- | <a id="property-exclude"></a> `exclude` | `string`[] | - | [packages/project-vitest/src/config.ts:160](https://gitlab.com/wetryfun/project/project/-/blob/docs-v2.3.1/packages/project-vitest/src/config.ts#L160) |
23
- | <a id="property-fileparallelism"></a> `fileParallelism` | `false` | `false` | [packages/project-vitest/src/config.ts:162](https://gitlab.com/wetryfun/project/project/-/blob/docs-v2.3.1/packages/project-vitest/src/config.ts#L162) |
24
- | <a id="property-hooktimeout"></a> `hookTimeout` | `number` | `300_000` | [packages/project-vitest/src/config.ts:164](https://gitlab.com/wetryfun/project/project/-/blob/docs-v2.3.1/packages/project-vitest/src/config.ts#L164) |
25
- | <a id="property-include"></a> `include` | `string`[] | - | [packages/project-vitest/src/config.ts:159](https://gitlab.com/wetryfun/project/project/-/blob/docs-v2.3.1/packages/project-vitest/src/config.ts#L159) |
26
- | <a id="property-outputfile"></a> `outputFile` | `object` | - | [packages/project-vitest/src/config.ts:165](https://gitlab.com/wetryfun/project/project/-/blob/docs-v2.3.1/packages/project-vitest/src/config.ts#L165) |
27
- | `outputFile.junit` | `string` | `'reports/integration-results.xml'` | [packages/project-vitest/src/config.ts:165](https://gitlab.com/wetryfun/project/project/-/blob/docs-v2.3.1/packages/project-vitest/src/config.ts#L165) |
28
- | <a id="property-pool"></a> `pool` | `"forks"` | `'forks'` | [packages/project-vitest/src/config.ts:161](https://gitlab.com/wetryfun/project/project/-/blob/docs-v2.3.1/packages/project-vitest/src/config.ts#L161) |
29
- | <a id="property-testtimeout"></a> `testTimeout` | `number` | `300_000` | [packages/project-vitest/src/config.ts:163](https://gitlab.com/wetryfun/project/project/-/blob/docs-v2.3.1/packages/project-vitest/src/config.ts#L163) |
22
+ | <a id="property-exclude"></a> `exclude` | `string`[] | - | [packages/project-vitest/src/config.ts:197](https://gitlab.com/wetryfun/project/project/-/blob/docs-v3.0.0/packages/project-vitest/src/config.ts#L197) |
23
+ | <a id="property-fileparallelism"></a> `fileParallelism` | `false` | `false` | [packages/project-vitest/src/config.ts:199](https://gitlab.com/wetryfun/project/project/-/blob/docs-v3.0.0/packages/project-vitest/src/config.ts#L199) |
24
+ | <a id="property-hooktimeout"></a> `hookTimeout` | `number` | `300_000` | [packages/project-vitest/src/config.ts:201](https://gitlab.com/wetryfun/project/project/-/blob/docs-v3.0.0/packages/project-vitest/src/config.ts#L201) |
25
+ | <a id="property-include"></a> `include` | `string`[] | - | [packages/project-vitest/src/config.ts:196](https://gitlab.com/wetryfun/project/project/-/blob/docs-v3.0.0/packages/project-vitest/src/config.ts#L196) |
26
+ | <a id="property-outputfile"></a> `outputFile` | `object` | - | [packages/project-vitest/src/config.ts:202](https://gitlab.com/wetryfun/project/project/-/blob/docs-v3.0.0/packages/project-vitest/src/config.ts#L202) |
27
+ | `outputFile.junit` | `string` | `'reports/integration-results.xml'` | [packages/project-vitest/src/config.ts:202](https://gitlab.com/wetryfun/project/project/-/blob/docs-v3.0.0/packages/project-vitest/src/config.ts#L202) |
28
+ | <a id="property-pool"></a> `pool` | `"forks"` | `'forks'` | [packages/project-vitest/src/config.ts:198](https://gitlab.com/wetryfun/project/project/-/blob/docs-v3.0.0/packages/project-vitest/src/config.ts#L198) |
29
+ | <a id="property-testtimeout"></a> `testTimeout` | `number` | `300_000` | [packages/project-vitest/src/config.ts:200](https://gitlab.com/wetryfun/project/project/-/blob/docs-v3.0.0/packages/project-vitest/src/config.ts#L200) |
@@ -15,11 +15,11 @@ import { spawnSync } from 'node:child_process'
15
15
 
16
16
  import { childEnv } from '@wtf/project-vitest/process'
17
17
 
18
- spawnSync('pnpm', ['run', 'prepare'], { cwd: 'packages/schemas', env: childEnv() })
18
+ spawnSync('pnpm', ['run', 'prepare'], { cwd: 'packages/schemas', env: childEnv(process.env) })
19
19
  ```
20
20
 
21
- A helper of a test, which Vitest runs in Node: the environment is the test process's own by
22
- default, the one place it reads it of the process; it imports nothing but
21
+ A helper of a test, which Vitest runs in Node: the test gives the environment, as its own
22
+ `process.env`; it reads nothing of the process, and imports nothing but
23
23
  `@wtf/project-resolve/env`, which imports nothing.
24
24
 
25
25
  ## Type Aliases
@@ -3,12 +3,12 @@
3
3
  # Function: childEnv()
4
4
 
5
5
  ```ts
6
- function childEnv(env?): Readonly<Record<string, string | undefined>> & object;
6
+ function childEnv(env): Readonly<Record<string, string | undefined>> & object;
7
7
  ```
8
8
 
9
- Defined in: [packages/project-vitest/src/process.ts:36](https://gitlab.com/wetryfun/project/project/-/blob/docs-v2.3.1/packages/project-vitest/src/process.ts#L36)
9
+ Defined in: [packages/project-vitest/src/process.ts:36](https://gitlab.com/wetryfun/project/project/-/blob/docs-v3.0.0/packages/project-vitest/src/process.ts#L36)
10
10
 
11
- `env`, this process's environment by default, with no resolve hook in `NODE_OPTIONS`, by
11
+ `env`, as the test's own `process.env`, with no resolve hook in `NODE_OPTIONS`, by
12
12
  `withoutHook` of `@wtf/project-resolve/env`, and every other variable and option as it is:
13
13
  the environment of a process a test starts that runs as it runs outside a test, as pnpm, a
14
14
  script in a folder of its own, or a generator. `NODE_OPTIONS` is a string, empty when nothing is
@@ -16,9 +16,9 @@ left, so it replaces the variable of the process it is given over.
16
16
 
17
17
  ## Parameters
18
18
 
19
- | Parameter | Type | Default value |
20
- | ------ | ------ | ------ |
21
- | `env` | [`Env`](../type-aliases/Env.md) | `process.env` |
19
+ | Parameter | Type |
20
+ | ------ | ------ |
21
+ | `env` | [`Env`](../type-aliases/Env.md) |
22
22
 
23
23
  ## Returns
24
24
 
@@ -6,6 +6,6 @@
6
6
  type Env = Readonly<Record<string, string | undefined>>;
7
7
  ```
8
8
 
9
- Defined in: [packages/project-vitest/src/process.ts:27](https://gitlab.com/wetryfun/project/project/-/blob/docs-v2.3.1/packages/project-vitest/src/process.ts#L27)
9
+ Defined in: [packages/project-vitest/src/process.ts:27](https://gitlab.com/wetryfun/project/project/-/blob/docs-v3.0.0/packages/project-vitest/src/process.ts#L27)
10
10
 
11
11
  An environment, as Node's `process.env` is, and as a spawn takes it.
@@ -8,15 +8,26 @@ the `vitest` section of `wtf.config.json`, check them, and spread them into `roo
8
8
  into `integrationConfig()` and `browserRootConfig()`, which take the same but `testTimeout`.
9
9
 
10
10
  ```ts
11
- import { loadConfig } from '@wtf/project-config/node'
11
+ import { nodeStorage } from '@wtf/platform-fs-node/storage'
12
+ import { nodePlatform } from '@wtf/platform-node/platform'
13
+ import { loadConfig } from '@wtf/project-config/load'
12
14
  import { sectionOf } from '@wtf/project-config/section'
13
15
  import { rootConfig } from '@wtf/project-vitest/config'
14
16
  import { vitestSchema } from '@wtf/project-vitest/schema'
15
17
 
16
- const config = await loadConfig()
17
- export default rootConfig({ ...(await sectionOf(config, 'vitest', vitestSchema)) })
18
+ const platform = nodePlatform({ fetch, storage: nodeStorage() })
19
+ const config = await loadConfig({ platform })
20
+ export default rootConfig({
21
+ platform,
22
+ argv: process.argv,
23
+ ...(await sectionOf(config, 'vitest', vitestSchema))
24
+ })
18
25
  ```
19
26
 
27
+ ## Type Aliases
28
+
29
+ - [VitestSection](type-aliases/VitestSection.md)
30
+
20
31
  ## Variables
21
32
 
22
33
  - [vitestSchema](variables/vitestSchema.md)
@@ -0,0 +1,12 @@
1
+ [Documentation](../../../../README.md) / [@wtf/project-vitest](../../README.md) / [schema](../README.md) / VitestSection
2
+
3
+ # Type Alias: VitestSection
4
+
5
+ ```ts
6
+ type VitestSection = Omit<RootConfigOptions, "platform" | "argv">;
7
+ ```
8
+
9
+ Defined in: [packages/project-vitest/src/schema.ts:74](https://gitlab.com/wetryfun/project/project/-/blob/docs-v3.0.0/packages/project-vitest/src/schema.ts#L74)
10
+
11
+ The options of `rootConfig()` of ./config a configuration holds: each but the platform and the
12
+ arguments of the process, which are the config file's own.
@@ -3,11 +3,12 @@
3
3
  # Variable: vitestSchema
4
4
 
5
5
  ```ts
6
- const vitestSchema: StandardSchemaV1<RootConfigOptions> & StandardJSONSchemaV1<RootConfigOptions>;
6
+ const vitestSchema: StandardSchemaV1<VitestSection> & StandardJSONSchemaV1<VitestSection>;
7
7
  ```
8
8
 
9
- Defined in: [packages/project-vitest/src/schema.ts:68](https://gitlab.com/wetryfun/project/project/-/blob/docs-v2.3.1/packages/project-vitest/src/schema.ts#L68)
9
+ Defined in: [packages/project-vitest/src/schema.ts:82](https://gitlab.com/wetryfun/project/project/-/blob/docs-v3.0.0/packages/project-vitest/src/schema.ts#L82)
10
10
 
11
- The schema of the options of `rootConfig()` of ./config, `RootConfigOptions`: the `folders` of
12
- the packages, what `coverage` measures, the packages to `skip`, the `reportsDirectory`, the
13
- `junit` report, the `testTimeout` of the guards, and the `projects` a code config adds.
11
+ The schema of the options of `rootConfig()` of ./config a configuration holds, `VitestSection`:
12
+ the `folders` of the packages, what `coverage` measures, the packages to `skip`, the
13
+ `reportsDirectory`, the `junit` report, the `testTimeout` of the guards, and the `projects` a
14
+ code config adds.
@@ -6,7 +6,7 @@
6
6
  function storybookConfig(__namedParameters): Promise<UserConfig>;
7
7
  ```
8
8
 
9
- Defined in: [packages/project-vitest/src/storybook.ts:49](https://gitlab.com/wetryfun/project/project/-/blob/docs-v2.3.1/packages/project-vitest/src/storybook.ts#L49)
9
+ Defined in: [packages/project-vitest/src/storybook.ts:51](https://gitlab.com/wetryfun/project/project/-/blob/docs-v3.0.0/packages/project-vitest/src/storybook.ts#L51)
10
10
 
11
11
  The Vitest config of a package's stories, each a test, in a headless Chromium by Playwright, as
12
12
  [browserConfig](../../browser/functions/browserConfig.md) has it: the workspace's packages read from their source, or from the build
@@ -16,14 +16,16 @@ comes after the package's own `plugins`, gives the files its Storybook takes, wh
16
16
  an `include` of none.
17
17
 
18
18
  ```ts
19
- import { resolve } from 'node:path'
20
-
21
19
  import { storybookTest } from '@storybook/addon-vitest/vitest-plugin'
20
+ import { nodeStorage } from '@wtf/platform-fs-node/storage'
21
+ import { nodePlatform } from '@wtf/platform-node/platform'
22
22
 
23
23
  import { storybookConfig } from '@wtf/project-vitest/storybook'
24
24
 
25
+ const platform = nodePlatform({ fetch, storage: nodeStorage() })
25
26
  export default storybookConfig({
26
- storybook: storybookTest({ configDir: resolve(import.meta.dirname, '.storybook') })
27
+ platform,
28
+ storybook: storybookTest({ configDir: platform.path.join(import.meta.dirname, '.storybook') })
27
29
  })
28
30
  ```
29
31
 
@@ -6,9 +6,9 @@
6
6
  type StorybookOptions = BrowserOptions & object;
7
7
  ```
8
8
 
9
- Defined in: [packages/project-vitest/src/storybook.ts:24](https://gitlab.com/wetryfun/project/project/-/blob/docs-v2.3.1/packages/project-vitest/src/storybook.ts#L24)
9
+ Defined in: [packages/project-vitest/src/storybook.ts:24](https://gitlab.com/wetryfun/project/project/-/blob/docs-v3.0.0/packages/project-vitest/src/storybook.ts#L24)
10
10
 
11
- What a package gives [storybookConfig](../functions/storybookConfig.md): the plugin of `@storybook/addon-vitest`,
11
+ What a package gives [storybookConfig](../functions/storybookConfig.md): the platform the config is of, the plugin of `@storybook/addon-vitest`,
12
12
  `storybookTest()` of its `.storybook` folder, which applies what `.storybook/main.ts` gives Vite
13
13
  (its `viteFinal`) and `.storybook/preview.ts` itself, and any option of [browserConfig](../../browser/functions/browserConfig.md):
14
14
  `plugins` only for a plugin the tests need beyond those.
@@ -17,4 +17,4 @@ What a package gives [storybookConfig](../functions/storybookConfig.md): the plu
17
17
 
18
18
  | Name | Type | Description | Defined in |
19
19
  | ------ | ------ | ------ | ------ |
20
- | `storybook` | `NonNullable`\<`ViteUserConfig`\[`"plugins"`\]\>\[`number`\] | The plugin of `@storybook/addon-vitest`, `storybookTest()`, that makes each story a test. | [packages/project-vitest/src/storybook.ts:26](https://gitlab.com/wetryfun/project/project/-/blob/docs-v2.3.1/packages/project-vitest/src/storybook.ts#L26) |
20
+ | `storybook` | `NonNullable`\<`ViteUserConfig`\[`"plugins"`\]\>\[`number`\] | The plugin of `@storybook/addon-vitest`, `storybookTest()`, that makes each story a test. | [packages/project-vitest/src/storybook.ts:26](https://gitlab.com/wetryfun/project/project/-/blob/docs-v3.0.0/packages/project-vitest/src/storybook.ts#L26) |
@@ -7,30 +7,33 @@ run. Each `testharness.js` file of the WPT runs in a realm of its own (in Node,
7
7
  context) whose globals are what the repo maps in, and each subtest becomes a test. It never reads
8
8
  or writes the test process's own globals. Vitest is a peer dependency.
9
9
 
10
- | Subpath | What you get |
11
- | ---------------- | --------------------------------------------------------------------------------------------------------------- |
12
- | `.` | The types: `WptSystem`, `WptPaths`, `WptFile`, `Globals`, `FileResult`, `Expectations`, … |
13
- | `./suite` | `wptSuite(name, system, options)`: a WPT suite, with each subtest a test |
14
- | `./node` | `nodeSystem()`: each service the runner takes, of Node; and each alone, `nodeFiles`, `nodeExec`, `nodeRealm`, … |
15
- | `./run` | `runTest(test, { folder, globals })`: runs a test file in a context of its own |
16
- | `./checkout` | `checkoutWpt` and `checkoutTests`: the WPT at its commit, sparse and cached; `fileOf`, as served |
17
- | `./expectations` | `readExpectations`, `expectationOf`, `checkSubtest`, `checkHarness`, `staleOf` |
18
- | `./builtins` | `builtins()`, the WinterTC values and constructors; `intrinsics()`, from the implementation's realm |
19
- | `./meta` | `metaOf(source)`: the `// META:` lines of a test file |
20
- | `./errors` | `WptError` and every other error, each with a stable `code` |
21
- | `./schema` | `wptSchema`: the Standard Schema of a repo's suites, `WptConfig`, which gives their JSON Schema |
10
+ | Subpath | What you get |
11
+ | ---------------- | -------------------------------------------------------------------------------------------------------------- |
12
+ | `.` | The types: `WptSystem`, `WptPaths`, `WptFile`, `Globals`, `FileResult`, `Expectations`, … |
13
+ | `./suite` | `wptSuite(name, system, options)`: a WPT suite, with each subtest a test |
14
+ | `./node` | `nodeSystem(platform)`: each service the runner takes, of Node; and `nodeFiles`, `nodeRealm`, `nodeRejections` |
15
+ | `./run` | `runTest(test, { folder, globals })`: runs a test file in a context of its own |
16
+ | `./checkout` | `checkoutWpt` and `checkoutTests`: the WPT at its commit, sparse and cached; `fileOf`; `execOf(spawn)`, git |
17
+ | `./expectations` | `readExpectations`, `expectationOf`, `checkSubtest`, `checkHarness`, `staleOf` |
18
+ | `./builtins` | `builtins()`, the WinterTC values and constructors; `intrinsics()`, from the implementation's realm |
19
+ | `./meta` | `metaOf(source)`: the `// META:` lines of a test file |
20
+ | `./errors` | `WptError` and every other error, each with a stable `code` |
21
+ | `./schema` | `wptSchema`: the Standard Schema of a repo's suites, `WptConfig`, which gives their JSON Schema |
22
22
 
23
23
  A test file pins the WPT to a commit, names the suite's tests and the `resources` they fetch,
24
24
  which `file.fetch` serves, and maps the implementation in:
25
25
 
26
26
  ```ts
27
27
  // test/broadcast-channel.wpt.test.ts
28
+ import { nodeStorage } from '@wtf/platform-fs-node/storage'
29
+ import { nodePlatform } from '@wtf/platform-node/platform'
28
30
  import { nodeSystem } from '@wtf/project-wpt/node'
29
31
  import { wptSuite } from '@wtf/project-wpt/suite'
30
32
 
31
33
  declare const MemoryChannel: unknown // import { MemoryChannel } from '../src/memory.ts'
32
34
 
33
- wptSuite('broadcast-channel', nodeSystem(), {
35
+ const platform = nodePlatform({ fetch, storage: nodeStorage() })
36
+ wptSuite('broadcast-channel', nodeSystem(platform), {
34
37
  commit: '4ad507b28db0a636f528def9161d109fe11b93a3',
35
38
  dirs: ['webmessaging/broadcastchannel'],
36
39
  globals: () => ({ BroadcastChannel: MemoryChannel, console }),
@@ -67,7 +70,9 @@ in each suite, and leaves it out of what it gives.
67
70
 
68
71
  ```ts
69
72
  // test/broadcast-channel.wpt.test.ts
70
- import { loadConfig } from '@wtf/project-config/node'
73
+ import { nodeStorage } from '@wtf/platform-fs-node/storage'
74
+ import { nodePlatform } from '@wtf/platform-node/platform'
75
+ import { loadConfig } from '@wtf/project-config/load'
71
76
  import { sectionOf } from '@wtf/project-config/section'
72
77
  import { nodeSystem } from '@wtf/project-wpt/node'
73
78
  import { wptSchema } from '@wtf/project-wpt/schema'
@@ -75,11 +80,12 @@ import { wptSuite } from '@wtf/project-wpt/suite'
75
80
 
76
81
  declare const MemoryChannel: unknown // import { MemoryChannel } from '../src/memory.ts'
77
82
 
78
- const wpt = await sectionOf(await loadConfig(), 'wpt', wptSchema)
83
+ const platform = nodePlatform({ fetch, storage: nodeStorage() })
84
+ const wpt = await sectionOf(await loadConfig({ platform }), 'wpt', wptSchema)
79
85
  if (wpt === undefined) throw new Error('The wtf configuration has no wpt section.')
80
86
  const { suites = {}, ...pinned } = wpt
81
87
 
82
- wptSuite('broadcast-channel', nodeSystem(), {
88
+ wptSuite('broadcast-channel', nodeSystem(platform), {
83
89
  ...pinned,
84
90
  ...suites['broadcast-channel'],
85
91
  globals: () => ({ BroadcastChannel: MemoryChannel, console })
@@ -89,9 +95,11 @@ wptSuite('broadcast-channel', nodeSystem(), {
89
95
  ## What it needs
90
96
 
91
97
  The suite takes everything platform-specific as one required parameter, a `WptSystem`: the
92
- platform, whose timers a file runs with; the files it reads the checkout with; the `exec` it runs
93
- git with; the `realm` a file runs in; and the `rejections` it uses to hear unhandled ones. In Node,
94
- pass `nodeSystem()` of `./node`.
98
+ platform, whose environment git runs in, whose timers a file runs with and whose paths and working
99
+ folder the checkout is of; the files it reads the checkout with; the `exec` it runs git with; the
100
+ `realm` a file runs in; and the `rejections` it uses to hear unhandled ones. In Node, pass
101
+ `nodeSystem(platform)` of `./node`, of the platform your test file builds, as `nodePlatform()` of
102
+ `@wtf/platform-node/platform` makes it: the runner reads nothing of the process by itself.
95
103
 
96
104
  The first run uses git to check out the parts of the WPT the suites need into
97
105
  `node_modules/.cache/wpt/<commit>`. Later runs work offline. A subtest the expectations list as
@@ -6,7 +6,7 @@
6
6
  function builtins(): Record<string, unknown>;
7
7
  ```
8
8
 
9
- Defined in: [packages/project-wpt/src/builtins.ts:25](https://gitlab.com/wetryfun/project/project/-/blob/docs-v2.3.1/packages/project-wpt/src/builtins.ts#L25)
9
+ Defined in: [packages/project-wpt/src/builtins.ts:25](https://gitlab.com/wetryfun/project/project/-/blob/docs-v3.0.0/packages/project-wpt/src/builtins.ts#L25)
10
10
 
11
11
  The values and constructors of the WinterTC Minimum Common Web API
12
12
  (https://min-common-api.proposal.wintertc.org/) that Node has in every version it supports, each
@@ -6,7 +6,7 @@
6
6
  function intrinsics(): Record<string, unknown>;
7
7
  ```
8
8
 
9
- Defined in: [packages/project-wpt/src/builtins.ts:79](https://gitlab.com/wetryfun/project/project/-/blob/docs-v2.3.1/packages/project-wpt/src/builtins.ts#L79)
9
+ Defined in: [packages/project-wpt/src/builtins.ts:79](https://gitlab.com/wetryfun/project/project/-/blob/docs-v3.0.0/packages/project-wpt/src/builtins.ts#L79)
10
10
 
11
11
  The language's built-ins of this realm that cross into a test's context, each by its name: the
12
12
  errors, `ArrayBuffer`, `SharedArrayBuffer`, `DataView`, the typed arrays and `Promise`. An
@@ -11,8 +11,8 @@ A checkout is cached, by its commit, in `node_modules/.cache/wpt/<commit>` of th
11
11
  blobless, shallow fetch of the commit, whose files git checks out of the paths asked for alone. A
12
12
  path asked for later is added to it. Once each path is there, nothing runs git, and a run is
13
13
  offline. A lock beside it keeps two processes from changing it at once. Git runs by the `exec` it
14
- is given, in the environment and the working folder of the platform it is given, and the lock
15
- waits, and ages, by that platform's timer and clock.
14
+ is given ([execOf](functions/execOf.md) the `spawn` of a platform), in the environment of the platform it is
15
+ given; its paths are that platform's, and the lock waits, and ages, by its timer and clock.
16
16
 
17
17
  ## Type Aliases
18
18
 
@@ -31,4 +31,5 @@ waits, and ages, by that platform's timer and clock.
31
31
  - [checkoutFolderOf](functions/checkoutFolderOf.md)
32
32
  - [checkoutTests](functions/checkoutTests.md)
33
33
  - [checkoutWpt](functions/checkoutWpt.md)
34
+ - [execOf](functions/execOf.md)
34
35
  - [fileOf](functions/fileOf.md)
@@ -6,7 +6,7 @@
6
6
  function checkoutFolderOf(__namedParameters): string;
7
7
  ```
8
8
 
9
- Defined in: [packages/project-wpt/src/checkout.ts:70](https://gitlab.com/wetryfun/project/project/-/blob/docs-v2.3.1/packages/project-wpt/src/checkout.ts#L70)
9
+ Defined in: [packages/project-wpt/src/checkout.ts:71](https://gitlab.com/wetryfun/project/project/-/blob/docs-v3.0.0/packages/project-wpt/src/checkout.ts#L71)
10
10
 
11
11
  The folder of the checkout of `commit`.
12
12
 
@@ -10,7 +10,7 @@ function checkoutTests(
10
10
  ): Promise<CheckedOutTests>;
11
11
  ```
12
12
 
13
- Defined in: [packages/project-wpt/src/checkout.ts:249](https://gitlab.com/wetryfun/project/project/-/blob/docs-v2.3.1/packages/project-wpt/src/checkout.ts#L249)
13
+ Defined in: [packages/project-wpt/src/checkout.ts:272](https://gitlab.com/wetryfun/project/project/-/blob/docs-v3.0.0/packages/project-wpt/src/checkout.ts#L272)
14
14
 
15
15
  The tests of `paths`, checked out by [checkoutWpt](checkoutWpt.md) with its `resources`, and the scripts
16
16
  their `// META:` lines load: each of `files`, as it is, and each `*.any.js` file of `dirs` that runs outside a
@@ -6,7 +6,7 @@
6
6
  function checkoutWpt(options, __namedParameters): Promise<string>;
7
7
  ```
8
8
 
9
- Defined in: [packages/project-wpt/src/checkout.ts:156](https://gitlab.com/wetryfun/project/project/-/blob/docs-v2.3.1/packages/project-wpt/src/checkout.ts#L156)
9
+ Defined in: [packages/project-wpt/src/checkout.ts:177](https://gitlab.com/wetryfun/project/project/-/blob/docs-v3.0.0/packages/project-wpt/src/checkout.ts#L177)
10
10
 
11
11
  The folder of a checkout of the WPT at its commit that has each of `files`, `dirs` and
12
12
  `resources`, each a path from its root, and the harness; fetched by git of what it lacks, sparse, or as it is, of
@@ -0,0 +1,28 @@
1
+ [Documentation](../../../../README.md) / [@wtf/project-wpt](../../README.md) / [checkout](../README.md) / execOf
2
+
3
+ # Function: execOf()
4
+
5
+ ```ts
6
+ function execOf(spawn): Exec;
7
+ ```
8
+
9
+ Defined in: [packages/project-wpt/src/checkout.ts:85](https://gitlab.com/wetryfun/project/project/-/blob/docs-v3.0.0/packages/project-wpt/src/checkout.ts#L85)
10
+
11
+ An [Exec](../../index/type-aliases/Exec.md) of the `spawn` of a platform, as `ProcessPlatform` of `@wtf/platform` has it: the
12
+ command run to its end, in its folder, of its environment, its variables that are set, and what
13
+ it wrote on stdout; of a code but 0, an error of what it wrote on stderr, or of its code.
14
+
15
+ ```ts
16
+ const git = execOf(platform.spawn)
17
+ const version = await git('git', ['--version'], { cwd: platform.dirs.cwd, env: platform.env })
18
+ ```
19
+
20
+ ## Parameters
21
+
22
+ | Parameter | Type |
23
+ | ------ | ------ |
24
+ | `spawn` | `Spawn` |
25
+
26
+ ## Returns
27
+
28
+ [`Exec`](../../index/type-aliases/Exec.md)
@@ -6,7 +6,7 @@
6
6
  function fileOf(path): string;
7
7
  ```
8
8
 
9
- Defined in: [packages/project-wpt/src/checkout.ts:38](https://gitlab.com/wetryfun/project/project/-/blob/docs-v2.3.1/packages/project-wpt/src/checkout.ts#L38)
9
+ Defined in: [packages/project-wpt/src/checkout.ts:39](https://gitlab.com/wetryfun/project/project/-/blob/docs-v3.0.0/packages/project-wpt/src/checkout.ts#L39)
10
10
 
11
11
  The file of the checkout the WPT's server serves at `path`, from the root: itself, or its rewrite.
12
12
 
@@ -6,7 +6,7 @@
6
6
  type CheckedOutTests = object;
7
7
  ```
8
8
 
9
- Defined in: [packages/project-wpt/src/checkout.ts:231](https://gitlab.com/wetryfun/project/project/-/blob/docs-v2.3.1/packages/project-wpt/src/checkout.ts#L231)
9
+ Defined in: [packages/project-wpt/src/checkout.ts:254](https://gitlab.com/wetryfun/project/project/-/blob/docs-v3.0.0/packages/project-wpt/src/checkout.ts#L254)
10
10
 
11
11
  A suite's tests, and the folder of the checkout they are in.
12
12
 
@@ -18,7 +18,7 @@ A suite's tests, and the folder of the checkout they are in.
18
18
  readonly folder: string;
19
19
  ```
20
20
 
21
- Defined in: [packages/project-wpt/src/checkout.ts:232](https://gitlab.com/wetryfun/project/project/-/blob/docs-v2.3.1/packages/project-wpt/src/checkout.ts#L232)
21
+ Defined in: [packages/project-wpt/src/checkout.ts:255](https://gitlab.com/wetryfun/project/project/-/blob/docs-v3.0.0/packages/project-wpt/src/checkout.ts#L255)
22
22
 
23
23
  ***
24
24
 
@@ -28,6 +28,6 @@ Defined in: [packages/project-wpt/src/checkout.ts:232](https://gitlab.com/wetryf
28
28
  readonly tests: readonly WptTest[];
29
29
  ```
30
30
 
31
- Defined in: [packages/project-wpt/src/checkout.ts:234](https://gitlab.com/wetryfun/project/project/-/blob/docs-v2.3.1/packages/project-wpt/src/checkout.ts#L234)
31
+ Defined in: [packages/project-wpt/src/checkout.ts:257](https://gitlab.com/wetryfun/project/project/-/blob/docs-v3.0.0/packages/project-wpt/src/checkout.ts#L257)
32
32
 
33
33
  Each test, of each variant of each file.
@@ -6,7 +6,7 @@
6
6
  type CheckoutOptions = object;
7
7
  ```
8
8
 
9
- Defined in: [packages/project-wpt/src/checkout.ts:41](https://gitlab.com/wetryfun/project/project/-/blob/docs-v2.3.1/packages/project-wpt/src/checkout.ts#L41)
9
+ Defined in: [packages/project-wpt/src/checkout.ts:42](https://gitlab.com/wetryfun/project/project/-/blob/docs-v3.0.0/packages/project-wpt/src/checkout.ts#L42)
10
10
 
11
11
  Where a checkout is, and what it fetches.
12
12
 
@@ -18,7 +18,7 @@ Where a checkout is, and what it fetches.
18
18
  readonly optional cache?: string;
19
19
  ```
20
20
 
21
- Defined in: [packages/project-wpt/src/checkout.ts:66](https://gitlab.com/wetryfun/project/project/-/blob/docs-v2.3.1/packages/project-wpt/src/checkout.ts#L66)
21
+ Defined in: [packages/project-wpt/src/checkout.ts:67](https://gitlab.com/wetryfun/project/project/-/blob/docs-v3.0.0/packages/project-wpt/src/checkout.ts#L67)
22
22
 
23
23
  The folder of the checkouts, each by its commit, in place of the project's cache.
24
24
 
@@ -30,7 +30,7 @@ The folder of the checkouts, each by its commit, in place of the project's cache
30
30
  readonly commit: string;
31
31
  ```
32
32
 
33
- Defined in: [packages/project-wpt/src/checkout.ts:62](https://gitlab.com/wetryfun/project/project/-/blob/docs-v2.3.1/packages/project-wpt/src/checkout.ts#L62)
33
+ Defined in: [packages/project-wpt/src/checkout.ts:63](https://gitlab.com/wetryfun/project/project/-/blob/docs-v3.0.0/packages/project-wpt/src/checkout.ts#L63)
34
34
 
35
35
  The commit of the WPT, its full hash.
36
36
 
@@ -42,9 +42,9 @@ The commit of the WPT, its full hash.
42
42
  readonly exec: Exec;
43
43
  ```
44
44
 
45
- Defined in: [packages/project-wpt/src/checkout.ts:58](https://gitlab.com/wetryfun/project/project/-/blob/docs-v2.3.1/packages/project-wpt/src/checkout.ts#L58)
45
+ Defined in: [packages/project-wpt/src/checkout.ts:59](https://gitlab.com/wetryfun/project/project/-/blob/docs-v3.0.0/packages/project-wpt/src/checkout.ts#L59)
46
46
 
47
- Runs git, to its end, in a folder and an environment: `nodeExec` of ./node, in Node.
47
+ Runs git, to its end, in a folder and an environment: [execOf](../functions/execOf.md) a platform's `spawn`.
48
48
 
49
49
  ***
50
50
 
@@ -61,7 +61,7 @@ readonly files: Pick<WptFiles,
61
61
  | "remove">;
62
62
  ```
63
63
 
64
- Defined in: [packages/project-wpt/src/checkout.ts:47](https://gitlab.com/wetryfun/project/project/-/blob/docs-v2.3.1/packages/project-wpt/src/checkout.ts#L47)
64
+ Defined in: [packages/project-wpt/src/checkout.ts:48](https://gitlab.com/wetryfun/project/project/-/blob/docs-v3.0.0/packages/project-wpt/src/checkout.ts#L48)
65
65
 
66
66
  The file system the checkout is looked for and read by, the handles of the platform's: what
67
67
  is there and what a file holds, and the lock beside the checkout, which one process makes by
@@ -72,14 +72,14 @@ creating a file no other can. The fetch itself, by git, is the disk's.
72
72
  ### platform
73
73
 
74
74
  ```ts
75
- readonly platform: Pick<WptPlatform, "env" | "setTimeout" | "performance">;
75
+ readonly platform: Pick<WptPlatform, "env" | "setTimeout" | "performance" | "path">;
76
76
  ```
77
77
 
78
- Defined in: [packages/project-wpt/src/checkout.ts:56](https://gitlab.com/wetryfun/project/project/-/blob/docs-v2.3.1/packages/project-wpt/src/checkout.ts#L56)
78
+ Defined in: [packages/project-wpt/src/checkout.ts:57](https://gitlab.com/wetryfun/project/project/-/blob/docs-v3.0.0/packages/project-wpt/src/checkout.ts#L57)
79
79
 
80
80
  What the checkout reads of the platform: the environment git runs in, `setTimeout`, which the
81
- wait for the lock of another process is made by, and `performance`, whose clock tells how old
82
- that lock is.
81
+ wait for the lock of another process is made by, `performance`, whose clock tells how old
82
+ that lock is, and the paths of the checkout, `path`.
83
83
 
84
84
  ***
85
85
 
@@ -89,7 +89,7 @@ that lock is.
89
89
  readonly optional repository?: string;
90
90
  ```
91
91
 
92
- Defined in: [packages/project-wpt/src/checkout.ts:64](https://gitlab.com/wetryfun/project/project/-/blob/docs-v2.3.1/packages/project-wpt/src/checkout.ts#L64)
92
+ Defined in: [packages/project-wpt/src/checkout.ts:65](https://gitlab.com/wetryfun/project/project/-/blob/docs-v3.0.0/packages/project-wpt/src/checkout.ts#L65)
93
93
 
94
94
  The git repository of the WPT, the WPT's own on GitHub by default.
95
95
 
@@ -101,6 +101,6 @@ The git repository of the WPT, the WPT's own on GitHub by default.
101
101
  readonly root: string;
102
102
  ```
103
103
 
104
- Defined in: [packages/project-wpt/src/checkout.ts:60](https://gitlab.com/wetryfun/project/project/-/blob/docs-v2.3.1/packages/project-wpt/src/checkout.ts#L60)
104
+ Defined in: [packages/project-wpt/src/checkout.ts:61](https://gitlab.com/wetryfun/project/project/-/blob/docs-v3.0.0/packages/project-wpt/src/checkout.ts#L61)
105
105
 
106
106
  The root of the project, whose `node_modules/.cache/wpt` keeps the checkouts.
@@ -6,7 +6,7 @@
6
6
  type CheckoutTestsOptions = object;
7
7
  ```
8
8
 
9
- Defined in: [packages/project-wpt/src/checkout.ts:238](https://gitlab.com/wetryfun/project/project/-/blob/docs-v2.3.1/packages/project-wpt/src/checkout.ts#L238)
9
+ Defined in: [packages/project-wpt/src/checkout.ts:261](https://gitlab.com/wetryfun/project/project/-/blob/docs-v3.0.0/packages/project-wpt/src/checkout.ts#L261)
10
10
 
11
11
  Which tests of a suite run, of which [checkoutTests](../functions/checkoutTests.md) checks out the scripts.
12
12
 
@@ -18,7 +18,7 @@ Which tests of a suite run, of which [checkoutTests](../functions/checkoutTests.
18
18
  readonly optional runs?: (test) => boolean;
19
19
  ```
20
20
 
21
- Defined in: [packages/project-wpt/src/checkout.ts:240](https://gitlab.com/wetryfun/project/project/-/blob/docs-v2.3.1/packages/project-wpt/src/checkout.ts#L240)
21
+ Defined in: [packages/project-wpt/src/checkout.ts:263](https://gitlab.com/wetryfun/project/project/-/blob/docs-v3.0.0/packages/project-wpt/src/checkout.ts#L263)
22
22
 
23
23
  Whether a test runs: each by default; a file none of whose tests run needs no script.
24
24
 
@@ -6,6 +6,6 @@
6
6
  const HARNESS: "resources/testharness.js" = 'resources/testharness.js';
7
7
  ```
8
8
 
9
- Defined in: [packages/project-wpt/src/checkout.ts:26](https://gitlab.com/wetryfun/project/project/-/blob/docs-v2.3.1/packages/project-wpt/src/checkout.ts#L26)
9
+ Defined in: [packages/project-wpt/src/checkout.ts:27](https://gitlab.com/wetryfun/project/project/-/blob/docs-v3.0.0/packages/project-wpt/src/checkout.ts#L27)
10
10
 
11
11
  The harness every test file loads, which each checkout has.
@@ -6,7 +6,7 @@
6
6
  const REWRITES: Readonly<Record<string, string>>;
7
7
  ```
8
8
 
9
- Defined in: [packages/project-wpt/src/checkout.ts:33](https://gitlab.com/wetryfun/project/project/-/blob/docs-v2.3.1/packages/project-wpt/src/checkout.ts#L33)
9
+ Defined in: [packages/project-wpt/src/checkout.ts:34](https://gitlab.com/wetryfun/project/project/-/blob/docs-v3.0.0/packages/project-wpt/src/checkout.ts#L34)
10
10
 
11
11
  The files the WPT's server serves at another path, each by the path it serves it at, from the
12
12
  root: `resources/WebIDLParser.js`, which idlharness.js loads, is the parser of Web IDL in
@@ -6,6 +6,6 @@
6
6
  const WPT_REPOSITORY: "https://github.com/web-platform-tests/wpt.git" = 'https://github.com/web-platform-tests/wpt.git';
7
7
  ```
8
8
 
9
- Defined in: [packages/project-wpt/src/checkout.ts:23](https://gitlab.com/wetryfun/project/project/-/blob/docs-v2.3.1/packages/project-wpt/src/checkout.ts#L23)
9
+ Defined in: [packages/project-wpt/src/checkout.ts:24](https://gitlab.com/wetryfun/project/project/-/blob/docs-v3.0.0/packages/project-wpt/src/checkout.ts#L24)
10
10
 
11
11
  The git repository of the WPT, the WPT's own on GitHub: where a checkout fetches it from by default.
@@ -2,7 +2,7 @@
2
2
 
3
3
  # Class: HarnessFailedError
4
4
 
5
- Defined in: [packages/project-wpt/src/errors.ts:79](https://gitlab.com/wetryfun/project/project/-/blob/docs-v2.3.1/packages/project-wpt/src/errors.ts#L79)
5
+ Defined in: [packages/project-wpt/src/errors.ts:79](https://gitlab.com/wetryfun/project/project/-/blob/docs-v3.0.0/packages/project-wpt/src/errors.ts#L79)
6
6
 
7
7
  The harness of a file that came to no `OK`, and no expectation says it does not.
8
8
 
@@ -18,7 +18,7 @@ The harness of a file that came to no `OK`, and no expectation says it does not.
18
18
  new HarnessFailedError(status, message): HarnessFailedError;
19
19
  ```
20
20
 
21
- Defined in: [packages/project-wpt/src/errors.ts:80](https://gitlab.com/wetryfun/project/project/-/blob/docs-v2.3.1/packages/project-wpt/src/errors.ts#L80)
21
+ Defined in: [packages/project-wpt/src/errors.ts:80](https://gitlab.com/wetryfun/project/project/-/blob/docs-v3.0.0/packages/project-wpt/src/errors.ts#L80)
22
22
 
23
23
  #### Parameters
24
24
 
@@ -40,8 +40,8 @@ Defined in: [packages/project-wpt/src/errors.ts:80](https://gitlab.com/wetryfun/
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` | - | [`WptError`](WptError.md).[`cause`](WptError.md#property-cause) | - |
43
- | <a id="property-code"></a> `code` | `readonly` | `string` | `undefined` | - | [`WptError`](WptError.md).[`code`](WptError.md#property-code) | [packages/project-wpt/src/errors.ts:17](https://gitlab.com/wetryfun/project/project/-/blob/docs-v2.3.1/packages/project-wpt/src/errors.ts#L17) |
44
- | <a id="property-exitcode"></a> `exitCode` | `readonly` | `number` | `1` | What a command that fails by it exits with. | [`WptError`](WptError.md).[`exitCode`](WptError.md#property-exitcode) | [packages/project-wpt/src/errors.ts:19](https://gitlab.com/wetryfun/project/project/-/blob/docs-v2.3.1/packages/project-wpt/src/errors.ts#L19) |
43
+ | <a id="property-code"></a> `code` | `readonly` | `string` | `undefined` | - | [`WptError`](WptError.md).[`code`](WptError.md#property-code) | [packages/project-wpt/src/errors.ts:17](https://gitlab.com/wetryfun/project/project/-/blob/docs-v3.0.0/packages/project-wpt/src/errors.ts#L17) |
44
+ | <a id="property-exitcode"></a> `exitCode` | `readonly` | `number` | `1` | What a command that fails by it exits with. | [`WptError`](WptError.md).[`exitCode`](WptError.md#property-exitcode) | [packages/project-wpt/src/errors.ts:19](https://gitlab.com/wetryfun/project/project/-/blob/docs-v3.0.0/packages/project-wpt/src/errors.ts#L19) |
45
45
  | <a id="property-message"></a> `message` | `public` | `string` | `undefined` | - | [`WptError`](WptError.md).[`message`](WptError.md#property-message) | - |
46
46
  | <a id="property-name"></a> `name` | `public` | `string` | `undefined` | - | [`WptError`](WptError.md).[`name`](WptError.md#property-name) | - |
47
47
  | <a id="property-stack"></a> `stack?` | `public` | `string` | `undefined` | - | [`WptError`](WptError.md).[`stack`](WptError.md#property-stack) | - |