@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
@@ -11,7 +11,7 @@ function setConfigValue(
11
11
  ): Promise<ConfigWrite>;
12
12
  ```
13
13
 
14
- Defined in: [packages/project-config/src/write.ts:210](https://gitlab.com/wetryfun/project/project/-/blob/docs-v2.3.1/packages/project-config/src/write.ts#L210)
14
+ Defined in: [packages/project-config/src/write.ts:211](https://gitlab.com/wetryfun/project/project/-/blob/docs-v3.0.0/packages/project-config/src/write.ts#L211)
15
15
 
16
16
  Set `value` at `path` of the configuration of the project in `folder`: in the file in use, the
17
17
  key of package.json (the namespace by default) or a JSON file of the names
@@ -10,7 +10,7 @@ function unsetConfigValue(
10
10
  ): Promise<ConfigWrite>;
11
11
  ```
12
12
 
13
- Defined in: [packages/project-config/src/write.ts:246](https://gitlab.com/wetryfun/project/project/-/blob/docs-v2.3.1/packages/project-config/src/write.ts#L246)
13
+ Defined in: [packages/project-config/src/write.ts:247](https://gitlab.com/wetryfun/project/project/-/blob/docs-v3.0.0/packages/project-config/src/write.ts#L247)
14
14
 
15
15
  Take away the value at `path` of the configuration of the project in `folder`, in the file in
16
16
  use: a JSON file of the names (`<namespace>.config.json` by default) or the key of package.json
@@ -6,7 +6,7 @@
6
6
  type WriteOptions = LocateOptions & object;
7
7
  ```
8
8
 
9
- Defined in: [packages/project-config/src/write.ts:39](https://gitlab.com/wetryfun/project/project/-/blob/docs-v2.3.1/packages/project-config/src/write.ts#L39)
9
+ Defined in: [packages/project-config/src/write.ts:40](https://gitlab.com/wetryfun/project/project/-/blob/docs-v3.0.0/packages/project-config/src/write.ts#L40)
10
10
 
11
11
  How a value of the configuration is written: where it is looked for, of the namespace and the
12
12
  names of `ConfigNames`, each its default when it is not given, and the file to write.
@@ -15,4 +15,4 @@ names of `ConfigNames`, each its default when it is not given, and the file to w
15
15
 
16
16
  | Name | Type | Description | Defined in |
17
17
  | ------ | ------ | ------ | ------ |
18
- | `file?` | `string` | The file to write: where none holds the configuration, the one to make it in, the key of package.json (`package.json`) by default, or a JSON file of the names, as `<namespace>.config.json`; where one does, it must be that one, or the write is a `ConfigFileMismatchError`. Any other file is an `UnwritableConfigFileError`. | [packages/project-config/src/write.ts:46](https://gitlab.com/wetryfun/project/project/-/blob/docs-v2.3.1/packages/project-config/src/write.ts#L46) |
18
+ | `file?` | `string` | The file to write: where none holds the configuration, the one to make it in, the key of package.json (`package.json`) by default, or a JSON file of the names, as `<namespace>.config.json`; where one does, it must be that one, or the write is a `ConfigFileMismatchError`. Any other file is an `UnwritableConfigFileError`. | [packages/project-config/src/write.ts:47](https://gitlab.com/wetryfun/project/project/-/blob/docs-v3.0.0/packages/project-config/src/write.ts#L47) |
@@ -33,13 +33,16 @@ load, and a `wtf.config.ts` is read too:
33
33
 
34
34
  ```ts
35
35
  // oxfmt.config.ts
36
- import { loadConfig } from '@wtf/project-config/node'
36
+ import { nodeStorage } from '@wtf/platform-fs-node/storage'
37
+ import { nodePlatform } from '@wtf/platform-node/platform'
38
+ import { loadConfig } from '@wtf/project-config/load'
37
39
  import { sectionOf } from '@wtf/project-config/section'
38
40
  import { oxfmtConfig } from '@wtf/project-oxfmt/config'
39
41
  import { oxfmtSchema } from '@wtf/project-oxfmt/schema'
40
42
  import { defineConfig } from 'oxfmt'
41
43
 
42
- const config = await loadConfig()
44
+ const platform = nodePlatform({ fetch, storage: nodeStorage() })
45
+ const config = await loadConfig({ platform })
43
46
  export default defineConfig(oxfmtConfig({ ...(await sectionOf(config, 'oxfmt', oxfmtSchema)) }))
44
47
  ```
45
48
 
@@ -6,7 +6,7 @@
6
6
  function oxfmtConfig(options?): OxfmtConfig;
7
7
  ```
8
8
 
9
- Defined in: [packages/project-oxfmt/src/config.ts:37](https://gitlab.com/wetryfun/project/project/-/blob/docs-v2.3.1/packages/project-oxfmt/src/config.ts#L37)
9
+ Defined in: [packages/project-oxfmt/src/config.ts:37](https://gitlab.com/wetryfun/project/project/-/blob/docs-v3.0.0/packages/project-oxfmt/src/config.ts#L37)
10
10
 
11
11
  The preset with `options` over it, each in place of the preset's: `ignorePatterns` given is the
12
12
  whole list.
@@ -6,6 +6,6 @@
6
6
  type OxfmtOptions = OxfmtConfig;
7
7
  ```
8
8
 
9
- Defined in: [packages/project-oxfmt/src/config.ts:14](https://gitlab.com/wetryfun/project/project/-/blob/docs-v2.3.1/packages/project-oxfmt/src/config.ts#L14)
9
+ Defined in: [packages/project-oxfmt/src/config.ts:14](https://gitlab.com/wetryfun/project/project/-/blob/docs-v3.0.0/packages/project-oxfmt/src/config.ts#L14)
10
10
 
11
11
  What [oxfmtConfig](../functions/oxfmtConfig.md) takes: any option of oxfmt's config, each in place of the preset's.
@@ -6,7 +6,7 @@
6
6
  const OXFMT_DEFAULTS: object;
7
7
  ```
8
8
 
9
- Defined in: [packages/project-oxfmt/src/config.ts:17](https://gitlab.com/wetryfun/project/project/-/blob/docs-v2.3.1/packages/project-oxfmt/src/config.ts#L17)
9
+ Defined in: [packages/project-oxfmt/src/config.ts:17](https://gitlab.com/wetryfun/project/project/-/blob/docs-v3.0.0/packages/project-oxfmt/src/config.ts#L17)
10
10
 
11
11
  The preset's own options, which [oxfmtConfig](../functions/oxfmtConfig.md) lays a repo's over.
12
12
 
@@ -14,8 +14,8 @@ The preset's own options, which [oxfmtConfig](../functions/oxfmtConfig.md) lays
14
14
 
15
15
  | Name | Type | Default value | Defined in |
16
16
  | ------ | ------ | ------ | ------ |
17
- | <a id="property-ignorepatterns"></a> `ignorePatterns` | `string`[] | - | [packages/project-oxfmt/src/config.ts:18](https://gitlab.com/wetryfun/project/project/-/blob/docs-v2.3.1/packages/project-oxfmt/src/config.ts#L18) |
18
- | <a id="property-printwidth"></a> `printWidth` | `number` | `100` | [packages/project-oxfmt/src/config.ts:19](https://gitlab.com/wetryfun/project/project/-/blob/docs-v2.3.1/packages/project-oxfmt/src/config.ts#L19) |
19
- | <a id="property-semi"></a> `semi` | `false` | `false` | [packages/project-oxfmt/src/config.ts:21](https://gitlab.com/wetryfun/project/project/-/blob/docs-v2.3.1/packages/project-oxfmt/src/config.ts#L21) |
20
- | <a id="property-singlequote"></a> `singleQuote` | `true` | `true` | [packages/project-oxfmt/src/config.ts:22](https://gitlab.com/wetryfun/project/project/-/blob/docs-v2.3.1/packages/project-oxfmt/src/config.ts#L22) |
21
- | <a id="property-trailingcomma"></a> `trailingComma` | `"none"` | `'none'` | [packages/project-oxfmt/src/config.ts:20](https://gitlab.com/wetryfun/project/project/-/blob/docs-v2.3.1/packages/project-oxfmt/src/config.ts#L20) |
17
+ | <a id="property-ignorepatterns"></a> `ignorePatterns` | `string`[] | - | [packages/project-oxfmt/src/config.ts:18](https://gitlab.com/wetryfun/project/project/-/blob/docs-v3.0.0/packages/project-oxfmt/src/config.ts#L18) |
18
+ | <a id="property-printwidth"></a> `printWidth` | `number` | `100` | [packages/project-oxfmt/src/config.ts:19](https://gitlab.com/wetryfun/project/project/-/blob/docs-v3.0.0/packages/project-oxfmt/src/config.ts#L19) |
19
+ | <a id="property-semi"></a> `semi` | `false` | `false` | [packages/project-oxfmt/src/config.ts:21](https://gitlab.com/wetryfun/project/project/-/blob/docs-v3.0.0/packages/project-oxfmt/src/config.ts#L21) |
20
+ | <a id="property-singlequote"></a> `singleQuote` | `true` | `true` | [packages/project-oxfmt/src/config.ts:22](https://gitlab.com/wetryfun/project/project/-/blob/docs-v3.0.0/packages/project-oxfmt/src/config.ts#L22) |
21
+ | <a id="property-trailingcomma"></a> `trailingComma` | `"none"` | `'none'` | [packages/project-oxfmt/src/config.ts:20](https://gitlab.com/wetryfun/project/project/-/blob/docs-v3.0.0/packages/project-oxfmt/src/config.ts#L20) |
@@ -6,6 +6,6 @@
6
6
  default: OxfmtConfig;
7
7
  ```
8
8
 
9
- Defined in: [packages/project-oxfmt/src/config.ts:41](https://gitlab.com/wetryfun/project/project/-/blob/docs-v2.3.1/packages/project-oxfmt/src/config.ts#L41)
9
+ Defined in: [packages/project-oxfmt/src/config.ts:41](https://gitlab.com/wetryfun/project/project/-/blob/docs-v3.0.0/packages/project-oxfmt/src/config.ts#L41)
10
10
 
11
11
  The preset, with no options of a repo's own: [oxfmtConfig](../functions/oxfmtConfig.md) of none.
@@ -6,7 +6,7 @@
6
6
  const oxfmtSchema: StandardSchemaV1<OxfmtOptions> & StandardJSONSchemaV1<OxfmtOptions>;
7
7
  ```
8
8
 
9
- Defined in: [packages/project-oxfmt/src/schema.ts:49](https://gitlab.com/wetryfun/project/project/-/blob/docs-v2.3.1/packages/project-oxfmt/src/schema.ts#L49)
9
+ Defined in: [packages/project-oxfmt/src/schema.ts:49](https://gitlab.com/wetryfun/project/project/-/blob/docs-v3.0.0/packages/project-oxfmt/src/schema.ts#L49)
10
10
 
11
11
  The schema of the options of `oxfmtConfig()` of ./config: oxfmt's config, of the options the
12
12
  preset sets checked, `ignorePatterns`, `printWidth`, `trailingComma`, `semi` and `singleQuote`,
@@ -36,13 +36,16 @@ the load, and a `wtf.config.ts` is read too:
36
36
 
37
37
  ```ts
38
38
  // oxlint.config.ts
39
- import { loadConfig } from '@wtf/project-config/node'
39
+ import { nodeStorage } from '@wtf/platform-fs-node/storage'
40
+ import { nodePlatform } from '@wtf/platform-node/platform'
41
+ import { loadConfig } from '@wtf/project-config/load'
40
42
  import { sectionOf } from '@wtf/project-config/section'
41
43
  import { oxlintConfig } from '@wtf/project-oxlint/config'
42
44
  import { oxlintSchema } from '@wtf/project-oxlint/schema'
43
45
  import { defineConfig } from 'oxlint'
44
46
 
45
- const config = await loadConfig()
47
+ const platform = nodePlatform({ fetch, storage: nodeStorage() })
48
+ const config = await loadConfig({ platform })
46
49
  export default defineConfig({
47
50
  extends: [oxlintConfig({ ...(await sectionOf(config, 'oxlint', oxlintSchema)) })]
48
51
  })
@@ -6,7 +6,7 @@
6
6
  function oxlintConfig(options?): OxlintConfig;
7
7
  ```
8
8
 
9
- Defined in: [packages/project-oxlint/src/config.ts:52](https://gitlab.com/wetryfun/project/project/-/blob/docs-v2.3.1/packages/project-oxlint/src/config.ts#L52)
9
+ Defined in: [packages/project-oxlint/src/config.ts:52](https://gitlab.com/wetryfun/project/project/-/blob/docs-v3.0.0/packages/project-oxlint/src/config.ts#L52)
10
10
 
11
11
  The preset with `options` over it: `categories`, `rules` and `env` key by key over the preset's,
12
12
  so a rule given is set and every other kept; and each other option in place of the preset's.
@@ -6,7 +6,7 @@
6
6
  type OxlintOptions = OxlintConfig;
7
7
  ```
8
8
 
9
- Defined in: [packages/project-oxlint/src/config.ts:18](https://gitlab.com/wetryfun/project/project/-/blob/docs-v2.3.1/packages/project-oxlint/src/config.ts#L18)
9
+ Defined in: [packages/project-oxlint/src/config.ts:18](https://gitlab.com/wetryfun/project/project/-/blob/docs-v3.0.0/packages/project-oxlint/src/config.ts#L18)
10
10
 
11
11
  What [oxlintConfig](../functions/oxlintConfig.md) takes: any option of oxlint's config. `categories`, `rules` and `env`
12
12
  are laid over the preset's, key by key; each other option, as `plugins` or `ignorePatterns`,
@@ -6,7 +6,7 @@
6
6
  const OXLINT_DEFAULTS: object;
7
7
  ```
8
8
 
9
- Defined in: [packages/project-oxlint/src/config.ts:21](https://gitlab.com/wetryfun/project/project/-/blob/docs-v2.3.1/packages/project-oxlint/src/config.ts#L21)
9
+ Defined in: [packages/project-oxlint/src/config.ts:21](https://gitlab.com/wetryfun/project/project/-/blob/docs-v3.0.0/packages/project-oxlint/src/config.ts#L21)
10
10
 
11
11
  The preset's own options, which [oxlintConfig](../functions/oxlintConfig.md) lays a repo's over.
12
12
 
@@ -14,19 +14,19 @@ The preset's own options, which [oxlintConfig](../functions/oxlintConfig.md) lay
14
14
 
15
15
  | Name | Type | Default value | Defined in |
16
16
  | ------ | ------ | ------ | ------ |
17
- | <a id="property-categories"></a> `categories` | `object` | - | [packages/project-oxlint/src/config.ts:23](https://gitlab.com/wetryfun/project/project/-/blob/docs-v2.3.1/packages/project-oxlint/src/config.ts#L23) |
18
- | `categories.correctness` | `"error"` | `'error'` | [packages/project-oxlint/src/config.ts:24](https://gitlab.com/wetryfun/project/project/-/blob/docs-v2.3.1/packages/project-oxlint/src/config.ts#L24) |
19
- | `categories.pedantic` | `"off"` | `'off'` | [packages/project-oxlint/src/config.ts:26](https://gitlab.com/wetryfun/project/project/-/blob/docs-v2.3.1/packages/project-oxlint/src/config.ts#L26) |
20
- | `categories.perf` | `"warn"` | `'warn'` | [packages/project-oxlint/src/config.ts:27](https://gitlab.com/wetryfun/project/project/-/blob/docs-v2.3.1/packages/project-oxlint/src/config.ts#L27) |
21
- | `categories.style` | `"off"` | `'off'` | [packages/project-oxlint/src/config.ts:28](https://gitlab.com/wetryfun/project/project/-/blob/docs-v2.3.1/packages/project-oxlint/src/config.ts#L28) |
22
- | `categories.suspicious` | `"warn"` | `'warn'` | [packages/project-oxlint/src/config.ts:25](https://gitlab.com/wetryfun/project/project/-/blob/docs-v2.3.1/packages/project-oxlint/src/config.ts#L25) |
23
- | <a id="property-env"></a> `env` | `object` | - | [packages/project-oxlint/src/config.ts:36](https://gitlab.com/wetryfun/project/project/-/blob/docs-v2.3.1/packages/project-oxlint/src/config.ts#L36) |
24
- | `env.es2025` | `true` | `true` | [packages/project-oxlint/src/config.ts:36](https://gitlab.com/wetryfun/project/project/-/blob/docs-v2.3.1/packages/project-oxlint/src/config.ts#L36) |
25
- | `env.node` | `true` | `true` | [packages/project-oxlint/src/config.ts:36](https://gitlab.com/wetryfun/project/project/-/blob/docs-v2.3.1/packages/project-oxlint/src/config.ts#L36) |
26
- | <a id="property-ignorepatterns"></a> `ignorePatterns` | `string`[] | - | [packages/project-oxlint/src/config.ts:37](https://gitlab.com/wetryfun/project/project/-/blob/docs-v2.3.1/packages/project-oxlint/src/config.ts#L37) |
27
- | <a id="property-plugins"></a> `plugins` | (`"unicorn"` \| `"typescript"` \| `"import"`)[] | - | [packages/project-oxlint/src/config.ts:22](https://gitlab.com/wetryfun/project/project/-/blob/docs-v2.3.1/packages/project-oxlint/src/config.ts#L22) |
28
- | <a id="property-rules"></a> `rules` | `object` | - | [packages/project-oxlint/src/config.ts:30](https://gitlab.com/wetryfun/project/project/-/blob/docs-v2.3.1/packages/project-oxlint/src/config.ts#L30) |
29
- | `rules.eqeqeq` | `"error"` | `'error'` | [packages/project-oxlint/src/config.ts:32](https://gitlab.com/wetryfun/project/project/-/blob/docs-v2.3.1/packages/project-oxlint/src/config.ts#L32) |
30
- | `rules.import/no-cycle` | `"error"` | `'error'` | [packages/project-oxlint/src/config.ts:31](https://gitlab.com/wetryfun/project/project/-/blob/docs-v2.3.1/packages/project-oxlint/src/config.ts#L31) |
31
- | `rules.typescript/no-explicit-any` | `"error"` | `'error'` | [packages/project-oxlint/src/config.ts:33](https://gitlab.com/wetryfun/project/project/-/blob/docs-v2.3.1/packages/project-oxlint/src/config.ts#L33) |
32
- | `rules.typescript/no-unused-vars` | \[`"error"`, \{ `argsIgnorePattern`: `"^_"`; `varsIgnorePattern`: `"^_"`; \}\] | - | [packages/project-oxlint/src/config.ts:34](https://gitlab.com/wetryfun/project/project/-/blob/docs-v2.3.1/packages/project-oxlint/src/config.ts#L34) |
17
+ | <a id="property-categories"></a> `categories` | `object` | - | [packages/project-oxlint/src/config.ts:23](https://gitlab.com/wetryfun/project/project/-/blob/docs-v3.0.0/packages/project-oxlint/src/config.ts#L23) |
18
+ | `categories.correctness` | `"error"` | `'error'` | [packages/project-oxlint/src/config.ts:24](https://gitlab.com/wetryfun/project/project/-/blob/docs-v3.0.0/packages/project-oxlint/src/config.ts#L24) |
19
+ | `categories.pedantic` | `"off"` | `'off'` | [packages/project-oxlint/src/config.ts:26](https://gitlab.com/wetryfun/project/project/-/blob/docs-v3.0.0/packages/project-oxlint/src/config.ts#L26) |
20
+ | `categories.perf` | `"warn"` | `'warn'` | [packages/project-oxlint/src/config.ts:27](https://gitlab.com/wetryfun/project/project/-/blob/docs-v3.0.0/packages/project-oxlint/src/config.ts#L27) |
21
+ | `categories.style` | `"off"` | `'off'` | [packages/project-oxlint/src/config.ts:28](https://gitlab.com/wetryfun/project/project/-/blob/docs-v3.0.0/packages/project-oxlint/src/config.ts#L28) |
22
+ | `categories.suspicious` | `"warn"` | `'warn'` | [packages/project-oxlint/src/config.ts:25](https://gitlab.com/wetryfun/project/project/-/blob/docs-v3.0.0/packages/project-oxlint/src/config.ts#L25) |
23
+ | <a id="property-env"></a> `env` | `object` | - | [packages/project-oxlint/src/config.ts:36](https://gitlab.com/wetryfun/project/project/-/blob/docs-v3.0.0/packages/project-oxlint/src/config.ts#L36) |
24
+ | `env.es2025` | `true` | `true` | [packages/project-oxlint/src/config.ts:36](https://gitlab.com/wetryfun/project/project/-/blob/docs-v3.0.0/packages/project-oxlint/src/config.ts#L36) |
25
+ | `env.node` | `true` | `true` | [packages/project-oxlint/src/config.ts:36](https://gitlab.com/wetryfun/project/project/-/blob/docs-v3.0.0/packages/project-oxlint/src/config.ts#L36) |
26
+ | <a id="property-ignorepatterns"></a> `ignorePatterns` | `string`[] | - | [packages/project-oxlint/src/config.ts:37](https://gitlab.com/wetryfun/project/project/-/blob/docs-v3.0.0/packages/project-oxlint/src/config.ts#L37) |
27
+ | <a id="property-plugins"></a> `plugins` | (`"unicorn"` \| `"typescript"` \| `"import"`)[] | - | [packages/project-oxlint/src/config.ts:22](https://gitlab.com/wetryfun/project/project/-/blob/docs-v3.0.0/packages/project-oxlint/src/config.ts#L22) |
28
+ | <a id="property-rules"></a> `rules` | `object` | - | [packages/project-oxlint/src/config.ts:30](https://gitlab.com/wetryfun/project/project/-/blob/docs-v3.0.0/packages/project-oxlint/src/config.ts#L30) |
29
+ | `rules.eqeqeq` | `"error"` | `'error'` | [packages/project-oxlint/src/config.ts:32](https://gitlab.com/wetryfun/project/project/-/blob/docs-v3.0.0/packages/project-oxlint/src/config.ts#L32) |
30
+ | `rules.import/no-cycle` | `"error"` | `'error'` | [packages/project-oxlint/src/config.ts:31](https://gitlab.com/wetryfun/project/project/-/blob/docs-v3.0.0/packages/project-oxlint/src/config.ts#L31) |
31
+ | `rules.typescript/no-explicit-any` | `"error"` | `'error'` | [packages/project-oxlint/src/config.ts:33](https://gitlab.com/wetryfun/project/project/-/blob/docs-v3.0.0/packages/project-oxlint/src/config.ts#L33) |
32
+ | `rules.typescript/no-unused-vars` | \[`"error"`, \{ `argsIgnorePattern`: `"^_"`; `varsIgnorePattern`: `"^_"`; \}\] | - | [packages/project-oxlint/src/config.ts:34](https://gitlab.com/wetryfun/project/project/-/blob/docs-v3.0.0/packages/project-oxlint/src/config.ts#L34) |
@@ -6,6 +6,6 @@
6
6
  default: OxlintConfig;
7
7
  ```
8
8
 
9
- Defined in: [packages/project-oxlint/src/config.ts:64](https://gitlab.com/wetryfun/project/project/-/blob/docs-v2.3.1/packages/project-oxlint/src/config.ts#L64)
9
+ Defined in: [packages/project-oxlint/src/config.ts:64](https://gitlab.com/wetryfun/project/project/-/blob/docs-v3.0.0/packages/project-oxlint/src/config.ts#L64)
10
10
 
11
11
  The preset, with no options of a repo's own: [oxlintConfig](../functions/oxlintConfig.md) of none.
@@ -6,7 +6,7 @@
6
6
  const oxlintSchema: StandardSchemaV1<OxlintOptions> & StandardJSONSchemaV1<OxlintOptions>;
7
7
  ```
8
8
 
9
- Defined in: [packages/project-oxlint/src/schema.ts:72](https://gitlab.com/wetryfun/project/project/-/blob/docs-v2.3.1/packages/project-oxlint/src/schema.ts#L72)
9
+ Defined in: [packages/project-oxlint/src/schema.ts:72](https://gitlab.com/wetryfun/project/project/-/blob/docs-v3.0.0/packages/project-oxlint/src/schema.ts#L72)
10
10
 
11
11
  The schema of the options of `oxlintConfig()` of ./config: oxlint's config, of its `plugins`,
12
12
  `categories`, `rules`, `env` and `ignorePatterns` checked, and any other option of oxlint.
@@ -6,7 +6,7 @@
6
6
  const SOURCE_CONDITION: "@wtf/source" = '@wtf/source';
7
7
  ```
8
8
 
9
- Defined in: [packages/project-resolve/src/condition.ts:21](https://gitlab.com/wetryfun/project/project/-/blob/docs-v2.3.1/packages/project-resolve/src/condition.ts#L21)
9
+ Defined in: [packages/project-resolve/src/condition.ts:21](https://gitlab.com/wetryfun/project/project/-/blob/docs-v3.0.0/packages/project-resolve/src/condition.ts#L21)
10
10
 
11
11
  The export condition of a package's TypeScript source, `@wtf/source`: in an export map, the
12
12
  entry before `types` and `default`, as `"@wtf/source": "./src/index.ts"`. A workspace resolves a
@@ -6,7 +6,7 @@
6
6
  function isHook(specifier): boolean;
7
7
  ```
8
8
 
9
- Defined in: [packages/project-resolve/src/env.ts:34](https://gitlab.com/wetryfun/project/project/-/blob/docs-v2.3.1/packages/project-resolve/src/env.ts#L34)
9
+ Defined in: [packages/project-resolve/src/env.ts:34](https://gitlab.com/wetryfun/project/project/-/blob/docs-v3.0.0/packages/project-resolve/src/env.ts#L34)
10
10
 
11
11
  Whether `specifier`, as `--import` takes it, is the module of the resolve hook.
12
12
 
@@ -6,7 +6,7 @@
6
6
  function optionsWithoutHook(options): string;
7
7
  ```
8
8
 
9
- Defined in: [packages/project-resolve/src/env.ts:40](https://gitlab.com/wetryfun/project/project/-/blob/docs-v2.3.1/packages/project-resolve/src/env.ts#L40)
9
+ Defined in: [packages/project-resolve/src/env.ts:40](https://gitlab.com/wetryfun/project/project/-/blob/docs-v3.0.0/packages/project-resolve/src/env.ts#L40)
10
10
 
11
11
  `NODE_OPTIONS` with no resolve hook: each `--import` of it, as `--import=<hook>` or
12
12
  `--import <hook>`, taken out, and each other option kept, in order.
@@ -6,7 +6,7 @@
6
6
  function withoutHook(env): Readonly<Record<string, string | undefined>> & object;
7
7
  ```
8
8
 
9
- Defined in: [packages/project-resolve/src/env.ts:60](https://gitlab.com/wetryfun/project/project/-/blob/docs-v2.3.1/packages/project-resolve/src/env.ts#L60)
9
+ Defined in: [packages/project-resolve/src/env.ts:60](https://gitlab.com/wetryfun/project/project/-/blob/docs-v3.0.0/packages/project-resolve/src/env.ts#L60)
10
10
 
11
11
  `env`, an environment as a process has it, with no resolve hook in `NODE_OPTIONS`, and every
12
12
  other variable and option as it is. `NODE_OPTIONS` is a string, empty when nothing is left, so it
@@ -6,6 +6,6 @@
6
6
  type Env = Readonly<Record<string, string | undefined>>;
7
7
  ```
8
8
 
9
- Defined in: [packages/project-resolve/src/env.ts:24](https://gitlab.com/wetryfun/project/project/-/blob/docs-v2.3.1/packages/project-resolve/src/env.ts#L24)
9
+ Defined in: [packages/project-resolve/src/env.ts:24](https://gitlab.com/wetryfun/project/project/-/blob/docs-v3.0.0/packages/project-resolve/src/env.ts#L24)
10
10
 
11
11
  An environment, as Node's `process.env` is, and as a spawn takes it.
@@ -2,7 +2,7 @@
2
2
 
3
3
  # Class: ResolveError
4
4
 
5
- Defined in: [packages/project-resolve/src/errors.ts:13](https://gitlab.com/wetryfun/project/project/-/blob/docs-v2.3.1/packages/project-resolve/src/errors.ts#L13)
5
+ Defined in: [packages/project-resolve/src/errors.ts:13](https://gitlab.com/wetryfun/project/project/-/blob/docs-v3.0.0/packages/project-resolve/src/errors.ts#L13)
6
6
 
7
7
  What this package throws: an Error with a stable SCREAMING_SNAKE `code`, and the `exitCode` a
8
8
  command that fails by it exits with, 1.
@@ -28,7 +28,7 @@ new ResolveError(
28
28
  ): ResolveError;
29
29
  ```
30
30
 
31
- Defined in: [packages/project-resolve/src/errors.ts:18](https://gitlab.com/wetryfun/project/project/-/blob/docs-v2.3.1/packages/project-resolve/src/errors.ts#L18)
31
+ Defined in: [packages/project-resolve/src/errors.ts:18](https://gitlab.com/wetryfun/project/project/-/blob/docs-v3.0.0/packages/project-resolve/src/errors.ts#L18)
32
32
 
33
33
  #### Parameters
34
34
 
@@ -53,8 +53,8 @@ Error.constructor
53
53
  | Property | Modifier | Type | Default value | Description | Inherited from | Defined in |
54
54
  | ------ | ------ | ------ | ------ | ------ | ------ | ------ |
55
55
  | <a id="property-cause"></a> `cause?` | `public` | `unknown` | `undefined` | - | `Error.cause` | - |
56
- | <a id="property-code"></a> `code` | `readonly` | `string` | `undefined` | - | - | [packages/project-resolve/src/errors.ts:14](https://gitlab.com/wetryfun/project/project/-/blob/docs-v2.3.1/packages/project-resolve/src/errors.ts#L14) |
57
- | <a id="property-exitcode"></a> `exitCode` | `readonly` | `number` | `1` | What a command that fails by it exits with. | - | [packages/project-resolve/src/errors.ts:16](https://gitlab.com/wetryfun/project/project/-/blob/docs-v2.3.1/packages/project-resolve/src/errors.ts#L16) |
56
+ | <a id="property-code"></a> `code` | `readonly` | `string` | `undefined` | - | - | [packages/project-resolve/src/errors.ts:14](https://gitlab.com/wetryfun/project/project/-/blob/docs-v3.0.0/packages/project-resolve/src/errors.ts#L14) |
57
+ | <a id="property-exitcode"></a> `exitCode` | `readonly` | `number` | `1` | What a command that fails by it exits with. | - | [packages/project-resolve/src/errors.ts:16](https://gitlab.com/wetryfun/project/project/-/blob/docs-v3.0.0/packages/project-resolve/src/errors.ts#L16) |
58
58
  | <a id="property-message"></a> `message` | `public` | `string` | `undefined` | - | `Error.message` | - |
59
59
  | <a id="property-name"></a> `name` | `public` | `string` | `undefined` | - | `Error.name` | - |
60
60
  | <a id="property-stack"></a> `stack?` | `public` | `string` | `undefined` | - | `Error.stack` | - |
@@ -2,7 +2,7 @@
2
2
 
3
3
  # Class: UnreadableWorkspaceError
4
4
 
5
- Defined in: [packages/project-resolve/src/errors.ts:56](https://gitlab.com/wetryfun/project/project/-/blob/docs-v2.3.1/packages/project-resolve/src/errors.ts#L56)
5
+ Defined in: [packages/project-resolve/src/errors.ts:56](https://gitlab.com/wetryfun/project/project/-/blob/docs-v3.0.0/packages/project-resolve/src/errors.ts#L56)
6
6
 
7
7
  The file that defines a workspace, its pnpm-workspace.yaml, which is there and cannot be read: a
8
8
  folder of that name, a file the process may not read, or a link that loops. It is no workspace
@@ -20,7 +20,7 @@ that is not there, which the package manager would read as none: it refuses it,
20
20
  new UnreadableWorkspaceError(file, error): UnreadableWorkspaceError;
21
21
  ```
22
22
 
23
- Defined in: [packages/project-resolve/src/errors.ts:66](https://gitlab.com/wetryfun/project/project/-/blob/docs-v2.3.1/packages/project-resolve/src/errors.ts#L66)
23
+ Defined in: [packages/project-resolve/src/errors.ts:66](https://gitlab.com/wetryfun/project/project/-/blob/docs-v3.0.0/packages/project-resolve/src/errors.ts#L66)
24
24
 
25
25
  #### Parameters
26
26
 
@@ -42,12 +42,12 @@ Defined in: [packages/project-resolve/src/errors.ts:66](https://gitlab.com/wetry
42
42
  | Property | Modifier | Type | Default value | Description | Inherited from | Defined in |
43
43
  | ------ | ------ | ------ | ------ | ------ | ------ | ------ |
44
44
  | <a id="property-cause"></a> `cause?` | `public` | `unknown` | `undefined` | - | [`ResolveError`](ResolveError.md).[`cause`](ResolveError.md#property-cause) | - |
45
- | <a id="property-code"></a> `code` | `readonly` | `string` | `undefined` | - | [`ResolveError`](ResolveError.md).[`code`](ResolveError.md#property-code) | [packages/project-resolve/src/errors.ts:14](https://gitlab.com/wetryfun/project/project/-/blob/docs-v2.3.1/packages/project-resolve/src/errors.ts#L14) |
46
- | <a id="property-exitcode"></a> `exitCode` | `readonly` | `number` | `1` | What a command that fails by it exits with. | [`ResolveError`](ResolveError.md).[`exitCode`](ResolveError.md#property-exitcode) | [packages/project-resolve/src/errors.ts:16](https://gitlab.com/wetryfun/project/project/-/blob/docs-v2.3.1/packages/project-resolve/src/errors.ts#L16) |
47
- | <a id="property-file"></a> `file` | `readonly` | `string` | `undefined` | The file that cannot be read: a pnpm-workspace.yaml. | - | [packages/project-resolve/src/errors.ts:58](https://gitlab.com/wetryfun/project/project/-/blob/docs-v2.3.1/packages/project-resolve/src/errors.ts#L58) |
45
+ | <a id="property-code"></a> `code` | `readonly` | `string` | `undefined` | - | [`ResolveError`](ResolveError.md).[`code`](ResolveError.md#property-code) | [packages/project-resolve/src/errors.ts:14](https://gitlab.com/wetryfun/project/project/-/blob/docs-v3.0.0/packages/project-resolve/src/errors.ts#L14) |
46
+ | <a id="property-exitcode"></a> `exitCode` | `readonly` | `number` | `1` | What a command that fails by it exits with. | [`ResolveError`](ResolveError.md).[`exitCode`](ResolveError.md#property-exitcode) | [packages/project-resolve/src/errors.ts:16](https://gitlab.com/wetryfun/project/project/-/blob/docs-v3.0.0/packages/project-resolve/src/errors.ts#L16) |
47
+ | <a id="property-file"></a> `file` | `readonly` | `string` | `undefined` | The file that cannot be read: a pnpm-workspace.yaml. | - | [packages/project-resolve/src/errors.ts:58](https://gitlab.com/wetryfun/project/project/-/blob/docs-v3.0.0/packages/project-resolve/src/errors.ts#L58) |
48
48
  | <a id="property-message"></a> `message` | `public` | `string` | `undefined` | - | [`ResolveError`](ResolveError.md).[`message`](ResolveError.md#property-message) | - |
49
49
  | <a id="property-name"></a> `name` | `public` | `string` | `undefined` | - | [`ResolveError`](ResolveError.md).[`name`](ResolveError.md#property-name) | - |
50
- | <a id="property-reason"></a> `reason` | `readonly` | `string` \| `undefined` | `undefined` | What the file system said of it: the code of Node's error, `EISDIR`, `EACCES` or `ELOOP`, or the name of a handle's `DOMException`, as `TypeMismatchError` of a folder; `undefined` of an error of neither. | - | [packages/project-resolve/src/errors.ts:64](https://gitlab.com/wetryfun/project/project/-/blob/docs-v2.3.1/packages/project-resolve/src/errors.ts#L64) |
50
+ | <a id="property-reason"></a> `reason` | `readonly` | `string` \| `undefined` | `undefined` | What the file system said of it: the code of Node's error, `EISDIR`, `EACCES` or `ELOOP`, or the name of a handle's `DOMException`, as `TypeMismatchError` of a folder; `undefined` of an error of neither. | - | [packages/project-resolve/src/errors.ts:64](https://gitlab.com/wetryfun/project/project/-/blob/docs-v3.0.0/packages/project-resolve/src/errors.ts#L64) |
51
51
  | <a id="property-stack"></a> `stack?` | `public` | `string` | `undefined` | - | [`ResolveError`](ResolveError.md).[`stack`](ResolveError.md#property-stack) | - |
52
52
  | <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. | [`ResolveError`](ResolveError.md).[`stackTraceLimit`](ResolveError.md#property-stacktracelimit) | - |
53
53
 
@@ -2,7 +2,7 @@
2
2
 
3
3
  # Class: WorkspaceError
4
4
 
5
- Defined in: [packages/project-resolve/src/errors.ts:30](https://gitlab.com/wetryfun/project/project/-/blob/docs-v2.3.1/packages/project-resolve/src/errors.ts#L30)
5
+ Defined in: [packages/project-resolve/src/errors.ts:30](https://gitlab.com/wetryfun/project/project/-/blob/docs-v3.0.0/packages/project-resolve/src/errors.ts#L30)
6
6
 
7
7
  A workspace that a file of it says wrong: a package.json that is no JSON object, `workspaces`
8
8
  or the `packages` of a pnpm-workspace.yaml that is no list of patterns, or two packages of one
@@ -24,7 +24,7 @@ new WorkspaceError(
24
24
  ): WorkspaceError;
25
25
  ```
26
26
 
27
- Defined in: [packages/project-resolve/src/errors.ts:34](https://gitlab.com/wetryfun/project/project/-/blob/docs-v2.3.1/packages/project-resolve/src/errors.ts#L34)
27
+ Defined in: [packages/project-resolve/src/errors.ts:34](https://gitlab.com/wetryfun/project/project/-/blob/docs-v3.0.0/packages/project-resolve/src/errors.ts#L34)
28
28
 
29
29
  #### Parameters
30
30
 
@@ -47,9 +47,9 @@ Defined in: [packages/project-resolve/src/errors.ts:34](https://gitlab.com/wetry
47
47
  | Property | Modifier | Type | Default value | Description | Inherited from | Defined in |
48
48
  | ------ | ------ | ------ | ------ | ------ | ------ | ------ |
49
49
  | <a id="property-cause"></a> `cause?` | `public` | `unknown` | `undefined` | - | [`ResolveError`](ResolveError.md).[`cause`](ResolveError.md#property-cause) | - |
50
- | <a id="property-code"></a> `code` | `readonly` | `string` | `undefined` | - | [`ResolveError`](ResolveError.md).[`code`](ResolveError.md#property-code) | [packages/project-resolve/src/errors.ts:14](https://gitlab.com/wetryfun/project/project/-/blob/docs-v2.3.1/packages/project-resolve/src/errors.ts#L14) |
51
- | <a id="property-exitcode"></a> `exitCode` | `readonly` | `number` | `1` | What a command that fails by it exits with. | [`ResolveError`](ResolveError.md).[`exitCode`](ResolveError.md#property-exitcode) | [packages/project-resolve/src/errors.ts:16](https://gitlab.com/wetryfun/project/project/-/blob/docs-v2.3.1/packages/project-resolve/src/errors.ts#L16) |
52
- | <a id="property-file"></a> `file` | `readonly` | `string` | `undefined` | The file that says it: a package.json, or a pnpm-workspace.yaml. | - | [packages/project-resolve/src/errors.ts:32](https://gitlab.com/wetryfun/project/project/-/blob/docs-v2.3.1/packages/project-resolve/src/errors.ts#L32) |
50
+ | <a id="property-code"></a> `code` | `readonly` | `string` | `undefined` | - | [`ResolveError`](ResolveError.md).[`code`](ResolveError.md#property-code) | [packages/project-resolve/src/errors.ts:14](https://gitlab.com/wetryfun/project/project/-/blob/docs-v3.0.0/packages/project-resolve/src/errors.ts#L14) |
51
+ | <a id="property-exitcode"></a> `exitCode` | `readonly` | `number` | `1` | What a command that fails by it exits with. | [`ResolveError`](ResolveError.md).[`exitCode`](ResolveError.md#property-exitcode) | [packages/project-resolve/src/errors.ts:16](https://gitlab.com/wetryfun/project/project/-/blob/docs-v3.0.0/packages/project-resolve/src/errors.ts#L16) |
52
+ | <a id="property-file"></a> `file` | `readonly` | `string` | `undefined` | The file that says it: a package.json, or a pnpm-workspace.yaml. | - | [packages/project-resolve/src/errors.ts:32](https://gitlab.com/wetryfun/project/project/-/blob/docs-v3.0.0/packages/project-resolve/src/errors.ts#L32) |
53
53
  | <a id="property-message"></a> `message` | `public` | `string` | `undefined` | - | [`ResolveError`](ResolveError.md).[`message`](ResolveError.md#property-message) | - |
54
54
  | <a id="property-name"></a> `name` | `public` | `string` | `undefined` | - | [`ResolveError`](ResolveError.md).[`name`](ResolveError.md#property-name) | - |
55
55
  | <a id="property-stack"></a> `stack?` | `public` | `string` | `undefined` | - | [`ResolveError`](ResolveError.md).[`stack`](ResolveError.md#property-stack) | - |
@@ -6,7 +6,7 @@
6
6
  function candidatesOf(specifier): string[];
7
7
  ```
8
8
 
9
- Defined in: [packages/project-resolve/src/hooks.ts:132](https://gitlab.com/wetryfun/project/project/-/blob/docs-v2.3.1/packages/project-resolve/src/hooks.ts#L132)
9
+ Defined in: [packages/project-resolve/src/hooks.ts:132](https://gitlab.com/wetryfun/project/project/-/blob/docs-v3.0.0/packages/project-resolve/src/hooks.ts#L132)
10
10
 
11
11
  The modules of TypeScript a relative specifier names, in the order TypeScript looks for them:
12
12
  the `.ts` of the `.js`, or, of a specifier with no extension of JavaScript, its `.ts` and then
@@ -6,7 +6,7 @@
6
6
  function sourcesHookOf(packages, realpath): ResolveHookSync;
7
7
  ```
8
8
 
9
- Defined in: [packages/project-resolve/src/hooks.ts:86](https://gitlab.com/wetryfun/project/project/-/blob/docs-v2.3.1/packages/project-resolve/src/hooks.ts#L86)
9
+ Defined in: [packages/project-resolve/src/hooks.ts:86](https://gitlab.com/wetryfun/project/project/-/blob/docs-v3.0.0/packages/project-resolve/src/hooks.ts#L86)
10
10
 
11
11
  The hook of the packages given, each a package of the workspace: an import of one of them, or of
12
12
  one of its subpaths, resolves by its `@wtf/source` condition first. A package of the registry is
@@ -6,7 +6,7 @@
6
6
  function sourcesOf(packages): ReadonlyMap<string, string>;
7
7
  ```
8
8
 
9
- Defined in: [packages/project-resolve/src/hooks.ts:29](https://gitlab.com/wetryfun/project/project/-/blob/docs-v2.3.1/packages/project-resolve/src/hooks.ts#L29)
9
+ Defined in: [packages/project-resolve/src/hooks.ts:29](https://gitlab.com/wetryfun/project/project/-/blob/docs-v3.0.0/packages/project-resolve/src/hooks.ts#L29)
10
10
 
11
11
  The TypeScript of each package of the workspace, and of each subpath it exports, by its
12
12
  `@wtf/source` condition, keyed by the specifier that imports it: `@scope/lib`, `@scope/lib/sub`.
@@ -6,7 +6,7 @@
6
6
  const resolveTypeScript: ResolveHookSync;
7
7
  ```
8
8
 
9
- Defined in: [packages/project-resolve/src/hooks.ts:154](https://gitlab.com/wetryfun/project/project/-/blob/docs-v2.3.1/packages/project-resolve/src/hooks.ts#L154)
9
+ Defined in: [packages/project-resolve/src/hooks.ts:154](https://gitlab.com/wetryfun/project/project/-/blob/docs-v3.0.0/packages/project-resolve/src/hooks.ts#L154)
10
10
 
11
11
  The hook: what Node resolves, and, of a relative import of the project's own module that it
12
12
  finds nothing for, the first of its [candidatesOf](../functions/candidatesOf.md) it finds; with Node's own error when
@@ -6,7 +6,7 @@
6
6
  function nodePlatform(): object;
7
7
  ```
8
8
 
9
- Defined in: [packages/project-resolve/src/node.ts:82](https://gitlab.com/wetryfun/project/project/-/blob/docs-v2.3.1/packages/project-resolve/src/node.ts#L82)
9
+ Defined in: [packages/project-resolve/src/node.ts:82](https://gitlab.com/wetryfun/project/project/-/blob/docs-v3.0.0/packages/project-resolve/src/node.ts#L82)
10
10
 
11
11
  Node's platform, as a workspace is read by it: the disk, from the root of the working folder's
12
12
  drive, as `navigator.storage.getDirectory()`, and the paths of `node:path`.
@@ -19,7 +19,7 @@ The platform, for `{ platform }` of each reader of ./workspace.
19
19
 
20
20
  | Name | Type | Defined in |
21
21
  | ------ | ------ | ------ |
22
- | `navigator` | `object` | [packages/project-resolve/src/workspace.ts:90](https://gitlab.com/wetryfun/project/project/-/blob/docs-v2.3.1/packages/project-resolve/src/workspace.ts#L90) |
23
- | `navigator.storage` | `object` | [packages/project-resolve/src/workspace.ts:91](https://gitlab.com/wetryfun/project/project/-/blob/docs-v2.3.1/packages/project-resolve/src/workspace.ts#L91) |
24
- | `getDirectory()` | () => `Promise`\<[`WorkspaceDirectoryHandle`](../../workspace/type-aliases/WorkspaceDirectoryHandle.md)\> | [packages/project-resolve/src/workspace.ts:91](https://gitlab.com/wetryfun/project/project/-/blob/docs-v2.3.1/packages/project-resolve/src/workspace.ts#L91) |
25
- | `path` | [`WorkspacePaths`](../../workspace/type-aliases/WorkspacePaths.md) | [packages/project-resolve/src/workspace.ts:93](https://gitlab.com/wetryfun/project/project/-/blob/docs-v2.3.1/packages/project-resolve/src/workspace.ts#L93) |
22
+ | `navigator` | `object` | [packages/project-resolve/src/workspace.ts:90](https://gitlab.com/wetryfun/project/project/-/blob/docs-v3.0.0/packages/project-resolve/src/workspace.ts#L90) |
23
+ | `navigator.storage` | `object` | [packages/project-resolve/src/workspace.ts:91](https://gitlab.com/wetryfun/project/project/-/blob/docs-v3.0.0/packages/project-resolve/src/workspace.ts#L91) |
24
+ | `getDirectory()` | () => `Promise`\<[`WorkspaceDirectoryHandle`](../../workspace/type-aliases/WorkspaceDirectoryHandle.md)\> | [packages/project-resolve/src/workspace.ts:91](https://gitlab.com/wetryfun/project/project/-/blob/docs-v3.0.0/packages/project-resolve/src/workspace.ts#L91) |
25
+ | `path` | [`WorkspacePaths`](../../workspace/type-aliases/WorkspacePaths.md) | [packages/project-resolve/src/workspace.ts:93](https://gitlab.com/wetryfun/project/project/-/blob/docs-v3.0.0/packages/project-resolve/src/workspace.ts#L93) |
@@ -6,7 +6,7 @@
6
6
  const REGISTERED: "@wtf/project-resolve/registered" = '@wtf/project-resolve/registered';
7
7
  ```
8
8
 
9
- Defined in: [packages/project-resolve/src/register.ts:43](https://gitlab.com/wetryfun/project/project/-/blob/docs-v2.3.1/packages/project-resolve/src/register.ts#L43)
9
+ Defined in: [packages/project-resolve/src/register.ts:43](https://gitlab.com/wetryfun/project/project/-/blob/docs-v3.0.0/packages/project-resolve/src/register.ts#L43)
10
10
 
11
11
  The specifier the hooks resolve once they are registered, to the URL of the module that
12
12
  registered them, and that nothing resolves before.
@@ -6,7 +6,7 @@
6
6
  function filesOf(__namedParameters): WorkspaceFiles;
7
7
  ```
8
8
 
9
- Defined in: [packages/project-resolve/src/workspace.ts:291](https://gitlab.com/wetryfun/project/project/-/blob/docs-v2.3.1/packages/project-resolve/src/workspace.ts#L291)
9
+ Defined in: [packages/project-resolve/src/workspace.ts:291](https://gitlab.com/wetryfun/project/project/-/blob/docs-v3.0.0/packages/project-resolve/src/workspace.ts#L291)
10
10
 
11
11
  The file system a workspace is read by: of the platform, whose root is its storage's folder, its
12
12
  handles walked down by the parts of each path.
@@ -6,7 +6,7 @@
6
6
  function packagesOf(root, __namedParameters): Promise<WorkspacePackage[]>;
7
7
  ```
8
8
 
9
- Defined in: [packages/project-resolve/src/workspace.ts:710](https://gitlab.com/wetryfun/project/project/-/blob/docs-v2.3.1/packages/project-resolve/src/workspace.ts#L710)
9
+ Defined in: [packages/project-resolve/src/workspace.ts:710](https://gitlab.com/wetryfun/project/project/-/blob/docs-v3.0.0/packages/project-resolve/src/workspace.ts#L710)
10
10
 
11
11
  Each package of the workspace at `root`, in its `packages/`, with an export map, in the order of
12
12
  their folders: those its package manager reads ([workspaceAt](workspaceAt.md)), so a folder of
@@ -6,7 +6,7 @@
6
6
  function workspaceAt(root, __namedParameters): Promise<Workspace | undefined>;
7
7
  ```
8
8
 
9
- Defined in: [packages/project-resolve/src/workspace.ts:592](https://gitlab.com/wetryfun/project/project/-/blob/docs-v2.3.1/packages/project-resolve/src/workspace.ts#L592)
9
+ Defined in: [packages/project-resolve/src/workspace.ts:592](https://gitlab.com/wetryfun/project/project/-/blob/docs-v3.0.0/packages/project-resolve/src/workspace.ts#L592)
10
10
 
11
11
  The workspace whose root is `root`: of the pnpm-workspace.yaml there, or of the `workspaces`
12
12
  of the package.json there; `undefined` when neither is there. Throws a `WorkspaceError` of
@@ -6,7 +6,7 @@
6
6
  function workspaceOf(folder, __namedParameters): Promise<Workspace | undefined>;
7
7
  ```
8
8
 
9
- Defined in: [packages/project-resolve/src/workspace.ts:607](https://gitlab.com/wetryfun/project/project/-/blob/docs-v2.3.1/packages/project-resolve/src/workspace.ts#L607)
9
+ Defined in: [packages/project-resolve/src/workspace.ts:607](https://gitlab.com/wetryfun/project/project/-/blob/docs-v3.0.0/packages/project-resolve/src/workspace.ts#L607)
10
10
 
11
11
  The workspace that `folder` is in: of the nearest folder from `folder` up whose
12
12
  pnpm-workspace.yaml, or whose package.json's `workspaces`, makes one that holds it. A workspace
@@ -6,7 +6,7 @@
6
6
  function workspaceRootAbove(from, __namedParameters): Promise<string | undefined>;
7
7
  ```
8
8
 
9
- Defined in: [packages/project-resolve/src/workspace.ts:619](https://gitlab.com/wetryfun/project/project/-/blob/docs-v2.3.1/packages/project-resolve/src/workspace.ts#L619)
9
+ Defined in: [packages/project-resolve/src/workspace.ts:619](https://gitlab.com/wetryfun/project/project/-/blob/docs-v3.0.0/packages/project-resolve/src/workspace.ts#L619)
10
10
 
11
11
  The root of the workspace that holds the folder `from`: the folder of the nearest
12
12
  pnpm-workspace.yaml at or above it, or `undefined`, of a folder of none.
@@ -6,7 +6,7 @@
6
6
  function workspaceRootOf(from, options): Promise<string>;
7
7
  ```
8
8
 
9
- Defined in: [packages/project-resolve/src/workspace.ts:641](https://gitlab.com/wetryfun/project/project/-/blob/docs-v2.3.1/packages/project-resolve/src/workspace.ts#L641)
9
+ Defined in: [packages/project-resolve/src/workspace.ts:641](https://gitlab.com/wetryfun/project/project/-/blob/docs-v3.0.0/packages/project-resolve/src/workspace.ts#L641)
10
10
 
11
11
  The root of the workspace at or above `from`, as the working folder of a process: the folder of
12
12
  the nearest pnpm-workspace.yaml, or `from` itself, of none.
@@ -6,7 +6,7 @@
6
6
  type Agent = "npm" | "pnpm" | "pnpm@6" | "yarn" | "yarn@berry" | "bun";
7
7
  ```
8
8
 
9
- Defined in: [packages/project-resolve/src/workspace.ts:102](https://gitlab.com/wetryfun/project/project/-/blob/docs-v2.3.1/packages/project-resolve/src/workspace.ts#L102)
9
+ Defined in: [packages/project-resolve/src/workspace.ts:102](https://gitlab.com/wetryfun/project/project/-/blob/docs-v3.0.0/packages/project-resolve/src/workspace.ts#L102)
10
10
 
11
11
  The agent whose commands a package manager takes: yarn berry's are not yarn classic's, nor
12
12
  pnpm 6's pnpm's.