@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.
- package/api/.generated +1 -0
- package/api/@wtf/project-oxfmt/variables/default.md +6 -6
- package/api/@wtf/project-oxlint/variables/default.md +17 -17
- package/api/@wtf/project-resolve/condition/variables/SOURCE_CONDITION.md +1 -1
- package/api/@wtf/project-resolve/env/functions/isHook.md +1 -1
- package/api/@wtf/project-resolve/env/functions/optionsWithoutHook.md +1 -1
- package/api/@wtf/project-resolve/env/functions/withoutHook.md +1 -1
- package/api/@wtf/project-resolve/env/type-aliases/Env.md +1 -1
- package/api/@wtf/project-resolve/errors/classes/ResolveError.md +4 -4
- package/api/@wtf/project-resolve/errors/classes/UnreadableWorkspaceError.md +6 -6
- package/api/@wtf/project-resolve/errors/classes/WorkspaceError.md +5 -5
- package/api/@wtf/project-resolve/hooks/functions/candidatesOf.md +1 -1
- package/api/@wtf/project-resolve/hooks/functions/sourcesHookOf.md +1 -1
- package/api/@wtf/project-resolve/hooks/functions/sourcesOf.md +1 -1
- package/api/@wtf/project-resolve/hooks/variables/resolveTypeScript.md +1 -1
- package/api/@wtf/project-resolve/node/functions/nodePlatform.md +5 -5
- package/api/@wtf/project-resolve/register/variables/REGISTERED.md +1 -1
- package/api/@wtf/project-resolve/workspace/functions/filesOf.md +1 -1
- package/api/@wtf/project-resolve/workspace/functions/packagesOf.md +1 -1
- package/api/@wtf/project-resolve/workspace/functions/workspaceAt.md +1 -1
- package/api/@wtf/project-resolve/workspace/functions/workspaceOf.md +1 -1
- package/api/@wtf/project-resolve/workspace/functions/workspaceRootAbove.md +1 -1
- package/api/@wtf/project-resolve/workspace/functions/workspaceRootOf.md +1 -1
- package/api/@wtf/project-resolve/workspace/type-aliases/Agent.md +1 -1
- package/api/@wtf/project-resolve/workspace/type-aliases/DirectoryEntry.md +4 -4
- package/api/@wtf/project-resolve/workspace/type-aliases/FileContents.md +3 -3
- package/api/@wtf/project-resolve/workspace/type-aliases/PackageManager.md +4 -4
- package/api/@wtf/project-resolve/workspace/type-aliases/PackageManagerName.md +1 -1
- package/api/@wtf/project-resolve/workspace/type-aliases/ProcessWorkspaceOptions.md +1 -1
- package/api/@wtf/project-resolve/workspace/type-aliases/Workspace.md +5 -5
- package/api/@wtf/project-resolve/workspace/type-aliases/WorkspaceDirectoryHandle.md +6 -6
- package/api/@wtf/project-resolve/workspace/type-aliases/WorkspaceFileHandle.md +3 -3
- package/api/@wtf/project-resolve/workspace/type-aliases/WorkspaceFiles.md +6 -6
- package/api/@wtf/project-resolve/workspace/type-aliases/WorkspaceOptions.md +2 -2
- package/api/@wtf/project-resolve/workspace/type-aliases/WorkspacePackage.md +4 -4
- package/api/@wtf/project-resolve/workspace/type-aliases/WorkspacePaths.md +7 -7
- package/api/@wtf/project-typedoc/config/functions/gitRevisionOf.md +1 -1
- package/api/@wtf/project-typedoc/config/functions/typedocConfig.md +1 -1
- package/api/@wtf/project-typedoc/config/type-aliases/RevisionSources.md +3 -3
- package/api/@wtf/project-typedoc/config/type-aliases/TypedocConfig.md +1 -1
- package/api/@wtf/project-typedoc/config/type-aliases/TypedocOptions.md +6 -6
- package/api/@wtf/project-typedoc/config/variables/nodeRun.md +1 -1
- package/api/@wtf/project-typedoc/plugins/functions/cleanGeneratedMarkdown.md +1 -1
- package/api/@wtf/project-typedoc/plugins/functions/linkTrackedSources.md +1 -1
- package/api/@wtf/project-typedoc/plugins/functions/preventMediaFiles.md +1 -1
- package/api/@wtf/project-typedoc/plugins/type-aliases/CleanGeneratedMarkdownOptions.md +3 -3
- package/api/@wtf/project-typedoc/plugins/type-aliases/LinkTrackedSourcesOptions.md +3 -3
- package/api/@wtf/project-typedoc/plugins/type-aliases/PreventMediaFilesOptions.md +3 -3
- package/api/@wtf/project-typedoc/plugins/type-aliases/Run.md +1 -1
- package/api/@wtf/project-typedoc/plugins/type-aliases/TypedocPlugin.md +1 -1
- package/api/@wtf/project-vite/README.md +2 -2
- package/api/@wtf/project-vite/functions/baseConfig.md +4 -4
- package/api/@wtf/project-vite/functions/buildsSite.md +1 -1
- package/api/@wtf/project-vite/functions/compress.md +1 -1
- package/api/@wtf/project-vite/functions/conditionsOf.md +1 -1
- package/api/@wtf/project-vite/type-aliases/BaseOptions.md +2 -2
- package/api/@wtf/project-vite/type-aliases/CompressOptions.md +4 -4
- package/api/@wtf/project-vite/variables/CLIENT_CONDITIONS.md +1 -1
- package/api/@wtf/project-vite/variables/COMPRESSIBLE.md +1 -1
- package/api/@wtf/project-vite/variables/FROM_DIST.md +1 -1
- package/api/@wtf/project-vite/variables/THRESHOLD.md +1 -1
- package/api/@wtf/project-vitest/README.md +1 -1
- package/api/@wtf/project-vitest/browser/functions/browserConfig.md +1 -1
- package/api/@wtf/project-vitest/browser/functions/browserRootConfig.md +1 -1
- package/api/@wtf/project-vitest/browser/type-aliases/BrowserOptions.md +3 -3
- package/api/@wtf/project-vitest/config/functions/integrationConfig.md +1 -1
- package/api/@wtf/project-vitest/config/functions/packageConfig.md +1 -1
- package/api/@wtf/project-vitest/config/functions/rootConfig.md +1 -1
- package/api/@wtf/project-vitest/config/type-aliases/RootConfigOptions.md +2 -2
- package/api/@wtf/project-vitest/config/type-aliases/RootOptions.md +7 -7
- package/api/@wtf/project-vitest/config/variables/FROM_DIST.md +1 -1
- package/api/@wtf/project-vitest/config/variables/GUARD_TIMEOUT.md +1 -1
- package/api/@wtf/project-vitest/config/variables/integration.md +9 -9
- package/api/@wtf/project-vitest/process/functions/childEnv.md +1 -1
- package/api/@wtf/project-vitest/process/type-aliases/Env.md +1 -1
- package/api/@wtf/project-vitest/storybook/functions/storybookConfig.md +1 -1
- package/api/@wtf/project-vitest/storybook/type-aliases/StorybookOptions.md +2 -2
- package/api/@wtf/project-wpt/builtins/functions/builtins.md +1 -1
- package/api/@wtf/project-wpt/builtins/functions/intrinsics.md +1 -1
- package/api/@wtf/project-wpt/checkout/functions/checkoutFolderOf.md +1 -1
- package/api/@wtf/project-wpt/checkout/functions/checkoutTests.md +1 -1
- package/api/@wtf/project-wpt/checkout/functions/checkoutWpt.md +1 -1
- package/api/@wtf/project-wpt/checkout/functions/fileOf.md +1 -1
- package/api/@wtf/project-wpt/checkout/type-aliases/CheckedOutTests.md +3 -3
- package/api/@wtf/project-wpt/checkout/type-aliases/CheckoutOptions.md +8 -8
- package/api/@wtf/project-wpt/checkout/type-aliases/CheckoutTestsOptions.md +2 -2
- package/api/@wtf/project-wpt/checkout/variables/HARNESS.md +1 -1
- package/api/@wtf/project-wpt/checkout/variables/REWRITES.md +1 -1
- package/api/@wtf/project-wpt/checkout/variables/WPT_REPOSITORY.md +1 -1
- package/api/@wtf/project-wpt/errors/classes/HarnessFailedError.md +4 -4
- package/api/@wtf/project-wpt/errors/classes/InvalidCommitError.md +4 -4
- package/api/@wtf/project-wpt/errors/classes/InvalidExpectationsError.md +4 -4
- package/api/@wtf/project-wpt/errors/classes/NoSuiteError.md +4 -4
- package/api/@wtf/project-wpt/errors/classes/NotInWptError.md +5 -5
- package/api/@wtf/project-wpt/errors/classes/StaleExpectationError.md +4 -4
- package/api/@wtf/project-wpt/errors/classes/SubtestFailedError.md +4 -4
- package/api/@wtf/project-wpt/errors/classes/UnexpectedPassError.md +4 -4
- package/api/@wtf/project-wpt/errors/classes/WptError.md +4 -4
- package/api/@wtf/project-wpt/errors/classes/WptFetchError.md +4 -4
- package/api/@wtf/project-wpt/expectations/functions/checkHarness.md +1 -1
- package/api/@wtf/project-wpt/expectations/functions/checkSubtest.md +1 -1
- package/api/@wtf/project-wpt/expectations/functions/expectationOf.md +1 -1
- package/api/@wtf/project-wpt/expectations/functions/expectationsIssues.md +1 -1
- package/api/@wtf/project-wpt/expectations/functions/readExpectations.md +1 -1
- package/api/@wtf/project-wpt/expectations/functions/staleOf.md +1 -1
- package/api/@wtf/project-wpt/expectations/type-aliases/ReadExpectations.md +3 -3
- package/api/@wtf/project-wpt/index/type-aliases/ClearTimeout.md +1 -1
- package/api/@wtf/project-wpt/index/type-aliases/CreateRealm.md +1 -1
- package/api/@wtf/project-wpt/index/type-aliases/Env.md +1 -1
- package/api/@wtf/project-wpt/index/type-aliases/Exec.md +1 -1
- package/api/@wtf/project-wpt/index/type-aliases/Expectations.md +1 -1
- package/api/@wtf/project-wpt/index/type-aliases/FileExpectation.md +4 -4
- package/api/@wtf/project-wpt/index/type-aliases/FileResult.md +4 -4
- package/api/@wtf/project-wpt/index/type-aliases/Globals.md +1 -1
- package/api/@wtf/project-wpt/index/type-aliases/HarnessResult.md +4 -4
- package/api/@wtf/project-wpt/index/type-aliases/HarnessStatus.md +1 -1
- package/api/@wtf/project-wpt/index/type-aliases/HoldRejections.md +1 -1
- package/api/@wtf/project-wpt/index/type-aliases/Performance.md +3 -3
- package/api/@wtf/project-wpt/index/type-aliases/Realm.md +3 -3
- package/api/@wtf/project-wpt/index/type-aliases/SetTimeout.md +1 -1
- package/api/@wtf/project-wpt/index/type-aliases/SubtestResult.md +5 -5
- package/api/@wtf/project-wpt/index/type-aliases/SubtestStatus.md +1 -1
- package/api/@wtf/project-wpt/index/type-aliases/WptFile.md +3 -3
- package/api/@wtf/project-wpt/index/type-aliases/WptFiles.md +9 -9
- package/api/@wtf/project-wpt/index/type-aliases/WptPaths.md +4 -4
- package/api/@wtf/project-wpt/index/type-aliases/WptPlatform.md +6 -6
- package/api/@wtf/project-wpt/index/type-aliases/WptSystem.md +6 -6
- package/api/@wtf/project-wpt/index/type-aliases/WptTest.md +3 -3
- package/api/@wtf/project-wpt/meta/functions/idOf.md +1 -1
- package/api/@wtf/project-wpt/meta/functions/metaOf.md +1 -1
- package/api/@wtf/project-wpt/meta/functions/runsOutsideWindow.md +1 -1
- package/api/@wtf/project-wpt/meta/functions/scriptPathsOf.md +1 -1
- package/api/@wtf/project-wpt/meta/functions/testsOf.md +1 -1
- package/api/@wtf/project-wpt/meta/type-aliases/Meta.md +6 -6
- package/api/@wtf/project-wpt/node/functions/nodePlatform.md +1 -1
- package/api/@wtf/project-wpt/node/functions/nodeSystem.md +1 -1
- package/api/@wtf/project-wpt/node/variables/nodeExec.md +1 -1
- package/api/@wtf/project-wpt/node/variables/nodeFiles.md +1 -1
- package/api/@wtf/project-wpt/node/variables/nodeRealm.md +1 -1
- package/api/@wtf/project-wpt/node/variables/nodeRejections.md +1 -1
- package/api/@wtf/project-wpt/run/functions/runTest.md +1 -1
- package/api/@wtf/project-wpt/run/type-aliases/RunOptions.md +8 -8
- package/api/@wtf/project-wpt/run/type-aliases/RunPlatform.md +1 -1
- package/api/@wtf/project-wpt/run/variables/LONG_TIMEOUT.md +1 -1
- package/api/@wtf/project-wpt/run/variables/TIMEOUT.md +1 -1
- package/api/@wtf/project-wpt/run/variables/WPT_ORIGIN.md +1 -1
- package/api/@wtf/project-wpt/suite/functions/wptSuite.md +1 -1
- package/api/@wtf/project-wpt/suite/type-aliases/WptSuiteOptions.md +8 -8
- package/api/trains.json +31 -0
- package/package.json +13 -5
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
type WorkspaceDirectoryHandle = object;
|
|
7
7
|
```
|
|
8
8
|
|
|
9
|
-
Defined in: [packages/resolve/src/workspace.ts:60](https://gitlab.com/wetryfun/project/project/-/blob/docs-v1.0.
|
|
9
|
+
Defined in: [packages/project-resolve/src/workspace.ts:60](https://gitlab.com/wetryfun/project/project/-/blob/docs-v1.0.1/packages/project-resolve/src/workspace.ts#L60)
|
|
10
10
|
|
|
11
11
|
A folder's handle, of the WHATWG File System Standard, as a workspace is read by it: a folder or
|
|
12
12
|
a file in it, and its entries. A `FileSystemDirectoryHandle` of the DOM is one, as a browser
|
|
@@ -27,7 +27,7 @@ and a link back up is walked as a folder of its own, until the handle fails to g
|
|
|
27
27
|
readonly kind: "directory";
|
|
28
28
|
```
|
|
29
29
|
|
|
30
|
-
Defined in: [packages/resolve/src/workspace.ts:61](https://gitlab.com/wetryfun/project/project/-/blob/docs-v1.0.
|
|
30
|
+
Defined in: [packages/project-resolve/src/workspace.ts:61](https://gitlab.com/wetryfun/project/project/-/blob/docs-v1.0.1/packages/project-resolve/src/workspace.ts#L61)
|
|
31
31
|
|
|
32
32
|
## Methods
|
|
33
33
|
|
|
@@ -39,7 +39,7 @@ entries(): AsyncIterable<[string,
|
|
|
39
39
|
| WorkspaceDirectoryHandle]>;
|
|
40
40
|
```
|
|
41
41
|
|
|
42
|
-
Defined in: [packages/resolve/src/workspace.ts:64](https://gitlab.com/wetryfun/project/project/-/blob/docs-v1.0.
|
|
42
|
+
Defined in: [packages/project-resolve/src/workspace.ts:64](https://gitlab.com/wetryfun/project/project/-/blob/docs-v1.0.1/packages/project-resolve/src/workspace.ts#L64)
|
|
43
43
|
|
|
44
44
|
#### Returns
|
|
45
45
|
|
|
@@ -55,7 +55,7 @@ Defined in: [packages/resolve/src/workspace.ts:64](https://gitlab.com/wetryfun/p
|
|
|
55
55
|
getDirectoryHandle(name): Promise<WorkspaceDirectoryHandle>;
|
|
56
56
|
```
|
|
57
57
|
|
|
58
|
-
Defined in: [packages/resolve/src/workspace.ts:62](https://gitlab.com/wetryfun/project/project/-/blob/docs-v1.0.
|
|
58
|
+
Defined in: [packages/project-resolve/src/workspace.ts:62](https://gitlab.com/wetryfun/project/project/-/blob/docs-v1.0.1/packages/project-resolve/src/workspace.ts#L62)
|
|
59
59
|
|
|
60
60
|
#### Parameters
|
|
61
61
|
|
|
@@ -75,7 +75,7 @@ Defined in: [packages/resolve/src/workspace.ts:62](https://gitlab.com/wetryfun/p
|
|
|
75
75
|
getFileHandle(name): Promise<WorkspaceFileHandle>;
|
|
76
76
|
```
|
|
77
77
|
|
|
78
|
-
Defined in: [packages/resolve/src/workspace.ts:63](https://gitlab.com/wetryfun/project/project/-/blob/docs-v1.0.
|
|
78
|
+
Defined in: [packages/project-resolve/src/workspace.ts:63](https://gitlab.com/wetryfun/project/project/-/blob/docs-v1.0.1/packages/project-resolve/src/workspace.ts#L63)
|
|
79
79
|
|
|
80
80
|
#### Parameters
|
|
81
81
|
|
|
@@ -95,7 +95,7 @@ Defined in: [packages/resolve/src/workspace.ts:63](https://gitlab.com/wetryfun/p
|
|
|
95
95
|
optional realpath(): Promise<string>;
|
|
96
96
|
```
|
|
97
97
|
|
|
98
|
-
Defined in: [packages/resolve/src/workspace.ts:66](https://gitlab.com/wetryfun/project/project/-/blob/docs-v1.0.
|
|
98
|
+
Defined in: [packages/project-resolve/src/workspace.ts:66](https://gitlab.com/wetryfun/project/project/-/blob/docs-v1.0.1/packages/project-resolve/src/workspace.ts#L66)
|
|
99
99
|
|
|
100
100
|
The real path of the folder, of no link, where the handle says it: no call of the standard.
|
|
101
101
|
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
type WorkspaceFileHandle = object;
|
|
7
7
|
```
|
|
8
8
|
|
|
9
|
-
Defined in: [packages/resolve/src/workspace.ts:40](https://gitlab.com/wetryfun/project/project/-/blob/docs-v1.0.
|
|
9
|
+
Defined in: [packages/project-resolve/src/workspace.ts:40](https://gitlab.com/wetryfun/project/project/-/blob/docs-v1.0.1/packages/project-resolve/src/workspace.ts#L40)
|
|
10
10
|
|
|
11
11
|
A file's handle, of the WHATWG File System Standard, as a workspace is read by it: the file's
|
|
12
12
|
bytes, by `getFile()`. A `FileSystemFileHandle` of the DOM is one.
|
|
@@ -19,7 +19,7 @@ bytes, by `getFile()`. A `FileSystemFileHandle` of the DOM is one.
|
|
|
19
19
|
readonly kind: "file";
|
|
20
20
|
```
|
|
21
21
|
|
|
22
|
-
Defined in: [packages/resolve/src/workspace.ts:41](https://gitlab.com/wetryfun/project/project/-/blob/docs-v1.0.
|
|
22
|
+
Defined in: [packages/project-resolve/src/workspace.ts:41](https://gitlab.com/wetryfun/project/project/-/blob/docs-v1.0.1/packages/project-resolve/src/workspace.ts#L41)
|
|
23
23
|
|
|
24
24
|
## Methods
|
|
25
25
|
|
|
@@ -29,7 +29,7 @@ Defined in: [packages/resolve/src/workspace.ts:41](https://gitlab.com/wetryfun/p
|
|
|
29
29
|
getFile(): Promise<FileContents>;
|
|
30
30
|
```
|
|
31
31
|
|
|
32
|
-
Defined in: [packages/resolve/src/workspace.ts:42](https://gitlab.com/wetryfun/project/project/-/blob/docs-v1.0.
|
|
32
|
+
Defined in: [packages/project-resolve/src/workspace.ts:42](https://gitlab.com/wetryfun/project/project/-/blob/docs-v1.0.1/packages/project-resolve/src/workspace.ts#L42)
|
|
33
33
|
|
|
34
34
|
#### Returns
|
|
35
35
|
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
type WorkspaceFiles = object;
|
|
7
7
|
```
|
|
8
8
|
|
|
9
|
-
Defined in: [packages/resolve/src/workspace.ts:149](https://gitlab.com/wetryfun/project/project/-/blob/docs-v1.0.
|
|
9
|
+
Defined in: [packages/project-resolve/src/workspace.ts:149](https://gitlab.com/wetryfun/project/project/-/blob/docs-v1.0.1/packages/project-resolve/src/workspace.ts#L149)
|
|
10
10
|
|
|
11
11
|
The calls of a file system of promises that a workspace is read by, and any reader of paths: of
|
|
12
12
|
absolute paths, the handles of a platform's file system walked down by their parts
|
|
@@ -20,7 +20,7 @@ absolute paths, the handles of a platform's file system walked down by their par
|
|
|
20
20
|
exists(path): Promise<boolean>;
|
|
21
21
|
```
|
|
22
22
|
|
|
23
|
-
Defined in: [packages/resolve/src/workspace.ts:157](https://gitlab.com/wetryfun/project/project/-/blob/docs-v1.0.
|
|
23
|
+
Defined in: [packages/project-resolve/src/workspace.ts:157](https://gitlab.com/wetryfun/project/project/-/blob/docs-v1.0.1/packages/project-resolve/src/workspace.ts#L157)
|
|
24
24
|
|
|
25
25
|
Whether a file or a folder is there: of one that cannot be read, no.
|
|
26
26
|
|
|
@@ -42,7 +42,7 @@ Whether a file or a folder is there: of one that cannot be read, no.
|
|
|
42
42
|
readBytes(path): Promise<Uint8Array<ArrayBufferLike>>;
|
|
43
43
|
```
|
|
44
44
|
|
|
45
|
-
Defined in: [packages/resolve/src/workspace.ts:153](https://gitlab.com/wetryfun/project/project/-/blob/docs-v1.0.
|
|
45
|
+
Defined in: [packages/project-resolve/src/workspace.ts:153](https://gitlab.com/wetryfun/project/project/-/blob/docs-v1.0.1/packages/project-resolve/src/workspace.ts#L153)
|
|
46
46
|
|
|
47
47
|
A file's bytes.
|
|
48
48
|
|
|
@@ -64,7 +64,7 @@ A file's bytes.
|
|
|
64
64
|
readdir(path): Promise<readonly DirectoryEntry[]>;
|
|
65
65
|
```
|
|
66
66
|
|
|
67
|
-
Defined in: [packages/resolve/src/workspace.ts:155](https://gitlab.com/wetryfun/project/project/-/blob/docs-v1.0.
|
|
67
|
+
Defined in: [packages/project-resolve/src/workspace.ts:155](https://gitlab.com/wetryfun/project/project/-/blob/docs-v1.0.1/packages/project-resolve/src/workspace.ts#L155)
|
|
68
68
|
|
|
69
69
|
The entries of a folder.
|
|
70
70
|
|
|
@@ -86,7 +86,7 @@ The entries of a folder.
|
|
|
86
86
|
readFile(path): Promise<string>;
|
|
87
87
|
```
|
|
88
88
|
|
|
89
|
-
Defined in: [packages/resolve/src/workspace.ts:151](https://gitlab.com/wetryfun/project/project/-/blob/docs-v1.0.
|
|
89
|
+
Defined in: [packages/project-resolve/src/workspace.ts:151](https://gitlab.com/wetryfun/project/project/-/blob/docs-v1.0.1/packages/project-resolve/src/workspace.ts#L151)
|
|
90
90
|
|
|
91
91
|
A file's text.
|
|
92
92
|
|
|
@@ -108,7 +108,7 @@ A file's text.
|
|
|
108
108
|
realpath(path): Promise<string>;
|
|
109
109
|
```
|
|
110
110
|
|
|
111
|
-
Defined in: [packages/resolve/src/workspace.ts:159](https://gitlab.com/wetryfun/project/project/-/blob/docs-v1.0.
|
|
111
|
+
Defined in: [packages/project-resolve/src/workspace.ts:159](https://gitlab.com/wetryfun/project/project/-/blob/docs-v1.0.1/packages/project-resolve/src/workspace.ts#L159)
|
|
112
112
|
|
|
113
113
|
The real path of a folder, of no link, where its handle says it; else the path.
|
|
114
114
|
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
type WorkspaceOptions = object;
|
|
7
7
|
```
|
|
8
8
|
|
|
9
|
-
Defined in: [packages/resolve/src/workspace.ts:82](https://gitlab.com/wetryfun/project/project/-/blob/docs-v1.0.
|
|
9
|
+
Defined in: [packages/project-resolve/src/workspace.ts:82](https://gitlab.com/wetryfun/project/project/-/blob/docs-v1.0.1/packages/project-resolve/src/workspace.ts#L82)
|
|
10
10
|
|
|
11
11
|
What a workspace is read by.
|
|
12
12
|
|
|
@@ -18,7 +18,7 @@ What a workspace is read by.
|
|
|
18
18
|
readonly platform: object;
|
|
19
19
|
```
|
|
20
20
|
|
|
21
|
-
Defined in: [packages/resolve/src/workspace.ts:89](https://gitlab.com/wetryfun/project/project/-/blob/docs-v1.0.
|
|
21
|
+
Defined in: [packages/project-resolve/src/workspace.ts:89](https://gitlab.com/wetryfun/project/project/-/blob/docs-v1.0.1/packages/project-resolve/src/workspace.ts#L89)
|
|
22
22
|
|
|
23
23
|
The platform it is read by: its file system, `navigator.storage.getDirectory()`, the handle of
|
|
24
24
|
the root of the WHATWG File System Standard, as a browser's or `nodePlatform()` of ./node
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
type WorkspacePackage = object;
|
|
7
7
|
```
|
|
8
8
|
|
|
9
|
-
Defined in: [packages/resolve/src/workspace.ts:649](https://gitlab.com/wetryfun/project/project/-/blob/docs-v1.0.
|
|
9
|
+
Defined in: [packages/project-resolve/src/workspace.ts:649](https://gitlab.com/wetryfun/project/project/-/blob/docs-v1.0.1/packages/project-resolve/src/workspace.ts#L649)
|
|
10
10
|
|
|
11
11
|
A package of the workspace a process runs in: its folder, its name, and its export map.
|
|
12
12
|
|
|
@@ -18,7 +18,7 @@ A package of the workspace a process runs in: its folder, its name, and its expo
|
|
|
18
18
|
readonly dir: string;
|
|
19
19
|
```
|
|
20
20
|
|
|
21
|
-
Defined in: [packages/resolve/src/workspace.ts:650](https://gitlab.com/wetryfun/project/project/-/blob/docs-v1.0.
|
|
21
|
+
Defined in: [packages/project-resolve/src/workspace.ts:650](https://gitlab.com/wetryfun/project/project/-/blob/docs-v1.0.1/packages/project-resolve/src/workspace.ts#L650)
|
|
22
22
|
|
|
23
23
|
***
|
|
24
24
|
|
|
@@ -28,7 +28,7 @@ Defined in: [packages/resolve/src/workspace.ts:650](https://gitlab.com/wetryfun/
|
|
|
28
28
|
readonly exports: Readonly<Record<string, unknown>>;
|
|
29
29
|
```
|
|
30
30
|
|
|
31
|
-
Defined in: [packages/resolve/src/workspace.ts:652](https://gitlab.com/wetryfun/project/project/-/blob/docs-v1.0.
|
|
31
|
+
Defined in: [packages/project-resolve/src/workspace.ts:652](https://gitlab.com/wetryfun/project/project/-/blob/docs-v1.0.1/packages/project-resolve/src/workspace.ts#L652)
|
|
32
32
|
|
|
33
33
|
***
|
|
34
34
|
|
|
@@ -38,4 +38,4 @@ Defined in: [packages/resolve/src/workspace.ts:652](https://gitlab.com/wetryfun/
|
|
|
38
38
|
readonly name: string;
|
|
39
39
|
```
|
|
40
40
|
|
|
41
|
-
Defined in: [packages/resolve/src/workspace.ts:651](https://gitlab.com/wetryfun/project/project/-/blob/docs-v1.0.
|
|
41
|
+
Defined in: [packages/project-resolve/src/workspace.ts:651](https://gitlab.com/wetryfun/project/project/-/blob/docs-v1.0.1/packages/project-resolve/src/workspace.ts#L651)
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
type WorkspacePaths = object;
|
|
7
7
|
```
|
|
8
8
|
|
|
9
|
-
Defined in: [packages/resolve/src/workspace.ts:73](https://gitlab.com/wetryfun/project/project/-/blob/docs-v1.0.
|
|
9
|
+
Defined in: [packages/project-resolve/src/workspace.ts:73](https://gitlab.com/wetryfun/project/project/-/blob/docs-v1.0.1/packages/project-resolve/src/workspace.ts#L73)
|
|
10
10
|
|
|
11
11
|
The paths a workspace is read by: the members of a platform's paths it calls, by their names and
|
|
12
12
|
signatures, as `node:path` has them. This package depends on nothing, so it names them itself.
|
|
@@ -19,7 +19,7 @@ signatures, as `node:path` has them. This package depends on nothing, so it name
|
|
|
19
19
|
readonly sep: string;
|
|
20
20
|
```
|
|
21
21
|
|
|
22
|
-
Defined in: [packages/resolve/src/workspace.ts:74](https://gitlab.com/wetryfun/project/project/-/blob/docs-v1.0.
|
|
22
|
+
Defined in: [packages/project-resolve/src/workspace.ts:74](https://gitlab.com/wetryfun/project/project/-/blob/docs-v1.0.1/packages/project-resolve/src/workspace.ts#L74)
|
|
23
23
|
|
|
24
24
|
## Methods
|
|
25
25
|
|
|
@@ -29,7 +29,7 @@ Defined in: [packages/resolve/src/workspace.ts:74](https://gitlab.com/wetryfun/p
|
|
|
29
29
|
dirname(path): string;
|
|
30
30
|
```
|
|
31
31
|
|
|
32
|
-
Defined in: [packages/resolve/src/workspace.ts:77](https://gitlab.com/wetryfun/project/project/-/blob/docs-v1.0.
|
|
32
|
+
Defined in: [packages/project-resolve/src/workspace.ts:77](https://gitlab.com/wetryfun/project/project/-/blob/docs-v1.0.1/packages/project-resolve/src/workspace.ts#L77)
|
|
33
33
|
|
|
34
34
|
#### Parameters
|
|
35
35
|
|
|
@@ -49,7 +49,7 @@ Defined in: [packages/resolve/src/workspace.ts:77](https://gitlab.com/wetryfun/p
|
|
|
49
49
|
join(...paths): string;
|
|
50
50
|
```
|
|
51
51
|
|
|
52
|
-
Defined in: [packages/resolve/src/workspace.ts:75](https://gitlab.com/wetryfun/project/project/-/blob/docs-v1.0.
|
|
52
|
+
Defined in: [packages/project-resolve/src/workspace.ts:75](https://gitlab.com/wetryfun/project/project/-/blob/docs-v1.0.1/packages/project-resolve/src/workspace.ts#L75)
|
|
53
53
|
|
|
54
54
|
#### Parameters
|
|
55
55
|
|
|
@@ -69,7 +69,7 @@ Defined in: [packages/resolve/src/workspace.ts:75](https://gitlab.com/wetryfun/p
|
|
|
69
69
|
parse(path): object;
|
|
70
70
|
```
|
|
71
71
|
|
|
72
|
-
Defined in: [packages/resolve/src/workspace.ts:78](https://gitlab.com/wetryfun/project/project/-/blob/docs-v1.0.
|
|
72
|
+
Defined in: [packages/project-resolve/src/workspace.ts:78](https://gitlab.com/wetryfun/project/project/-/blob/docs-v1.0.1/packages/project-resolve/src/workspace.ts#L78)
|
|
73
73
|
|
|
74
74
|
#### Parameters
|
|
75
75
|
|
|
@@ -83,7 +83,7 @@ Defined in: [packages/resolve/src/workspace.ts:78](https://gitlab.com/wetryfun/p
|
|
|
83
83
|
|
|
84
84
|
| Name | Type | Defined in |
|
|
85
85
|
| ------ | ------ | ------ |
|
|
86
|
-
| `root` | `string` | [packages/resolve/src/workspace.ts:78](https://gitlab.com/wetryfun/project/project/-/blob/docs-v1.0.
|
|
86
|
+
| `root` | `string` | [packages/project-resolve/src/workspace.ts:78](https://gitlab.com/wetryfun/project/project/-/blob/docs-v1.0.1/packages/project-resolve/src/workspace.ts#L78) |
|
|
87
87
|
|
|
88
88
|
***
|
|
89
89
|
|
|
@@ -93,7 +93,7 @@ Defined in: [packages/resolve/src/workspace.ts:78](https://gitlab.com/wetryfun/p
|
|
|
93
93
|
resolve(...paths): string;
|
|
94
94
|
```
|
|
95
95
|
|
|
96
|
-
Defined in: [packages/resolve/src/workspace.ts:76](https://gitlab.com/wetryfun/project/project/-/blob/docs-v1.0.
|
|
96
|
+
Defined in: [packages/project-resolve/src/workspace.ts:76](https://gitlab.com/wetryfun/project/project/-/blob/docs-v1.0.1/packages/project-resolve/src/workspace.ts#L76)
|
|
97
97
|
|
|
98
98
|
#### Parameters
|
|
99
99
|
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
function gitRevisionOf(root, sources): string;
|
|
7
7
|
```
|
|
8
8
|
|
|
9
|
-
Defined in: [packages/typedoc/src/config.ts:115](https://gitlab.com/wetryfun/project/project/-/blob/docs-v1.0.
|
|
9
|
+
Defined in: [packages/project-typedoc/src/config.ts:115](https://gitlab.com/wetryfun/project/project/-/blob/docs-v1.0.1/packages/project-typedoc/src/config.ts#L115)
|
|
10
10
|
|
|
11
11
|
The git revision each source links to:
|
|
12
12
|
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
function typedocConfig(__namedParameters): TypedocConfig;
|
|
7
7
|
```
|
|
8
8
|
|
|
9
|
-
Defined in: [packages/typedoc/src/config.ts:148](https://gitlab.com/wetryfun/project/project/-/blob/docs-v1.0.
|
|
9
|
+
Defined in: [packages/project-typedoc/src/config.ts:148](https://gitlab.com/wetryfun/project/project/-/blob/docs-v1.0.1/packages/project-typedoc/src/config.ts#L148)
|
|
10
10
|
|
|
11
11
|
The TypeDoc config of a docs package, `packages/docs`, of the packages of its workspace, each a
|
|
12
12
|
module of its own (`entryPointStrategy: 'packages'`):
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
type RevisionSources = object;
|
|
7
7
|
```
|
|
8
8
|
|
|
9
|
-
Defined in: [packages/typedoc/src/config.ts:62](https://gitlab.com/wetryfun/project/project/-/blob/docs-v1.0.
|
|
9
|
+
Defined in: [packages/project-typedoc/src/config.ts:62](https://gitlab.com/wetryfun/project/project/-/blob/docs-v1.0.1/packages/project-typedoc/src/config.ts#L62)
|
|
10
10
|
|
|
11
11
|
Where [gitRevisionOf](../functions/gitRevisionOf.md) reads the revision from.
|
|
12
12
|
|
|
@@ -18,7 +18,7 @@ Where [gitRevisionOf](../functions/gitRevisionOf.md) reads the revision from.
|
|
|
18
18
|
readonly argv: readonly string[];
|
|
19
19
|
```
|
|
20
20
|
|
|
21
|
-
Defined in: [packages/typedoc/src/config.ts:64](https://gitlab.com/wetryfun/project/project/-/blob/docs-v1.0.
|
|
21
|
+
Defined in: [packages/project-typedoc/src/config.ts:64](https://gitlab.com/wetryfun/project/project/-/blob/docs-v1.0.1/packages/project-typedoc/src/config.ts#L64)
|
|
22
22
|
|
|
23
23
|
The arguments of the process, which may hold `--gitRevision <ref>`.
|
|
24
24
|
|
|
@@ -30,6 +30,6 @@ The arguments of the process, which may hold `--gitRevision <ref>`.
|
|
|
30
30
|
readonly run: Run;
|
|
31
31
|
```
|
|
32
32
|
|
|
33
|
-
Defined in: [packages/typedoc/src/config.ts:66](https://gitlab.com/wetryfun/project/project/-/blob/docs-v1.0.
|
|
33
|
+
Defined in: [packages/project-typedoc/src/config.ts:66](https://gitlab.com/wetryfun/project/project/-/blob/docs-v1.0.1/packages/project-typedoc/src/config.ts#L66)
|
|
34
34
|
|
|
35
35
|
What runs git, which names the revision of HEAD.
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
type TypedocConfig = TypeDocOptions & object;
|
|
7
7
|
```
|
|
8
8
|
|
|
9
|
-
Defined in: [packages/typedoc/src/config.ts:32](https://gitlab.com/wetryfun/project/project/-/blob/docs-v1.0.
|
|
9
|
+
Defined in: [packages/project-typedoc/src/config.ts:32](https://gitlab.com/wetryfun/project/project/-/blob/docs-v1.0.1/packages/project-typedoc/src/config.ts#L32)
|
|
10
10
|
|
|
11
11
|
A config of TypeDoc: its own options, and those its plugins declare, as
|
|
12
12
|
typedoc-plugin-markdown's and typedoc-plugin-llms-txt's, which TypeDoc's type does not know.
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
type TypedocOptions = TypedocConfig & object;
|
|
7
7
|
```
|
|
8
8
|
|
|
9
|
-
Defined in: [packages/typedoc/src/config.ts:35](https://gitlab.com/wetryfun/project/project/-/blob/docs-v1.0.
|
|
9
|
+
Defined in: [packages/project-typedoc/src/config.ts:35](https://gitlab.com/wetryfun/project/project/-/blob/docs-v1.0.1/packages/project-typedoc/src/config.ts#L35)
|
|
10
10
|
|
|
11
11
|
What a docs package gives [typedocConfig](../functions/typedocConfig.md), and any option of TypeDoc over the preset's.
|
|
12
12
|
|
|
@@ -14,8 +14,8 @@ What a docs package gives [typedocConfig](../functions/typedocConfig.md), and an
|
|
|
14
14
|
|
|
15
15
|
| Name | Type | Description | Defined in |
|
|
16
16
|
| ------ | ------ | ------ | ------ |
|
|
17
|
-
| `categories?` | readonly `string`[] | The folders of hand-written docs in the docs package, `['guides']` by default: a link of a README into one is rewritten to it from `api/`, and none of its files is copied into `api/`. | [packages/typedoc/src/config.ts:52](https://gitlab.com/wetryfun/project/project/-/blob/docs-v1.0.
|
|
18
|
-
| `docs` | `string` \| `URL` | The docs package: the URL of its typedoc.config.mjs, `import.meta.url`, or its folder. The repo's root is the folder two up from it, as the docs package is `packages/docs`. | [packages/typedoc/src/config.ts:40](https://gitlab.com/wetryfun/project/project/-/blob/docs-v1.0.
|
|
19
|
-
| `entryPoints` | `string`[] | The packages to document, each by its folder from the docs package: `['../core', '../cli']`. | [packages/typedoc/src/config.ts:47](https://gitlab.com/wetryfun/project/project/-/blob/docs-v1.0.
|
|
20
|
-
| `plugins?` | readonly ([`TypedocPlugin`](../../plugins/type-aliases/TypedocPlugin.md) \| `string`)[] | Plugins of TypeDoc of the caller's own, each a function of the application, as [TypedocPlugin](../../plugins/type-aliases/TypedocPlugin.md), or a module by its name: run after the preset's own plugins, and before typedoc-plugin-llms-txt and typedoc-plugin-markdown. None by default. | [packages/typedoc/src/config.ts:58](https://gitlab.com/wetryfun/project/project/-/blob/docs-v1.0.
|
|
21
|
-
| `repository` | `string` | The repository on GitLab, as its web page is, `https://gitlab.com/wetryfun/project/project`: each source links to its file there, at the revision of [gitRevisionOf](../functions/gitRevisionOf.md). | [packages/typedoc/src/config.ts:45](https://gitlab.com/wetryfun/project/project/-/blob/docs-v1.0.
|
|
17
|
+
| `categories?` | readonly `string`[] | The folders of hand-written docs in the docs package, `['guides']` by default: a link of a README into one is rewritten to it from `api/`, and none of its files is copied into `api/`. | [packages/project-typedoc/src/config.ts:52](https://gitlab.com/wetryfun/project/project/-/blob/docs-v1.0.1/packages/project-typedoc/src/config.ts#L52) |
|
|
18
|
+
| `docs` | `string` \| `URL` | The docs package: the URL of its typedoc.config.mjs, `import.meta.url`, or its folder. The repo's root is the folder two up from it, as the docs package is `packages/docs`. | [packages/project-typedoc/src/config.ts:40](https://gitlab.com/wetryfun/project/project/-/blob/docs-v1.0.1/packages/project-typedoc/src/config.ts#L40) |
|
|
19
|
+
| `entryPoints` | `string`[] | The packages to document, each by its folder from the docs package: `['../core', '../cli']`. | [packages/project-typedoc/src/config.ts:47](https://gitlab.com/wetryfun/project/project/-/blob/docs-v1.0.1/packages/project-typedoc/src/config.ts#L47) |
|
|
20
|
+
| `plugins?` | readonly ([`TypedocPlugin`](../../plugins/type-aliases/TypedocPlugin.md) \| `string`)[] | Plugins of TypeDoc of the caller's own, each a function of the application, as [TypedocPlugin](../../plugins/type-aliases/TypedocPlugin.md), or a module by its name: run after the preset's own plugins, and before typedoc-plugin-llms-txt and typedoc-plugin-markdown. None by default. | [packages/project-typedoc/src/config.ts:58](https://gitlab.com/wetryfun/project/project/-/blob/docs-v1.0.1/packages/project-typedoc/src/config.ts#L58) |
|
|
21
|
+
| `repository` | `string` | The repository on GitLab, as its web page is, `https://gitlab.com/wetryfun/project/project`: each source links to its file there, at the revision of [gitRevisionOf](../functions/gitRevisionOf.md). | [packages/project-typedoc/src/config.ts:45](https://gitlab.com/wetryfun/project/project/-/blob/docs-v1.0.1/packages/project-typedoc/src/config.ts#L45) |
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
const nodeRun: Run;
|
|
7
7
|
```
|
|
8
8
|
|
|
9
|
-
Defined in: [packages/typedoc/src/config.ts:77](https://gitlab.com/wetryfun/project/project/-/blob/docs-v1.0.
|
|
9
|
+
Defined in: [packages/project-typedoc/src/config.ts:77](https://gitlab.com/wetryfun/project/project/-/blob/docs-v1.0.1/packages/project-typedoc/src/config.ts#L77)
|
|
10
10
|
|
|
11
11
|
Runs a command by Node, to its end: what it wrote on stdout, or `undefined` where it failed.
|
|
12
12
|
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
function cleanGeneratedMarkdown(__namedParameters): TypedocPlugin;
|
|
7
7
|
```
|
|
8
8
|
|
|
9
|
-
Defined in: [packages/typedoc/src/plugins.ts:45](https://gitlab.com/wetryfun/project/project/-/blob/docs-v1.0.
|
|
9
|
+
Defined in: [packages/project-typedoc/src/plugins.ts:45](https://gitlab.com/wetryfun/project/project/-/blob/docs-v1.0.1/packages/project-typedoc/src/plugins.ts#L45)
|
|
10
10
|
|
|
11
11
|
Each page of the reference, as typedoc-plugin-markdown writes it, cleaned: a link into a folder
|
|
12
12
|
of the hand-written docs made a link from the page, as a package's README writes one from the
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
function linkTrackedSources(__namedParameters): TypedocPlugin;
|
|
7
7
|
```
|
|
8
8
|
|
|
9
|
-
Defined in: [packages/typedoc/src/plugins.ts:111](https://gitlab.com/wetryfun/project/project/-/blob/docs-v1.0.
|
|
9
|
+
Defined in: [packages/project-typedoc/src/plugins.ts:111](https://gitlab.com/wetryfun/project/project/-/blob/docs-v1.0.1/packages/project-typedoc/src/plugins.ts#L111)
|
|
10
10
|
|
|
11
11
|
A "Defined in:" linked to its source only where git tracks its file, as TypeDoc links one with
|
|
12
12
|
git on. TypeDoc finds a repository only by a `.git` folder, and in a git worktree `.git` is a
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
function preventMediaFiles(__namedParameters): TypedocPlugin;
|
|
7
7
|
```
|
|
8
8
|
|
|
9
|
-
Defined in: [packages/typedoc/src/plugins.ts:72](https://gitlab.com/wetryfun/project/project/-/blob/docs-v1.0.
|
|
9
|
+
Defined in: [packages/project-typedoc/src/plugins.ts:72](https://gitlab.com/wetryfun/project/project/-/blob/docs-v1.0.1/packages/project-typedoc/src/plugins.ts#L72)
|
|
10
10
|
|
|
11
11
|
No file copied into `api/_media/`: TypeDoc copies each file a page links to, which is not a
|
|
12
12
|
reflection of its own, and the guides, the READMEs and the sources of the repo ship where they
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
type CleanGeneratedMarkdownOptions = object;
|
|
7
7
|
```
|
|
8
8
|
|
|
9
|
-
Defined in: [packages/typedoc/src/plugins.ts:31](https://gitlab.com/wetryfun/project/project/-/blob/docs-v1.0.
|
|
9
|
+
Defined in: [packages/project-typedoc/src/plugins.ts:31](https://gitlab.com/wetryfun/project/project/-/blob/docs-v1.0.1/packages/project-typedoc/src/plugins.ts#L31)
|
|
10
10
|
|
|
11
11
|
The options of [cleanGeneratedMarkdown](../functions/cleanGeneratedMarkdown.md).
|
|
12
12
|
|
|
@@ -18,7 +18,7 @@ The options of [cleanGeneratedMarkdown](../functions/cleanGeneratedMarkdown.md).
|
|
|
18
18
|
readonly optional categories?: readonly string[];
|
|
19
19
|
```
|
|
20
20
|
|
|
21
|
-
Defined in: [packages/typedoc/src/plugins.ts:35](https://gitlab.com/wetryfun/project/project/-/blob/docs-v1.0.
|
|
21
|
+
Defined in: [packages/project-typedoc/src/plugins.ts:35](https://gitlab.com/wetryfun/project/project/-/blob/docs-v1.0.1/packages/project-typedoc/src/plugins.ts#L35)
|
|
22
22
|
|
|
23
23
|
The folders of hand-written docs a link is rewritten into: `['guides']` by default.
|
|
24
24
|
|
|
@@ -30,6 +30,6 @@ The folders of hand-written docs a link is rewritten into: `['guides']` by defau
|
|
|
30
30
|
readonly docs: string;
|
|
31
31
|
```
|
|
32
32
|
|
|
33
|
-
Defined in: [packages/typedoc/src/plugins.ts:33](https://gitlab.com/wetryfun/project/project/-/blob/docs-v1.0.
|
|
33
|
+
Defined in: [packages/project-typedoc/src/plugins.ts:33](https://gitlab.com/wetryfun/project/project/-/blob/docs-v1.0.1/packages/project-typedoc/src/plugins.ts#L33)
|
|
34
34
|
|
|
35
35
|
The docs package's folder, which holds `api/` and each of `categories`.
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
type LinkTrackedSourcesOptions = object;
|
|
7
7
|
```
|
|
8
8
|
|
|
9
|
-
Defined in: [packages/typedoc/src/plugins.ts:89](https://gitlab.com/wetryfun/project/project/-/blob/docs-v1.0.
|
|
9
|
+
Defined in: [packages/project-typedoc/src/plugins.ts:89](https://gitlab.com/wetryfun/project/project/-/blob/docs-v1.0.1/packages/project-typedoc/src/plugins.ts#L89)
|
|
10
10
|
|
|
11
11
|
The options of [linkTrackedSources](../functions/linkTrackedSources.md).
|
|
12
12
|
|
|
@@ -18,7 +18,7 @@ The options of [linkTrackedSources](../functions/linkTrackedSources.md).
|
|
|
18
18
|
readonly root: string;
|
|
19
19
|
```
|
|
20
20
|
|
|
21
|
-
Defined in: [packages/typedoc/src/plugins.ts:91](https://gitlab.com/wetryfun/project/project/-/blob/docs-v1.0.
|
|
21
|
+
Defined in: [packages/project-typedoc/src/plugins.ts:91](https://gitlab.com/wetryfun/project/project/-/blob/docs-v1.0.1/packages/project-typedoc/src/plugins.ts#L91)
|
|
22
22
|
|
|
23
23
|
The repo's root, which each source's file name is a path from: the config's `displayBasePath`.
|
|
24
24
|
|
|
@@ -30,6 +30,6 @@ The repo's root, which each source's file name is a path from: the config's `dis
|
|
|
30
30
|
readonly run: Run;
|
|
31
31
|
```
|
|
32
32
|
|
|
33
|
-
Defined in: [packages/typedoc/src/plugins.ts:93](https://gitlab.com/wetryfun/project/project/-/blob/docs-v1.0.
|
|
33
|
+
Defined in: [packages/project-typedoc/src/plugins.ts:93](https://gitlab.com/wetryfun/project/project/-/blob/docs-v1.0.1/packages/project-typedoc/src/plugins.ts#L93)
|
|
34
34
|
|
|
35
35
|
What runs git, which lists the files it tracks: `nodeRun` of ./config.
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
type PreventMediaFilesOptions = object;
|
|
7
7
|
```
|
|
8
8
|
|
|
9
|
-
Defined in: [packages/typedoc/src/plugins.ts:58](https://gitlab.com/wetryfun/project/project/-/blob/docs-v1.0.
|
|
9
|
+
Defined in: [packages/project-typedoc/src/plugins.ts:58](https://gitlab.com/wetryfun/project/project/-/blob/docs-v1.0.1/packages/project-typedoc/src/plugins.ts#L58)
|
|
10
10
|
|
|
11
11
|
The options of [preventMediaFiles](../functions/preventMediaFiles.md).
|
|
12
12
|
|
|
@@ -18,7 +18,7 @@ The options of [preventMediaFiles](../functions/preventMediaFiles.md).
|
|
|
18
18
|
readonly optional exclude?: readonly string[];
|
|
19
19
|
```
|
|
20
20
|
|
|
21
|
-
Defined in: [packages/typedoc/src/plugins.ts:62](https://gitlab.com/wetryfun/project/project/-/blob/docs-v1.0.
|
|
21
|
+
Defined in: [packages/project-typedoc/src/plugins.ts:62](https://gitlab.com/wetryfun/project/project/-/blob/docs-v1.0.1/packages/project-typedoc/src/plugins.ts#L62)
|
|
22
22
|
|
|
23
23
|
The folders in it that are never copied, as `guides`, which ship as they are.
|
|
24
24
|
|
|
@@ -30,6 +30,6 @@ The folders in it that are never copied, as `guides`, which ship as they are.
|
|
|
30
30
|
readonly root: string;
|
|
31
31
|
```
|
|
32
32
|
|
|
33
|
-
Defined in: [packages/typedoc/src/plugins.ts:60](https://gitlab.com/wetryfun/project/project/-/blob/docs-v1.0.
|
|
33
|
+
Defined in: [packages/project-typedoc/src/plugins.ts:60](https://gitlab.com/wetryfun/project/project/-/blob/docs-v1.0.1/packages/project-typedoc/src/plugins.ts#L60)
|
|
34
34
|
|
|
35
35
|
The docs package's folder: a file outside it is never copied.
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
type Run = (command, args, options) => string | undefined;
|
|
7
7
|
```
|
|
8
8
|
|
|
9
|
-
Defined in: [packages/typedoc/src/plugins.ts:24](https://gitlab.com/wetryfun/project/project/-/blob/docs-v1.0.
|
|
9
|
+
Defined in: [packages/project-typedoc/src/plugins.ts:24](https://gitlab.com/wetryfun/project/project/-/blob/docs-v1.0.1/packages/project-typedoc/src/plugins.ts#L24)
|
|
10
10
|
|
|
11
11
|
Runs a command to its end, in the folder `cwd`: what it wrote on stdout, or `undefined` where it
|
|
12
12
|
failed. In Node, `nodeRun` of ./config.
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
type TypedocPlugin = (app) => void;
|
|
7
7
|
```
|
|
8
8
|
|
|
9
|
-
Defined in: [packages/typedoc/src/plugins.ts:18](https://gitlab.com/wetryfun/project/project/-/blob/docs-v1.0.
|
|
9
|
+
Defined in: [packages/project-typedoc/src/plugins.ts:18](https://gitlab.com/wetryfun/project/project/-/blob/docs-v1.0.1/packages/project-typedoc/src/plugins.ts#L18)
|
|
10
10
|
|
|
11
11
|
A plugin of TypeDoc, as its `plugin` option takes one: called with the application, once.
|
|
12
12
|
|
|
@@ -3,8 +3,8 @@
|
|
|
3
3
|
# @wtf/project-vite
|
|
4
4
|
|
|
5
5
|
The base Vite config that every Vite config in a workspace starts from: an app's vite.config, a
|
|
6
|
-
Storybook's `viteFinal`, and each config of [`@wtf/project-vitest`](../vitest),
|
|
7
|
-
it by itself.
|
|
6
|
+
Storybook's `viteFinal`, and each config of [`@wtf/project-vitest`](../project-vitest/README.md),
|
|
7
|
+
which starts from it by itself.
|
|
8
8
|
|
|
9
9
|
| Subpath | What you get |
|
|
10
10
|
| ---------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
function baseConfig(__namedParameters?): object;
|
|
7
7
|
```
|
|
8
8
|
|
|
9
|
-
Defined in: [packages/vite/src/config.ts:155](https://gitlab.com/wetryfun/project/project/-/blob/docs-v1.0.
|
|
9
|
+
Defined in: [packages/project-vite/src/config.ts:155](https://gitlab.com/wetryfun/project/project/-/blob/docs-v1.0.1/packages/project-vite/src/config.ts#L155)
|
|
10
10
|
|
|
11
11
|
The base config every Vite config of a workspace starts from, by
|
|
12
12
|
`mergeConfig(baseConfig(), yours)`: the workspace's packages by their `@wtf/source` condition, but from the build; and, of a site's
|
|
@@ -41,6 +41,6 @@ export default config
|
|
|
41
41
|
|
|
42
42
|
| Name | Type | Defined in |
|
|
43
43
|
| ------ | ------ | ------ |
|
|
44
|
-
| `plugins` | `Plugin`\<`any`\>[] | [packages/vite/src/config.ts:158](https://gitlab.com/wetryfun/project/project/-/blob/docs-v1.0.
|
|
45
|
-
| `resolve` | `object` | [packages/vite/src/config.ts:157](https://gitlab.com/wetryfun/project/project/-/blob/docs-v1.0.
|
|
46
|
-
| `resolve.conditions` | `string`[] | [packages/vite/src/config.ts:157](https://gitlab.com/wetryfun/project/project/-/blob/docs-v1.0.
|
|
44
|
+
| `plugins` | `Plugin`\<`any`\>[] | [packages/project-vite/src/config.ts:158](https://gitlab.com/wetryfun/project/project/-/blob/docs-v1.0.1/packages/project-vite/src/config.ts#L158) |
|
|
45
|
+
| `resolve` | `object` | [packages/project-vite/src/config.ts:157](https://gitlab.com/wetryfun/project/project/-/blob/docs-v1.0.1/packages/project-vite/src/config.ts#L157) |
|
|
46
|
+
| `resolve.conditions` | `string`[] | [packages/project-vite/src/config.ts:157](https://gitlab.com/wetryfun/project/project/-/blob/docs-v1.0.1/packages/project-vite/src/config.ts#L157) |
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
function buildsSite(config, command): boolean;
|
|
7
7
|
```
|
|
8
8
|
|
|
9
|
-
Defined in: [packages/vite/src/config.ts:104](https://gitlab.com/wetryfun/project/project/-/blob/docs-v1.0.
|
|
9
|
+
Defined in: [packages/project-vite/src/config.ts:104](https://gitlab.com/wetryfun/project/project/-/blob/docs-v1.0.1/packages/project-vite/src/config.ts#L104)
|
|
10
10
|
|
|
11
11
|
Whether a run is a site's build: `vite build`, and of neither a library (`build.lib`) nor a
|
|
12
12
|
server (`build.ssr`).
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
function compress(options?): Plugin;
|
|
7
7
|
```
|
|
8
8
|
|
|
9
|
-
Defined in: [packages/vite/src/config.ts:113](https://gitlab.com/wetryfun/project/project/-/blob/docs-v1.0.
|
|
9
|
+
Defined in: [packages/project-vite/src/config.ts:113](https://gitlab.com/wetryfun/project/project/-/blob/docs-v1.0.1/packages/project-vite/src/config.ts#L113)
|
|
10
10
|
|
|
11
11
|
The plugin that writes a brotli (at its quality 11) and a gzip (at its level 9) copy beside each
|
|
12
12
|
file of text a site's build writes, of `threshold` bytes or more, where the copy is smaller: by
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
function conditionsOf(defaults, fromDist?): string[];
|
|
7
7
|
```
|
|
8
8
|
|
|
9
|
-
Defined in: [packages/vite/src/config.ts:95](https://gitlab.com/wetryfun/project/project/-/blob/docs-v1.0.
|
|
9
|
+
Defined in: [packages/project-vite/src/config.ts:95](https://gitlab.com/wetryfun/project/project/-/blob/docs-v1.0.1/packages/project-vite/src/config.ts#L95)
|
|
10
10
|
|
|
11
11
|
The conditions of a run, the `@wtf/source` condition first (`SOURCE_CONDITION` of
|
|
12
12
|
`@wtf/project-resolve/condition`), of a run from the source alone.
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
type BaseOptions = object;
|
|
7
7
|
```
|
|
8
8
|
|
|
9
|
-
Defined in: [packages/vite/src/config.ts:83](https://gitlab.com/wetryfun/project/project/-/blob/docs-v1.0.
|
|
9
|
+
Defined in: [packages/project-vite/src/config.ts:83](https://gitlab.com/wetryfun/project/project/-/blob/docs-v1.0.1/packages/project-vite/src/config.ts#L83)
|
|
10
10
|
|
|
11
11
|
What [baseConfig](../functions/baseConfig.md) takes.
|
|
12
12
|
|
|
@@ -18,7 +18,7 @@ What [baseConfig](../functions/baseConfig.md) takes.
|
|
|
18
18
|
readonly optional compress?: CompressOptions | false;
|
|
19
19
|
```
|
|
20
20
|
|
|
21
|
-
Defined in: [packages/vite/src/config.ts:88](https://gitlab.com/wetryfun/project/project/-/blob/docs-v1.0.
|
|
21
|
+
Defined in: [packages/project-vite/src/config.ts:88](https://gitlab.com/wetryfun/project/project/-/blob/docs-v1.0.1/packages/project-vite/src/config.ts#L88)
|
|
22
22
|
|
|
23
23
|
How a site's `vite build` writes its compressed copies ([compress](../functions/compress.md)); `false`, to write
|
|
24
24
|
none, as of a site that no static host serves. Of every site by default.
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
type CompressOptions = object;
|
|
7
7
|
```
|
|
8
8
|
|
|
9
|
-
Defined in: [packages/vite/src/config.ts:73](https://gitlab.com/wetryfun/project/project/-/blob/docs-v1.0.
|
|
9
|
+
Defined in: [packages/project-vite/src/config.ts:73](https://gitlab.com/wetryfun/project/project/-/blob/docs-v1.0.1/packages/project-vite/src/config.ts#L73)
|
|
10
10
|
|
|
11
11
|
How a site's build writes its copies, by [compress](../functions/compress.md).
|
|
12
12
|
|
|
@@ -18,7 +18,7 @@ How a site's build writes its copies, by [compress](../functions/compress.md).
|
|
|
18
18
|
readonly optional encodings?: readonly ("br" | "gz")[];
|
|
19
19
|
```
|
|
20
20
|
|
|
21
|
-
Defined in: [packages/vite/src/config.ts:79](https://gitlab.com/wetryfun/project/project/-/blob/docs-v1.0.
|
|
21
|
+
Defined in: [packages/project-vite/src/config.ts:79](https://gitlab.com/wetryfun/project/project/-/blob/docs-v1.0.1/packages/project-vite/src/config.ts#L79)
|
|
22
22
|
|
|
23
23
|
The copies it writes: `br` and `gz`, both, by default.
|
|
24
24
|
|
|
@@ -30,7 +30,7 @@ The copies it writes: `br` and `gz`, both, by default.
|
|
|
30
30
|
readonly optional extensions?: readonly string[];
|
|
31
31
|
```
|
|
32
32
|
|
|
33
|
-
Defined in: [packages/vite/src/config.ts:77](https://gitlab.com/wetryfun/project/project/-/blob/docs-v1.0.
|
|
33
|
+
Defined in: [packages/project-vite/src/config.ts:77](https://gitlab.com/wetryfun/project/project/-/blob/docs-v1.0.1/packages/project-vite/src/config.ts#L77)
|
|
34
34
|
|
|
35
35
|
The extensions of the files it compresses: [COMPRESSIBLE](../variables/COMPRESSIBLE.md) by default.
|
|
36
36
|
|
|
@@ -42,6 +42,6 @@ The extensions of the files it compresses: [COMPRESSIBLE](../variables/COMPRESSI
|
|
|
42
42
|
readonly optional threshold?: number;
|
|
43
43
|
```
|
|
44
44
|
|
|
45
|
-
Defined in: [packages/vite/src/config.ts:75](https://gitlab.com/wetryfun/project/project/-/blob/docs-v1.0.
|
|
45
|
+
Defined in: [packages/project-vite/src/config.ts:75](https://gitlab.com/wetryfun/project/project/-/blob/docs-v1.0.1/packages/project-vite/src/config.ts#L75)
|
|
46
46
|
|
|
47
47
|
The least a file is, in bytes, to be compressed: [THRESHOLD](../variables/THRESHOLD.md) by default.
|