@wtf/project-docs 5.1.1 → 5.2.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/.generated +4 -0
- package/api/@wtf/project-astro/README.md +3 -1
- 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/README.md +4 -2
- 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 +36 -0
- 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/README.md +32 -0
- package/api/@wtf/project-astro/routes/functions/routeParams.md +26 -0
- package/api/@wtf/project-astro/routes/type-aliases/RouteParamsOptions.md +23 -0
- 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/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/astro.md +20 -0
- package/package.json +2 -2
|
@@ -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-v5.
|
|
5
|
+
Defined in: [packages/project-resolve/src/errors.ts:56](https://gitlab.com/wetryfun/project/project/-/blob/docs-v5.2.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-v5.
|
|
23
|
+
Defined in: [packages/project-resolve/src/errors.ts:66](https://gitlab.com/wetryfun/project/project/-/blob/docs-v5.2.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-v5.
|
|
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-v5.
|
|
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-v5.
|
|
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-v5.2.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-v5.2.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-v5.2.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-v5.
|
|
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-v5.2.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-v5.
|
|
5
|
+
Defined in: [packages/project-resolve/src/errors.ts:30](https://gitlab.com/wetryfun/project/project/-/blob/docs-v5.2.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-v5.
|
|
27
|
+
Defined in: [packages/project-resolve/src/errors.ts:34](https://gitlab.com/wetryfun/project/project/-/blob/docs-v5.2.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-v5.
|
|
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-v5.
|
|
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-v5.
|
|
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-v5.2.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-v5.2.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-v5.2.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-v5.
|
|
9
|
+
Defined in: [packages/project-resolve/src/hooks.ts:132](https://gitlab.com/wetryfun/project/project/-/blob/docs-v5.2.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-v5.
|
|
9
|
+
Defined in: [packages/project-resolve/src/hooks.ts:86](https://gitlab.com/wetryfun/project/project/-/blob/docs-v5.2.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-v5.
|
|
9
|
+
Defined in: [packages/project-resolve/src/hooks.ts:29](https://gitlab.com/wetryfun/project/project/-/blob/docs-v5.2.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-v5.
|
|
9
|
+
Defined in: [packages/project-resolve/src/hooks.ts:154](https://gitlab.com/wetryfun/project/project/-/blob/docs-v5.2.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-v5.
|
|
9
|
+
Defined in: [packages/project-resolve/src/node.ts:82](https://gitlab.com/wetryfun/project/project/-/blob/docs-v5.2.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-v5.
|
|
23
|
-
| `navigator.storage` | `object` | [packages/project-resolve/src/workspace.ts:91](https://gitlab.com/wetryfun/project/project/-/blob/docs-v5.
|
|
24
|
-
| `getDirectory()` | () => `Promise`\<[`WorkspaceDirectoryHandle`](../../workspace/type-aliases/WorkspaceDirectoryHandle.md)\> | [packages/project-resolve/src/workspace.ts:91](https://gitlab.com/wetryfun/project/project/-/blob/docs-v5.
|
|
25
|
-
| `path` | [`WorkspacePaths`](../../workspace/type-aliases/WorkspacePaths.md) | [packages/project-resolve/src/workspace.ts:93](https://gitlab.com/wetryfun/project/project/-/blob/docs-v5.
|
|
22
|
+
| `navigator` | `object` | [packages/project-resolve/src/workspace.ts:90](https://gitlab.com/wetryfun/project/project/-/blob/docs-v5.2.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-v5.2.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-v5.2.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-v5.2.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-v5.
|
|
9
|
+
Defined in: [packages/project-resolve/src/register.ts:43](https://gitlab.com/wetryfun/project/project/-/blob/docs-v5.2.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-v5.
|
|
9
|
+
Defined in: [packages/project-resolve/src/workspace.ts:291](https://gitlab.com/wetryfun/project/project/-/blob/docs-v5.2.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-v5.
|
|
9
|
+
Defined in: [packages/project-resolve/src/workspace.ts:710](https://gitlab.com/wetryfun/project/project/-/blob/docs-v5.2.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-v5.
|
|
9
|
+
Defined in: [packages/project-resolve/src/workspace.ts:592](https://gitlab.com/wetryfun/project/project/-/blob/docs-v5.2.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-v5.
|
|
9
|
+
Defined in: [packages/project-resolve/src/workspace.ts:607](https://gitlab.com/wetryfun/project/project/-/blob/docs-v5.2.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-v5.
|
|
9
|
+
Defined in: [packages/project-resolve/src/workspace.ts:619](https://gitlab.com/wetryfun/project/project/-/blob/docs-v5.2.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-v5.
|
|
9
|
+
Defined in: [packages/project-resolve/src/workspace.ts:641](https://gitlab.com/wetryfun/project/project/-/blob/docs-v5.2.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-v5.
|
|
9
|
+
Defined in: [packages/project-resolve/src/workspace.ts:102](https://gitlab.com/wetryfun/project/project/-/blob/docs-v5.2.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.
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
type DirectoryEntry = object;
|
|
7
7
|
```
|
|
8
8
|
|
|
9
|
-
Defined in: [packages/project-resolve/src/workspace.ts:30](https://gitlab.com/wetryfun/project/project/-/blob/docs-v5.
|
|
9
|
+
Defined in: [packages/project-resolve/src/workspace.ts:30](https://gitlab.com/wetryfun/project/project/-/blob/docs-v5.2.0/packages/project-resolve/src/workspace.ts#L30)
|
|
10
10
|
|
|
11
11
|
An entry of a folder: its name, and whether it is a file or a folder. A link is what it links
|
|
12
12
|
to, as the standard's handles have none.
|
|
@@ -19,7 +19,7 @@ to, as the standard's handles have none.
|
|
|
19
19
|
readonly name: string;
|
|
20
20
|
```
|
|
21
21
|
|
|
22
|
-
Defined in: [packages/project-resolve/src/workspace.ts:31](https://gitlab.com/wetryfun/project/project/-/blob/docs-v5.
|
|
22
|
+
Defined in: [packages/project-resolve/src/workspace.ts:31](https://gitlab.com/wetryfun/project/project/-/blob/docs-v5.2.0/packages/project-resolve/src/workspace.ts#L31)
|
|
23
23
|
|
|
24
24
|
## Methods
|
|
25
25
|
|
|
@@ -29,7 +29,7 @@ Defined in: [packages/project-resolve/src/workspace.ts:31](https://gitlab.com/we
|
|
|
29
29
|
isDirectory(): boolean;
|
|
30
30
|
```
|
|
31
31
|
|
|
32
|
-
Defined in: [packages/project-resolve/src/workspace.ts:33](https://gitlab.com/wetryfun/project/project/-/blob/docs-v5.
|
|
32
|
+
Defined in: [packages/project-resolve/src/workspace.ts:33](https://gitlab.com/wetryfun/project/project/-/blob/docs-v5.2.0/packages/project-resolve/src/workspace.ts#L33)
|
|
33
33
|
|
|
34
34
|
#### Returns
|
|
35
35
|
|
|
@@ -43,7 +43,7 @@ Defined in: [packages/project-resolve/src/workspace.ts:33](https://gitlab.com/we
|
|
|
43
43
|
isFile(): boolean;
|
|
44
44
|
```
|
|
45
45
|
|
|
46
|
-
Defined in: [packages/project-resolve/src/workspace.ts:32](https://gitlab.com/wetryfun/project/project/-/blob/docs-v5.
|
|
46
|
+
Defined in: [packages/project-resolve/src/workspace.ts:32](https://gitlab.com/wetryfun/project/project/-/blob/docs-v5.2.0/packages/project-resolve/src/workspace.ts#L32)
|
|
47
47
|
|
|
48
48
|
#### Returns
|
|
49
49
|
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
type FileContents = object;
|
|
7
7
|
```
|
|
8
8
|
|
|
9
|
-
Defined in: [packages/project-resolve/src/workspace.ts:46](https://gitlab.com/wetryfun/project/project/-/blob/docs-v5.
|
|
9
|
+
Defined in: [packages/project-resolve/src/workspace.ts:46](https://gitlab.com/wetryfun/project/project/-/blob/docs-v5.2.0/packages/project-resolve/src/workspace.ts#L46)
|
|
10
10
|
|
|
11
11
|
A file as its handle gives it, `getFile()`: its bytes, as text or as a buffer.
|
|
12
12
|
|
|
@@ -18,7 +18,7 @@ A file as its handle gives it, `getFile()`: its bytes, as text or as a buffer.
|
|
|
18
18
|
arrayBuffer(): Promise<ArrayBuffer>;
|
|
19
19
|
```
|
|
20
20
|
|
|
21
|
-
Defined in: [packages/project-resolve/src/workspace.ts:46](https://gitlab.com/wetryfun/project/project/-/blob/docs-v5.
|
|
21
|
+
Defined in: [packages/project-resolve/src/workspace.ts:46](https://gitlab.com/wetryfun/project/project/-/blob/docs-v5.2.0/packages/project-resolve/src/workspace.ts#L46)
|
|
22
22
|
|
|
23
23
|
#### Returns
|
|
24
24
|
|
|
@@ -32,7 +32,7 @@ Defined in: [packages/project-resolve/src/workspace.ts:46](https://gitlab.com/we
|
|
|
32
32
|
text(): Promise<string>;
|
|
33
33
|
```
|
|
34
34
|
|
|
35
|
-
Defined in: [packages/project-resolve/src/workspace.ts:46](https://gitlab.com/wetryfun/project/project/-/blob/docs-v5.
|
|
35
|
+
Defined in: [packages/project-resolve/src/workspace.ts:46](https://gitlab.com/wetryfun/project/project/-/blob/docs-v5.2.0/packages/project-resolve/src/workspace.ts#L46)
|
|
36
36
|
|
|
37
37
|
#### Returns
|
|
38
38
|
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
type PackageManager = object;
|
|
7
7
|
```
|
|
8
8
|
|
|
9
|
-
Defined in: [packages/project-resolve/src/workspace.ts:106](https://gitlab.com/wetryfun/project/project/-/blob/docs-v5.
|
|
9
|
+
Defined in: [packages/project-resolve/src/workspace.ts:106](https://gitlab.com/wetryfun/project/project/-/blob/docs-v5.2.0/packages/project-resolve/src/workspace.ts#L106)
|
|
10
10
|
|
|
11
11
|
A package manager: its name, its agent, and its version, if it is known, as
|
|
12
12
|
`major[.minor[.patch]]`.
|
|
@@ -19,7 +19,7 @@ A package manager: its name, its agent, and its version, if it is known, as
|
|
|
19
19
|
readonly agent: Agent;
|
|
20
20
|
```
|
|
21
21
|
|
|
22
|
-
Defined in: [packages/project-resolve/src/workspace.ts:108](https://gitlab.com/wetryfun/project/project/-/blob/docs-v5.
|
|
22
|
+
Defined in: [packages/project-resolve/src/workspace.ts:108](https://gitlab.com/wetryfun/project/project/-/blob/docs-v5.2.0/packages/project-resolve/src/workspace.ts#L108)
|
|
23
23
|
|
|
24
24
|
***
|
|
25
25
|
|
|
@@ -29,7 +29,7 @@ Defined in: [packages/project-resolve/src/workspace.ts:108](https://gitlab.com/w
|
|
|
29
29
|
readonly name: PackageManagerName;
|
|
30
30
|
```
|
|
31
31
|
|
|
32
|
-
Defined in: [packages/project-resolve/src/workspace.ts:107](https://gitlab.com/wetryfun/project/project/-/blob/docs-v5.
|
|
32
|
+
Defined in: [packages/project-resolve/src/workspace.ts:107](https://gitlab.com/wetryfun/project/project/-/blob/docs-v5.2.0/packages/project-resolve/src/workspace.ts#L107)
|
|
33
33
|
|
|
34
34
|
***
|
|
35
35
|
|
|
@@ -39,4 +39,4 @@ Defined in: [packages/project-resolve/src/workspace.ts:107](https://gitlab.com/w
|
|
|
39
39
|
readonly optional version?: string;
|
|
40
40
|
```
|
|
41
41
|
|
|
42
|
-
Defined in: [packages/project-resolve/src/workspace.ts:109](https://gitlab.com/wetryfun/project/project/-/blob/docs-v5.
|
|
42
|
+
Defined in: [packages/project-resolve/src/workspace.ts:109](https://gitlab.com/wetryfun/project/project/-/blob/docs-v5.2.0/packages/project-resolve/src/workspace.ts#L109)
|
|
@@ -6,6 +6,6 @@
|
|
|
6
6
|
type PackageManagerName = "npm" | "pnpm" | "yarn" | "bun";
|
|
7
7
|
```
|
|
8
8
|
|
|
9
|
-
Defined in: [packages/project-resolve/src/workspace.ts:98](https://gitlab.com/wetryfun/project/project/-/blob/docs-v5.
|
|
9
|
+
Defined in: [packages/project-resolve/src/workspace.ts:98](https://gitlab.com/wetryfun/project/project/-/blob/docs-v5.2.0/packages/project-resolve/src/workspace.ts#L98)
|
|
10
10
|
|
|
11
11
|
The package managers whose workspaces are read.
|
|
@@ -6,6 +6,6 @@
|
|
|
6
6
|
type ProcessWorkspaceOptions = WorkspaceOptions;
|
|
7
7
|
```
|
|
8
8
|
|
|
9
|
-
Defined in: [packages/project-resolve/src/workspace.ts:613](https://gitlab.com/wetryfun/project/project/-/blob/docs-v5.
|
|
9
|
+
Defined in: [packages/project-resolve/src/workspace.ts:613](https://gitlab.com/wetryfun/project/project/-/blob/docs-v5.2.0/packages/project-resolve/src/workspace.ts#L613)
|
|
10
10
|
|
|
11
11
|
What a reader of the workspace a process runs in reads by: the platform of [WorkspaceOptions](WorkspaceOptions.md).
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
type Workspace = object;
|
|
7
7
|
```
|
|
8
8
|
|
|
9
|
-
Defined in: [packages/project-resolve/src/workspace.ts:113](https://gitlab.com/wetryfun/project/project/-/blob/docs-v5.
|
|
9
|
+
Defined in: [packages/project-resolve/src/workspace.ts:113](https://gitlab.com/wetryfun/project/project/-/blob/docs-v5.2.0/packages/project-resolve/src/workspace.ts#L113)
|
|
10
10
|
|
|
11
11
|
A workspace: its root, its package manager, and its packages.
|
|
12
12
|
|
|
@@ -18,7 +18,7 @@ A workspace: its root, its package manager, and its packages.
|
|
|
18
18
|
readonly packageManager: PackageManager;
|
|
19
19
|
```
|
|
20
20
|
|
|
21
|
-
Defined in: [packages/project-resolve/src/workspace.ts:120](https://gitlab.com/wetryfun/project/project/-/blob/docs-v5.
|
|
21
|
+
Defined in: [packages/project-resolve/src/workspace.ts:120](https://gitlab.com/wetryfun/project/project/-/blob/docs-v5.2.0/packages/project-resolve/src/workspace.ts#L120)
|
|
22
22
|
|
|
23
23
|
The package manager whose workspace it is: pnpm, of a pnpm-workspace.yaml; and of a
|
|
24
24
|
package.json's `workspaces`, the one its `packageManager` or `devEngines` field names, else
|
|
@@ -32,7 +32,7 @@ the one whose lockfile the root holds, else npm. At its version, when the field
|
|
|
32
32
|
readonly packages: ReadonlyMap<string, string>;
|
|
33
33
|
```
|
|
34
34
|
|
|
35
|
-
Defined in: [packages/project-resolve/src/workspace.ts:124](https://gitlab.com/wetryfun/project/project/-/blob/docs-v5.
|
|
35
|
+
Defined in: [packages/project-resolve/src/workspace.ts:124](https://gitlab.com/wetryfun/project/project/-/blob/docs-v5.2.0/packages/project-resolve/src/workspace.ts#L124)
|
|
36
36
|
|
|
37
37
|
Each package of the workspace by its name: its folder, in the order of their paths. A folder
|
|
38
38
|
whose package.json has no name is none of them, and the root is none either, unless a
|
|
@@ -46,7 +46,7 @@ pattern names it.
|
|
|
46
46
|
readonly projects: readonly string[];
|
|
47
47
|
```
|
|
48
48
|
|
|
49
|
-
Defined in: [packages/project-resolve/src/workspace.ts:127](https://gitlab.com/wetryfun/project/project/-/blob/docs-v5.
|
|
49
|
+
Defined in: [packages/project-resolve/src/workspace.ts:127](https://gitlab.com/wetryfun/project/project/-/blob/docs-v5.2.0/packages/project-resolve/src/workspace.ts#L127)
|
|
50
50
|
|
|
51
51
|
The folder of each project its patterns name, in the order of their paths: each that holds a
|
|
52
52
|
package.json, of a name or not, which a tool that refuses a package of no name reads.
|
|
@@ -59,7 +59,7 @@ package.json, of a name or not, which a tool that refuses a package of no name r
|
|
|
59
59
|
readonly root: string;
|
|
60
60
|
```
|
|
61
61
|
|
|
62
|
-
Defined in: [packages/project-resolve/src/workspace.ts:116](https://gitlab.com/wetryfun/project/project/-/blob/docs-v5.
|
|
62
|
+
Defined in: [packages/project-resolve/src/workspace.ts:116](https://gitlab.com/wetryfun/project/project/-/blob/docs-v5.2.0/packages/project-resolve/src/workspace.ts#L116)
|
|
63
63
|
|
|
64
64
|
The folder of its pnpm-workspace.yaml, or of the package.json whose `workspaces` names its
|
|
65
65
|
packages.
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
type WorkspaceDirectoryHandle = object;
|
|
7
7
|
```
|
|
8
8
|
|
|
9
|
-
Defined in: [packages/project-resolve/src/workspace.ts:60](https://gitlab.com/wetryfun/project/project/-/blob/docs-v5.
|
|
9
|
+
Defined in: [packages/project-resolve/src/workspace.ts:60](https://gitlab.com/wetryfun/project/project/-/blob/docs-v5.2.0/packages/project-resolve/src/workspace.ts#L60)
|
|
10
10
|
|
|
11
11
|
A folder's handle, of the WHATWG File System Standard, as a workspace is read by it: a folder or
|
|
12
12
|
a file in it, and its entries. A `FileSystemDirectoryHandle` of the DOM is one, as a browser
|
|
@@ -27,7 +27,7 @@ and a link back up is walked as a folder of its own, until the handle fails to g
|
|
|
27
27
|
readonly kind: "directory";
|
|
28
28
|
```
|
|
29
29
|
|
|
30
|
-
Defined in: [packages/project-resolve/src/workspace.ts:61](https://gitlab.com/wetryfun/project/project/-/blob/docs-v5.
|
|
30
|
+
Defined in: [packages/project-resolve/src/workspace.ts:61](https://gitlab.com/wetryfun/project/project/-/blob/docs-v5.2.0/packages/project-resolve/src/workspace.ts#L61)
|
|
31
31
|
|
|
32
32
|
## Methods
|
|
33
33
|
|
|
@@ -39,7 +39,7 @@ entries(): AsyncIterable<[string,
|
|
|
39
39
|
| WorkspaceDirectoryHandle]>;
|
|
40
40
|
```
|
|
41
41
|
|
|
42
|
-
Defined in: [packages/project-resolve/src/workspace.ts:64](https://gitlab.com/wetryfun/project/project/-/blob/docs-v5.
|
|
42
|
+
Defined in: [packages/project-resolve/src/workspace.ts:64](https://gitlab.com/wetryfun/project/project/-/blob/docs-v5.2.0/packages/project-resolve/src/workspace.ts#L64)
|
|
43
43
|
|
|
44
44
|
#### Returns
|
|
45
45
|
|
|
@@ -55,7 +55,7 @@ Defined in: [packages/project-resolve/src/workspace.ts:64](https://gitlab.com/we
|
|
|
55
55
|
getDirectoryHandle(name): Promise<WorkspaceDirectoryHandle>;
|
|
56
56
|
```
|
|
57
57
|
|
|
58
|
-
Defined in: [packages/project-resolve/src/workspace.ts:62](https://gitlab.com/wetryfun/project/project/-/blob/docs-v5.
|
|
58
|
+
Defined in: [packages/project-resolve/src/workspace.ts:62](https://gitlab.com/wetryfun/project/project/-/blob/docs-v5.2.0/packages/project-resolve/src/workspace.ts#L62)
|
|
59
59
|
|
|
60
60
|
#### Parameters
|
|
61
61
|
|
|
@@ -75,7 +75,7 @@ Defined in: [packages/project-resolve/src/workspace.ts:62](https://gitlab.com/we
|
|
|
75
75
|
getFileHandle(name): Promise<WorkspaceFileHandle>;
|
|
76
76
|
```
|
|
77
77
|
|
|
78
|
-
Defined in: [packages/project-resolve/src/workspace.ts:63](https://gitlab.com/wetryfun/project/project/-/blob/docs-v5.
|
|
78
|
+
Defined in: [packages/project-resolve/src/workspace.ts:63](https://gitlab.com/wetryfun/project/project/-/blob/docs-v5.2.0/packages/project-resolve/src/workspace.ts#L63)
|
|
79
79
|
|
|
80
80
|
#### Parameters
|
|
81
81
|
|
|
@@ -95,7 +95,7 @@ Defined in: [packages/project-resolve/src/workspace.ts:63](https://gitlab.com/we
|
|
|
95
95
|
optional realpath(): Promise<string>;
|
|
96
96
|
```
|
|
97
97
|
|
|
98
|
-
Defined in: [packages/project-resolve/src/workspace.ts:66](https://gitlab.com/wetryfun/project/project/-/blob/docs-v5.
|
|
98
|
+
Defined in: [packages/project-resolve/src/workspace.ts:66](https://gitlab.com/wetryfun/project/project/-/blob/docs-v5.2.0/packages/project-resolve/src/workspace.ts#L66)
|
|
99
99
|
|
|
100
100
|
The real path of the folder, of no link, where the handle says it: no call of the standard.
|
|
101
101
|
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
type WorkspaceFileHandle = object;
|
|
7
7
|
```
|
|
8
8
|
|
|
9
|
-
Defined in: [packages/project-resolve/src/workspace.ts:40](https://gitlab.com/wetryfun/project/project/-/blob/docs-v5.
|
|
9
|
+
Defined in: [packages/project-resolve/src/workspace.ts:40](https://gitlab.com/wetryfun/project/project/-/blob/docs-v5.2.0/packages/project-resolve/src/workspace.ts#L40)
|
|
10
10
|
|
|
11
11
|
A file's handle, of the WHATWG File System Standard, as a workspace is read by it: the file's
|
|
12
12
|
bytes, by `getFile()`. A `FileSystemFileHandle` of the DOM is one.
|
|
@@ -19,7 +19,7 @@ bytes, by `getFile()`. A `FileSystemFileHandle` of the DOM is one.
|
|
|
19
19
|
readonly kind: "file";
|
|
20
20
|
```
|
|
21
21
|
|
|
22
|
-
Defined in: [packages/project-resolve/src/workspace.ts:41](https://gitlab.com/wetryfun/project/project/-/blob/docs-v5.
|
|
22
|
+
Defined in: [packages/project-resolve/src/workspace.ts:41](https://gitlab.com/wetryfun/project/project/-/blob/docs-v5.2.0/packages/project-resolve/src/workspace.ts#L41)
|
|
23
23
|
|
|
24
24
|
## Methods
|
|
25
25
|
|
|
@@ -29,7 +29,7 @@ Defined in: [packages/project-resolve/src/workspace.ts:41](https://gitlab.com/we
|
|
|
29
29
|
getFile(): Promise<FileContents>;
|
|
30
30
|
```
|
|
31
31
|
|
|
32
|
-
Defined in: [packages/project-resolve/src/workspace.ts:42](https://gitlab.com/wetryfun/project/project/-/blob/docs-v5.
|
|
32
|
+
Defined in: [packages/project-resolve/src/workspace.ts:42](https://gitlab.com/wetryfun/project/project/-/blob/docs-v5.2.0/packages/project-resolve/src/workspace.ts#L42)
|
|
33
33
|
|
|
34
34
|
#### Returns
|
|
35
35
|
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
type WorkspaceFiles = object;
|
|
7
7
|
```
|
|
8
8
|
|
|
9
|
-
Defined in: [packages/project-resolve/src/workspace.ts:149](https://gitlab.com/wetryfun/project/project/-/blob/docs-v5.
|
|
9
|
+
Defined in: [packages/project-resolve/src/workspace.ts:149](https://gitlab.com/wetryfun/project/project/-/blob/docs-v5.2.0/packages/project-resolve/src/workspace.ts#L149)
|
|
10
10
|
|
|
11
11
|
The calls of a file system of promises that a workspace is read by, and any reader of paths: of
|
|
12
12
|
absolute paths, the handles of a platform's file system walked down by their parts
|
|
@@ -20,7 +20,7 @@ absolute paths, the handles of a platform's file system walked down by their par
|
|
|
20
20
|
exists(path): Promise<boolean>;
|
|
21
21
|
```
|
|
22
22
|
|
|
23
|
-
Defined in: [packages/project-resolve/src/workspace.ts:157](https://gitlab.com/wetryfun/project/project/-/blob/docs-v5.
|
|
23
|
+
Defined in: [packages/project-resolve/src/workspace.ts:157](https://gitlab.com/wetryfun/project/project/-/blob/docs-v5.2.0/packages/project-resolve/src/workspace.ts#L157)
|
|
24
24
|
|
|
25
25
|
Whether a file or a folder is there: of one that cannot be read, no.
|
|
26
26
|
|
|
@@ -42,7 +42,7 @@ Whether a file or a folder is there: of one that cannot be read, no.
|
|
|
42
42
|
readBytes(path): Promise<Uint8Array<ArrayBufferLike>>;
|
|
43
43
|
```
|
|
44
44
|
|
|
45
|
-
Defined in: [packages/project-resolve/src/workspace.ts:153](https://gitlab.com/wetryfun/project/project/-/blob/docs-v5.
|
|
45
|
+
Defined in: [packages/project-resolve/src/workspace.ts:153](https://gitlab.com/wetryfun/project/project/-/blob/docs-v5.2.0/packages/project-resolve/src/workspace.ts#L153)
|
|
46
46
|
|
|
47
47
|
A file's bytes.
|
|
48
48
|
|
|
@@ -64,7 +64,7 @@ A file's bytes.
|
|
|
64
64
|
readdir(path): Promise<readonly DirectoryEntry[]>;
|
|
65
65
|
```
|
|
66
66
|
|
|
67
|
-
Defined in: [packages/project-resolve/src/workspace.ts:155](https://gitlab.com/wetryfun/project/project/-/blob/docs-v5.
|
|
67
|
+
Defined in: [packages/project-resolve/src/workspace.ts:155](https://gitlab.com/wetryfun/project/project/-/blob/docs-v5.2.0/packages/project-resolve/src/workspace.ts#L155)
|
|
68
68
|
|
|
69
69
|
The entries of a folder.
|
|
70
70
|
|
|
@@ -86,7 +86,7 @@ The entries of a folder.
|
|
|
86
86
|
readFile(path): Promise<string>;
|
|
87
87
|
```
|
|
88
88
|
|
|
89
|
-
Defined in: [packages/project-resolve/src/workspace.ts:151](https://gitlab.com/wetryfun/project/project/-/blob/docs-v5.
|
|
89
|
+
Defined in: [packages/project-resolve/src/workspace.ts:151](https://gitlab.com/wetryfun/project/project/-/blob/docs-v5.2.0/packages/project-resolve/src/workspace.ts#L151)
|
|
90
90
|
|
|
91
91
|
A file's text.
|
|
92
92
|
|
|
@@ -108,7 +108,7 @@ A file's text.
|
|
|
108
108
|
realpath(path): Promise<string>;
|
|
109
109
|
```
|
|
110
110
|
|
|
111
|
-
Defined in: [packages/project-resolve/src/workspace.ts:159](https://gitlab.com/wetryfun/project/project/-/blob/docs-v5.
|
|
111
|
+
Defined in: [packages/project-resolve/src/workspace.ts:159](https://gitlab.com/wetryfun/project/project/-/blob/docs-v5.2.0/packages/project-resolve/src/workspace.ts#L159)
|
|
112
112
|
|
|
113
113
|
The real path of a folder, of no link, where its handle says it; else the path.
|
|
114
114
|
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
type WorkspaceOptions = object;
|
|
7
7
|
```
|
|
8
8
|
|
|
9
|
-
Defined in: [packages/project-resolve/src/workspace.ts:82](https://gitlab.com/wetryfun/project/project/-/blob/docs-v5.
|
|
9
|
+
Defined in: [packages/project-resolve/src/workspace.ts:82](https://gitlab.com/wetryfun/project/project/-/blob/docs-v5.2.0/packages/project-resolve/src/workspace.ts#L82)
|
|
10
10
|
|
|
11
11
|
What a workspace is read by.
|
|
12
12
|
|
|
@@ -18,7 +18,7 @@ What a workspace is read by.
|
|
|
18
18
|
readonly platform: object;
|
|
19
19
|
```
|
|
20
20
|
|
|
21
|
-
Defined in: [packages/project-resolve/src/workspace.ts:89](https://gitlab.com/wetryfun/project/project/-/blob/docs-v5.
|
|
21
|
+
Defined in: [packages/project-resolve/src/workspace.ts:89](https://gitlab.com/wetryfun/project/project/-/blob/docs-v5.2.0/packages/project-resolve/src/workspace.ts#L89)
|
|
22
22
|
|
|
23
23
|
The platform it is read by: its file system, `navigator.storage.getDirectory()`, the handle of
|
|
24
24
|
the root of the WHATWG File System Standard, as a browser's or `nodePlatform()` of ./node
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
type WorkspacePackage = object;
|
|
7
7
|
```
|
|
8
8
|
|
|
9
|
-
Defined in: [packages/project-resolve/src/workspace.ts:649](https://gitlab.com/wetryfun/project/project/-/blob/docs-v5.
|
|
9
|
+
Defined in: [packages/project-resolve/src/workspace.ts:649](https://gitlab.com/wetryfun/project/project/-/blob/docs-v5.2.0/packages/project-resolve/src/workspace.ts#L649)
|
|
10
10
|
|
|
11
11
|
A package of the workspace a process runs in: its folder, its name, and its export map.
|
|
12
12
|
|
|
@@ -18,7 +18,7 @@ A package of the workspace a process runs in: its folder, its name, and its expo
|
|
|
18
18
|
readonly dir: string;
|
|
19
19
|
```
|
|
20
20
|
|
|
21
|
-
Defined in: [packages/project-resolve/src/workspace.ts:650](https://gitlab.com/wetryfun/project/project/-/blob/docs-v5.
|
|
21
|
+
Defined in: [packages/project-resolve/src/workspace.ts:650](https://gitlab.com/wetryfun/project/project/-/blob/docs-v5.2.0/packages/project-resolve/src/workspace.ts#L650)
|
|
22
22
|
|
|
23
23
|
***
|
|
24
24
|
|
|
@@ -28,7 +28,7 @@ Defined in: [packages/project-resolve/src/workspace.ts:650](https://gitlab.com/w
|
|
|
28
28
|
readonly exports: Readonly<Record<string, unknown>>;
|
|
29
29
|
```
|
|
30
30
|
|
|
31
|
-
Defined in: [packages/project-resolve/src/workspace.ts:652](https://gitlab.com/wetryfun/project/project/-/blob/docs-v5.
|
|
31
|
+
Defined in: [packages/project-resolve/src/workspace.ts:652](https://gitlab.com/wetryfun/project/project/-/blob/docs-v5.2.0/packages/project-resolve/src/workspace.ts#L652)
|
|
32
32
|
|
|
33
33
|
***
|
|
34
34
|
|
|
@@ -38,4 +38,4 @@ Defined in: [packages/project-resolve/src/workspace.ts:652](https://gitlab.com/w
|
|
|
38
38
|
readonly name: string;
|
|
39
39
|
```
|
|
40
40
|
|
|
41
|
-
Defined in: [packages/project-resolve/src/workspace.ts:651](https://gitlab.com/wetryfun/project/project/-/blob/docs-v5.
|
|
41
|
+
Defined in: [packages/project-resolve/src/workspace.ts:651](https://gitlab.com/wetryfun/project/project/-/blob/docs-v5.2.0/packages/project-resolve/src/workspace.ts#L651)
|