@wtf/project-docs 1.0.0 → 1.0.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (150) hide show
  1. package/api/.generated +1 -0
  2. package/api/@wtf/project-oxfmt/variables/default.md +6 -6
  3. package/api/@wtf/project-oxlint/variables/default.md +17 -17
  4. package/api/@wtf/project-resolve/condition/variables/SOURCE_CONDITION.md +1 -1
  5. package/api/@wtf/project-resolve/env/functions/isHook.md +1 -1
  6. package/api/@wtf/project-resolve/env/functions/optionsWithoutHook.md +1 -1
  7. package/api/@wtf/project-resolve/env/functions/withoutHook.md +1 -1
  8. package/api/@wtf/project-resolve/env/type-aliases/Env.md +1 -1
  9. package/api/@wtf/project-resolve/errors/classes/ResolveError.md +4 -4
  10. package/api/@wtf/project-resolve/errors/classes/UnreadableWorkspaceError.md +6 -6
  11. package/api/@wtf/project-resolve/errors/classes/WorkspaceError.md +5 -5
  12. package/api/@wtf/project-resolve/hooks/functions/candidatesOf.md +1 -1
  13. package/api/@wtf/project-resolve/hooks/functions/sourcesHookOf.md +1 -1
  14. package/api/@wtf/project-resolve/hooks/functions/sourcesOf.md +1 -1
  15. package/api/@wtf/project-resolve/hooks/variables/resolveTypeScript.md +1 -1
  16. package/api/@wtf/project-resolve/node/functions/nodePlatform.md +5 -5
  17. package/api/@wtf/project-resolve/register/variables/REGISTERED.md +1 -1
  18. package/api/@wtf/project-resolve/workspace/functions/filesOf.md +1 -1
  19. package/api/@wtf/project-resolve/workspace/functions/packagesOf.md +1 -1
  20. package/api/@wtf/project-resolve/workspace/functions/workspaceAt.md +1 -1
  21. package/api/@wtf/project-resolve/workspace/functions/workspaceOf.md +1 -1
  22. package/api/@wtf/project-resolve/workspace/functions/workspaceRootAbove.md +1 -1
  23. package/api/@wtf/project-resolve/workspace/functions/workspaceRootOf.md +1 -1
  24. package/api/@wtf/project-resolve/workspace/type-aliases/Agent.md +1 -1
  25. package/api/@wtf/project-resolve/workspace/type-aliases/DirectoryEntry.md +4 -4
  26. package/api/@wtf/project-resolve/workspace/type-aliases/FileContents.md +3 -3
  27. package/api/@wtf/project-resolve/workspace/type-aliases/PackageManager.md +4 -4
  28. package/api/@wtf/project-resolve/workspace/type-aliases/PackageManagerName.md +1 -1
  29. package/api/@wtf/project-resolve/workspace/type-aliases/ProcessWorkspaceOptions.md +1 -1
  30. package/api/@wtf/project-resolve/workspace/type-aliases/Workspace.md +5 -5
  31. package/api/@wtf/project-resolve/workspace/type-aliases/WorkspaceDirectoryHandle.md +6 -6
  32. package/api/@wtf/project-resolve/workspace/type-aliases/WorkspaceFileHandle.md +3 -3
  33. package/api/@wtf/project-resolve/workspace/type-aliases/WorkspaceFiles.md +6 -6
  34. package/api/@wtf/project-resolve/workspace/type-aliases/WorkspaceOptions.md +2 -2
  35. package/api/@wtf/project-resolve/workspace/type-aliases/WorkspacePackage.md +4 -4
  36. package/api/@wtf/project-resolve/workspace/type-aliases/WorkspacePaths.md +7 -7
  37. package/api/@wtf/project-typedoc/config/functions/gitRevisionOf.md +1 -1
  38. package/api/@wtf/project-typedoc/config/functions/typedocConfig.md +1 -1
  39. package/api/@wtf/project-typedoc/config/type-aliases/RevisionSources.md +3 -3
  40. package/api/@wtf/project-typedoc/config/type-aliases/TypedocConfig.md +1 -1
  41. package/api/@wtf/project-typedoc/config/type-aliases/TypedocOptions.md +6 -6
  42. package/api/@wtf/project-typedoc/config/variables/nodeRun.md +1 -1
  43. package/api/@wtf/project-typedoc/plugins/functions/cleanGeneratedMarkdown.md +1 -1
  44. package/api/@wtf/project-typedoc/plugins/functions/linkTrackedSources.md +1 -1
  45. package/api/@wtf/project-typedoc/plugins/functions/preventMediaFiles.md +1 -1
  46. package/api/@wtf/project-typedoc/plugins/type-aliases/CleanGeneratedMarkdownOptions.md +3 -3
  47. package/api/@wtf/project-typedoc/plugins/type-aliases/LinkTrackedSourcesOptions.md +3 -3
  48. package/api/@wtf/project-typedoc/plugins/type-aliases/PreventMediaFilesOptions.md +3 -3
  49. package/api/@wtf/project-typedoc/plugins/type-aliases/Run.md +1 -1
  50. package/api/@wtf/project-typedoc/plugins/type-aliases/TypedocPlugin.md +1 -1
  51. package/api/@wtf/project-vite/README.md +2 -2
  52. package/api/@wtf/project-vite/functions/baseConfig.md +4 -4
  53. package/api/@wtf/project-vite/functions/buildsSite.md +1 -1
  54. package/api/@wtf/project-vite/functions/compress.md +1 -1
  55. package/api/@wtf/project-vite/functions/conditionsOf.md +1 -1
  56. package/api/@wtf/project-vite/type-aliases/BaseOptions.md +2 -2
  57. package/api/@wtf/project-vite/type-aliases/CompressOptions.md +4 -4
  58. package/api/@wtf/project-vite/variables/CLIENT_CONDITIONS.md +1 -1
  59. package/api/@wtf/project-vite/variables/COMPRESSIBLE.md +1 -1
  60. package/api/@wtf/project-vite/variables/FROM_DIST.md +1 -1
  61. package/api/@wtf/project-vite/variables/THRESHOLD.md +1 -1
  62. package/api/@wtf/project-vitest/README.md +1 -1
  63. package/api/@wtf/project-vitest/browser/functions/browserConfig.md +1 -1
  64. package/api/@wtf/project-vitest/browser/functions/browserRootConfig.md +1 -1
  65. package/api/@wtf/project-vitest/browser/type-aliases/BrowserOptions.md +3 -3
  66. package/api/@wtf/project-vitest/config/functions/integrationConfig.md +1 -1
  67. package/api/@wtf/project-vitest/config/functions/packageConfig.md +1 -1
  68. package/api/@wtf/project-vitest/config/functions/rootConfig.md +1 -1
  69. package/api/@wtf/project-vitest/config/type-aliases/RootConfigOptions.md +2 -2
  70. package/api/@wtf/project-vitest/config/type-aliases/RootOptions.md +7 -7
  71. package/api/@wtf/project-vitest/config/variables/FROM_DIST.md +1 -1
  72. package/api/@wtf/project-vitest/config/variables/GUARD_TIMEOUT.md +1 -1
  73. package/api/@wtf/project-vitest/config/variables/integration.md +9 -9
  74. package/api/@wtf/project-vitest/process/functions/childEnv.md +1 -1
  75. package/api/@wtf/project-vitest/process/type-aliases/Env.md +1 -1
  76. package/api/@wtf/project-vitest/storybook/functions/storybookConfig.md +1 -1
  77. package/api/@wtf/project-vitest/storybook/type-aliases/StorybookOptions.md +2 -2
  78. package/api/@wtf/project-wpt/builtins/functions/builtins.md +1 -1
  79. package/api/@wtf/project-wpt/builtins/functions/intrinsics.md +1 -1
  80. package/api/@wtf/project-wpt/checkout/functions/checkoutFolderOf.md +1 -1
  81. package/api/@wtf/project-wpt/checkout/functions/checkoutTests.md +1 -1
  82. package/api/@wtf/project-wpt/checkout/functions/checkoutWpt.md +1 -1
  83. package/api/@wtf/project-wpt/checkout/functions/fileOf.md +1 -1
  84. package/api/@wtf/project-wpt/checkout/type-aliases/CheckedOutTests.md +3 -3
  85. package/api/@wtf/project-wpt/checkout/type-aliases/CheckoutOptions.md +8 -8
  86. package/api/@wtf/project-wpt/checkout/type-aliases/CheckoutTestsOptions.md +2 -2
  87. package/api/@wtf/project-wpt/checkout/variables/HARNESS.md +1 -1
  88. package/api/@wtf/project-wpt/checkout/variables/REWRITES.md +1 -1
  89. package/api/@wtf/project-wpt/checkout/variables/WPT_REPOSITORY.md +1 -1
  90. package/api/@wtf/project-wpt/errors/classes/HarnessFailedError.md +4 -4
  91. package/api/@wtf/project-wpt/errors/classes/InvalidCommitError.md +4 -4
  92. package/api/@wtf/project-wpt/errors/classes/InvalidExpectationsError.md +4 -4
  93. package/api/@wtf/project-wpt/errors/classes/NoSuiteError.md +4 -4
  94. package/api/@wtf/project-wpt/errors/classes/NotInWptError.md +5 -5
  95. package/api/@wtf/project-wpt/errors/classes/StaleExpectationError.md +4 -4
  96. package/api/@wtf/project-wpt/errors/classes/SubtestFailedError.md +4 -4
  97. package/api/@wtf/project-wpt/errors/classes/UnexpectedPassError.md +4 -4
  98. package/api/@wtf/project-wpt/errors/classes/WptError.md +4 -4
  99. package/api/@wtf/project-wpt/errors/classes/WptFetchError.md +4 -4
  100. package/api/@wtf/project-wpt/expectations/functions/checkHarness.md +1 -1
  101. package/api/@wtf/project-wpt/expectations/functions/checkSubtest.md +1 -1
  102. package/api/@wtf/project-wpt/expectations/functions/expectationOf.md +1 -1
  103. package/api/@wtf/project-wpt/expectations/functions/expectationsIssues.md +1 -1
  104. package/api/@wtf/project-wpt/expectations/functions/readExpectations.md +1 -1
  105. package/api/@wtf/project-wpt/expectations/functions/staleOf.md +1 -1
  106. package/api/@wtf/project-wpt/expectations/type-aliases/ReadExpectations.md +3 -3
  107. package/api/@wtf/project-wpt/index/type-aliases/ClearTimeout.md +1 -1
  108. package/api/@wtf/project-wpt/index/type-aliases/CreateRealm.md +1 -1
  109. package/api/@wtf/project-wpt/index/type-aliases/Env.md +1 -1
  110. package/api/@wtf/project-wpt/index/type-aliases/Exec.md +1 -1
  111. package/api/@wtf/project-wpt/index/type-aliases/Expectations.md +1 -1
  112. package/api/@wtf/project-wpt/index/type-aliases/FileExpectation.md +4 -4
  113. package/api/@wtf/project-wpt/index/type-aliases/FileResult.md +4 -4
  114. package/api/@wtf/project-wpt/index/type-aliases/Globals.md +1 -1
  115. package/api/@wtf/project-wpt/index/type-aliases/HarnessResult.md +4 -4
  116. package/api/@wtf/project-wpt/index/type-aliases/HarnessStatus.md +1 -1
  117. package/api/@wtf/project-wpt/index/type-aliases/HoldRejections.md +1 -1
  118. package/api/@wtf/project-wpt/index/type-aliases/Performance.md +3 -3
  119. package/api/@wtf/project-wpt/index/type-aliases/Realm.md +3 -3
  120. package/api/@wtf/project-wpt/index/type-aliases/SetTimeout.md +1 -1
  121. package/api/@wtf/project-wpt/index/type-aliases/SubtestResult.md +5 -5
  122. package/api/@wtf/project-wpt/index/type-aliases/SubtestStatus.md +1 -1
  123. package/api/@wtf/project-wpt/index/type-aliases/WptFile.md +3 -3
  124. package/api/@wtf/project-wpt/index/type-aliases/WptFiles.md +9 -9
  125. package/api/@wtf/project-wpt/index/type-aliases/WptPaths.md +4 -4
  126. package/api/@wtf/project-wpt/index/type-aliases/WptPlatform.md +6 -6
  127. package/api/@wtf/project-wpt/index/type-aliases/WptSystem.md +6 -6
  128. package/api/@wtf/project-wpt/index/type-aliases/WptTest.md +3 -3
  129. package/api/@wtf/project-wpt/meta/functions/idOf.md +1 -1
  130. package/api/@wtf/project-wpt/meta/functions/metaOf.md +1 -1
  131. package/api/@wtf/project-wpt/meta/functions/runsOutsideWindow.md +1 -1
  132. package/api/@wtf/project-wpt/meta/functions/scriptPathsOf.md +1 -1
  133. package/api/@wtf/project-wpt/meta/functions/testsOf.md +1 -1
  134. package/api/@wtf/project-wpt/meta/type-aliases/Meta.md +6 -6
  135. package/api/@wtf/project-wpt/node/functions/nodePlatform.md +1 -1
  136. package/api/@wtf/project-wpt/node/functions/nodeSystem.md +1 -1
  137. package/api/@wtf/project-wpt/node/variables/nodeExec.md +1 -1
  138. package/api/@wtf/project-wpt/node/variables/nodeFiles.md +1 -1
  139. package/api/@wtf/project-wpt/node/variables/nodeRealm.md +1 -1
  140. package/api/@wtf/project-wpt/node/variables/nodeRejections.md +1 -1
  141. package/api/@wtf/project-wpt/run/functions/runTest.md +1 -1
  142. package/api/@wtf/project-wpt/run/type-aliases/RunOptions.md +8 -8
  143. package/api/@wtf/project-wpt/run/type-aliases/RunPlatform.md +1 -1
  144. package/api/@wtf/project-wpt/run/variables/LONG_TIMEOUT.md +1 -1
  145. package/api/@wtf/project-wpt/run/variables/TIMEOUT.md +1 -1
  146. package/api/@wtf/project-wpt/run/variables/WPT_ORIGIN.md +1 -1
  147. package/api/@wtf/project-wpt/suite/functions/wptSuite.md +1 -1
  148. package/api/@wtf/project-wpt/suite/type-aliases/WptSuiteOptions.md +8 -8
  149. package/api/trains.json +31 -0
  150. package/package.json +13 -5
