@wtf/project-docs 5.3.2 → 6.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +2 -0
- package/api/.generated +66 -0
- package/api/@wtf/project-astro/config/functions/baseConfig.md +1 -1
- package/api/@wtf/project-astro/config/functions/baseOf.md +1 -1
- package/api/@wtf/project-astro/config/functions/siteOf.md +1 -1
- package/api/@wtf/project-astro/config/type-aliases/BaseOptions.md +6 -6
- package/api/@wtf/project-astro/config/type-aliases/Env.md +1 -1
- package/api/@wtf/project-astro/errors/classes/BrokenLinksError.md +5 -5
- package/api/@wtf/project-astro/errors/classes/InvalidRedirectError.md +6 -6
- package/api/@wtf/project-astro/errors/classes/RedirectedLinksError.md +5 -5
- package/api/@wtf/project-astro/errors/classes/SiteError.md +4 -4
- package/api/@wtf/project-astro/index/type-aliases/AstroPlatform.md +1 -1
- package/api/@wtf/project-astro/index/type-aliases/BrokenLink.md +3 -3
- package/api/@wtf/project-astro/index/type-aliases/IgnoredLine.md +4 -4
- package/api/@wtf/project-astro/index/type-aliases/RedirectInput.md +2 -2
- package/api/@wtf/project-astro/index/type-aliases/RedirectMatch.md +3 -3
- package/api/@wtf/project-astro/index/type-aliases/RedirectRule.md +5 -5
- package/api/@wtf/project-astro/index/type-aliases/RedirectStatus.md +1 -1
- package/api/@wtf/project-astro/index/type-aliases/RedirectedLink.md +2 -2
- package/api/@wtf/project-astro/index/type-aliases/Redirects.md +3 -3
- package/api/@wtf/project-astro/index/type-aliases/RouteParams.md +3 -3
- package/api/@wtf/project-astro/links/functions/brokenLinksIn.md +1 -1
- package/api/@wtf/project-astro/links/functions/links.md +1 -1
- package/api/@wtf/project-astro/links/functions/redirectedLinksIn.md +1 -1
- package/api/@wtf/project-astro/links/type-aliases/LinksOptions.md +2 -2
- package/api/@wtf/project-astro/links/variables/LINKS.md +1 -1
- package/api/@wtf/project-astro/pages/functions/fixSearchUrlsIn.md +1 -1
- package/api/@wtf/project-astro/pages/functions/moveConflictingPages.md +1 -1
- package/api/@wtf/project-astro/pages/functions/pages.md +1 -1
- package/api/@wtf/project-astro/pages/functions/prefixedLocaleOf.md +1 -1
- package/api/@wtf/project-astro/pages/functions/redirectBaseToLocaleIn.md +1 -1
- package/api/@wtf/project-astro/pages/functions/slashFolderLinksIn.md +1 -1
- package/api/@wtf/project-astro/pages/type-aliases/I18n.md +1 -1
- package/api/@wtf/project-astro/pages/type-aliases/PagesOptions.md +2 -2
- package/api/@wtf/project-astro/pages/variables/PAGES.md +1 -1
- package/api/@wtf/project-astro/preview/functions/files.md +1 -1
- package/api/@wtf/project-astro/preview/functions/listen.md +1 -1
- package/api/@wtf/project-astro/preview/functions/notFound.md +1 -1
- package/api/@wtf/project-astro/preview/functions/pagesOf.md +1 -1
- package/api/@wtf/project-astro/preview/functions/previewOf.md +1 -1
- package/api/@wtf/project-astro/preview/type-aliases/FilesOptions.md +2 -2
- package/api/@wtf/project-astro/preview/type-aliases/Handler.md +1 -1
- package/api/@wtf/project-astro/preview/type-aliases/ListenOptions.md +4 -4
- package/api/@wtf/project-astro/preview/type-aliases/Listening.md +5 -5
- package/api/@wtf/project-astro/preview/type-aliases/Pages.md +3 -3
- package/api/@wtf/project-astro/preview/type-aliases/Preview.md +4 -4
- package/api/@wtf/project-astro/preview/type-aliases/PreviewOptions.md +3 -3
- package/api/@wtf/project-astro/redirects/functions/formatRedirects.md +1 -1
- package/api/@wtf/project-astro/redirects/functions/matchRedirect.md +1 -1
- package/api/@wtf/project-astro/redirects/functions/parseRedirects.md +1 -1
- package/api/@wtf/project-astro/redirects/variables/MAX_PARTS.md +1 -1
- package/api/@wtf/project-astro/redirects/variables/MAX_RULES.md +1 -1
- package/api/@wtf/project-astro/redirects/variables/MAX_SIZE.md +1 -1
- package/api/@wtf/project-astro/routes/functions/routeParams.md +1 -1
- package/api/@wtf/project-astro/routes/type-aliases/RouteParamsOptions.md +2 -2
- package/api/@wtf/project-astro/schema/functions/astroSchemaWith.md +1 -1
- package/api/@wtf/project-astro/schema/type-aliases/AstroSection.md +1 -1
- package/api/@wtf/project-astro/schema/type-aliases/JsonSchema.md +12 -12
- package/api/@wtf/project-astro/schema/type-aliases/OptionsSchema.md +1 -1
- package/api/@wtf/project-astro/schema/variables/astroProperties.md +1 -1
- package/api/@wtf/project-astro/schema/variables/astroSchema.md +1 -1
- package/api/@wtf/project-bare/README.md +69 -0
- package/api/@wtf/project-bare/bundle/README.md +34 -0
- package/api/@wtf/project-bare/bundle/functions/bundleTests.md +23 -0
- package/api/@wtf/project-bare/bundle/type-aliases/Bundle.md +35 -0
- package/api/@wtf/project-bare/bundle/type-aliases/BundleOptions.md +95 -0
- package/api/@wtf/project-bare/bundle/variables/BUNDLE_DIR.md +11 -0
- package/api/@wtf/project-bare/bundle/variables/SHIM.md +11 -0
- package/api/@wtf/project-bare/errors/README.md +18 -0
- package/api/@wtf/project-bare/errors/classes/BareBuildError.md +178 -0
- package/api/@wtf/project-bare/errors/classes/BareError.md +194 -0
- package/api/@wtf/project-bare/errors/classes/BareMissingModuleError.md +178 -0
- package/api/@wtf/project-bare/errors/classes/BareTimeoutError.md +172 -0
- package/api/@wtf/project-bare/errors/classes/BareUnavailableError.md +171 -0
- package/api/@wtf/project-bare/errors/classes/NoTestFilesError.md +171 -0
- package/api/@wtf/project-bare/expect/README.md +40 -0
- package/api/@wtf/project-bare/expect/classes/AssertionError.md +202 -0
- package/api/@wtf/project-bare/expect/classes/AsymmetricMatcher.md +66 -0
- package/api/@wtf/project-bare/expect/functions/equals.md +32 -0
- package/api/@wtf/project-bare/expect/functions/format.md +27 -0
- package/api/@wtf/project-bare/expect/functions/pollWith.md +21 -0
- package/api/@wtf/project-bare/expect/functions/retry.md +28 -0
- package/api/@wtf/project-bare/expect/functions/sleep.md +21 -0
- package/api/@wtf/project-bare/expect/functions/timersOf.md +15 -0
- package/api/@wtf/project-bare/expect/type-aliases/Assertions.md +19 -0
- package/api/@wtf/project-bare/expect/type-aliases/ExpectStatics.md +220 -0
- package/api/@wtf/project-bare/expect/type-aliases/Matchers.md +654 -0
- package/api/@wtf/project-bare/expect/type-aliases/MockLike.md +27 -0
- package/api/@wtf/project-bare/expect/type-aliases/PollOptions.md +31 -0
- package/api/@wtf/project-bare/expect/type-aliases/Timers.md +66 -0
- package/api/@wtf/project-bare/expect/variables/expect.md +17 -0
- package/api/@wtf/project-bare/globals/README.md +10 -0
- package/api/@wtf/project-bare/globals/variables/BARE_GLOBALS.md +14 -0
- package/api/@wtf/project-bare/modules/README.md +12 -0
- package/api/@wtf/project-bare/modules/variables/NODE_MODULES.md +12 -0
- package/api/@wtf/project-bare/node/README.md +9 -0
- package/api/@wtf/project-bare/node/functions/testFilesOf.md +27 -0
- package/api/@wtf/project-bare/run/README.md +18 -0
- package/api/@wtf/project-bare/run/functions/runBare.md +24 -0
- package/api/@wtf/project-bare/run/type-aliases/RunBareOptions.md +71 -0
- package/api/@wtf/project-bare/shim/README.md +65 -0
- package/api/@wtf/project-bare/shim/functions/createRunner.md +16 -0
- package/api/@wtf/project-bare/shim/functions/run.md +21 -0
- package/api/@wtf/project-bare/shim/type-aliases/Describe.md +171 -0
- package/api/@wtf/project-bare/shim/type-aliases/Hook.md +22 -0
- package/api/@wtf/project-bare/shim/type-aliases/It.md +236 -0
- package/api/@wtf/project-bare/shim/type-aliases/Mock.md +36 -0
- package/api/@wtf/project-bare/shim/type-aliases/RunOptions.md +112 -0
- package/api/@wtf/project-bare/shim/type-aliases/Runner.md +123 -0
- package/api/@wtf/project-bare/shim/type-aliases/Summary.md +85 -0
- package/api/@wtf/project-bare/shim/type-aliases/TestContext.md +81 -0
- package/api/@wtf/project-bare/shim/type-aliases/TestFunction.md +21 -0
- package/api/@wtf/project-bare/shim/type-aliases/TestOptions.md +21 -0
- package/api/@wtf/project-bare/shim/variables/afterAll.md +11 -0
- package/api/@wtf/project-bare/shim/variables/afterEach.md +11 -0
- package/api/@wtf/project-bare/shim/variables/beforeAll.md +11 -0
- package/api/@wtf/project-bare/shim/variables/beforeEach.md +11 -0
- package/api/@wtf/project-bare/shim/variables/describe.md +11 -0
- package/api/@wtf/project-bare/shim/variables/it.md +11 -0
- package/api/@wtf/project-bare/shim/variables/onTestFinished.md +21 -0
- package/api/@wtf/project-bare/shim/variables/test.md +11 -0
- package/api/@wtf/project-bare/shim/variables/vi.md +23 -0
- package/api/@wtf/project-bare/test/README.md +28 -0
- package/api/@wtf/project-bare/test/functions/bareTest.md +24 -0
- package/api/@wtf/project-bare/test/type-aliases/BareTestOptions.md +11 -0
- package/api/@wtf/project-bare/test/type-aliases/BareTestResult.md +33 -0
- package/api/@wtf/project-bare/type-aliases/BarePlatform.md +14 -0
- package/api/@wtf/project-config/define/functions/defineConfig.md +1 -1
- package/api/@wtf/project-config/env/functions/envNameOf.md +1 -1
- package/api/@wtf/project-config/env/functions/envPrefixOf.md +1 -1
- package/api/@wtf/project-config/env/functions/jsonSchemaOf.md +1 -1
- package/api/@wtf/project-config/env/functions/variablesOf.md +1 -1
- package/api/@wtf/project-config/env/functions/withEnvironment.md +1 -1
- package/api/@wtf/project-config/env/type-aliases/Environment.md +1 -1
- package/api/@wtf/project-config/env/type-aliases/EnvironmentValue.md +3 -3
- package/api/@wtf/project-config/env/type-aliases/WithEnvironment.md +3 -3
- package/api/@wtf/project-config/errors/classes/ConfigError.md +4 -4
- package/api/@wtf/project-config/errors/classes/ConfigFileMismatchError.md +6 -6
- package/api/@wtf/project-config/errors/classes/ConfigInCodeError.md +5 -5
- package/api/@wtf/project-config/errors/classes/ConfigPathError.md +5 -5
- package/api/@wtf/project-config/errors/classes/EnvPlaceholderUnsetError.md +6 -6
- package/api/@wtf/project-config/errors/classes/InvalidConfigFileError.md +5 -5
- package/api/@wtf/project-config/errors/classes/InvalidSectionError.md +7 -7
- package/api/@wtf/project-config/errors/classes/NamedError.md +12 -12
- package/api/@wtf/project-config/errors/classes/NoConfigFileError.md +5 -5
- package/api/@wtf/project-config/errors/classes/NoConfigValueError.md +6 -6
- package/api/@wtf/project-config/errors/classes/SyncSchemaError.md +5 -5
- package/api/@wtf/project-config/errors/classes/UnwritableConfigFileError.md +5 -5
- package/api/@wtf/project-config/errors/type-aliases/NamedErrorCode.md +1 -1
- package/api/@wtf/project-config/errors/type-aliases/NamedErrorDetails.md +9 -9
- package/api/@wtf/project-config/index/type-aliases/ConfigDefaults.md +3 -3
- package/api/@wtf/project-config/index/type-aliases/ConfigEnvironment.md +4 -4
- package/api/@wtf/project-config/index/type-aliases/ConfigIssue.md +3 -3
- package/api/@wtf/project-config/index/type-aliases/ConfigNames.md +4 -4
- package/api/@wtf/project-config/index/type-aliases/ConfigPath.md +1 -1
- package/api/@wtf/project-config/index/type-aliases/ConfigPlatform.md +1 -1
- package/api/@wtf/project-config/index/type-aliases/ConfigSection.md +1 -1
- package/api/@wtf/project-config/index/type-aliases/ConfigSource.md +3 -3
- package/api/@wtf/project-config/index/type-aliases/ConfigWrite.md +10 -10
- package/api/@wtf/project-config/index/type-aliases/ImportModule.md +1 -1
- package/api/@wtf/project-config/index/type-aliases/JsonSchema.md +1 -1
- package/api/@wtf/project-config/index/type-aliases/LocatedConfig.md +4 -4
- package/api/@wtf/project-config/index/type-aliases/NamespaceConfig.md +2 -2
- package/api/@wtf/project-config/index/type-aliases/ResolvedConfig.md +9 -9
- package/api/@wtf/project-config/index/type-aliases/SectionSchema.md +1 -1
- package/api/@wtf/project-config/index/type-aliases/SectionsOf.md +1 -1
- package/api/@wtf/project-config/index/type-aliases/ValidateSection.md +1 -1
- package/api/@wtf/project-config/load/functions/ignoredWarning.md +1 -1
- package/api/@wtf/project-config/load/functions/importFileModule.md +1 -1
- package/api/@wtf/project-config/load/functions/loadConfig.md +1 -1
- package/api/@wtf/project-config/load/type-aliases/LoadLayers.md +3 -3
- package/api/@wtf/project-config/load/type-aliases/LoadOptions.md +3 -3
- package/api/@wtf/project-config/load/type-aliases/LoadPlatform.md +1 -1
- package/api/@wtf/project-config/locate/functions/configFilesOf.md +1 -1
- package/api/@wtf/project-config/locate/functions/configNamesOf.md +1 -1
- package/api/@wtf/project-config/locate/functions/jsonFilesOf.md +1 -1
- package/api/@wtf/project-config/locate/functions/locateConfig.md +1 -1
- package/api/@wtf/project-config/locate/functions/projectRootOf.md +1 -1
- package/api/@wtf/project-config/locate/type-aliases/LocateNames.md +2 -2
- package/api/@wtf/project-config/locate/type-aliases/LocateOptions.md +2 -2
- package/api/@wtf/project-config/locate/type-aliases/NamespaceNames.md +2 -2
- package/api/@wtf/project-config/locate/variables/DEFAULT_NAMESPACE.md +1 -1
- package/api/@wtf/project-config/named/functions/factoryOf.md +1 -1
- package/api/@wtf/project-config/named/functions/namedSchema.md +1 -1
- package/api/@wtf/project-config/named/functions/namedSetSchema.md +1 -1
- package/api/@wtf/project-config/named/functions/resolveNamed.md +1 -1
- package/api/@wtf/project-config/named/functions/resolveNamedSet.md +1 -1
- package/api/@wtf/project-config/named/type-aliases/LoadModule.md +1 -1
- package/api/@wtf/project-config/named/type-aliases/ModuleReference.md +3 -3
- package/api/@wtf/project-config/named/type-aliases/NamedCheckOptions.md +5 -5
- package/api/@wtf/project-config/named/type-aliases/NamedEntries.md +1 -1
- package/api/@wtf/project-config/named/type-aliases/NamedFactory.md +1 -1
- package/api/@wtf/project-config/named/type-aliases/NamedOptions.md +1 -1
- package/api/@wtf/project-config/named/type-aliases/NamedReference.md +1 -1
- package/api/@wtf/project-config/named/type-aliases/NamedResolveOptions.md +3 -3
- package/api/@wtf/project-config/named/type-aliases/NamedSchema.md +1 -1
- package/api/@wtf/project-config/named/type-aliases/NamedSchemaOptions.md +4 -4
- package/api/@wtf/project-config/named/type-aliases/NamedSet.md +1 -1
- package/api/@wtf/project-config/named/type-aliases/NamedSetOptions.md +2 -2
- package/api/@wtf/project-config/named/type-aliases/NamedSetSchemaOptions.md +3 -3
- package/api/@wtf/project-config/named/type-aliases/NamedSets.md +1 -1
- package/api/@wtf/project-config/named/type-aliases/NamedUse.md +1 -1
- package/api/@wtf/project-config/path/functions/configPathOf.md +1 -1
- package/api/@wtf/project-config/path/functions/textOfConfigPath.md +1 -1
- package/api/@wtf/project-config/path/functions/valueAt.md +1 -1
- package/api/@wtf/project-config/placeholder/functions/expandPlaceholders.md +1 -1
- package/api/@wtf/project-config/placeholder/functions/expandString.md +1 -1
- package/api/@wtf/project-config/schema/functions/namespaceSchema.md +1 -1
- package/api/@wtf/project-config/schema/functions/sectionIdOf.md +1 -1
- package/api/@wtf/project-config/schema/type-aliases/NamespaceSchemaOptions.md +3 -3
- package/api/@wtf/project-config/schema/variables/JSON_SCHEMA_DRAFT.md +1 -1
- package/api/@wtf/project-config/section/functions/issuesOf.md +1 -1
- package/api/@wtf/project-config/section/functions/issuesOfSync.md +1 -1
- package/api/@wtf/project-config/section/functions/mergeSection.md +1 -1
- package/api/@wtf/project-config/section/functions/sectionOf.md +1 -1
- package/api/@wtf/project-config/section/type-aliases/Checked.md +3 -3
- package/api/@wtf/project-config/write/functions/setConfigValue.md +1 -1
- package/api/@wtf/project-config/write/functions/unsetConfigValue.md +1 -1
- package/api/@wtf/project-config/write/type-aliases/WriteOptions.md +2 -2
- package/api/@wtf/project-oxfmt/config/functions/oxfmtConfig.md +1 -1
- package/api/@wtf/project-oxfmt/config/type-aliases/OxfmtOptions.md +1 -1
- package/api/@wtf/project-oxfmt/config/variables/OXFMT_DEFAULTS.md +6 -6
- package/api/@wtf/project-oxfmt/config/variables/default.md +1 -1
- package/api/@wtf/project-oxfmt/schema/variables/oxfmtSchema.md +1 -1
- package/api/@wtf/project-oxlint/config/functions/oxlintConfig.md +1 -1
- package/api/@wtf/project-oxlint/config/type-aliases/OxlintOptions.md +1 -1
- package/api/@wtf/project-oxlint/config/variables/OXLINT_DEFAULTS.md +17 -17
- package/api/@wtf/project-oxlint/config/variables/default.md +1 -1
- package/api/@wtf/project-oxlint/schema/variables/oxlintSchema.md +1 -1
- package/api/@wtf/project-resolve/README.md +1 -1
- 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-storybook/config/functions/escapeAttribute.md +1 -1
- package/api/@wtf/project-storybook/config/functions/folderOf.md +1 -1
- package/api/@wtf/project-storybook/config/functions/metaTags.md +1 -1
- package/api/@wtf/project-storybook/config/functions/refsOf.md +1 -1
- package/api/@wtf/project-storybook/config/functions/storybookConfig.md +1 -1
- package/api/@wtf/project-storybook/config/type-aliases/ComposedRef.md +3 -3
- package/api/@wtf/project-storybook/config/type-aliases/StorybookConfig.md +8 -8
- package/api/@wtf/project-storybook/config/type-aliases/StorybookOptions.md +13 -13
- package/api/@wtf/project-storybook/config/type-aliases/StorybookRef.md +4 -4
- package/api/@wtf/project-storybook/config/type-aliases/VersionLabel.md +4 -4
- package/api/@wtf/project-storybook/manager/functions/registerVersion.md +1 -1
- package/api/@wtf/project-storybook/manager/type-aliases/VersionOptions.md +2 -2
- package/api/@wtf/project-storybook/schema/type-aliases/StorybookSection.md +1 -1
- package/api/@wtf/project-storybook/schema/variables/storybookSchema.md +1 -1
- package/api/@wtf/project-storybook/versions/functions/labelOf.md +1 -1
- package/api/@wtf/project-storybook/versions/functions/versionsOf.md +1 -1
- package/api/@wtf/project-storybook/versions/type-aliases/Label.md +5 -5
- package/api/@wtf/project-storybook/versions/type-aliases/ListedVersion.md +4 -4
- package/api/@wtf/project-storybook/versions/variables/META.md +5 -5
- 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/TypedocConfig.md +1 -1
- package/api/@wtf/project-typedoc/config/type-aliases/TypedocOptions.md +7 -7
- package/api/@wtf/project-typedoc/config/type-aliases/TypedocPlatform.md +2 -2
- 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 +4 -4
- package/api/@wtf/project-typedoc/plugins/type-aliases/LinkTrackedSourcesOptions.md +3 -3
- package/api/@wtf/project-typedoc/plugins/type-aliases/PreventMediaFilesOptions.md +4 -4
- package/api/@wtf/project-typedoc/plugins/type-aliases/TypedocPlugin.md +1 -1
- package/api/@wtf/project-typedoc/schema/type-aliases/TypedocSection.md +2 -2
- package/api/@wtf/project-typedoc/schema/variables/typedocSchema.md +1 -1
- package/api/@wtf/project-vite/config/functions/baseConfig.md +4 -4
- package/api/@wtf/project-vite/config/functions/buildsSite.md +1 -1
- package/api/@wtf/project-vite/config/functions/compress.md +1 -1
- package/api/@wtf/project-vite/config/functions/conditionsOf.md +1 -1
- package/api/@wtf/project-vite/config/functions/fromDist.md +1 -1
- package/api/@wtf/project-vite/config/type-aliases/BaseOptions.md +3 -3
- package/api/@wtf/project-vite/config/type-aliases/CompressOptions.md +4 -4
- package/api/@wtf/project-vite/config/variables/CLIENT_CONDITIONS.md +1 -1
- package/api/@wtf/project-vite/config/variables/COMPRESSIBLE.md +1 -1
- package/api/@wtf/project-vite/config/variables/THRESHOLD.md +1 -1
- package/api/@wtf/project-vite/schema/type-aliases/ViteSection.md +1 -1
- package/api/@wtf/project-vite/schema/variables/viteSchema.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 +4 -4
- package/api/@wtf/project-vitest/config/functions/fromDist.md +1 -1
- 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/PackageOptions.md +2 -2
- package/api/@wtf/project-vitest/config/type-aliases/RootConfigOptions.md +2 -2
- package/api/@wtf/project-vitest/config/type-aliases/RootOptions.md +8 -8
- package/api/@wtf/project-vitest/config/type-aliases/VitestPlatform.md +4 -4
- package/api/@wtf/project-vitest/config/type-aliases/VitestRootPlatform.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/schema/type-aliases/VitestSection.md +1 -1
- package/api/@wtf/project-vitest/schema/variables/vitestSchema.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/execOf.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/CreateRealm.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/Realm.md +3 -3
- 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 +2 -2
- 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/nodeSystem.md +1 -1
- package/api/@wtf/project-wpt/node/type-aliases/NodeSystemPlatform.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/schema/type-aliases/WptConfig.md +2 -2
- package/api/@wtf/project-wpt/schema/type-aliases/WptSuiteConfig.md +2 -2
- package/api/@wtf/project-wpt/schema/variables/wptSchema.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/README.md +1 -0
- package/api/llms.txt +1 -0
- package/api/trains.json +3 -0
- package/guides/bare.md +206 -0
- package/guides/getting-started.md +2 -1
- package/guides/testing.md +4 -0
- package/package.json +14 -13
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
type Label = object;
|
|
7
7
|
```
|
|
8
8
|
|
|
9
|
-
Defined in: [packages/project-storybook/src/versions.ts:37](https://gitlab.com/wetryfun/project/project/-/blob/docs-
|
|
9
|
+
Defined in: [packages/project-storybook/src/versions.ts:37](https://gitlab.com/wetryfun/project/project/-/blob/docs-v6.1.0/packages/project-storybook/src/versions.ts#L37)
|
|
10
10
|
|
|
11
11
|
The label of the version a Storybook shows, and where the list of its versions is.
|
|
12
12
|
|
|
@@ -18,7 +18,7 @@ The label of the version a Storybook shows, and where the list of its versions i
|
|
|
18
18
|
readonly optional text?: string;
|
|
19
19
|
```
|
|
20
20
|
|
|
21
|
-
Defined in: [packages/project-storybook/src/versions.ts:39](https://gitlab.com/wetryfun/project/project/-/blob/docs-
|
|
21
|
+
Defined in: [packages/project-storybook/src/versions.ts:39](https://gitlab.com/wetryfun/project/project/-/blob/docs-v6.1.0/packages/project-storybook/src/versions.ts#L39)
|
|
22
22
|
|
|
23
23
|
The version the site shows, as its toolbar says it; none on a site of no label.
|
|
24
24
|
|
|
@@ -30,7 +30,7 @@ The version the site shows, as its toolbar says it; none on a site of no label.
|
|
|
30
30
|
readonly optional title?: string;
|
|
31
31
|
```
|
|
32
32
|
|
|
33
|
-
Defined in: [packages/project-storybook/src/versions.ts:41](https://gitlab.com/wetryfun/project/project/-/blob/docs-
|
|
33
|
+
Defined in: [packages/project-storybook/src/versions.ts:41](https://gitlab.com/wetryfun/project/project/-/blob/docs-v6.1.0/packages/project-storybook/src/versions.ts#L41)
|
|
34
34
|
|
|
35
35
|
What the label says on hover.
|
|
36
36
|
|
|
@@ -42,7 +42,7 @@ What the label says on hover.
|
|
|
42
42
|
readonly optional url?: string;
|
|
43
43
|
```
|
|
44
44
|
|
|
45
|
-
Defined in: [packages/project-storybook/src/versions.ts:43](https://gitlab.com/wetryfun/project/project/-/blob/docs-
|
|
45
|
+
Defined in: [packages/project-storybook/src/versions.ts:43](https://gitlab.com/wetryfun/project/project/-/blob/docs-v6.1.0/packages/project-storybook/src/versions.ts#L43)
|
|
46
46
|
|
|
47
47
|
Where the label links to.
|
|
48
48
|
|
|
@@ -54,6 +54,6 @@ Where the label links to.
|
|
|
54
54
|
readonly optional versions?: string;
|
|
55
55
|
```
|
|
56
56
|
|
|
57
|
-
Defined in: [packages/project-storybook/src/versions.ts:45](https://gitlab.com/wetryfun/project/project/-/blob/docs-
|
|
57
|
+
Defined in: [packages/project-storybook/src/versions.ts:45](https://gitlab.com/wetryfun/project/project/-/blob/docs-v6.1.0/packages/project-storybook/src/versions.ts#L45)
|
|
58
58
|
|
|
59
59
|
Where the list of versions is, relative to the page; none on a site of no list.
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
type ListedVersion = object;
|
|
7
7
|
```
|
|
8
8
|
|
|
9
|
-
Defined in: [packages/project-storybook/src/versions.ts:49](https://gitlab.com/wetryfun/project/project/-/blob/docs-
|
|
9
|
+
Defined in: [packages/project-storybook/src/versions.ts:49](https://gitlab.com/wetryfun/project/project/-/blob/docs-v6.1.0/packages/project-storybook/src/versions.ts#L49)
|
|
10
10
|
|
|
11
11
|
A version of a list, as [versionsOf](../functions/versionsOf.md) gives it.
|
|
12
12
|
|
|
@@ -18,7 +18,7 @@ A version of a list, as [versionsOf](../functions/versionsOf.md) gives it.
|
|
|
18
18
|
readonly current: boolean;
|
|
19
19
|
```
|
|
20
20
|
|
|
21
|
-
Defined in: [packages/project-storybook/src/versions.ts:55](https://gitlab.com/wetryfun/project/project/-/blob/docs-
|
|
21
|
+
Defined in: [packages/project-storybook/src/versions.ts:55](https://gitlab.com/wetryfun/project/project/-/blob/docs-v6.1.0/packages/project-storybook/src/versions.ts#L55)
|
|
22
22
|
|
|
23
23
|
Whether it is the version of the page.
|
|
24
24
|
|
|
@@ -30,7 +30,7 @@ Whether it is the version of the page.
|
|
|
30
30
|
readonly href: string;
|
|
31
31
|
```
|
|
32
32
|
|
|
33
|
-
Defined in: [packages/project-storybook/src/versions.ts:53](https://gitlab.com/wetryfun/project/project/-/blob/docs-
|
|
33
|
+
Defined in: [packages/project-storybook/src/versions.ts:53](https://gitlab.com/wetryfun/project/project/-/blob/docs-v6.1.0/packages/project-storybook/src/versions.ts#L53)
|
|
34
34
|
|
|
35
35
|
The absolute URL of the version's Storybook, a folder.
|
|
36
36
|
|
|
@@ -42,6 +42,6 @@ The absolute URL of the version's Storybook, a folder.
|
|
|
42
42
|
readonly version: string;
|
|
43
43
|
```
|
|
44
44
|
|
|
45
|
-
Defined in: [packages/project-storybook/src/versions.ts:51](https://gitlab.com/wetryfun/project/project/-/blob/docs-
|
|
45
|
+
Defined in: [packages/project-storybook/src/versions.ts:51](https://gitlab.com/wetryfun/project/project/-/blob/docs-v6.1.0/packages/project-storybook/src/versions.ts#L51)
|
|
46
46
|
|
|
47
47
|
The version, as the list names it.
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
const META: object;
|
|
7
7
|
```
|
|
8
8
|
|
|
9
|
-
Defined in: [packages/project-storybook/src/versions.ts:25](https://gitlab.com/wetryfun/project/project/-/blob/docs-
|
|
9
|
+
Defined in: [packages/project-storybook/src/versions.ts:25](https://gitlab.com/wetryfun/project/project/-/blob/docs-v6.1.0/packages/project-storybook/src/versions.ts#L25)
|
|
10
10
|
|
|
11
11
|
The names of the meta tags of the manager's page, which ./config writes and the manager reads.
|
|
12
12
|
|
|
@@ -14,7 +14,7 @@ The names of the meta tags of the manager's page, which ./config writes and the
|
|
|
14
14
|
|
|
15
15
|
| Name | Type | Default value | Description | Defined in |
|
|
16
16
|
| ------ | ------ | ------ | ------ | ------ |
|
|
17
|
-
| <a id="property-title"></a> `title` | `"storybook-version-title"` | `'storybook-version-title'` | What the label says on hover. | [packages/project-storybook/src/versions.ts:29](https://gitlab.com/wetryfun/project/project/-/blob/docs-
|
|
18
|
-
| <a id="property-url"></a> `url` | `"storybook-version-url"` | `'storybook-version-url'` | Where the label links to, as the release of the version. | [packages/project-storybook/src/versions.ts:31](https://gitlab.com/wetryfun/project/project/-/blob/docs-
|
|
19
|
-
| <a id="property-version"></a> `version` | `"storybook-version"` | `'storybook-version'` | The text of the label: the version the site shows. | [packages/project-storybook/src/versions.ts:27](https://gitlab.com/wetryfun/project/project/-/blob/docs-
|
|
20
|
-
| <a id="property-versions"></a> `versions` | `"storybook-versions"` | `'storybook-versions'` | Where the list of versions is, relative to the page. | [packages/project-storybook/src/versions.ts:33](https://gitlab.com/wetryfun/project/project/-/blob/docs-
|
|
17
|
+
| <a id="property-title"></a> `title` | `"storybook-version-title"` | `'storybook-version-title'` | What the label says on hover. | [packages/project-storybook/src/versions.ts:29](https://gitlab.com/wetryfun/project/project/-/blob/docs-v6.1.0/packages/project-storybook/src/versions.ts#L29) |
|
|
18
|
+
| <a id="property-url"></a> `url` | `"storybook-version-url"` | `'storybook-version-url'` | Where the label links to, as the release of the version. | [packages/project-storybook/src/versions.ts:31](https://gitlab.com/wetryfun/project/project/-/blob/docs-v6.1.0/packages/project-storybook/src/versions.ts#L31) |
|
|
19
|
+
| <a id="property-version"></a> `version` | `"storybook-version"` | `'storybook-version'` | The text of the label: the version the site shows. | [packages/project-storybook/src/versions.ts:27](https://gitlab.com/wetryfun/project/project/-/blob/docs-v6.1.0/packages/project-storybook/src/versions.ts#L27) |
|
|
20
|
+
| <a id="property-versions"></a> `versions` | `"storybook-versions"` | `'storybook-versions'` | Where the list of versions is, relative to the page. | [packages/project-storybook/src/versions.ts:33](https://gitlab.com/wetryfun/project/project/-/blob/docs-v6.1.0/packages/project-storybook/src/versions.ts#L33) |
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
function gitRevisionOf(root, platform): Promise<string>;
|
|
7
7
|
```
|
|
8
8
|
|
|
9
|
-
Defined in: [packages/project-typedoc/src/config.ts:110](https://gitlab.com/wetryfun/project/project/-/blob/docs-
|
|
9
|
+
Defined in: [packages/project-typedoc/src/config.ts:110](https://gitlab.com/wetryfun/project/project/-/blob/docs-v6.1.0/packages/project-typedoc/src/config.ts#L110)
|
|
10
10
|
|
|
11
11
|
The git revision each source links to:
|
|
12
12
|
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
function typedocConfig(__namedParameters): Promise<TypedocConfig>;
|
|
7
7
|
```
|
|
8
8
|
|
|
9
|
-
Defined in: [packages/project-typedoc/src/config.ts:147](https://gitlab.com/wetryfun/project/project/-/blob/docs-
|
|
9
|
+
Defined in: [packages/project-typedoc/src/config.ts:147](https://gitlab.com/wetryfun/project/project/-/blob/docs-v6.1.0/packages/project-typedoc/src/config.ts#L147)
|
|
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 TypedocConfig = TypeDocOptions & object;
|
|
7
7
|
```
|
|
8
8
|
|
|
9
|
-
Defined in: [packages/project-typedoc/src/config.ts:46](https://gitlab.com/wetryfun/project/project/-/blob/docs-
|
|
9
|
+
Defined in: [packages/project-typedoc/src/config.ts:46](https://gitlab.com/wetryfun/project/project/-/blob/docs-v6.1.0/packages/project-typedoc/src/config.ts#L46)
|
|
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/project-typedoc/src/config.ts:58](https://gitlab.com/wetryfun/project/project/-/blob/docs-
|
|
9
|
+
Defined in: [packages/project-typedoc/src/config.ts:58](https://gitlab.com/wetryfun/project/project/-/blob/docs-v6.1.0/packages/project-typedoc/src/config.ts#L58)
|
|
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,9 +14,9 @@ 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/project-typedoc/src/config.ts:77](https://gitlab.com/wetryfun/project/project/-/blob/docs-
|
|
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:65](https://gitlab.com/wetryfun/project/project/-/blob/docs-
|
|
19
|
-
| `entryPoints` | `string`[] | The packages to document, each by its folder from the docs package: `['../core', '../cli']`. | [packages/project-typedoc/src/config.ts:72](https://gitlab.com/wetryfun/project/project/-/blob/docs-
|
|
20
|
-
| `platform` | [`TypedocPlatform`](TypedocPlatform.md) | The platform the config is of ([TypedocPlatform](TypedocPlatform.md)). | [packages/project-typedoc/src/config.ts:60](https://gitlab.com/wetryfun/project/project/-/blob/docs-
|
|
21
|
-
| `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:83](https://gitlab.com/wetryfun/project/project/-/blob/docs-
|
|
22
|
-
| `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:70](https://gitlab.com/wetryfun/project/project/-/blob/docs-
|
|
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:77](https://gitlab.com/wetryfun/project/project/-/blob/docs-v6.1.0/packages/project-typedoc/src/config.ts#L77) |
|
|
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:65](https://gitlab.com/wetryfun/project/project/-/blob/docs-v6.1.0/packages/project-typedoc/src/config.ts#L65) |
|
|
19
|
+
| `entryPoints` | `string`[] | The packages to document, each by its folder from the docs package: `['../core', '../cli']`. | [packages/project-typedoc/src/config.ts:72](https://gitlab.com/wetryfun/project/project/-/blob/docs-v6.1.0/packages/project-typedoc/src/config.ts#L72) |
|
|
20
|
+
| `platform` | [`TypedocPlatform`](TypedocPlatform.md) | The platform the config is of ([TypedocPlatform](TypedocPlatform.md)). | [packages/project-typedoc/src/config.ts:60](https://gitlab.com/wetryfun/project/project/-/blob/docs-v6.1.0/packages/project-typedoc/src/config.ts#L60) |
|
|
21
|
+
| `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:83](https://gitlab.com/wetryfun/project/project/-/blob/docs-v6.1.0/packages/project-typedoc/src/config.ts#L83) |
|
|
22
|
+
| `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:70](https://gitlab.com/wetryfun/project/project/-/blob/docs-v6.1.0/packages/project-typedoc/src/config.ts#L70) |
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
type TypedocPlatform = Pick<ProcessPlatform, "spawn" | "argv" | "path"> & object;
|
|
7
7
|
```
|
|
8
8
|
|
|
9
|
-
Defined in: [packages/project-typedoc/src/config.ts:53](https://gitlab.com/wetryfun/project/project/-/blob/docs-
|
|
9
|
+
Defined in: [packages/project-typedoc/src/config.ts:53](https://gitlab.com/wetryfun/project/project/-/blob/docs-v6.1.0/packages/project-typedoc/src/config.ts#L53)
|
|
10
10
|
|
|
11
11
|
The platform the config is of: `spawn`, which runs git; `argv`, the command line of the run of
|
|
12
12
|
TypeDoc, which may hold `--gitRevision <ref>` ([gitRevisionOf](../functions/gitRevisionOf.md)); `path`, its paths; and
|
|
@@ -16,4 +16,4 @@ TypeDoc, which may hold `--gitRevision <ref>` ([gitRevisionOf](../functions/gitR
|
|
|
16
16
|
|
|
17
17
|
| Name | Type | Defined in |
|
|
18
18
|
| ------ | ------ | ------ |
|
|
19
|
-
| `dirs` | `Pick`\<`ProcessPlatform`\[`"dirs"`\], `"cwd"`\> | [packages/project-typedoc/src/config.ts:54](https://gitlab.com/wetryfun/project/project/-/blob/docs-
|
|
19
|
+
| `dirs` | `Pick`\<`ProcessPlatform`\[`"dirs"`\], `"cwd"`\> | [packages/project-typedoc/src/config.ts:54](https://gitlab.com/wetryfun/project/project/-/blob/docs-v6.1.0/packages/project-typedoc/src/config.ts#L54) |
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
function cleanGeneratedMarkdown(__namedParameters): TypedocPlugin;
|
|
7
7
|
```
|
|
8
8
|
|
|
9
|
-
Defined in: [packages/project-typedoc/src/plugins.ts:37](https://gitlab.com/wetryfun/project/project/-/blob/docs-
|
|
9
|
+
Defined in: [packages/project-typedoc/src/plugins.ts:37](https://gitlab.com/wetryfun/project/project/-/blob/docs-v6.1.0/packages/project-typedoc/src/plugins.ts#L37)
|
|
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/project-typedoc/src/plugins.ts:109](https://gitlab.com/wetryfun/project/project/-/blob/docs-
|
|
9
|
+
Defined in: [packages/project-typedoc/src/plugins.ts:109](https://gitlab.com/wetryfun/project/project/-/blob/docs-v6.1.0/packages/project-typedoc/src/plugins.ts#L109)
|
|
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/project-typedoc/src/plugins.ts:66](https://gitlab.com/wetryfun/project/project/-/blob/docs-
|
|
9
|
+
Defined in: [packages/project-typedoc/src/plugins.ts:66](https://gitlab.com/wetryfun/project/project/-/blob/docs-v6.1.0/packages/project-typedoc/src/plugins.ts#L66)
|
|
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/project-typedoc/src/plugins.ts:21](https://gitlab.com/wetryfun/project/project/-/blob/docs-
|
|
9
|
+
Defined in: [packages/project-typedoc/src/plugins.ts:21](https://gitlab.com/wetryfun/project/project/-/blob/docs-v6.1.0/packages/project-typedoc/src/plugins.ts#L21)
|
|
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/project-typedoc/src/plugins.ts:27](https://gitlab.com/wetryfun/project/project/-/blob/docs-
|
|
21
|
+
Defined in: [packages/project-typedoc/src/plugins.ts:27](https://gitlab.com/wetryfun/project/project/-/blob/docs-v6.1.0/packages/project-typedoc/src/plugins.ts#L27)
|
|
22
22
|
|
|
23
23
|
The folders of hand-written docs a link is rewritten into: `['guides']` by default.
|
|
24
24
|
|
|
@@ -30,7 +30,7 @@ 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/project-typedoc/src/plugins.ts:25](https://gitlab.com/wetryfun/project/project/-/blob/docs-
|
|
33
|
+
Defined in: [packages/project-typedoc/src/plugins.ts:25](https://gitlab.com/wetryfun/project/project/-/blob/docs-v6.1.0/packages/project-typedoc/src/plugins.ts#L25)
|
|
34
34
|
|
|
35
35
|
The docs package's folder, which holds `api/` and each of `categories`.
|
|
36
36
|
|
|
@@ -42,6 +42,6 @@ The docs package's folder, which holds `api/` and each of `categories`.
|
|
|
42
42
|
readonly platform: Pick<Platform, "path">;
|
|
43
43
|
```
|
|
44
44
|
|
|
45
|
-
Defined in: [packages/project-typedoc/src/plugins.ts:23](https://gitlab.com/wetryfun/project/project/-/blob/docs-
|
|
45
|
+
Defined in: [packages/project-typedoc/src/plugins.ts:23](https://gitlab.com/wetryfun/project/project/-/blob/docs-v6.1.0/packages/project-typedoc/src/plugins.ts#L23)
|
|
46
46
|
|
|
47
47
|
The platform whose paths the docs package and each page are of.
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
type LinkTrackedSourcesOptions = object;
|
|
7
7
|
```
|
|
8
8
|
|
|
9
|
-
Defined in: [packages/project-typedoc/src/plugins.ts:87](https://gitlab.com/wetryfun/project/project/-/blob/docs-
|
|
9
|
+
Defined in: [packages/project-typedoc/src/plugins.ts:87](https://gitlab.com/wetryfun/project/project/-/blob/docs-v6.1.0/packages/project-typedoc/src/plugins.ts#L87)
|
|
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 platform: Pick<ProcessPlatform, "spawn">;
|
|
19
19
|
```
|
|
20
20
|
|
|
21
|
-
Defined in: [packages/project-typedoc/src/plugins.ts:91](https://gitlab.com/wetryfun/project/project/-/blob/docs-
|
|
21
|
+
Defined in: [packages/project-typedoc/src/plugins.ts:91](https://gitlab.com/wetryfun/project/project/-/blob/docs-v6.1.0/packages/project-typedoc/src/plugins.ts#L91)
|
|
22
22
|
|
|
23
23
|
The platform whose `spawn` runs git, which lists the files it tracks.
|
|
24
24
|
|
|
@@ -30,6 +30,6 @@ The platform whose `spawn` runs git, which lists the files it tracks.
|
|
|
30
30
|
readonly root: string;
|
|
31
31
|
```
|
|
32
32
|
|
|
33
|
-
Defined in: [packages/project-typedoc/src/plugins.ts:89](https://gitlab.com/wetryfun/project/project/-/blob/docs-
|
|
33
|
+
Defined in: [packages/project-typedoc/src/plugins.ts:89](https://gitlab.com/wetryfun/project/project/-/blob/docs-v6.1.0/packages/project-typedoc/src/plugins.ts#L89)
|
|
34
34
|
|
|
35
35
|
The repo's root, which each source's file name is a path from: the config's `displayBasePath`.
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
type PreventMediaFilesOptions = object;
|
|
7
7
|
```
|
|
8
8
|
|
|
9
|
-
Defined in: [packages/project-typedoc/src/plugins.ts:50](https://gitlab.com/wetryfun/project/project/-/blob/docs-
|
|
9
|
+
Defined in: [packages/project-typedoc/src/plugins.ts:50](https://gitlab.com/wetryfun/project/project/-/blob/docs-v6.1.0/packages/project-typedoc/src/plugins.ts#L50)
|
|
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/project-typedoc/src/plugins.ts:56](https://gitlab.com/wetryfun/project/project/-/blob/docs-
|
|
21
|
+
Defined in: [packages/project-typedoc/src/plugins.ts:56](https://gitlab.com/wetryfun/project/project/-/blob/docs-v6.1.0/packages/project-typedoc/src/plugins.ts#L56)
|
|
22
22
|
|
|
23
23
|
The folders in it that are never copied, as `guides`, which ship as they are.
|
|
24
24
|
|
|
@@ -30,7 +30,7 @@ The folders in it that are never copied, as `guides`, which ship as they are.
|
|
|
30
30
|
readonly platform: Pick<Platform, "path"> & object;
|
|
31
31
|
```
|
|
32
32
|
|
|
33
|
-
Defined in: [packages/project-typedoc/src/plugins.ts:52](https://gitlab.com/wetryfun/project/project/-/blob/docs-
|
|
33
|
+
Defined in: [packages/project-typedoc/src/plugins.ts:52](https://gitlab.com/wetryfun/project/project/-/blob/docs-v6.1.0/packages/project-typedoc/src/plugins.ts#L52)
|
|
34
34
|
|
|
35
35
|
The platform whose paths the folders are of, a relative one of its working folder, `dirs.cwd`.
|
|
36
36
|
|
|
@@ -50,6 +50,6 @@ readonly dirs: Pick<Platform["dirs"], "cwd">;
|
|
|
50
50
|
readonly root: string;
|
|
51
51
|
```
|
|
52
52
|
|
|
53
|
-
Defined in: [packages/project-typedoc/src/plugins.ts:54](https://gitlab.com/wetryfun/project/project/-/blob/docs-
|
|
53
|
+
Defined in: [packages/project-typedoc/src/plugins.ts:54](https://gitlab.com/wetryfun/project/project/-/blob/docs-v6.1.0/packages/project-typedoc/src/plugins.ts#L54)
|
|
54
54
|
|
|
55
55
|
The docs package's folder: a file outside it is never copied.
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
type TypedocPlugin = (app) => void;
|
|
7
7
|
```
|
|
8
8
|
|
|
9
|
-
Defined in: [packages/project-typedoc/src/plugins.ts:18](https://gitlab.com/wetryfun/project/project/-/blob/docs-
|
|
9
|
+
Defined in: [packages/project-typedoc/src/plugins.ts:18](https://gitlab.com/wetryfun/project/project/-/blob/docs-v6.1.0/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
|
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
type TypedocSection = Partial<TypedocOptions> & object;
|
|
7
7
|
```
|
|
8
8
|
|
|
9
|
-
Defined in: [packages/project-typedoc/src/schema.ts:61](https://gitlab.com/wetryfun/project/project/-/blob/docs-
|
|
9
|
+
Defined in: [packages/project-typedoc/src/schema.ts:61](https://gitlab.com/wetryfun/project/project/-/blob/docs-v6.1.0/packages/project-typedoc/src/schema.ts#L61)
|
|
10
10
|
|
|
11
11
|
The options of `typedocConfig()` of ./config a configuration holds, each optional: each but the
|
|
12
12
|
platform, which is the config file's own.
|
|
@@ -15,4 +15,4 @@ platform, which is the config file's own.
|
|
|
15
15
|
|
|
16
16
|
| Name | Type | Defined in |
|
|
17
17
|
| ------ | ------ | ------ |
|
|
18
|
-
| `platform?` | `never` | [packages/project-typedoc/src/schema.ts:62](https://gitlab.com/wetryfun/project/project/-/blob/docs-
|
|
18
|
+
| `platform?` | `never` | [packages/project-typedoc/src/schema.ts:62](https://gitlab.com/wetryfun/project/project/-/blob/docs-v6.1.0/packages/project-typedoc/src/schema.ts#L62) |
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
const typedocSchema: StandardSchemaV1<TypedocSection> & StandardJSONSchemaV1<TypedocSection>;
|
|
7
7
|
```
|
|
8
8
|
|
|
9
|
-
Defined in: [packages/project-typedoc/src/schema.ts:71](https://gitlab.com/wetryfun/project/project/-/blob/docs-
|
|
9
|
+
Defined in: [packages/project-typedoc/src/schema.ts:71](https://gitlab.com/wetryfun/project/project/-/blob/docs-v6.1.0/packages/project-typedoc/src/schema.ts#L71)
|
|
10
10
|
|
|
11
11
|
The schema of the options of `typedocConfig()` of ./config a configuration holds,
|
|
12
12
|
`TypedocSection`, each optional, as a section gives some of them and the docs package the rest:
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
function baseConfig(__namedParameters): object;
|
|
7
7
|
```
|
|
8
8
|
|
|
9
|
-
Defined in: [packages/project-vite/src/config.ts:177](https://gitlab.com/wetryfun/project/project/-/blob/docs-
|
|
9
|
+
Defined in: [packages/project-vite/src/config.ts:177](https://gitlab.com/wetryfun/project/project/-/blob/docs-v6.1.0/packages/project-vite/src/config.ts#L177)
|
|
10
10
|
|
|
11
11
|
The base config every Vite config of a workspace starts from, by
|
|
12
12
|
`mergeConfig(baseConfig({ platform }), yours)`: the workspace's packages by their `@wtf/source`
|
|
@@ -46,6 +46,6 @@ export default config
|
|
|
46
46
|
|
|
47
47
|
| Name | Type | Defined in |
|
|
48
48
|
| ------ | ------ | ------ |
|
|
49
|
-
| `plugins` | `Plugin`\<`any`\>[] | [packages/project-vite/src/config.ts:180](https://gitlab.com/wetryfun/project/project/-/blob/docs-
|
|
50
|
-
| `resolve` | `object` | [packages/project-vite/src/config.ts:179](https://gitlab.com/wetryfun/project/project/-/blob/docs-
|
|
51
|
-
| `resolve.conditions` | `string`[] | [packages/project-vite/src/config.ts:179](https://gitlab.com/wetryfun/project/project/-/blob/docs-
|
|
49
|
+
| `plugins` | `Plugin`\<`any`\>[] | [packages/project-vite/src/config.ts:180](https://gitlab.com/wetryfun/project/project/-/blob/docs-v6.1.0/packages/project-vite/src/config.ts#L180) |
|
|
50
|
+
| `resolve` | `object` | [packages/project-vite/src/config.ts:179](https://gitlab.com/wetryfun/project/project/-/blob/docs-v6.1.0/packages/project-vite/src/config.ts#L179) |
|
|
51
|
+
| `resolve.conditions` | `string`[] | [packages/project-vite/src/config.ts:179](https://gitlab.com/wetryfun/project/project/-/blob/docs-v6.1.0/packages/project-vite/src/config.ts#L179) |
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
function buildsSite(config, command): boolean;
|
|
7
7
|
```
|
|
8
8
|
|
|
9
|
-
Defined in: [packages/project-vite/src/config.ts:121](https://gitlab.com/wetryfun/project/project/-/blob/docs-
|
|
9
|
+
Defined in: [packages/project-vite/src/config.ts:121](https://gitlab.com/wetryfun/project/project/-/blob/docs-v6.1.0/packages/project-vite/src/config.ts#L121)
|
|
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/project-vite/src/config.ts:130](https://gitlab.com/wetryfun/project/project/-/blob/docs-
|
|
9
|
+
Defined in: [packages/project-vite/src/config.ts:130](https://gitlab.com/wetryfun/project/project/-/blob/docs-v6.1.0/packages/project-vite/src/config.ts#L130)
|
|
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, fromBuild): string[];
|
|
7
7
|
```
|
|
8
8
|
|
|
9
|
-
Defined in: [packages/project-vite/src/config.ts:112](https://gitlab.com/wetryfun/project/project/-/blob/docs-
|
|
9
|
+
Defined in: [packages/project-vite/src/config.ts:112](https://gitlab.com/wetryfun/project/project/-/blob/docs-v6.1.0/packages/project-vite/src/config.ts#L112)
|
|
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: of none `fromBuild` says
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
function fromDist(env): boolean;
|
|
7
7
|
```
|
|
8
8
|
|
|
9
|
-
Defined in: [packages/project-vite/src/config.ts:51](https://gitlab.com/wetryfun/project/project/-/blob/docs-
|
|
9
|
+
Defined in: [packages/project-vite/src/config.ts:51](https://gitlab.com/wetryfun/project/project/-/blob/docs-v6.1.0/packages/project-vite/src/config.ts#L51)
|
|
10
10
|
|
|
11
11
|
Whether the build is read in place of the source, of the environment `env`: `TEST_FROM=dist`, as
|
|
12
12
|
`test:dist` runs.
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
type BaseOptions = object;
|
|
7
7
|
```
|
|
8
8
|
|
|
9
|
-
Defined in: [packages/project-vite/src/config.ts:94](https://gitlab.com/wetryfun/project/project/-/blob/docs-
|
|
9
|
+
Defined in: [packages/project-vite/src/config.ts:94](https://gitlab.com/wetryfun/project/project/-/blob/docs-v6.1.0/packages/project-vite/src/config.ts#L94)
|
|
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/project-vite/src/config.ts:104](https://gitlab.com/wetryfun/project/project/-/blob/docs-
|
|
21
|
+
Defined in: [packages/project-vite/src/config.ts:104](https://gitlab.com/wetryfun/project/project/-/blob/docs-v6.1.0/packages/project-vite/src/config.ts#L104)
|
|
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.
|
|
@@ -31,7 +31,7 @@ none, as of a site that no static host serves. Of every site by default.
|
|
|
31
31
|
readonly platform: Pick<Platform, "env">;
|
|
32
32
|
```
|
|
33
33
|
|
|
34
|
-
Defined in: [packages/project-vite/src/config.ts:99](https://gitlab.com/wetryfun/project/project/-/blob/docs-
|
|
34
|
+
Defined in: [packages/project-vite/src/config.ts:99](https://gitlab.com/wetryfun/project/project/-/blob/docs-v6.1.0/packages/project-vite/src/config.ts#L99)
|
|
35
35
|
|
|
36
36
|
The platform the config is of: its environment, `env`, whose `TEST_FROM` says whether the
|
|
37
37
|
packages are read from their build ([fromDist](../functions/fromDist.md)).
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
type CompressOptions = object;
|
|
7
7
|
```
|
|
8
8
|
|
|
9
|
-
Defined in: [packages/project-vite/src/config.ts:84](https://gitlab.com/wetryfun/project/project/-/blob/docs-
|
|
9
|
+
Defined in: [packages/project-vite/src/config.ts:84](https://gitlab.com/wetryfun/project/project/-/blob/docs-v6.1.0/packages/project-vite/src/config.ts#L84)
|
|
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/project-vite/src/config.ts:90](https://gitlab.com/wetryfun/project/project/-/blob/docs-
|
|
21
|
+
Defined in: [packages/project-vite/src/config.ts:90](https://gitlab.com/wetryfun/project/project/-/blob/docs-v6.1.0/packages/project-vite/src/config.ts#L90)
|
|
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/project-vite/src/config.ts:88](https://gitlab.com/wetryfun/project/project/-/blob/docs-
|
|
33
|
+
Defined in: [packages/project-vite/src/config.ts:88](https://gitlab.com/wetryfun/project/project/-/blob/docs-v6.1.0/packages/project-vite/src/config.ts#L88)
|
|
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/project-vite/src/config.ts:86](https://gitlab.com/wetryfun/project/project/-/blob/docs-
|
|
45
|
+
Defined in: [packages/project-vite/src/config.ts:86](https://gitlab.com/wetryfun/project/project/-/blob/docs-v6.1.0/packages/project-vite/src/config.ts#L86)
|
|
46
46
|
|
|
47
47
|
The least a file is, in bytes, to be compressed: [THRESHOLD](../variables/THRESHOLD.md) by default.
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
const CLIENT_CONDITIONS: readonly string[];
|
|
7
7
|
```
|
|
8
8
|
|
|
9
|
-
Defined in: [packages/project-vite/src/config.ts:58](https://gitlab.com/wetryfun/project/project/-/blob/docs-
|
|
9
|
+
Defined in: [packages/project-vite/src/config.ts:58](https://gitlab.com/wetryfun/project/project/-/blob/docs-v6.1.0/packages/project-vite/src/config.ts#L58)
|
|
10
10
|
|
|
11
11
|
The conditions a browser's modules resolve by, as Vite's own default, `defaultClientConditions`
|
|
12
12
|
of `vite`, has them: written here, as the config imports nothing of Vite when it runs, only its
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
const COMPRESSIBLE: readonly string[];
|
|
7
7
|
```
|
|
8
8
|
|
|
9
|
-
Defined in: [packages/project-vite/src/config.ts:65](https://gitlab.com/wetryfun/project/project/-/blob/docs-
|
|
9
|
+
Defined in: [packages/project-vite/src/config.ts:65](https://gitlab.com/wetryfun/project/project/-/blob/docs-v6.1.0/packages/project-vite/src/config.ts#L65)
|
|
10
10
|
|
|
11
11
|
The extensions of the files whose copies a site's build writes: text, as scripts, styles, pages,
|
|
12
12
|
data, maps and SVG are, and WebAssembly. Each other is compressed already, as an image, a font
|
|
@@ -6,6 +6,6 @@
|
|
|
6
6
|
const THRESHOLD: 1024 = 1024;
|
|
7
7
|
```
|
|
8
8
|
|
|
9
|
-
Defined in: [packages/project-vite/src/config.ts:81](https://gitlab.com/wetryfun/project/project/-/blob/docs-
|
|
9
|
+
Defined in: [packages/project-vite/src/config.ts:81](https://gitlab.com/wetryfun/project/project/-/blob/docs-v6.1.0/packages/project-vite/src/config.ts#L81)
|
|
10
10
|
|
|
11
11
|
The least a file is, in bytes, to be compressed: below it, the headers cost more than it saves.
|
|
@@ -6,6 +6,6 @@
|
|
|
6
6
|
type ViteSection = Omit<BaseOptions, "platform">;
|
|
7
7
|
```
|
|
8
8
|
|
|
9
|
-
Defined in: [packages/project-vite/src/schema.ts:61](https://gitlab.com/wetryfun/project/project/-/blob/docs-
|
|
9
|
+
Defined in: [packages/project-vite/src/schema.ts:61](https://gitlab.com/wetryfun/project/project/-/blob/docs-v6.1.0/packages/project-vite/src/schema.ts#L61)
|
|
10
10
|
|
|
11
11
|
The options of `baseConfig()` of ./config a configuration holds: each but the platform.
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
const viteSchema: StandardSchemaV1<ViteSection> & StandardJSONSchemaV1<ViteSection>;
|
|
7
7
|
```
|
|
8
8
|
|
|
9
|
-
Defined in: [packages/project-vite/src/schema.ts:68](https://gitlab.com/wetryfun/project/project/-/blob/docs-
|
|
9
|
+
Defined in: [packages/project-vite/src/schema.ts:68](https://gitlab.com/wetryfun/project/project/-/blob/docs-v6.1.0/packages/project-vite/src/schema.ts#L68)
|
|
10
10
|
|
|
11
11
|
The schema of the options of `baseConfig()` of ./config a configuration holds, `ViteSection`:
|
|
12
12
|
`compress`, `false` or the `threshold`, `extensions` and `encodings` of a site's compressed
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
function browserConfig(__namedParameters): Promise<UserConfig>;
|
|
7
7
|
```
|
|
8
8
|
|
|
9
|
-
Defined in: [packages/project-vitest/src/browser.ts:90](https://gitlab.com/wetryfun/project/project/-/blob/docs-
|
|
9
|
+
Defined in: [packages/project-vitest/src/browser.ts:90](https://gitlab.com/wetryfun/project/project/-/blob/docs-v6.1.0/packages/project-vitest/src/browser.ts#L90)
|
|
10
10
|
|
|
11
11
|
The Vitest config of one package's tests of the browser, its vitest.browser.config.ts: each
|
|
12
12
|
`*.browser.test.ts` or `*.browser.test.tsx` of test/, in a headless Chromium by Playwright, with
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
function browserRootConfig(options): Promise<UserConfig>;
|
|
7
7
|
```
|
|
8
8
|
|
|
9
|
-
Defined in: [packages/project-vitest/src/browser.ts:153](https://gitlab.com/wetryfun/project/project/-/blob/docs-
|
|
9
|
+
Defined in: [packages/project-vitest/src/browser.ts:153](https://gitlab.com/wetryfun/project/project/-/blob/docs-v6.1.0/packages/project-vitest/src/browser.ts#L153)
|
|
10
10
|
|
|
11
11
|
The Vitest config of the root's tests of the browser, vitest.browser.config.ts: each package's
|
|
12
12
|
vitest.browser.config.ts a project, in one process (`pnpm test:browser`), apart from the unit
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
type BrowserOptions = Omit<NonNullable<ViteUserConfig["test"]>, "alias"> & object;
|
|
7
7
|
```
|
|
8
8
|
|
|
9
|
-
Defined in: [packages/project-vitest/src/browser.ts:41](https://gitlab.com/wetryfun/project/project/-/blob/docs-
|
|
9
|
+
Defined in: [packages/project-vitest/src/browser.ts:41](https://gitlab.com/wetryfun/project/project/-/blob/docs-v6.1.0/packages/project-vitest/src/browser.ts#L41)
|
|
10
10
|
|
|
11
11
|
What a package gives [browserConfig](../functions/browserConfig.md): the platform the config is of; its tests' options
|
|
12
12
|
over the config's, such as its `name`, its `include` or its `setupFiles`; and of Vite, its own
|
|
@@ -17,6 +17,6 @@ src, added to the workspace's.
|
|
|
17
17
|
|
|
18
18
|
| Name | Type | Description | Defined in |
|
|
19
19
|
| ------ | ------ | ------ | ------ |
|
|
20
|
-
| `alias?` | `NonNullable`\<`NonNullable`\<`ViteUserConfig`\[`"resolve"`\]\>\[`"alias"`\]\> | Vite's aliases of the package, as `resolve.alias` has them, before the workspace's. | [packages/project-vitest/src/browser.ts:47](https://gitlab.com/wetryfun/project/project/-/blob/docs-
|
|
21
|
-
| `platform` | [`VitestPlatform`](../../config/type-aliases/VitestPlatform.md) | The platform the config is of, as `packageConfig` of ./config takes it. | [packages/project-vitest/src/browser.ts:43](https://gitlab.com/wetryfun/project/project/-/blob/docs-
|
|
22
|
-
| `plugins?` | `NonNullable`\<`ViteUserConfig`\[`"plugins"`\]\> | Vite's plugins of the package, after the config's own. | [packages/project-vitest/src/browser.ts:45](https://gitlab.com/wetryfun/project/project/-/blob/docs-
|
|
20
|
+
| `alias?` | `NonNullable`\<`NonNullable`\<`ViteUserConfig`\[`"resolve"`\]\>\[`"alias"`\]\> | Vite's aliases of the package, as `resolve.alias` has them, before the workspace's. | [packages/project-vitest/src/browser.ts:47](https://gitlab.com/wetryfun/project/project/-/blob/docs-v6.1.0/packages/project-vitest/src/browser.ts#L47) |
|
|
21
|
+
| `platform` | [`VitestPlatform`](../../config/type-aliases/VitestPlatform.md) | The platform the config is of, as `packageConfig` of ./config takes it. | [packages/project-vitest/src/browser.ts:43](https://gitlab.com/wetryfun/project/project/-/blob/docs-v6.1.0/packages/project-vitest/src/browser.ts#L43) |
|
|
22
|
+
| `plugins?` | `NonNullable`\<`ViteUserConfig`\[`"plugins"`\]\> | Vite's plugins of the package, after the config's own. | [packages/project-vitest/src/browser.ts:45](https://gitlab.com/wetryfun/project/project/-/blob/docs-v6.1.0/packages/project-vitest/src/browser.ts#L45) |
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
function fromDist(env): boolean;
|
|
7
7
|
```
|
|
8
8
|
|
|
9
|
-
Defined in: [packages/project-vitest/src/suite.ts:89](https://gitlab.com/wetryfun/project/project/-/blob/docs-
|
|
9
|
+
Defined in: [packages/project-vitest/src/suite.ts:89](https://gitlab.com/wetryfun/project/project/-/blob/docs-v6.1.0/packages/project-vitest/src/suite.ts#L89)
|
|
10
10
|
|
|
11
11
|
Whether the tests read the workspace's packages from what the build wrote, of the environment
|
|
12
12
|
`env`: `TEST_FROM=dist`.
|