@wtf/project-docs 2.3.0 → 2.3.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/api/.generated +1 -0
- package/api/@wtf/project-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/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/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/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/schema/functions/astroSchemaWith.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/README.md +4 -1
- package/api/@wtf/project-config/define/functions/defineConfig.md +1 -1
- package/api/@wtf/project-config/env/README.md +3 -2
- 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 +15 -11
- 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/SyncConfigInCodeError.md +5 -5
- 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 +46 -10
- 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/ConfigSyncPlatform.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/SyncFiles.md +3 -3
- 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/functions/loadConfigSync.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 +2 -2
- package/api/@wtf/project-config/load/type-aliases/LoadSyncOptions.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/locateConfigSync.md +1 -1
- package/api/@wtf/project-config/locate/functions/projectRootOf.md +1 -1
- package/api/@wtf/project-config/locate/functions/projectRootOfSync.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/LocateSyncOptions.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/README.md +4 -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 +4 -2
- package/api/@wtf/project-config/named/functions/resolveNamedSet.md +7 -3
- 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 +69 -0
- 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 +6 -5
- 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 +10 -40
- 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/node/functions/loadConfig.md +1 -1
- package/api/@wtf/project-config/node/functions/loadConfigSync.md +1 -1
- package/api/@wtf/project-config/node/functions/nodeConfigPlatform.md +1 -1
- package/api/@wtf/project-config/node/functions/nodeLoadModule.md +1 -1
- package/api/@wtf/project-config/node/functions/nodeSyncPlatform.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/functions/sectionOfSync.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/condition/variables/SOURCE_CONDITION.md +1 -1
- package/api/@wtf/project-resolve/env/functions/isHook.md +1 -1
- package/api/@wtf/project-resolve/env/functions/optionsWithoutHook.md +1 -1
- package/api/@wtf/project-resolve/env/functions/withoutHook.md +1 -1
- package/api/@wtf/project-resolve/env/type-aliases/Env.md +1 -1
- package/api/@wtf/project-resolve/errors/classes/ResolveError.md +4 -4
- package/api/@wtf/project-resolve/errors/classes/UnreadableWorkspaceError.md +6 -6
- package/api/@wtf/project-resolve/errors/classes/WorkspaceError.md +5 -5
- package/api/@wtf/project-resolve/hooks/functions/candidatesOf.md +1 -1
- package/api/@wtf/project-resolve/hooks/functions/sourcesHookOf.md +1 -1
- package/api/@wtf/project-resolve/hooks/functions/sourcesOf.md +1 -1
- package/api/@wtf/project-resolve/hooks/variables/resolveTypeScript.md +1 -1
- package/api/@wtf/project-resolve/node/functions/nodePlatform.md +5 -5
- package/api/@wtf/project-resolve/register/variables/REGISTERED.md +1 -1
- package/api/@wtf/project-resolve/workspace/functions/filesOf.md +1 -1
- package/api/@wtf/project-resolve/workspace/functions/packagesOf.md +1 -1
- package/api/@wtf/project-resolve/workspace/functions/workspaceAt.md +1 -1
- package/api/@wtf/project-resolve/workspace/functions/workspaceOf.md +1 -1
- package/api/@wtf/project-resolve/workspace/functions/workspaceRootAbove.md +1 -1
- package/api/@wtf/project-resolve/workspace/functions/workspaceRootOf.md +1 -1
- package/api/@wtf/project-resolve/workspace/type-aliases/Agent.md +1 -1
- package/api/@wtf/project-resolve/workspace/type-aliases/DirectoryEntry.md +4 -4
- package/api/@wtf/project-resolve/workspace/type-aliases/FileContents.md +3 -3
- package/api/@wtf/project-resolve/workspace/type-aliases/PackageManager.md +4 -4
- package/api/@wtf/project-resolve/workspace/type-aliases/PackageManagerName.md +1 -1
- package/api/@wtf/project-resolve/workspace/type-aliases/ProcessWorkspaceOptions.md +1 -1
- package/api/@wtf/project-resolve/workspace/type-aliases/Workspace.md +5 -5
- package/api/@wtf/project-resolve/workspace/type-aliases/WorkspaceDirectoryHandle.md +6 -6
- package/api/@wtf/project-resolve/workspace/type-aliases/WorkspaceFileHandle.md +3 -3
- package/api/@wtf/project-resolve/workspace/type-aliases/WorkspaceFiles.md +6 -6
- package/api/@wtf/project-resolve/workspace/type-aliases/WorkspaceOptions.md +2 -2
- package/api/@wtf/project-resolve/workspace/type-aliases/WorkspacePackage.md +4 -4
- package/api/@wtf/project-resolve/workspace/type-aliases/WorkspacePaths.md +7 -7
- package/api/@wtf/project-typedoc/config/functions/gitRevisionOf.md +1 -1
- package/api/@wtf/project-typedoc/config/functions/typedocConfig.md +1 -1
- package/api/@wtf/project-typedoc/config/type-aliases/RevisionSources.md +3 -3
- package/api/@wtf/project-typedoc/config/type-aliases/TypedocConfig.md +1 -1
- package/api/@wtf/project-typedoc/config/type-aliases/TypedocOptions.md +6 -6
- package/api/@wtf/project-typedoc/config/variables/nodeRun.md +1 -1
- package/api/@wtf/project-typedoc/plugins/functions/cleanGeneratedMarkdown.md +1 -1
- package/api/@wtf/project-typedoc/plugins/functions/linkTrackedSources.md +1 -1
- package/api/@wtf/project-typedoc/plugins/functions/preventMediaFiles.md +1 -1
- package/api/@wtf/project-typedoc/plugins/type-aliases/CleanGeneratedMarkdownOptions.md +3 -3
- package/api/@wtf/project-typedoc/plugins/type-aliases/LinkTrackedSourcesOptions.md +3 -3
- package/api/@wtf/project-typedoc/plugins/type-aliases/PreventMediaFilesOptions.md +3 -3
- package/api/@wtf/project-typedoc/plugins/type-aliases/Run.md +1 -1
- package/api/@wtf/project-typedoc/plugins/type-aliases/TypedocPlugin.md +1 -1
- package/api/@wtf/project-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/type-aliases/BaseOptions.md +2 -2
- 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/FROM_DIST.md +1 -1
- package/api/@wtf/project-vite/config/variables/THRESHOLD.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 +3 -3
- package/api/@wtf/project-vitest/config/functions/integrationConfig.md +1 -1
- package/api/@wtf/project-vitest/config/functions/packageConfig.md +1 -1
- package/api/@wtf/project-vitest/config/functions/rootConfig.md +1 -1
- package/api/@wtf/project-vitest/config/type-aliases/RootConfigOptions.md +2 -2
- package/api/@wtf/project-vitest/config/type-aliases/RootOptions.md +7 -7
- package/api/@wtf/project-vitest/config/variables/FROM_DIST.md +1 -1
- package/api/@wtf/project-vitest/config/variables/GUARD_TIMEOUT.md +1 -1
- package/api/@wtf/project-vitest/config/variables/integration.md +9 -9
- package/api/@wtf/project-vitest/process/functions/childEnv.md +1 -1
- package/api/@wtf/project-vitest/process/type-aliases/Env.md +1 -1
- package/api/@wtf/project-vitest/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/fileOf.md +1 -1
- package/api/@wtf/project-wpt/checkout/type-aliases/CheckedOutTests.md +3 -3
- package/api/@wtf/project-wpt/checkout/type-aliases/CheckoutOptions.md +8 -8
- package/api/@wtf/project-wpt/checkout/type-aliases/CheckoutTestsOptions.md +2 -2
- package/api/@wtf/project-wpt/checkout/variables/HARNESS.md +1 -1
- package/api/@wtf/project-wpt/checkout/variables/REWRITES.md +1 -1
- package/api/@wtf/project-wpt/checkout/variables/WPT_REPOSITORY.md +1 -1
- package/api/@wtf/project-wpt/errors/classes/HarnessFailedError.md +4 -4
- package/api/@wtf/project-wpt/errors/classes/InvalidCommitError.md +4 -4
- package/api/@wtf/project-wpt/errors/classes/InvalidExpectationsError.md +4 -4
- package/api/@wtf/project-wpt/errors/classes/NoSuiteError.md +4 -4
- package/api/@wtf/project-wpt/errors/classes/NotInWptError.md +5 -5
- package/api/@wtf/project-wpt/errors/classes/StaleExpectationError.md +4 -4
- package/api/@wtf/project-wpt/errors/classes/SubtestFailedError.md +4 -4
- package/api/@wtf/project-wpt/errors/classes/UnexpectedPassError.md +4 -4
- package/api/@wtf/project-wpt/errors/classes/WptError.md +4 -4
- package/api/@wtf/project-wpt/errors/classes/WptFetchError.md +4 -4
- package/api/@wtf/project-wpt/expectations/functions/checkHarness.md +1 -1
- package/api/@wtf/project-wpt/expectations/functions/checkSubtest.md +1 -1
- package/api/@wtf/project-wpt/expectations/functions/expectationOf.md +1 -1
- package/api/@wtf/project-wpt/expectations/functions/expectationsIssues.md +1 -1
- package/api/@wtf/project-wpt/expectations/functions/readExpectations.md +1 -1
- package/api/@wtf/project-wpt/expectations/functions/staleOf.md +1 -1
- package/api/@wtf/project-wpt/expectations/type-aliases/ReadExpectations.md +3 -3
- package/api/@wtf/project-wpt/index/type-aliases/ClearTimeout.md +1 -1
- package/api/@wtf/project-wpt/index/type-aliases/CreateRealm.md +1 -1
- package/api/@wtf/project-wpt/index/type-aliases/Env.md +1 -1
- package/api/@wtf/project-wpt/index/type-aliases/Exec.md +1 -1
- package/api/@wtf/project-wpt/index/type-aliases/Expectations.md +1 -1
- package/api/@wtf/project-wpt/index/type-aliases/FileExpectation.md +4 -4
- package/api/@wtf/project-wpt/index/type-aliases/FileResult.md +4 -4
- package/api/@wtf/project-wpt/index/type-aliases/Globals.md +1 -1
- package/api/@wtf/project-wpt/index/type-aliases/HarnessResult.md +4 -4
- package/api/@wtf/project-wpt/index/type-aliases/HarnessStatus.md +1 -1
- package/api/@wtf/project-wpt/index/type-aliases/HoldRejections.md +1 -1
- package/api/@wtf/project-wpt/index/type-aliases/Performance.md +3 -3
- package/api/@wtf/project-wpt/index/type-aliases/Realm.md +3 -3
- package/api/@wtf/project-wpt/index/type-aliases/SetTimeout.md +1 -1
- package/api/@wtf/project-wpt/index/type-aliases/SubtestResult.md +5 -5
- package/api/@wtf/project-wpt/index/type-aliases/SubtestStatus.md +1 -1
- package/api/@wtf/project-wpt/index/type-aliases/WptFile.md +3 -3
- package/api/@wtf/project-wpt/index/type-aliases/WptFiles.md +9 -9
- package/api/@wtf/project-wpt/index/type-aliases/WptPaths.md +4 -4
- package/api/@wtf/project-wpt/index/type-aliases/WptPlatform.md +6 -6
- package/api/@wtf/project-wpt/index/type-aliases/WptSystem.md +6 -6
- package/api/@wtf/project-wpt/index/type-aliases/WptTest.md +3 -3
- package/api/@wtf/project-wpt/meta/functions/idOf.md +1 -1
- package/api/@wtf/project-wpt/meta/functions/metaOf.md +1 -1
- package/api/@wtf/project-wpt/meta/functions/runsOutsideWindow.md +1 -1
- package/api/@wtf/project-wpt/meta/functions/scriptPathsOf.md +1 -1
- package/api/@wtf/project-wpt/meta/functions/testsOf.md +1 -1
- package/api/@wtf/project-wpt/meta/type-aliases/Meta.md +6 -6
- package/api/@wtf/project-wpt/node/functions/nodePlatform.md +1 -1
- package/api/@wtf/project-wpt/node/functions/nodeSystem.md +1 -1
- package/api/@wtf/project-wpt/node/variables/nodeExec.md +1 -1
- package/api/@wtf/project-wpt/node/variables/nodeFiles.md +1 -1
- package/api/@wtf/project-wpt/node/variables/nodeRealm.md +1 -1
- package/api/@wtf/project-wpt/node/variables/nodeRejections.md +1 -1
- package/api/@wtf/project-wpt/run/functions/runTest.md +1 -1
- package/api/@wtf/project-wpt/run/type-aliases/RunOptions.md +8 -8
- package/api/@wtf/project-wpt/run/type-aliases/RunPlatform.md +1 -1
- package/api/@wtf/project-wpt/run/variables/LONG_TIMEOUT.md +1 -1
- package/api/@wtf/project-wpt/run/variables/TIMEOUT.md +1 -1
- package/api/@wtf/project-wpt/run/variables/WPT_ORIGIN.md +1 -1
- package/api/@wtf/project-wpt/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/config.md +15 -3
- package/package.json +2 -2
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
type NamedSetSchemaOptions = object;
|
|
7
7
|
```
|
|
8
8
|
|
|
9
|
-
Defined in: [packages/project-config/src/named.ts:
|
|
9
|
+
Defined in: [packages/project-config/src/named.ts:576](https://gitlab.com/wetryfun/project/project/-/blob/docs-v2.3.1/packages/project-config/src/named.ts#L576)
|
|
10
10
|
|
|
11
11
|
What the schema of a set says of it.
|
|
12
12
|
|
|
@@ -18,7 +18,7 @@ What the schema of a set says of it.
|
|
|
18
18
|
readonly optional entry?: SectionSchema;
|
|
19
19
|
```
|
|
20
20
|
|
|
21
|
-
Defined in: [packages/project-config/src/named.ts:
|
|
21
|
+
Defined in: [packages/project-config/src/named.ts:578](https://gitlab.com/wetryfun/project/project/-/blob/docs-v2.3.1/packages/project-config/src/named.ts#L578)
|
|
22
22
|
|
|
23
23
|
The schema of the value of an entry: a JSON Schema, or a Standard Schema that gives one. Any by default.
|
|
24
24
|
|
|
@@ -30,6 +30,6 @@ The schema of the value of an entry: a JSON Schema, or a Standard Schema that gi
|
|
|
30
30
|
readonly optional kind?: string;
|
|
31
31
|
```
|
|
32
32
|
|
|
33
|
-
Defined in: [packages/project-config/src/named.ts:
|
|
33
|
+
Defined in: [packages/project-config/src/named.ts:580](https://gitlab.com/wetryfun/project/project/-/blob/docs-v2.3.1/packages/project-config/src/named.ts#L580)
|
|
34
34
|
|
|
35
35
|
What the entries are, which the descriptions name: `entry` by default.
|
|
@@ -8,7 +8,7 @@ type NamedSets<T> =
|
|
|
8
8
|
| readonly NamedSet<T>[];
|
|
9
9
|
```
|
|
10
10
|
|
|
11
|
-
Defined in: [packages/project-config/src/named.ts:
|
|
11
|
+
Defined in: [packages/project-config/src/named.ts:98](https://gitlab.com/wetryfun/project/project/-/blob/docs-v2.3.1/packages/project-config/src/named.ts#L98)
|
|
12
12
|
|
|
13
13
|
The sets of a configuration: one, or an array of them, merged in order, each over those before.
|
|
14
14
|
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
type NamedUse<K> = string extends K ? NamedOptions : { readonly [P in K]: string } & NamedOptions;
|
|
7
7
|
```
|
|
8
8
|
|
|
9
|
-
Defined in: [packages/project-config/src/named.ts:
|
|
9
|
+
Defined in: [packages/project-config/src/named.ts:69](https://gitlab.com/wetryfun/project/project/-/blob/docs-v2.3.1/packages/project-config/src/named.ts#L69)
|
|
10
10
|
|
|
11
11
|
A reference to an entry by its name under the key `K`, with the options beside it, which the
|
|
12
12
|
entry is given: `{ "format": "short", "width": 60 }` of the key `format`. Of a key not known, as
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
function loadConfig(folder?, options?): Promise<ResolvedConfig>;
|
|
7
7
|
```
|
|
8
8
|
|
|
9
|
-
Defined in: [packages/project-config/src/node.ts:89](https://gitlab.com/wetryfun/project/project/-/blob/docs-v2.3.
|
|
9
|
+
Defined in: [packages/project-config/src/node.ts:89](https://gitlab.com/wetryfun/project/project/-/blob/docs-v2.3.1/packages/project-config/src/node.ts#L89)
|
|
10
10
|
|
|
11
11
|
The configuration of the project in `folder`, the process's working folder by default, as
|
|
12
12
|
`loadConfig` of ./load reads it: the namespace `wtf` by default, of Node's platform and the
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
function loadConfigSync(folder?, options?): ResolvedConfig;
|
|
7
7
|
```
|
|
8
8
|
|
|
9
|
-
Defined in: [packages/project-config/src/node.ts:104](https://gitlab.com/wetryfun/project/project/-/blob/docs-v2.3.
|
|
9
|
+
Defined in: [packages/project-config/src/node.ts:104](https://gitlab.com/wetryfun/project/project/-/blob/docs-v2.3.1/packages/project-config/src/node.ts#L104)
|
|
10
10
|
|
|
11
11
|
The configuration of the project in `folder`, the process's working folder by default, as
|
|
12
12
|
`loadConfigSync` of ./load reads it, of a JSON file or package.json alone: of Node's platform
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
function nodeConfigPlatform(): FilesPlatform;
|
|
7
7
|
```
|
|
8
8
|
|
|
9
|
-
Defined in: [packages/project-config/src/node.ts:41](https://gitlab.com/wetryfun/project/project/-/blob/docs-v2.3.
|
|
9
|
+
Defined in: [packages/project-config/src/node.ts:41](https://gitlab.com/wetryfun/project/project/-/blob/docs-v2.3.1/packages/project-config/src/node.ts#L41)
|
|
10
10
|
|
|
11
11
|
Node's platform the configuration is read and written by: the disk from its root, its paths,
|
|
12
12
|
and the process's working folder.
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
function nodeLoadModule(root?, beside?): LoadModule;
|
|
7
7
|
```
|
|
8
8
|
|
|
9
|
-
Defined in: [packages/project-config/src/node.ts:148](https://gitlab.com/wetryfun/project/project/-/blob/docs-v2.3.
|
|
9
|
+
Defined in: [packages/project-config/src/node.ts:148](https://gitlab.com/wetryfun/project/project/-/blob/docs-v2.3.1/packages/project-config/src/node.ts#L148)
|
|
10
10
|
|
|
11
11
|
Node's loader of the modules a reference of ./named names, by `import()` of its file: a path, of
|
|
12
12
|
`root`, the root of the project, the process's working folder by default; a package, the one
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
function nodeSyncPlatform(): ConfigSyncPlatform;
|
|
7
7
|
```
|
|
8
8
|
|
|
9
|
-
Defined in: [packages/project-config/src/node.ts:53](https://gitlab.com/wetryfun/project/project/-/blob/docs-v2.3.
|
|
9
|
+
Defined in: [packages/project-config/src/node.ts:53](https://gitlab.com/wetryfun/project/project/-/blob/docs-v2.3.1/packages/project-config/src/node.ts#L53)
|
|
10
10
|
|
|
11
11
|
Node's platform the configuration is read by synchronously: the disk by `node:fs`, and its
|
|
12
12
|
paths.
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
function configPathOf(text): ConfigPath;
|
|
7
7
|
```
|
|
8
8
|
|
|
9
|
-
Defined in: [packages/project-config/src/path.ts:17](https://gitlab.com/wetryfun/project/project/-/blob/docs-v2.3.
|
|
9
|
+
Defined in: [packages/project-config/src/path.ts:17](https://gitlab.com/wetryfun/project/project/-/blob/docs-v2.3.1/packages/project-config/src/path.ts#L17)
|
|
10
10
|
|
|
11
11
|
The keys of `text`, a path as a person writes it: its keys, joined by `.`, as `vite.compress`; a
|
|
12
12
|
key of digits is an index of a list, `doctor.skip.0`, and `[0]` is the same, `doctor.skip[0]`.
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
function textOfConfigPath(path): string;
|
|
7
7
|
```
|
|
8
8
|
|
|
9
|
-
Defined in: [packages/project-config/src/path.ts:25](https://gitlab.com/wetryfun/project/project/-/blob/docs-v2.3.
|
|
9
|
+
Defined in: [packages/project-config/src/path.ts:25](https://gitlab.com/wetryfun/project/project/-/blob/docs-v2.3.1/packages/project-config/src/path.ts#L25)
|
|
10
10
|
|
|
11
11
|
`path` as a person reads it: its keys joined by `.`, and an index of a list in `[]`.
|
|
12
12
|
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
function valueAt(value, path): unknown;
|
|
7
7
|
```
|
|
8
8
|
|
|
9
|
-
Defined in: [packages/project-config/src/path.ts:33](https://gitlab.com/wetryfun/project/project/-/blob/docs-v2.3.
|
|
9
|
+
Defined in: [packages/project-config/src/path.ts:33](https://gitlab.com/wetryfun/project/project/-/blob/docs-v2.3.1/packages/project-config/src/path.ts#L33)
|
|
10
10
|
|
|
11
11
|
The value at `path` of `value`, by each key in turn: of an object, its own key; of a list, its
|
|
12
12
|
index. `undefined` when one is not there, or when a value on the way is no object or list.
|
|
@@ -10,7 +10,7 @@ function expandPlaceholders(
|
|
|
10
10
|
): unknown;
|
|
11
11
|
```
|
|
12
12
|
|
|
13
|
-
Defined in: [packages/project-config/src/placeholder.ts:57](https://gitlab.com/wetryfun/project/project/-/blob/docs-v2.3.
|
|
13
|
+
Defined in: [packages/project-config/src/placeholder.ts:57](https://gitlab.com/wetryfun/project/project/-/blob/docs-v2.3.1/packages/project-config/src/placeholder.ts#L57)
|
|
14
14
|
|
|
15
15
|
`value` with [expandString](expandString.md) of every string in it, at any depth, in the objects and lists:
|
|
16
16
|
the values of an object, and not its keys; a number, a boolean, `null`, and anything that is no
|
|
@@ -10,7 +10,7 @@ function expandString(
|
|
|
10
10
|
): string;
|
|
11
11
|
```
|
|
12
12
|
|
|
13
|
-
Defined in: [packages/project-config/src/placeholder.ts:34](https://gitlab.com/wetryfun/project/project/-/blob/docs-v2.3.
|
|
13
|
+
Defined in: [packages/project-config/src/placeholder.ts:34](https://gitlab.com/wetryfun/project/project/-/blob/docs-v2.3.1/packages/project-config/src/placeholder.ts#L34)
|
|
14
14
|
|
|
15
15
|
`text` with each placeholder `${env:NAME}` taken for the variable `NAME` of `environment`, and
|
|
16
16
|
each `$${env:NAME}` for the text `${env:NAME}`; the rest as it is. What a variable holds is not
|
|
@@ -10,7 +10,7 @@ function namespaceSchema(
|
|
|
10
10
|
): object;
|
|
11
11
|
```
|
|
12
12
|
|
|
13
|
-
Defined in: [packages/project-config/src/schema.ts:52](https://gitlab.com/wetryfun/project/project/-/blob/docs-v2.3.
|
|
13
|
+
Defined in: [packages/project-config/src/schema.ts:52](https://gitlab.com/wetryfun/project/project/-/blob/docs-v2.3.1/packages/project-config/src/schema.ts#L52)
|
|
14
14
|
|
|
15
15
|
The JSON Schema of the configuration of `namespace`, of draft 2020-12, of `sections`, the schema
|
|
16
16
|
of each section by its name: a JSON Schema, or a Standard Schema that gives one, as zod's and
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
function sectionIdOf(namespace, name): string;
|
|
7
7
|
```
|
|
8
8
|
|
|
9
|
-
Defined in: [packages/project-config/src/schema.ts:27](https://gitlab.com/wetryfun/project/project/-/blob/docs-v2.3.
|
|
9
|
+
Defined in: [packages/project-config/src/schema.ts:27](https://gitlab.com/wetryfun/project/project/-/blob/docs-v2.3.1/packages/project-config/src/schema.ts#L27)
|
|
10
10
|
|
|
11
11
|
The `$id` of a section's schema that has none: a `$ref` in it, as `#/$defs/x`, is then of the
|
|
12
12
|
section's own schema, and not of the whole.
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
type NamespaceSchemaOptions = object;
|
|
7
7
|
```
|
|
8
8
|
|
|
9
|
-
Defined in: [packages/project-config/src/schema.ts:30](https://gitlab.com/wetryfun/project/project/-/blob/docs-v2.3.
|
|
9
|
+
Defined in: [packages/project-config/src/schema.ts:30](https://gitlab.com/wetryfun/project/project/-/blob/docs-v2.3.1/packages/project-config/src/schema.ts#L30)
|
|
10
10
|
|
|
11
11
|
What the schema of the whole says of itself.
|
|
12
12
|
|
|
@@ -18,7 +18,7 @@ What the schema of the whole says of itself.
|
|
|
18
18
|
readonly optional description?: string;
|
|
19
19
|
```
|
|
20
20
|
|
|
21
|
-
Defined in: [packages/project-config/src/schema.ts:32](https://gitlab.com/wetryfun/project/project/-/blob/docs-v2.3.
|
|
21
|
+
Defined in: [packages/project-config/src/schema.ts:32](https://gitlab.com/wetryfun/project/project/-/blob/docs-v2.3.1/packages/project-config/src/schema.ts#L32)
|
|
22
22
|
|
|
23
23
|
***
|
|
24
24
|
|
|
@@ -28,4 +28,4 @@ Defined in: [packages/project-config/src/schema.ts:32](https://gitlab.com/wetryf
|
|
|
28
28
|
readonly optional title?: string;
|
|
29
29
|
```
|
|
30
30
|
|
|
31
|
-
Defined in: [packages/project-config/src/schema.ts:31](https://gitlab.com/wetryfun/project/project/-/blob/docs-v2.3.
|
|
31
|
+
Defined in: [packages/project-config/src/schema.ts:31](https://gitlab.com/wetryfun/project/project/-/blob/docs-v2.3.1/packages/project-config/src/schema.ts#L31)
|
|
@@ -6,6 +6,6 @@
|
|
|
6
6
|
const JSON_SCHEMA_DRAFT: "https://json-schema.org/draft/2020-12/schema" = 'https://json-schema.org/draft/2020-12/schema';
|
|
7
7
|
```
|
|
8
8
|
|
|
9
|
-
Defined in: [packages/project-config/src/schema.ts:21](https://gitlab.com/wetryfun/project/project/-/blob/docs-v2.3.
|
|
9
|
+
Defined in: [packages/project-config/src/schema.ts:21](https://gitlab.com/wetryfun/project/project/-/blob/docs-v2.3.1/packages/project-config/src/schema.ts#L21)
|
|
10
10
|
|
|
11
11
|
The draft of the JSON Schema [namespaceSchema](../functions/namespaceSchema.md) gives, and a section's is read as.
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
function issuesOf<T>(value, schema): Promise<Checked<T>>;
|
|
7
7
|
```
|
|
8
8
|
|
|
9
|
-
Defined in: [packages/project-config/src/section.ts:124](https://gitlab.com/wetryfun/project/project/-/blob/docs-v2.3.
|
|
9
|
+
Defined in: [packages/project-config/src/section.ts:124](https://gitlab.com/wetryfun/project/project/-/blob/docs-v2.3.1/packages/project-config/src/section.ts#L124)
|
|
10
10
|
|
|
11
11
|
What `schema` finds wrong with `value`, none when it is valid, and the value as it reads it: a
|
|
12
12
|
Standard Schema's output, or `value` itself. A Standard Schema that validates is asked; a JSON
|
|
@@ -10,7 +10,7 @@ function issuesOfSync<T>(
|
|
|
10
10
|
): Checked<T>;
|
|
11
11
|
```
|
|
12
12
|
|
|
13
|
-
Defined in: [packages/project-config/src/section.ts:137](https://gitlab.com/wetryfun/project/project/-/blob/docs-v2.3.
|
|
13
|
+
Defined in: [packages/project-config/src/section.ts:137](https://gitlab.com/wetryfun/project/project/-/blob/docs-v2.3.1/packages/project-config/src/section.ts#L137)
|
|
14
14
|
|
|
15
15
|
What `schema` finds wrong with `value`, as [issuesOf](issuesOf.md) checks it, checked synchronously: a
|
|
16
16
|
schema that answers with a promise is a [SyncSchemaError](../../errors/classes/SyncSchemaError.md) of the section `section`.
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
function mergeSection(under, over): unknown;
|
|
7
7
|
```
|
|
8
8
|
|
|
9
|
-
Defined in: [packages/project-config/src/merge.ts:23](https://gitlab.com/wetryfun/project/project/-/blob/docs-v2.3.
|
|
9
|
+
Defined in: [packages/project-config/src/merge.ts:23](https://gitlab.com/wetryfun/project/project/-/blob/docs-v2.3.1/packages/project-config/src/merge.ts#L23)
|
|
10
10
|
|
|
11
11
|
`over` merged over `under`, as a project's section is over the defaults of its tool: two objects
|
|
12
12
|
key by key, each key's value merged so; else `over`, a list, a value or `null` as it is, and
|
|
@@ -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:238](https://gitlab.com/wetryfun/project/project/-/blob/docs-v2.3.
|
|
13
|
+
Defined in: [packages/project-config/src/section.ts:238](https://gitlab.com/wetryfun/project/project/-/blob/docs-v2.3.1/packages/project-config/src/section.ts#L238)
|
|
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
|
|
@@ -10,7 +10,7 @@ function sectionOfSync<T>(
|
|
|
10
10
|
): T | undefined;
|
|
11
11
|
```
|
|
12
12
|
|
|
13
|
-
Defined in: [packages/project-config/src/section.ts:256](https://gitlab.com/wetryfun/project/project/-/blob/docs-v2.3.
|
|
13
|
+
Defined in: [packages/project-config/src/section.ts:256](https://gitlab.com/wetryfun/project/project/-/blob/docs-v2.3.1/packages/project-config/src/section.ts#L256)
|
|
14
14
|
|
|
15
15
|
The section `name` of the configuration, as [sectionOf](sectionOf.md) reads it, checked synchronously,
|
|
16
16
|
as a tool that reads its config synchronously reads it with `loadConfigSync` of ./load. A schema
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
type Checked<T> = object;
|
|
7
7
|
```
|
|
8
8
|
|
|
9
|
-
Defined in: [packages/project-config/src/section.ts:43](https://gitlab.com/wetryfun/project/project/-/blob/docs-v2.3.
|
|
9
|
+
Defined in: [packages/project-config/src/section.ts:43](https://gitlab.com/wetryfun/project/project/-/blob/docs-v2.3.1/packages/project-config/src/section.ts#L43)
|
|
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:43](https://gitlab.com/wetryfun/project/project/-/blob/docs-v2.3.
|
|
28
|
+
Defined in: [packages/project-config/src/section.ts:43](https://gitlab.com/wetryfun/project/project/-/blob/docs-v2.3.1/packages/project-config/src/section.ts#L43)
|
|
29
29
|
|
|
30
30
|
***
|
|
31
31
|
|
|
@@ -35,4 +35,4 @@ Defined in: [packages/project-config/src/section.ts:43](https://gitlab.com/wetry
|
|
|
35
35
|
readonly value: T;
|
|
36
36
|
```
|
|
37
37
|
|
|
38
|
-
Defined in: [packages/project-config/src/section.ts:43](https://gitlab.com/wetryfun/project/project/-/blob/docs-v2.3.
|
|
38
|
+
Defined in: [packages/project-config/src/section.ts:43](https://gitlab.com/wetryfun/project/project/-/blob/docs-v2.3.1/packages/project-config/src/section.ts#L43)
|
|
@@ -11,7 +11,7 @@ function setConfigValue(
|
|
|
11
11
|
): Promise<ConfigWrite>;
|
|
12
12
|
```
|
|
13
13
|
|
|
14
|
-
Defined in: [packages/project-config/src/write.ts:210](https://gitlab.com/wetryfun/project/project/-/blob/docs-v2.3.
|
|
14
|
+
Defined in: [packages/project-config/src/write.ts:210](https://gitlab.com/wetryfun/project/project/-/blob/docs-v2.3.1/packages/project-config/src/write.ts#L210)
|
|
15
15
|
|
|
16
16
|
Set `value` at `path` of the configuration of the project in `folder`: in the file in use, the
|
|
17
17
|
key of package.json (the namespace by default) or a JSON file of the names
|
|
@@ -10,7 +10,7 @@ function unsetConfigValue(
|
|
|
10
10
|
): Promise<ConfigWrite>;
|
|
11
11
|
```
|
|
12
12
|
|
|
13
|
-
Defined in: [packages/project-config/src/write.ts:246](https://gitlab.com/wetryfun/project/project/-/blob/docs-v2.3.
|
|
13
|
+
Defined in: [packages/project-config/src/write.ts:246](https://gitlab.com/wetryfun/project/project/-/blob/docs-v2.3.1/packages/project-config/src/write.ts#L246)
|
|
14
14
|
|
|
15
15
|
Take away the value at `path` of the configuration of the project in `folder`, in the file in
|
|
16
16
|
use: a JSON file of the names (`<namespace>.config.json` by default) or the key of package.json
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
type WriteOptions = LocateOptions & object;
|
|
7
7
|
```
|
|
8
8
|
|
|
9
|
-
Defined in: [packages/project-config/src/write.ts:39](https://gitlab.com/wetryfun/project/project/-/blob/docs-v2.3.
|
|
9
|
+
Defined in: [packages/project-config/src/write.ts:39](https://gitlab.com/wetryfun/project/project/-/blob/docs-v2.3.1/packages/project-config/src/write.ts#L39)
|
|
10
10
|
|
|
11
11
|
How a value of the configuration is written: where it is looked for, of the namespace and the
|
|
12
12
|
names of `ConfigNames`, each its default when it is not given, and the file to write.
|
|
@@ -15,4 +15,4 @@ names of `ConfigNames`, each its default when it is not given, and the file to w
|
|
|
15
15
|
|
|
16
16
|
| Name | Type | Description | Defined in |
|
|
17
17
|
| ------ | ------ | ------ | ------ |
|
|
18
|
-
| `file?` | `string` | The file to write: where none holds the configuration, the one to make it in, the key of package.json (`package.json`) by default, or a JSON file of the names, as `<namespace>.config.json`; where one does, it must be that one, or the write is a `ConfigFileMismatchError`. Any other file is an `UnwritableConfigFileError`. | [packages/project-config/src/write.ts:46](https://gitlab.com/wetryfun/project/project/-/blob/docs-v2.3.
|
|
18
|
+
| `file?` | `string` | The file to write: where none holds the configuration, the one to make it in, the key of package.json (`package.json`) by default, or a JSON file of the names, as `<namespace>.config.json`; where one does, it must be that one, or the write is a `ConfigFileMismatchError`. Any other file is an `UnwritableConfigFileError`. | [packages/project-config/src/write.ts:46](https://gitlab.com/wetryfun/project/project/-/blob/docs-v2.3.1/packages/project-config/src/write.ts#L46) |
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
function oxfmtConfig(options?): OxfmtConfig;
|
|
7
7
|
```
|
|
8
8
|
|
|
9
|
-
Defined in: [packages/project-oxfmt/src/config.ts:37](https://gitlab.com/wetryfun/project/project/-/blob/docs-v2.3.
|
|
9
|
+
Defined in: [packages/project-oxfmt/src/config.ts:37](https://gitlab.com/wetryfun/project/project/-/blob/docs-v2.3.1/packages/project-oxfmt/src/config.ts#L37)
|
|
10
10
|
|
|
11
11
|
The preset with `options` over it, each in place of the preset's: `ignorePatterns` given is the
|
|
12
12
|
whole list.
|
|
@@ -6,6 +6,6 @@
|
|
|
6
6
|
type OxfmtOptions = OxfmtConfig;
|
|
7
7
|
```
|
|
8
8
|
|
|
9
|
-
Defined in: [packages/project-oxfmt/src/config.ts:14](https://gitlab.com/wetryfun/project/project/-/blob/docs-v2.3.
|
|
9
|
+
Defined in: [packages/project-oxfmt/src/config.ts:14](https://gitlab.com/wetryfun/project/project/-/blob/docs-v2.3.1/packages/project-oxfmt/src/config.ts#L14)
|
|
10
10
|
|
|
11
11
|
What [oxfmtConfig](../functions/oxfmtConfig.md) takes: any option of oxfmt's config, each in place of the preset's.
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
const OXFMT_DEFAULTS: object;
|
|
7
7
|
```
|
|
8
8
|
|
|
9
|
-
Defined in: [packages/project-oxfmt/src/config.ts:17](https://gitlab.com/wetryfun/project/project/-/blob/docs-v2.3.
|
|
9
|
+
Defined in: [packages/project-oxfmt/src/config.ts:17](https://gitlab.com/wetryfun/project/project/-/blob/docs-v2.3.1/packages/project-oxfmt/src/config.ts#L17)
|
|
10
10
|
|
|
11
11
|
The preset's own options, which [oxfmtConfig](../functions/oxfmtConfig.md) lays a repo's over.
|
|
12
12
|
|
|
@@ -14,8 +14,8 @@ The preset's own options, which [oxfmtConfig](../functions/oxfmtConfig.md) lays
|
|
|
14
14
|
|
|
15
15
|
| Name | Type | Default value | Defined in |
|
|
16
16
|
| ------ | ------ | ------ | ------ |
|
|
17
|
-
| <a id="property-ignorepatterns"></a> `ignorePatterns` | `string`[] | - | [packages/project-oxfmt/src/config.ts:18](https://gitlab.com/wetryfun/project/project/-/blob/docs-v2.3.
|
|
18
|
-
| <a id="property-printwidth"></a> `printWidth` | `number` | `100` | [packages/project-oxfmt/src/config.ts:19](https://gitlab.com/wetryfun/project/project/-/blob/docs-v2.3.
|
|
19
|
-
| <a id="property-semi"></a> `semi` | `false` | `false` | [packages/project-oxfmt/src/config.ts:21](https://gitlab.com/wetryfun/project/project/-/blob/docs-v2.3.
|
|
20
|
-
| <a id="property-singlequote"></a> `singleQuote` | `true` | `true` | [packages/project-oxfmt/src/config.ts:22](https://gitlab.com/wetryfun/project/project/-/blob/docs-v2.3.
|
|
21
|
-
| <a id="property-trailingcomma"></a> `trailingComma` | `"none"` | `'none'` | [packages/project-oxfmt/src/config.ts:20](https://gitlab.com/wetryfun/project/project/-/blob/docs-v2.3.
|
|
17
|
+
| <a id="property-ignorepatterns"></a> `ignorePatterns` | `string`[] | - | [packages/project-oxfmt/src/config.ts:18](https://gitlab.com/wetryfun/project/project/-/blob/docs-v2.3.1/packages/project-oxfmt/src/config.ts#L18) |
|
|
18
|
+
| <a id="property-printwidth"></a> `printWidth` | `number` | `100` | [packages/project-oxfmt/src/config.ts:19](https://gitlab.com/wetryfun/project/project/-/blob/docs-v2.3.1/packages/project-oxfmt/src/config.ts#L19) |
|
|
19
|
+
| <a id="property-semi"></a> `semi` | `false` | `false` | [packages/project-oxfmt/src/config.ts:21](https://gitlab.com/wetryfun/project/project/-/blob/docs-v2.3.1/packages/project-oxfmt/src/config.ts#L21) |
|
|
20
|
+
| <a id="property-singlequote"></a> `singleQuote` | `true` | `true` | [packages/project-oxfmt/src/config.ts:22](https://gitlab.com/wetryfun/project/project/-/blob/docs-v2.3.1/packages/project-oxfmt/src/config.ts#L22) |
|
|
21
|
+
| <a id="property-trailingcomma"></a> `trailingComma` | `"none"` | `'none'` | [packages/project-oxfmt/src/config.ts:20](https://gitlab.com/wetryfun/project/project/-/blob/docs-v2.3.1/packages/project-oxfmt/src/config.ts#L20) |
|
|
@@ -6,6 +6,6 @@
|
|
|
6
6
|
default: OxfmtConfig;
|
|
7
7
|
```
|
|
8
8
|
|
|
9
|
-
Defined in: [packages/project-oxfmt/src/config.ts:41](https://gitlab.com/wetryfun/project/project/-/blob/docs-v2.3.
|
|
9
|
+
Defined in: [packages/project-oxfmt/src/config.ts:41](https://gitlab.com/wetryfun/project/project/-/blob/docs-v2.3.1/packages/project-oxfmt/src/config.ts#L41)
|
|
10
10
|
|
|
11
11
|
The preset, with no options of a repo's own: [oxfmtConfig](../functions/oxfmtConfig.md) of none.
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
const oxfmtSchema: StandardSchemaV1<OxfmtOptions> & StandardJSONSchemaV1<OxfmtOptions>;
|
|
7
7
|
```
|
|
8
8
|
|
|
9
|
-
Defined in: [packages/project-oxfmt/src/schema.ts:49](https://gitlab.com/wetryfun/project/project/-/blob/docs-v2.3.
|
|
9
|
+
Defined in: [packages/project-oxfmt/src/schema.ts:49](https://gitlab.com/wetryfun/project/project/-/blob/docs-v2.3.1/packages/project-oxfmt/src/schema.ts#L49)
|
|
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-v2.3.
|
|
9
|
+
Defined in: [packages/project-oxlint/src/config.ts:52](https://gitlab.com/wetryfun/project/project/-/blob/docs-v2.3.1/packages/project-oxlint/src/config.ts#L52)
|
|
10
10
|
|
|
11
11
|
The preset with `options` over it: `categories`, `rules` and `env` key by key over the preset's,
|
|
12
12
|
so a rule given is set and every other kept; and each other option in place of the preset's.
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
type OxlintOptions = OxlintConfig;
|
|
7
7
|
```
|
|
8
8
|
|
|
9
|
-
Defined in: [packages/project-oxlint/src/config.ts:18](https://gitlab.com/wetryfun/project/project/-/blob/docs-v2.3.
|
|
9
|
+
Defined in: [packages/project-oxlint/src/config.ts:18](https://gitlab.com/wetryfun/project/project/-/blob/docs-v2.3.1/packages/project-oxlint/src/config.ts#L18)
|
|
10
10
|
|
|
11
11
|
What [oxlintConfig](../functions/oxlintConfig.md) takes: any option of oxlint's config. `categories`, `rules` and `env`
|
|
12
12
|
are laid over the preset's, key by key; each other option, as `plugins` or `ignorePatterns`,
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
const OXLINT_DEFAULTS: object;
|
|
7
7
|
```
|
|
8
8
|
|
|
9
|
-
Defined in: [packages/project-oxlint/src/config.ts:21](https://gitlab.com/wetryfun/project/project/-/blob/docs-v2.3.
|
|
9
|
+
Defined in: [packages/project-oxlint/src/config.ts:21](https://gitlab.com/wetryfun/project/project/-/blob/docs-v2.3.1/packages/project-oxlint/src/config.ts#L21)
|
|
10
10
|
|
|
11
11
|
The preset's own options, which [oxlintConfig](../functions/oxlintConfig.md) lays a repo's over.
|
|
12
12
|
|
|
@@ -14,19 +14,19 @@ The preset's own options, which [oxlintConfig](../functions/oxlintConfig.md) lay
|
|
|
14
14
|
|
|
15
15
|
| Name | Type | Default value | Defined in |
|
|
16
16
|
| ------ | ------ | ------ | ------ |
|
|
17
|
-
| <a id="property-categories"></a> `categories` | `object` | - | [packages/project-oxlint/src/config.ts:23](https://gitlab.com/wetryfun/project/project/-/blob/docs-v2.3.
|
|
18
|
-
| `categories.correctness` | `"error"` | `'error'` | [packages/project-oxlint/src/config.ts:24](https://gitlab.com/wetryfun/project/project/-/blob/docs-v2.3.
|
|
19
|
-
| `categories.pedantic` | `"off"` | `'off'` | [packages/project-oxlint/src/config.ts:26](https://gitlab.com/wetryfun/project/project/-/blob/docs-v2.3.
|
|
20
|
-
| `categories.perf` | `"warn"` | `'warn'` | [packages/project-oxlint/src/config.ts:27](https://gitlab.com/wetryfun/project/project/-/blob/docs-v2.3.
|
|
21
|
-
| `categories.style` | `"off"` | `'off'` | [packages/project-oxlint/src/config.ts:28](https://gitlab.com/wetryfun/project/project/-/blob/docs-v2.3.
|
|
22
|
-
| `categories.suspicious` | `"warn"` | `'warn'` | [packages/project-oxlint/src/config.ts:25](https://gitlab.com/wetryfun/project/project/-/blob/docs-v2.3.
|
|
23
|
-
| <a id="property-env"></a> `env` | `object` | - | [packages/project-oxlint/src/config.ts:36](https://gitlab.com/wetryfun/project/project/-/blob/docs-v2.3.
|
|
24
|
-
| `env.es2025` | `true` | `true` | [packages/project-oxlint/src/config.ts:36](https://gitlab.com/wetryfun/project/project/-/blob/docs-v2.3.
|
|
25
|
-
| `env.node` | `true` | `true` | [packages/project-oxlint/src/config.ts:36](https://gitlab.com/wetryfun/project/project/-/blob/docs-v2.3.
|
|
26
|
-
| <a id="property-ignorepatterns"></a> `ignorePatterns` | `string`[] | - | [packages/project-oxlint/src/config.ts:37](https://gitlab.com/wetryfun/project/project/-/blob/docs-v2.3.
|
|
27
|
-
| <a id="property-plugins"></a> `plugins` | (`"unicorn"` \| `"typescript"` \| `"import"`)[] | - | [packages/project-oxlint/src/config.ts:22](https://gitlab.com/wetryfun/project/project/-/blob/docs-v2.3.
|
|
28
|
-
| <a id="property-rules"></a> `rules` | `object` | - | [packages/project-oxlint/src/config.ts:30](https://gitlab.com/wetryfun/project/project/-/blob/docs-v2.3.
|
|
29
|
-
| `rules.eqeqeq` | `"error"` | `'error'` | [packages/project-oxlint/src/config.ts:32](https://gitlab.com/wetryfun/project/project/-/blob/docs-v2.3.
|
|
30
|
-
| `rules.import/no-cycle` | `"error"` | `'error'` | [packages/project-oxlint/src/config.ts:31](https://gitlab.com/wetryfun/project/project/-/blob/docs-v2.3.
|
|
31
|
-
| `rules.typescript/no-explicit-any` | `"error"` | `'error'` | [packages/project-oxlint/src/config.ts:33](https://gitlab.com/wetryfun/project/project/-/blob/docs-v2.3.
|
|
32
|
-
| `rules.typescript/no-unused-vars` | \[`"error"`, \{ `argsIgnorePattern`: `"^_"`; `varsIgnorePattern`: `"^_"`; \}\] | - | [packages/project-oxlint/src/config.ts:34](https://gitlab.com/wetryfun/project/project/-/blob/docs-v2.3.
|
|
17
|
+
| <a id="property-categories"></a> `categories` | `object` | - | [packages/project-oxlint/src/config.ts:23](https://gitlab.com/wetryfun/project/project/-/blob/docs-v2.3.1/packages/project-oxlint/src/config.ts#L23) |
|
|
18
|
+
| `categories.correctness` | `"error"` | `'error'` | [packages/project-oxlint/src/config.ts:24](https://gitlab.com/wetryfun/project/project/-/blob/docs-v2.3.1/packages/project-oxlint/src/config.ts#L24) |
|
|
19
|
+
| `categories.pedantic` | `"off"` | `'off'` | [packages/project-oxlint/src/config.ts:26](https://gitlab.com/wetryfun/project/project/-/blob/docs-v2.3.1/packages/project-oxlint/src/config.ts#L26) |
|
|
20
|
+
| `categories.perf` | `"warn"` | `'warn'` | [packages/project-oxlint/src/config.ts:27](https://gitlab.com/wetryfun/project/project/-/blob/docs-v2.3.1/packages/project-oxlint/src/config.ts#L27) |
|
|
21
|
+
| `categories.style` | `"off"` | `'off'` | [packages/project-oxlint/src/config.ts:28](https://gitlab.com/wetryfun/project/project/-/blob/docs-v2.3.1/packages/project-oxlint/src/config.ts#L28) |
|
|
22
|
+
| `categories.suspicious` | `"warn"` | `'warn'` | [packages/project-oxlint/src/config.ts:25](https://gitlab.com/wetryfun/project/project/-/blob/docs-v2.3.1/packages/project-oxlint/src/config.ts#L25) |
|
|
23
|
+
| <a id="property-env"></a> `env` | `object` | - | [packages/project-oxlint/src/config.ts:36](https://gitlab.com/wetryfun/project/project/-/blob/docs-v2.3.1/packages/project-oxlint/src/config.ts#L36) |
|
|
24
|
+
| `env.es2025` | `true` | `true` | [packages/project-oxlint/src/config.ts:36](https://gitlab.com/wetryfun/project/project/-/blob/docs-v2.3.1/packages/project-oxlint/src/config.ts#L36) |
|
|
25
|
+
| `env.node` | `true` | `true` | [packages/project-oxlint/src/config.ts:36](https://gitlab.com/wetryfun/project/project/-/blob/docs-v2.3.1/packages/project-oxlint/src/config.ts#L36) |
|
|
26
|
+
| <a id="property-ignorepatterns"></a> `ignorePatterns` | `string`[] | - | [packages/project-oxlint/src/config.ts:37](https://gitlab.com/wetryfun/project/project/-/blob/docs-v2.3.1/packages/project-oxlint/src/config.ts#L37) |
|
|
27
|
+
| <a id="property-plugins"></a> `plugins` | (`"unicorn"` \| `"typescript"` \| `"import"`)[] | - | [packages/project-oxlint/src/config.ts:22](https://gitlab.com/wetryfun/project/project/-/blob/docs-v2.3.1/packages/project-oxlint/src/config.ts#L22) |
|
|
28
|
+
| <a id="property-rules"></a> `rules` | `object` | - | [packages/project-oxlint/src/config.ts:30](https://gitlab.com/wetryfun/project/project/-/blob/docs-v2.3.1/packages/project-oxlint/src/config.ts#L30) |
|
|
29
|
+
| `rules.eqeqeq` | `"error"` | `'error'` | [packages/project-oxlint/src/config.ts:32](https://gitlab.com/wetryfun/project/project/-/blob/docs-v2.3.1/packages/project-oxlint/src/config.ts#L32) |
|
|
30
|
+
| `rules.import/no-cycle` | `"error"` | `'error'` | [packages/project-oxlint/src/config.ts:31](https://gitlab.com/wetryfun/project/project/-/blob/docs-v2.3.1/packages/project-oxlint/src/config.ts#L31) |
|
|
31
|
+
| `rules.typescript/no-explicit-any` | `"error"` | `'error'` | [packages/project-oxlint/src/config.ts:33](https://gitlab.com/wetryfun/project/project/-/blob/docs-v2.3.1/packages/project-oxlint/src/config.ts#L33) |
|
|
32
|
+
| `rules.typescript/no-unused-vars` | \[`"error"`, \{ `argsIgnorePattern`: `"^_"`; `varsIgnorePattern`: `"^_"`; \}\] | - | [packages/project-oxlint/src/config.ts:34](https://gitlab.com/wetryfun/project/project/-/blob/docs-v2.3.1/packages/project-oxlint/src/config.ts#L34) |
|
|
@@ -6,6 +6,6 @@
|
|
|
6
6
|
default: OxlintConfig;
|
|
7
7
|
```
|
|
8
8
|
|
|
9
|
-
Defined in: [packages/project-oxlint/src/config.ts:64](https://gitlab.com/wetryfun/project/project/-/blob/docs-v2.3.
|
|
9
|
+
Defined in: [packages/project-oxlint/src/config.ts:64](https://gitlab.com/wetryfun/project/project/-/blob/docs-v2.3.1/packages/project-oxlint/src/config.ts#L64)
|
|
10
10
|
|
|
11
11
|
The preset, with no options of a repo's own: [oxlintConfig](../functions/oxlintConfig.md) of none.
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
const oxlintSchema: StandardSchemaV1<OxlintOptions> & StandardJSONSchemaV1<OxlintOptions>;
|
|
7
7
|
```
|
|
8
8
|
|
|
9
|
-
Defined in: [packages/project-oxlint/src/schema.ts:72](https://gitlab.com/wetryfun/project/project/-/blob/docs-v2.3.
|
|
9
|
+
Defined in: [packages/project-oxlint/src/schema.ts:72](https://gitlab.com/wetryfun/project/project/-/blob/docs-v2.3.1/packages/project-oxlint/src/schema.ts#L72)
|
|
10
10
|
|
|
11
11
|
The schema of the options of `oxlintConfig()` of ./config: oxlint's config, of its `plugins`,
|
|
12
12
|
`categories`, `rules`, `env` and `ignorePatterns` checked, and any other option of oxlint.
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
const SOURCE_CONDITION: "@wtf/source" = '@wtf/source';
|
|
7
7
|
```
|
|
8
8
|
|
|
9
|
-
Defined in: [packages/project-resolve/src/condition.ts:21](https://gitlab.com/wetryfun/project/project/-/blob/docs-v2.3.
|
|
9
|
+
Defined in: [packages/project-resolve/src/condition.ts:21](https://gitlab.com/wetryfun/project/project/-/blob/docs-v2.3.1/packages/project-resolve/src/condition.ts#L21)
|
|
10
10
|
|
|
11
11
|
The export condition of a package's TypeScript source, `@wtf/source`: in an export map, the
|
|
12
12
|
entry before `types` and `default`, as `"@wtf/source": "./src/index.ts"`. A workspace resolves a
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
function isHook(specifier): boolean;
|
|
7
7
|
```
|
|
8
8
|
|
|
9
|
-
Defined in: [packages/project-resolve/src/env.ts:34](https://gitlab.com/wetryfun/project/project/-/blob/docs-v2.3.
|
|
9
|
+
Defined in: [packages/project-resolve/src/env.ts:34](https://gitlab.com/wetryfun/project/project/-/blob/docs-v2.3.1/packages/project-resolve/src/env.ts#L34)
|
|
10
10
|
|
|
11
11
|
Whether `specifier`, as `--import` takes it, is the module of the resolve hook.
|
|
12
12
|
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
function optionsWithoutHook(options): string;
|
|
7
7
|
```
|
|
8
8
|
|
|
9
|
-
Defined in: [packages/project-resolve/src/env.ts:40](https://gitlab.com/wetryfun/project/project/-/blob/docs-v2.3.
|
|
9
|
+
Defined in: [packages/project-resolve/src/env.ts:40](https://gitlab.com/wetryfun/project/project/-/blob/docs-v2.3.1/packages/project-resolve/src/env.ts#L40)
|
|
10
10
|
|
|
11
11
|
`NODE_OPTIONS` with no resolve hook: each `--import` of it, as `--import=<hook>` or
|
|
12
12
|
`--import <hook>`, taken out, and each other option kept, in order.
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
function withoutHook(env): Readonly<Record<string, string | undefined>> & object;
|
|
7
7
|
```
|
|
8
8
|
|
|
9
|
-
Defined in: [packages/project-resolve/src/env.ts:60](https://gitlab.com/wetryfun/project/project/-/blob/docs-v2.3.
|
|
9
|
+
Defined in: [packages/project-resolve/src/env.ts:60](https://gitlab.com/wetryfun/project/project/-/blob/docs-v2.3.1/packages/project-resolve/src/env.ts#L60)
|
|
10
10
|
|
|
11
11
|
`env`, an environment as a process has it, with no resolve hook in `NODE_OPTIONS`, and every
|
|
12
12
|
other variable and option as it is. `NODE_OPTIONS` is a string, empty when nothing is left, so it
|
|
@@ -6,6 +6,6 @@
|
|
|
6
6
|
type Env = Readonly<Record<string, string | undefined>>;
|
|
7
7
|
```
|
|
8
8
|
|
|
9
|
-
Defined in: [packages/project-resolve/src/env.ts:24](https://gitlab.com/wetryfun/project/project/-/blob/docs-v2.3.
|
|
9
|
+
Defined in: [packages/project-resolve/src/env.ts:24](https://gitlab.com/wetryfun/project/project/-/blob/docs-v2.3.1/packages/project-resolve/src/env.ts#L24)
|
|
10
10
|
|
|
11
11
|
An environment, as Node's `process.env` is, and as a spawn takes it.
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
# Class: ResolveError
|
|
4
4
|
|
|
5
|
-
Defined in: [packages/project-resolve/src/errors.ts:13](https://gitlab.com/wetryfun/project/project/-/blob/docs-v2.3.
|
|
5
|
+
Defined in: [packages/project-resolve/src/errors.ts:13](https://gitlab.com/wetryfun/project/project/-/blob/docs-v2.3.1/packages/project-resolve/src/errors.ts#L13)
|
|
6
6
|
|
|
7
7
|
What this package throws: an Error with a stable SCREAMING_SNAKE `code`, and the `exitCode` a
|
|
8
8
|
command that fails by it exits with, 1.
|
|
@@ -28,7 +28,7 @@ new ResolveError(
|
|
|
28
28
|
): ResolveError;
|
|
29
29
|
```
|
|
30
30
|
|
|
31
|
-
Defined in: [packages/project-resolve/src/errors.ts:18](https://gitlab.com/wetryfun/project/project/-/blob/docs-v2.3.
|
|
31
|
+
Defined in: [packages/project-resolve/src/errors.ts:18](https://gitlab.com/wetryfun/project/project/-/blob/docs-v2.3.1/packages/project-resolve/src/errors.ts#L18)
|
|
32
32
|
|
|
33
33
|
#### Parameters
|
|
34
34
|
|
|
@@ -53,8 +53,8 @@ Error.constructor
|
|
|
53
53
|
| Property | Modifier | Type | Default value | Description | Inherited from | Defined in |
|
|
54
54
|
| ------ | ------ | ------ | ------ | ------ | ------ | ------ |
|
|
55
55
|
| <a id="property-cause"></a> `cause?` | `public` | `unknown` | `undefined` | - | `Error.cause` | - |
|
|
56
|
-
| <a id="property-code"></a> `code` | `readonly` | `string` | `undefined` | - | - | [packages/project-resolve/src/errors.ts:14](https://gitlab.com/wetryfun/project/project/-/blob/docs-v2.3.
|
|
57
|
-
| <a id="property-exitcode"></a> `exitCode` | `readonly` | `number` | `1` | What a command that fails by it exits with. | - | [packages/project-resolve/src/errors.ts:16](https://gitlab.com/wetryfun/project/project/-/blob/docs-v2.3.
|
|
56
|
+
| <a id="property-code"></a> `code` | `readonly` | `string` | `undefined` | - | - | [packages/project-resolve/src/errors.ts:14](https://gitlab.com/wetryfun/project/project/-/blob/docs-v2.3.1/packages/project-resolve/src/errors.ts#L14) |
|
|
57
|
+
| <a id="property-exitcode"></a> `exitCode` | `readonly` | `number` | `1` | What a command that fails by it exits with. | - | [packages/project-resolve/src/errors.ts:16](https://gitlab.com/wetryfun/project/project/-/blob/docs-v2.3.1/packages/project-resolve/src/errors.ts#L16) |
|
|
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` | - |
|