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