package/api/.generated CHANGED
@@ -175,3 +175,4 @@
175
175
  @wtf/project-wpt/suite/type-aliases/WptSuiteOptions.md
176
176
  README.md
177
177
  llms.txt
178
+ trains.json
@@ -6,14 +6,14 @@
6
6
  default: object;
7
7
  ```
8
8
 
9
- Defined in: [packages/oxfmt/src/config.ts:10](https://gitlab.com/wetryfun/project/project/-/blob/docs-v1.0.0/packages/oxfmt/src/config.ts#L10)
9
+ Defined in: [packages/project-oxfmt/src/config.ts:10](https://gitlab.com/wetryfun/project/project/-/blob/docs-v1.0.1/packages/project-oxfmt/src/config.ts#L10)
10
10
 
11
11
  ## Type Declaration
12
12
 
13
13
  | Name | Type | Default value | Defined in |
14
14
  | ------ | ------ | ------ | ------ |
15
- | <a id="property-ignorepatterns"></a> `ignorePatterns` | `string`[] | - | [packages/oxfmt/src/config.ts:11](https://gitlab.com/wetryfun/project/project/-/blob/docs-v1.0.0/packages/oxfmt/src/config.ts#L11) |
16
- | <a id="property-printwidth"></a> `printWidth` | `number` | `100` | [packages/oxfmt/src/config.ts:12](https://gitlab.com/wetryfun/project/project/-/blob/docs-v1.0.0/packages/oxfmt/src/config.ts#L12) |
17
- | <a id="property-semi"></a> `semi` | `false` | `false` | [packages/oxfmt/src/config.ts:14](https://gitlab.com/wetryfun/project/project/-/blob/docs-v1.0.0/packages/oxfmt/src/config.ts#L14) |
18
- | <a id="property-singlequote"></a> `singleQuote` | `true` | `true` | [packages/oxfmt/src/config.ts:15](https://gitlab.com/wetryfun/project/project/-/blob/docs-v1.0.0/packages/oxfmt/src/config.ts#L15) |
19
- | <a id="property-trailingcomma"></a> `trailingComma` | `"none"` | `'none'` | [packages/oxfmt/src/config.ts:13](https://gitlab.com/wetryfun/project/project/-/blob/docs-v1.0.0/packages/oxfmt/src/config.ts#L13) |
15
+ | <a id="property-ignorepatterns"></a> `ignorePatterns` | `string`[] | - | [packages/project-oxfmt/src/config.ts:11](https://gitlab.com/wetryfun/project/project/-/blob/docs-v1.0.1/packages/project-oxfmt/src/config.ts#L11) |
16
+ | <a id="property-printwidth"></a> `printWidth` | `number` | `100` | [packages/project-oxfmt/src/config.ts:12](https://gitlab.com/wetryfun/project/project/-/blob/docs-v1.0.1/packages/project-oxfmt/src/config.ts#L12) |
17
+ | <a id="property-semi"></a> `semi` | `false` | `false` | [packages/project-oxfmt/src/config.ts:14](https://gitlab.com/wetryfun/project/project/-/blob/docs-v1.0.1/packages/project-oxfmt/src/config.ts#L14) |
18
+ | <a id="property-singlequote"></a> `singleQuote` | `true` | `true` | [packages/project-oxfmt/src/config.ts:15](https://gitlab.com/wetryfun/project/project/-/blob/docs-v1.0.1/packages/project-oxfmt/src/config.ts#L15) |
19
+ | <a id="property-trailingcomma"></a> `trailingComma` | `"none"` | `'none'` | [packages/project-oxfmt/src/config.ts:13](https://gitlab.com/wetryfun/project/project/-/blob/docs-v1.0.1/packages/project-oxfmt/src/config.ts#L13) |
@@ -6,25 +6,25 @@
6
6
  default: object;
7
7
  ```
8
8
 
9
- Defined in: [packages/oxlint/src/config.ts:10](https://gitlab.com/wetryfun/project/project/-/blob/docs-v1.0.0/packages/oxlint/src/config.ts#L10)
9
+ Defined in: [packages/project-oxlint/src/config.ts:10](https://gitlab.com/wetryfun/project/project/-/blob/docs-v1.0.1/packages/project-oxlint/src/config.ts#L10)
10
10
 
11
11
  ## Type Declaration
12
12
 
13
13
  | Name | Type | Default value | Defined in |
14
14
  | ------ | ------ | ------ | ------ |
15
- | <a id="property-categories"></a> `categories` | `object` | - | [packages/oxlint/src/config.ts:12](https://gitlab.com/wetryfun/project/project/-/blob/docs-v1.0.0/packages/oxlint/src/config.ts#L12) |
16
- | `categories.correctness` | `"error"` | `'error'` | [packages/oxlint/src/config.ts:13](https://gitlab.com/wetryfun/project/project/-/blob/docs-v1.0.0/packages/oxlint/src/config.ts#L13) |
17
- | `categories.pedantic` | `"off"` | `'off'` | [packages/oxlint/src/config.ts:15](https://gitlab.com/wetryfun/project/project/-/blob/docs-v1.0.0/packages/oxlint/src/config.ts#L15) |
18
- | `categories.perf` | `"warn"` | `'warn'` | [packages/oxlint/src/config.ts:16](https://gitlab.com/wetryfun/project/project/-/blob/docs-v1.0.0/packages/oxlint/src/config.ts#L16) |
19
- | `categories.style` | `"off"` | `'off'` | [packages/oxlint/src/config.ts:17](https://gitlab.com/wetryfun/project/project/-/blob/docs-v1.0.0/packages/oxlint/src/config.ts#L17) |
20
- | `categories.suspicious` | `"warn"` | `'warn'` | [packages/oxlint/src/config.ts:14](https://gitlab.com/wetryfun/project/project/-/blob/docs-v1.0.0/packages/oxlint/src/config.ts#L14) |
21
- | <a id="property-env"></a> `env` | `object` | - | [packages/oxlint/src/config.ts:25](https://gitlab.com/wetryfun/project/project/-/blob/docs-v1.0.0/packages/oxlint/src/config.ts#L25) |
22
- | `env.es2025` | `true` | `true` | [packages/oxlint/src/config.ts:25](https://gitlab.com/wetryfun/project/project/-/blob/docs-v1.0.0/packages/oxlint/src/config.ts#L25) |
23
- | `env.node` | `true` | `true` | [packages/oxlint/src/config.ts:25](https://gitlab.com/wetryfun/project/project/-/blob/docs-v1.0.0/packages/oxlint/src/config.ts#L25) |
24
- | <a id="property-ignorepatterns"></a> `ignorePatterns` | `string`[] | - | [packages/oxlint/src/config.ts:26](https://gitlab.com/wetryfun/project/project/-/blob/docs-v1.0.0/packages/oxlint/src/config.ts#L26) |
25
- | <a id="property-plugins"></a> `plugins` | (`"unicorn"` \| `"typescript"` \| `"import"`)[] | - | [packages/oxlint/src/config.ts:11](https://gitlab.com/wetryfun/project/project/-/blob/docs-v1.0.0/packages/oxlint/src/config.ts#L11) |
26
- | <a id="property-rules"></a> `rules` | `object` | - | [packages/oxlint/src/config.ts:19](https://gitlab.com/wetryfun/project/project/-/blob/docs-v1.0.0/packages/oxlint/src/config.ts#L19) |
27
- | `rules.eqeqeq` | `"error"` | `'error'` | [packages/oxlint/src/config.ts:21](https://gitlab.com/wetryfun/project/project/-/blob/docs-v1.0.0/packages/oxlint/src/config.ts#L21) |
28
- | `rules.import/no-cycle` | `"error"` | `'error'` | [packages/oxlint/src/config.ts:20](https://gitlab.com/wetryfun/project/project/-/blob/docs-v1.0.0/packages/oxlint/src/config.ts#L20) |
29
- | `rules.typescript/no-explicit-any` | `"error"` | `'error'` | [packages/oxlint/src/config.ts:22](https://gitlab.com/wetryfun/project/project/-/blob/docs-v1.0.0/packages/oxlint/src/config.ts#L22) |
30
- | `rules.typescript/no-unused-vars` | \[`"error"`, \{ `argsIgnorePattern`: `"^_"`; `varsIgnorePattern`: `"^_"`; \}\] | - | [packages/oxlint/src/config.ts:23](https://gitlab.com/wetryfun/project/project/-/blob/docs-v1.0.0/packages/oxlint/src/config.ts#L23) |
15
+ | <a id="property-categories"></a> `categories` | `object` | - | [packages/project-oxlint/src/config.ts:12](https://gitlab.com/wetryfun/project/project/-/blob/docs-v1.0.1/packages/project-oxlint/src/config.ts#L12) |
16
+ | `categories.correctness` | `"error"` | `'error'` | [packages/project-oxlint/src/config.ts:13](https://gitlab.com/wetryfun/project/project/-/blob/docs-v1.0.1/packages/project-oxlint/src/config.ts#L13) |
17
+ | `categories.pedantic` | `"off"` | `'off'` | [packages/project-oxlint/src/config.ts:15](https://gitlab.com/wetryfun/project/project/-/blob/docs-v1.0.1/packages/project-oxlint/src/config.ts#L15) |
18
+ | `categories.perf` | `"warn"` | `'warn'` | [packages/project-oxlint/src/config.ts:16](https://gitlab.com/wetryfun/project/project/-/blob/docs-v1.0.1/packages/project-oxlint/src/config.ts#L16) |
19
+ | `categories.style` | `"off"` | `'off'` | [packages/project-oxlint/src/config.ts:17](https://gitlab.com/wetryfun/project/project/-/blob/docs-v1.0.1/packages/project-oxlint/src/config.ts#L17) |
20
+ | `categories.suspicious` | `"warn"` | `'warn'` | [packages/project-oxlint/src/config.ts:14](https://gitlab.com/wetryfun/project/project/-/blob/docs-v1.0.1/packages/project-oxlint/src/config.ts#L14) |
21
+ | <a id="property-env"></a> `env` | `object` | - | [packages/project-oxlint/src/config.ts:25](https://gitlab.com/wetryfun/project/project/-/blob/docs-v1.0.1/packages/project-oxlint/src/config.ts#L25) |
22
+ | `env.es2025` | `true` | `true` | [packages/project-oxlint/src/config.ts:25](https://gitlab.com/wetryfun/project/project/-/blob/docs-v1.0.1/packages/project-oxlint/src/config.ts#L25) |
23
+ | `env.node` | `true` | `true` | [packages/project-oxlint/src/config.ts:25](https://gitlab.com/wetryfun/project/project/-/blob/docs-v1.0.1/packages/project-oxlint/src/config.ts#L25) |
24
+ | <a id="property-ignorepatterns"></a> `ignorePatterns` | `string`[] | - | [packages/project-oxlint/src/config.ts:26](https://gitlab.com/wetryfun/project/project/-/blob/docs-v1.0.1/packages/project-oxlint/src/config.ts#L26) |
25
+ | <a id="property-plugins"></a> `plugins` | (`"unicorn"` \| `"typescript"` \| `"import"`)[] | - | [packages/project-oxlint/src/config.ts:11](https://gitlab.com/wetryfun/project/project/-/blob/docs-v1.0.1/packages/project-oxlint/src/config.ts#L11) |
26
+ | <a id="property-rules"></a> `rules` | `object` | - | [packages/project-oxlint/src/config.ts:19](https://gitlab.com/wetryfun/project/project/-/blob/docs-v1.0.1/packages/project-oxlint/src/config.ts#L19) |
27
+ | `rules.eqeqeq` | `"error"` | `'error'` | [packages/project-oxlint/src/config.ts:21](https://gitlab.com/wetryfun/project/project/-/blob/docs-v1.0.1/packages/project-oxlint/src/config.ts#L21) |
28
+ | `rules.import/no-cycle` | `"error"` | `'error'` | [packages/project-oxlint/src/config.ts:20](https://gitlab.com/wetryfun/project/project/-/blob/docs-v1.0.1/packages/project-oxlint/src/config.ts#L20) |
29
+ | `rules.typescript/no-explicit-any` | `"error"` | `'error'` | [packages/project-oxlint/src/config.ts:22](https://gitlab.com/wetryfun/project/project/-/blob/docs-v1.0.1/packages/project-oxlint/src/config.ts#L22) |
30
+ | `rules.typescript/no-unused-vars` | \[`"error"`, \{ `argsIgnorePattern`: `"^_"`; `varsIgnorePattern`: `"^_"`; \}\] | - | [packages/project-oxlint/src/config.ts:23](https://gitlab.com/wetryfun/project/project/-/blob/docs-v1.0.1/packages/project-oxlint/src/config.ts#L23) |
@@ -6,7 +6,7 @@
6
6
  const SOURCE_CONDITION: "@wtf/source" = '@wtf/source';
7
7
  ```
8
8
 
9
- Defined in: [packages/resolve/src/condition.ts:21](https://gitlab.com/wetryfun/project/project/-/blob/docs-v1.0.0/packages/resolve/src/condition.ts#L21)
9
+ Defined in: [packages/project-resolve/src/condition.ts:21](https://gitlab.com/wetryfun/project/project/-/blob/docs-v1.0.1/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/resolve/src/env.ts:34](https://gitlab.com/wetryfun/project/project/-/blob/docs-v1.0.0/packages/resolve/src/env.ts#L34)
9
+ Defined in: [packages/project-resolve/src/env.ts:34](https://gitlab.com/wetryfun/project/project/-/blob/docs-v1.0.1/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/resolve/src/env.ts:40](https://gitlab.com/wetryfun/project/project/-/blob/docs-v1.0.0/packages/resolve/src/env.ts#L40)
9
+ Defined in: [packages/project-resolve/src/env.ts:40](https://gitlab.com/wetryfun/project/project/-/blob/docs-v1.0.1/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/resolve/src/env.ts:60](https://gitlab.com/wetryfun/project/project/-/blob/docs-v1.0.0/packages/resolve/src/env.ts#L60)
9
+ Defined in: [packages/project-resolve/src/env.ts:60](https://gitlab.com/wetryfun/project/project/-/blob/docs-v1.0.1/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/resolve/src/env.ts:24](https://gitlab.com/wetryfun/project/project/-/blob/docs-v1.0.0/packages/resolve/src/env.ts#L24)
9
+ Defined in: [packages/project-resolve/src/env.ts:24](https://gitlab.com/wetryfun/project/project/-/blob/docs-v1.0.1/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/resolve/src/errors.ts:13](https://gitlab.com/wetryfun/project/project/-/blob/docs-v1.0.0/packages/resolve/src/errors.ts#L13)
5
+ Defined in: [packages/project-resolve/src/errors.ts:13](https://gitlab.com/wetryfun/project/project/-/blob/docs-v1.0.1/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/resolve/src/errors.ts:18](https://gitlab.com/wetryfun/project/project/-/blob/docs-v1.0.0/packages/resolve/src/errors.ts#L18)
31
+ Defined in: [packages/project-resolve/src/errors.ts:18](https://gitlab.com/wetryfun/project/project/-/blob/docs-v1.0.1/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/resolve/src/errors.ts:14](https://gitlab.com/wetryfun/project/project/-/blob/docs-v1.0.0/packages/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/resolve/src/errors.ts:16](https://gitlab.com/wetryfun/project/project/-/blob/docs-v1.0.0/packages/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-v1.0.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-v1.0.1/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/resolve/src/errors.ts:56](https://gitlab.com/wetryfun/project/project/-/blob/docs-v1.0.0/packages/resolve/src/errors.ts#L56)
5
+ Defined in: [packages/project-resolve/src/errors.ts:56](https://gitlab.com/wetryfun/project/project/-/blob/docs-v1.0.1/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/resolve/src/errors.ts:66](https://gitlab.com/wetryfun/project/project/-/blob/docs-v1.0.0/packages/resolve/src/errors.ts#L66)
23
+ Defined in: [packages/project-resolve/src/errors.ts:66](https://gitlab.com/wetryfun/project/project/-/blob/docs-v1.0.1/packages/project-resolve/src/errors.ts#L66)
24
24
 
25
25
  #### Parameters
26
26
 
@@ -42,12 +42,12 @@ Defined in: [packages/resolve/src/errors.ts:66](https://gitlab.com/wetryfun/proj
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/resolve/src/errors.ts:14](https://gitlab.com/wetryfun/project/project/-/blob/docs-v1.0.0/packages/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/resolve/src/errors.ts:16](https://gitlab.com/wetryfun/project/project/-/blob/docs-v1.0.0/packages/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/resolve/src/errors.ts:58](https://gitlab.com/wetryfun/project/project/-/blob/docs-v1.0.0/packages/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-v1.0.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-v1.0.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-v1.0.1/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/resolve/src/errors.ts:64](https://gitlab.com/wetryfun/project/project/-/blob/docs-v1.0.0/packages/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-v1.0.1/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/resolve/src/errors.ts:30](https://gitlab.com/wetryfun/project/project/-/blob/docs-v1.0.0/packages/resolve/src/errors.ts#L30)
5
+ Defined in: [packages/project-resolve/src/errors.ts:30](https://gitlab.com/wetryfun/project/project/-/blob/docs-v1.0.1/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/resolve/src/errors.ts:34](https://gitlab.com/wetryfun/project/project/-/blob/docs-v1.0.0/packages/resolve/src/errors.ts#L34)
27
+ Defined in: [packages/project-resolve/src/errors.ts:34](https://gitlab.com/wetryfun/project/project/-/blob/docs-v1.0.1/packages/project-resolve/src/errors.ts#L34)
28
28
 
29
29
  #### Parameters
30
30
 
@@ -47,9 +47,9 @@ Defined in: [packages/resolve/src/errors.ts:34](https://gitlab.com/wetryfun/proj
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/resolve/src/errors.ts:14](https://gitlab.com/wetryfun/project/project/-/blob/docs-v1.0.0/packages/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/resolve/src/errors.ts:16](https://gitlab.com/wetryfun/project/project/-/blob/docs-v1.0.0/packages/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/resolve/src/errors.ts:32](https://gitlab.com/wetryfun/project/project/-/blob/docs-v1.0.0/packages/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-v1.0.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-v1.0.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-v1.0.1/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/resolve/src/hooks.ts:132](https://gitlab.com/wetryfun/project/project/-/blob/docs-v1.0.0/packages/resolve/src/hooks.ts#L132)
9
+ Defined in: [packages/project-resolve/src/hooks.ts:132](https://gitlab.com/wetryfun/project/project/-/blob/docs-v1.0.1/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/resolve/src/hooks.ts:86](https://gitlab.com/wetryfun/project/project/-/blob/docs-v1.0.0/packages/resolve/src/hooks.ts#L86)
9
+ Defined in: [packages/project-resolve/src/hooks.ts:86](https://gitlab.com/wetryfun/project/project/-/blob/docs-v1.0.1/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/resolve/src/hooks.ts:29](https://gitlab.com/wetryfun/project/project/-/blob/docs-v1.0.0/packages/resolve/src/hooks.ts#L29)
9
+ Defined in: [packages/project-resolve/src/hooks.ts:29](https://gitlab.com/wetryfun/project/project/-/blob/docs-v1.0.1/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/resolve/src/hooks.ts:154](https://gitlab.com/wetryfun/project/project/-/blob/docs-v1.0.0/packages/resolve/src/hooks.ts#L154)
9
+ Defined in: [packages/project-resolve/src/hooks.ts:154](https://gitlab.com/wetryfun/project/project/-/blob/docs-v1.0.1/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/resolve/src/node.ts:82](https://gitlab.com/wetryfun/project/project/-/blob/docs-v1.0.0/packages/resolve/src/node.ts#L82)
9
+ Defined in: [packages/project-resolve/src/node.ts:82](https://gitlab.com/wetryfun/project/project/-/blob/docs-v1.0.1/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/resolve/src/workspace.ts:90](https://gitlab.com/wetryfun/project/project/-/blob/docs-v1.0.0/packages/resolve/src/workspace.ts#L90) |
23
- | `navigator.storage` | `object` | [packages/resolve/src/workspace.ts:91](https://gitlab.com/wetryfun/project/project/-/blob/docs-v1.0.0/packages/resolve/src/workspace.ts#L91) |
24
- | `getDirectory()` | () => `Promise`\<[`WorkspaceDirectoryHandle`](../../workspace/type-aliases/WorkspaceDirectoryHandle.md)\> | [packages/resolve/src/workspace.ts:91](https://gitlab.com/wetryfun/project/project/-/blob/docs-v1.0.0/packages/resolve/src/workspace.ts#L91) |
25
- | `path` | [`WorkspacePaths`](../../workspace/type-aliases/WorkspacePaths.md) | [packages/resolve/src/workspace.ts:93](https://gitlab.com/wetryfun/project/project/-/blob/docs-v1.0.0/packages/resolve/src/workspace.ts#L93) |
22
+ | `navigator` | `object` | [packages/project-resolve/src/workspace.ts:90](https://gitlab.com/wetryfun/project/project/-/blob/docs-v1.0.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-v1.0.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-v1.0.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-v1.0.1/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/resolve/src/register.ts:43](https://gitlab.com/wetryfun/project/project/-/blob/docs-v1.0.0/packages/resolve/src/register.ts#L43)
9
+ Defined in: [packages/project-resolve/src/register.ts:43](https://gitlab.com/wetryfun/project/project/-/blob/docs-v1.0.1/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/resolve/src/workspace.ts:291](https://gitlab.com/wetryfun/project/project/-/blob/docs-v1.0.0/packages/resolve/src/workspace.ts#L291)
9
+ Defined in: [packages/project-resolve/src/workspace.ts:291](https://gitlab.com/wetryfun/project/project/-/blob/docs-v1.0.1/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/resolve/src/workspace.ts:710](https://gitlab.com/wetryfun/project/project/-/blob/docs-v1.0.0/packages/resolve/src/workspace.ts#L710)
9
+ Defined in: [packages/project-resolve/src/workspace.ts:710](https://gitlab.com/wetryfun/project/project/-/blob/docs-v1.0.1/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/resolve/src/workspace.ts:592](https://gitlab.com/wetryfun/project/project/-/blob/docs-v1.0.0/packages/resolve/src/workspace.ts#L592)
9
+ Defined in: [packages/project-resolve/src/workspace.ts:592](https://gitlab.com/wetryfun/project/project/-/blob/docs-v1.0.1/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/resolve/src/workspace.ts:607](https://gitlab.com/wetryfun/project/project/-/blob/docs-v1.0.0/packages/resolve/src/workspace.ts#L607)
9
+ Defined in: [packages/project-resolve/src/workspace.ts:607](https://gitlab.com/wetryfun/project/project/-/blob/docs-v1.0.1/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/resolve/src/workspace.ts:619](https://gitlab.com/wetryfun/project/project/-/blob/docs-v1.0.0/packages/resolve/src/workspace.ts#L619)
9
+ Defined in: [packages/project-resolve/src/workspace.ts:619](https://gitlab.com/wetryfun/project/project/-/blob/docs-v1.0.1/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/resolve/src/workspace.ts:641](https://gitlab.com/wetryfun/project/project/-/blob/docs-v1.0.0/packages/resolve/src/workspace.ts#L641)
9
+ Defined in: [packages/project-resolve/src/workspace.ts:641](https://gitlab.com/wetryfun/project/project/-/blob/docs-v1.0.1/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/resolve/src/workspace.ts:102](https://gitlab.com/wetryfun/project/project/-/blob/docs-v1.0.0/packages/resolve/src/workspace.ts#L102)
9
+ Defined in: [packages/project-resolve/src/workspace.ts:102](https://gitlab.com/wetryfun/project/project/-/blob/docs-v1.0.1/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.
@@ -6,7 +6,7 @@
6
6
  type DirectoryEntry = object;
7
7
  ```
8
8
 
9
- Defined in: [packages/resolve/src/workspace.ts:30](https://gitlab.com/wetryfun/project/project/-/blob/docs-v1.0.0/packages/resolve/src/workspace.ts#L30)
9
+ Defined in: [packages/project-resolve/src/workspace.ts:30](https://gitlab.com/wetryfun/project/project/-/blob/docs-v1.0.1/packages/project-resolve/src/workspace.ts#L30)
10
10
 
11
11
  An entry of a folder: its name, and whether it is a file or a folder. A link is what it links
12
12
  to, as the standard's handles have none.
@@ -19,7 +19,7 @@ to, as the standard's handles have none.
19
19
  readonly name: string;
20
20
  ```
21
21
 
22
- Defined in: [packages/resolve/src/workspace.ts:31](https://gitlab.com/wetryfun/project/project/-/blob/docs-v1.0.0/packages/resolve/src/workspace.ts#L31)
22
+ Defined in: [packages/project-resolve/src/workspace.ts:31](https://gitlab.com/wetryfun/project/project/-/blob/docs-v1.0.1/packages/project-resolve/src/workspace.ts#L31)
23
23
 
24
24
  ## Methods
25
25
 
@@ -29,7 +29,7 @@ Defined in: [packages/resolve/src/workspace.ts:31](https://gitlab.com/wetryfun/p
29
29
  isDirectory(): boolean;
30
30
  ```
31
31
 
32
- Defined in: [packages/resolve/src/workspace.ts:33](https://gitlab.com/wetryfun/project/project/-/blob/docs-v1.0.0/packages/resolve/src/workspace.ts#L33)
32
+ Defined in: [packages/project-resolve/src/workspace.ts:33](https://gitlab.com/wetryfun/project/project/-/blob/docs-v1.0.1/packages/project-resolve/src/workspace.ts#L33)
33
33
 
34
34
  #### Returns
35
35
 
@@ -43,7 +43,7 @@ Defined in: [packages/resolve/src/workspace.ts:33](https://gitlab.com/wetryfun/p
43
43
  isFile(): boolean;
44
44
  ```
45
45
 
46
- Defined in: [packages/resolve/src/workspace.ts:32](https://gitlab.com/wetryfun/project/project/-/blob/docs-v1.0.0/packages/resolve/src/workspace.ts#L32)
46
+ Defined in: [packages/project-resolve/src/workspace.ts:32](https://gitlab.com/wetryfun/project/project/-/blob/docs-v1.0.1/packages/project-resolve/src/workspace.ts#L32)
47
47
 
48
48
  #### Returns
49
49
 
@@ -6,7 +6,7 @@
6
6
  type FileContents = object;
7
7
  ```
8
8
 
9
- Defined in: [packages/resolve/src/workspace.ts:46](https://gitlab.com/wetryfun/project/project/-/blob/docs-v1.0.0/packages/resolve/src/workspace.ts#L46)
9
+ Defined in: [packages/project-resolve/src/workspace.ts:46](https://gitlab.com/wetryfun/project/project/-/blob/docs-v1.0.1/packages/project-resolve/src/workspace.ts#L46)
10
10
 
11
11
  A file as its handle gives it, `getFile()`: its bytes, as text or as a buffer.
12
12
 
@@ -18,7 +18,7 @@ A file as its handle gives it, `getFile()`: its bytes, as text or as a buffer.
18
18
  arrayBuffer(): Promise<ArrayBuffer>;
19
19
  ```
20
20
 
21
- Defined in: [packages/resolve/src/workspace.ts:46](https://gitlab.com/wetryfun/project/project/-/blob/docs-v1.0.0/packages/resolve/src/workspace.ts#L46)
21
+ Defined in: [packages/project-resolve/src/workspace.ts:46](https://gitlab.com/wetryfun/project/project/-/blob/docs-v1.0.1/packages/project-resolve/src/workspace.ts#L46)
22
22
 
23
23
  #### Returns
24
24
 
@@ -32,7 +32,7 @@ Defined in: [packages/resolve/src/workspace.ts:46](https://gitlab.com/wetryfun/p
32
32
  text(): Promise<string>;
33
33
  ```
34
34
 
35
- Defined in: [packages/resolve/src/workspace.ts:46](https://gitlab.com/wetryfun/project/project/-/blob/docs-v1.0.0/packages/resolve/src/workspace.ts#L46)
35
+ Defined in: [packages/project-resolve/src/workspace.ts:46](https://gitlab.com/wetryfun/project/project/-/blob/docs-v1.0.1/packages/project-resolve/src/workspace.ts#L46)
36
36
 
37
37
  #### Returns
38
38
 
@@ -6,7 +6,7 @@
6
6
  type PackageManager = object;
7
7
  ```
8
8
 
9
- Defined in: [packages/resolve/src/workspace.ts:106](https://gitlab.com/wetryfun/project/project/-/blob/docs-v1.0.0/packages/resolve/src/workspace.ts#L106)
9
+ Defined in: [packages/project-resolve/src/workspace.ts:106](https://gitlab.com/wetryfun/project/project/-/blob/docs-v1.0.1/packages/project-resolve/src/workspace.ts#L106)
10
10
 
11
11
  A package manager: its name, its agent, and its version, if it is known, as
12
12
  `major[.minor[.patch]]`.
@@ -19,7 +19,7 @@ A package manager: its name, its agent, and its version, if it is known, as
19
19
  readonly agent: Agent;
20
20
  ```
21
21
 
22
- Defined in: [packages/resolve/src/workspace.ts:108](https://gitlab.com/wetryfun/project/project/-/blob/docs-v1.0.0/packages/resolve/src/workspace.ts#L108)
22
+ Defined in: [packages/project-resolve/src/workspace.ts:108](https://gitlab.com/wetryfun/project/project/-/blob/docs-v1.0.1/packages/project-resolve/src/workspace.ts#L108)
23
23
 
24
24
  ***
25
25
 
@@ -29,7 +29,7 @@ Defined in: [packages/resolve/src/workspace.ts:108](https://gitlab.com/wetryfun/
29
29
  readonly name: PackageManagerName;
30
30
  ```
31
31
 
32
- Defined in: [packages/resolve/src/workspace.ts:107](https://gitlab.com/wetryfun/project/project/-/blob/docs-v1.0.0/packages/resolve/src/workspace.ts#L107)
32
+ Defined in: [packages/project-resolve/src/workspace.ts:107](https://gitlab.com/wetryfun/project/project/-/blob/docs-v1.0.1/packages/project-resolve/src/workspace.ts#L107)
33
33
 
34
34
  ***
35
35
 
@@ -39,4 +39,4 @@ Defined in: [packages/resolve/src/workspace.ts:107](https://gitlab.com/wetryfun/
39
39
  readonly optional version?: string;
40
40
  ```
41
41
 
42
- Defined in: [packages/resolve/src/workspace.ts:109](https://gitlab.com/wetryfun/project/project/-/blob/docs-v1.0.0/packages/resolve/src/workspace.ts#L109)
42
+ Defined in: [packages/project-resolve/src/workspace.ts:109](https://gitlab.com/wetryfun/project/project/-/blob/docs-v1.0.1/packages/project-resolve/src/workspace.ts#L109)
@@ -6,6 +6,6 @@
6
6
  type PackageManagerName = "npm" | "pnpm" | "yarn" | "bun";
7
7
  ```
8
8
 
9
- Defined in: [packages/resolve/src/workspace.ts:98](https://gitlab.com/wetryfun/project/project/-/blob/docs-v1.0.0/packages/resolve/src/workspace.ts#L98)
9
+ Defined in: [packages/project-resolve/src/workspace.ts:98](https://gitlab.com/wetryfun/project/project/-/blob/docs-v1.0.1/packages/project-resolve/src/workspace.ts#L98)
10
10
 
11
11
  The package managers whose workspaces are read.
@@ -6,6 +6,6 @@
6
6
  type ProcessWorkspaceOptions = WorkspaceOptions;
7
7
  ```
8
8
 
9
- Defined in: [packages/resolve/src/workspace.ts:613](https://gitlab.com/wetryfun/project/project/-/blob/docs-v1.0.0/packages/resolve/src/workspace.ts#L613)
9
+ Defined in: [packages/project-resolve/src/workspace.ts:613](https://gitlab.com/wetryfun/project/project/-/blob/docs-v1.0.1/packages/project-resolve/src/workspace.ts#L613)
10
10
 
11
11
  What a reader of the workspace a process runs in reads by: the platform of [WorkspaceOptions](WorkspaceOptions.md).
@@ -6,7 +6,7 @@
6
6
  type Workspace = object;
7
7
  ```
8
8
 
9
- Defined in: [packages/resolve/src/workspace.ts:113](https://gitlab.com/wetryfun/project/project/-/blob/docs-v1.0.0/packages/resolve/src/workspace.ts#L113)
9
+ Defined in: [packages/project-resolve/src/workspace.ts:113](https://gitlab.com/wetryfun/project/project/-/blob/docs-v1.0.1/packages/project-resolve/src/workspace.ts#L113)
10
10
 
11
11
  A workspace: its root, its package manager, and its packages.
12
12
 
@@ -18,7 +18,7 @@ A workspace: its root, its package manager, and its packages.
18
18
  readonly packageManager: PackageManager;
19
19
  ```
20
20
 
21
- Defined in: [packages/resolve/src/workspace.ts:120](https://gitlab.com/wetryfun/project/project/-/blob/docs-v1.0.0/packages/resolve/src/workspace.ts#L120)
21
+ Defined in: [packages/project-resolve/src/workspace.ts:120](https://gitlab.com/wetryfun/project/project/-/blob/docs-v1.0.1/packages/project-resolve/src/workspace.ts#L120)
22
22
 
23
23
  The package manager whose workspace it is: pnpm, of a pnpm-workspace.yaml; and of a
24
24
  package.json's `workspaces`, the one its `packageManager` or `devEngines` field names, else
@@ -32,7 +32,7 @@ the one whose lockfile the root holds, else npm. At its version, when the field
32
32
  readonly packages: ReadonlyMap<string, string>;
33
33
  ```
34
34
 
35
- Defined in: [packages/resolve/src/workspace.ts:124](https://gitlab.com/wetryfun/project/project/-/blob/docs-v1.0.0/packages/resolve/src/workspace.ts#L124)
35
+ Defined in: [packages/project-resolve/src/workspace.ts:124](https://gitlab.com/wetryfun/project/project/-/blob/docs-v1.0.1/packages/project-resolve/src/workspace.ts#L124)
36
36
 
37
37
  Each package of the workspace by its name: its folder, in the order of their paths. A folder
38
38
  whose package.json has no name is none of them, and the root is none either, unless a
@@ -46,7 +46,7 @@ pattern names it.
46
46
  readonly projects: readonly string[];
47
47
  ```
48
48
 
49
- Defined in: [packages/resolve/src/workspace.ts:127](https://gitlab.com/wetryfun/project/project/-/blob/docs-v1.0.0/packages/resolve/src/workspace.ts#L127)
49
+ Defined in: [packages/project-resolve/src/workspace.ts:127](https://gitlab.com/wetryfun/project/project/-/blob/docs-v1.0.1/packages/project-resolve/src/workspace.ts#L127)
50
50
 
51
51
  The folder of each project its patterns name, in the order of their paths: each that holds a
52
52
  package.json, of a name or not, which a tool that refuses a package of no name reads.
@@ -59,7 +59,7 @@ package.json, of a name or not, which a tool that refuses a package of no name r
59
59
  readonly root: string;
60
60
  ```
61
61
 
62
- Defined in: [packages/resolve/src/workspace.ts:116](https://gitlab.com/wetryfun/project/project/-/blob/docs-v1.0.0/packages/resolve/src/workspace.ts#L116)
62
+ Defined in: [packages/project-resolve/src/workspace.ts:116](https://gitlab.com/wetryfun/project/project/-/blob/docs-v1.0.1/packages/project-resolve/src/workspace.ts#L116)
63
63
 
64
64
  The folder of its pnpm-workspace.yaml, or of the package.json whose `workspaces` names its
65
65
  packages.