@uapkg/cli 1.3.2 → 1.5.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +3 -0
- package/dist/build/BuildMetadata.js +2 -2
- package/dist/cli-bootstrap.js +19846 -13
- package/dist/cli.js +1 -1
- package/dist/index.js +19980 -60
- package/dist/licenses/semver-LICENSE +15 -0
- package/dist/profile.js +25 -0
- package/dist/runtime-lock.json +2142 -0
- package/dist/{app → types/uapkg/app}/CompositionRoot.d.ts +4 -5
- package/dist/{app → types/uapkg/app}/UAPKGApplication.d.ts +0 -1
- package/dist/{build → types/uapkg/build}/BuildMetadata.d.ts +1 -2
- package/dist/types/uapkg/cli/DebugEnvironment.d.ts +15 -0
- package/dist/types/uapkg/cli/DebugInfo.d.ts +15 -0
- package/dist/{cli → types/uapkg/cli}/UAPKGCommandLine.d.ts +0 -1
- package/dist/{cli → types/uapkg/cli}/parseCommandLine.d.ts +0 -1
- package/dist/{cli → types/uapkg/cli}/parsing/UAPKGCommandLineParser.d.ts +0 -1
- package/dist/{cli → types/uapkg/cli}/parsing/UAPKGParserRegistry.d.ts +0 -1
- package/dist/{cli → types/uapkg/cli}/parsing/contracts/UAPKGCommandModule.d.ts +0 -1
- package/dist/{cli → types/uapkg/cli}/parsing/modules/AddCommandModule.d.ts +0 -1
- package/dist/{cli → types/uapkg/cli}/parsing/modules/ConfigCommandModule.d.ts +0 -1
- package/dist/{cli → types/uapkg/cli}/parsing/modules/InitCommandModule.d.ts +0 -1
- package/dist/{cli → types/uapkg/cli}/parsing/modules/InstallCommandModule.d.ts +0 -1
- package/dist/{cli → types/uapkg/cli}/parsing/modules/LifecycleCommandModule.d.ts +0 -1
- package/dist/{cli → types/uapkg/cli}/parsing/modules/ListCommandModule.d.ts +0 -1
- package/dist/{cli → types/uapkg/cli}/parsing/modules/LoginCommandModule.d.ts +0 -1
- package/dist/{cli → types/uapkg/cli}/parsing/modules/LogoutCommandModule.d.ts +0 -1
- package/dist/{cli → types/uapkg/cli}/parsing/modules/OutdatedCommandModule.d.ts +0 -1
- package/dist/{cli → types/uapkg/cli}/parsing/modules/PackCommandModule.d.ts +0 -1
- package/dist/{cli → types/uapkg/cli}/parsing/modules/ProjectGetNameCommandModule.d.ts +0 -1
- package/dist/{cli → types/uapkg/cli}/parsing/modules/PublishCommandModule.d.ts +0 -1
- package/dist/{cli → types/uapkg/cli}/parsing/modules/RegistryCommandModule.d.ts +0 -1
- package/dist/{cli → types/uapkg/cli}/parsing/modules/RemoveCommandModule.d.ts +0 -1
- package/dist/{cli → types/uapkg/cli}/parsing/modules/RequestsCommandModule.d.ts +0 -1
- package/dist/{cli → types/uapkg/cli}/parsing/modules/UpdateCommandModule.d.ts +0 -1
- package/dist/{cli → types/uapkg/cli}/parsing/modules/WhoamiCommandModule.d.ts +0 -1
- package/dist/{cli → types/uapkg/cli}/parsing/modules/WhyCommandModule.d.ts +0 -1
- package/dist/{cli → types/uapkg/cli}/parsing/modules/sharedOptions.d.ts +0 -1
- package/dist/{cli → types/uapkg/cli}/runUAPKGCLI.d.ts +0 -1
- package/dist/{commands → types/uapkg/commands}/AddCommand.d.ts +0 -1
- package/dist/{commands → types/uapkg/commands}/Command.d.ts +0 -1
- package/dist/{commands → types/uapkg/commands}/ConfigCommand.d.ts +0 -1
- package/dist/{commands → types/uapkg/commands}/InitCommand.d.ts +1 -2
- package/dist/{commands → types/uapkg/commands}/InstallCommand.d.ts +0 -1
- package/dist/{commands → types/uapkg/commands}/ListCommand.d.ts +0 -1
- package/dist/{commands → types/uapkg/commands}/LoginCommand.d.ts +0 -1
- package/dist/{commands → types/uapkg/commands}/LogoutCommand.d.ts +0 -1
- package/dist/{commands → types/uapkg/commands}/OutdatedCommand.d.ts +0 -1
- package/dist/{commands → types/uapkg/commands}/PackCommand.d.ts +0 -1
- package/dist/{commands → types/uapkg/commands}/PackageLifecycleCommand.d.ts +0 -1
- package/dist/{commands → types/uapkg/commands}/PostinstallCandidateBuilder.d.ts +2 -3
- package/dist/{commands → types/uapkg/commands}/ProjectGetNameCommand.d.ts +0 -1
- package/dist/{commands → types/uapkg/commands}/PublishCommand.d.ts +1 -2
- package/dist/{commands → types/uapkg/commands}/RegistryCommand.d.ts +0 -1
- package/dist/{commands → types/uapkg/commands}/RemoveCommand.d.ts +0 -1
- package/dist/{commands → types/uapkg/commands}/RequestsCommand.d.ts +0 -1
- package/dist/{commands → types/uapkg/commands}/UpdateCommand.d.ts +0 -1
- package/dist/{commands → types/uapkg/commands}/WhoamiCommand.d.ts +0 -1
- package/dist/{commands → types/uapkg/commands}/WhyCommand.d.ts +0 -1
- package/dist/{commands → types/uapkg/commands}/add/DependencyAddResolver.d.ts +3 -4
- package/dist/{control-plane → types/uapkg/control-plane}/AccountManager.d.ts +1 -2
- package/dist/{control-plane → types/uapkg/control-plane}/ArtifactObserver.d.ts +0 -1
- package/dist/{control-plane → types/uapkg/control-plane}/AuthMetadataStore.d.ts +0 -1
- package/dist/{control-plane → types/uapkg/control-plane}/AuthStoragePaths.d.ts +0 -1
- package/dist/{control-plane → types/uapkg/control-plane}/AuthenticationSelector.d.ts +0 -1
- package/dist/{control-plane → types/uapkg/control-plane}/ControlPlaneClient.d.ts +1 -2
- package/dist/{control-plane → types/uapkg/control-plane}/ControlPlaneEndpoints.d.ts +1 -2
- package/dist/{control-plane → types/uapkg/control-plane}/ControlPlaneTypes.d.ts +4 -2
- package/dist/{control-plane → types/uapkg/control-plane}/CredentialStore.d.ts +0 -1
- package/dist/{control-plane → types/uapkg/control-plane}/DPoPKeyStore.d.ts +0 -1
- package/dist/{control-plane → types/uapkg/control-plane}/GitHubActionsOidcCredentialProvider.d.ts +4 -3
- package/dist/{control-plane → types/uapkg/control-plane}/PublishIdempotencyStore.d.ts +0 -1
- package/dist/{control-plane → types/uapkg/control-plane}/PublishRequestErrorMapper.d.ts +1 -2
- package/dist/{control-plane → types/uapkg/control-plane}/RegistryGrantLock.d.ts +0 -1
- package/dist/{control-plane → types/uapkg/control-plane}/RegistryTrustResolver.d.ts +0 -1
- package/dist/types/uapkg/control-plane/RequestWatch.d.ts +15 -0
- package/dist/types/uapkg/control-plane/RetryAfter.d.ts +6 -0
- package/dist/{postinstall → types/uapkg/postinstall}/api/PostinstallDsl.d.ts +0 -1
- package/dist/{postinstall → types/uapkg/postinstall}/api/definePostinstall.d.ts +0 -1
- package/dist/{postinstall → types/uapkg/postinstall}/loader/EntryResolver.d.ts +1 -2
- package/dist/{postinstall → types/uapkg/postinstall}/loader/EsbuildTranspiler.d.ts +1 -2
- package/dist/{postinstall → types/uapkg/postinstall}/loader/ExportValidator.d.ts +1 -2
- package/dist/{postinstall → types/uapkg/postinstall}/loader/ModuleImporter.d.ts +1 -2
- package/dist/{postinstall → types/uapkg/postinstall}/loader/PostinstallLoader.d.ts +1 -2
- package/dist/{postinstall → types/uapkg/postinstall}/markers/MarkerBlockEditor.d.ts +1 -2
- package/dist/{postinstall → types/uapkg/postinstall}/markers/MarkerBlockService.d.ts +0 -1
- package/dist/{postinstall → types/uapkg/postinstall}/markers/MarkerIntegrityValidator.d.ts +0 -1
- package/dist/{postinstall → types/uapkg/postinstall}/policy/PostinstallPolicyGate.d.ts +2 -3
- package/dist/{postinstall → types/uapkg/postinstall}/runner/PostinstallOrchestrator.d.ts +1 -2
- package/dist/{postinstall → types/uapkg/postinstall}/unreal/BuildCsInjector.d.ts +1 -2
- package/dist/{postinstall → types/uapkg/postinstall}/unreal/CSharpInjectionEngine.d.ts +0 -1
- package/dist/{postinstall → types/uapkg/postinstall}/unreal/CSharpStructureAnalyzer.d.ts +0 -1
- package/dist/{postinstall → types/uapkg/postinstall}/unreal/CSharpStructures.d.ts +0 -1
- package/dist/{postinstall → types/uapkg/postinstall}/unreal/CSharpWrapperFactory.d.ts +0 -1
- package/dist/{postinstall → types/uapkg/postinstall}/unreal/PluginHash.d.ts +0 -1
- package/dist/{postinstall → types/uapkg/postinstall}/unreal/PrettyParseError.d.ts +0 -1
- package/dist/{postinstall → types/uapkg/postinstall}/unreal/ProjectFileLocator.d.ts +0 -1
- package/dist/{postinstall → types/uapkg/postinstall}/unreal/TargetCsInjector.d.ts +1 -2
- package/dist/{postinstall → types/uapkg/postinstall}/unreal/UProjectInjector.d.ts +1 -2
- package/dist/{postinstall → types/uapkg/postinstall}/unreal/UProjectMetadataReader.d.ts +0 -1
- package/dist/{postinstall → types/uapkg/postinstall}/unreal/UnrealSourceCatalog.d.ts +0 -1
- package/dist/{prompts → types/uapkg/prompts}/InkPromptService.d.ts +0 -1
- package/dist/{prompts → types/uapkg/prompts}/ProjectContextDetector.d.ts +1 -2
- package/dist/{prompts → types/uapkg/prompts}/PromptService.d.ts +0 -1
- package/dist/{reporting → types/uapkg/reporting}/DiagnosticDeduplicator.d.ts +1 -2
- package/dist/{reporting → types/uapkg/reporting}/DiagnosticRenderer.d.ts +1 -2
- package/dist/{reporting → types/uapkg/reporting}/DiagnosticReporter.d.ts +1 -2
- package/dist/{reporting → types/uapkg/reporting}/InkDiagnosticRenderer.d.ts +2 -3
- package/dist/{reporting → types/uapkg/reporting}/InstallProgressReporter.d.ts +1 -2
- package/dist/{reporting → types/uapkg/reporting}/JsonReporter.d.ts +1 -2
- package/dist/{reporting → types/uapkg/reporting}/RegistryRequestTerminalFormatter.d.ts +0 -1
- package/dist/{reporting → types/uapkg/reporting}/TextDiagnosticRenderer.d.ts +1 -2
- package/dist/{reporting → types/uapkg/reporting}/TextSink.d.ts +1 -2
- package/dist/types/uapkg-common/format/prettyBytes.d.ts +19 -0
- package/dist/types/uapkg-common/hash/registryIdentifier.d.ts +28 -0
- package/dist/types/uapkg-common/hash/sha256.d.ts +12 -0
- package/dist/types/uapkg-common/index.d.ts +10 -0
- package/dist/types/uapkg-common/json/safeJsonParse.d.ts +9 -0
- package/dist/types/uapkg-common/json/stableStringify.d.ts +9 -0
- package/dist/types/uapkg-common/normalize/normalizeUrl.d.ts +11 -0
- package/dist/types/uapkg-common/paths/forwardSlash.d.ts +12 -0
- package/dist/types/uapkg-common/runtime/UapkgRuntimeProfile.d.ts +19 -0
- package/dist/types/uapkg-common/spec/parsePackageSpec.d.ts +21 -0
- package/dist/types/uapkg-common-schema/brand/Brand.d.ts +15 -0
- package/dist/types/uapkg-common-schema/index.d.ts +17 -0
- package/dist/types/uapkg-common-schema/primitives/AssetHash.d.ts +11 -0
- package/dist/types/uapkg-common-schema/primitives/ConcurrencyCount.d.ts +11 -0
- package/dist/types/uapkg-common-schema/primitives/DurationSeconds.d.ts +11 -0
- package/dist/types/uapkg-common-schema/primitives/GitTree.d.ts +10 -0
- package/dist/types/uapkg-common-schema/primitives/InstallPath.d.ts +18 -0
- package/dist/types/uapkg-common-schema/primitives/OrgName.d.ts +12 -0
- package/dist/types/uapkg-common-schema/primitives/PackageName.d.ts +14 -0
- package/dist/types/uapkg-common-schema/primitives/PackageSpec.d.ts +21 -0
- package/dist/types/uapkg-common-schema/primitives/PackageVersion.d.ts +10 -0
- package/dist/types/uapkg-common-schema/primitives/PostInstallPolicy.d.ts +21 -0
- package/dist/types/uapkg-common-schema/primitives/RegistryIdentifier.d.ts +15 -0
- package/dist/types/uapkg-common-schema/primitives/RegistryName.d.ts +18 -0
- package/dist/types/uapkg-common-schema/primitives/RegistryURL.d.ts +10 -0
- package/dist/types/uapkg-common-schema/primitives/UnixTimestamp.d.ts +10 -0
- package/dist/types/uapkg-common-schema/primitives/VersionRange.d.ts +10 -0
- package/dist/types/uapkg-config/contracts/ConfigTypes.d.ts +58 -0
- package/dist/types/uapkg-config/core/ConfigInstance.d.ts +43 -0
- package/dist/types/uapkg-config/core/ConfigLayerBuilder.d.ts +13 -0
- package/dist/types/uapkg-config/core/ConfigResolver.d.ts +19 -0
- package/dist/types/uapkg-config/core/ConfigSemanticValidator.d.ts +13 -0
- package/dist/types/uapkg-config/core/ConfigWriter.d.ts +25 -0
- package/dist/types/uapkg-config/core/PostInstallPolicyResolver.d.ts +22 -0
- package/dist/types/uapkg-config/factory/createConfig.d.ts +6 -0
- package/dist/types/uapkg-config/files/ConfigFileRepository.d.ts +11 -0
- package/dist/types/uapkg-config/files/ConfigPathResolver.d.ts +14 -0
- package/dist/types/uapkg-config/index.d.ts +127 -0
- package/dist/types/uapkg-config/merge/ConfigMerger.d.ts +10 -0
- package/dist/types/uapkg-config/merge/ConfigSchemaMergeEngine.d.ts +26 -0
- package/dist/types/uapkg-config/schema/configSchema.d.ts +114 -0
- package/dist/types/uapkg-config/schema/pathSchema.d.ts +12 -0
- package/dist/types/uapkg-config/schema/runtime/ConfigCliValueParser.d.ts +18 -0
- package/dist/types/uapkg-config/schema/runtime/ConfigSchemaIntrospection.d.ts +13 -0
- package/dist/types/uapkg-config/schema/runtime/ConfigSchemaRuntime.d.ts +26 -0
- package/dist/types/uapkg-config/schema/runtime/ConfigSchemaRuntimeProvider.d.ts +7 -0
- package/dist/types/uapkg-diagnostics/base/Diagnostic.d.ts +32 -0
- package/dist/types/uapkg-diagnostics/base/DiagnosticBag.d.ts +44 -0
- package/dist/types/uapkg-diagnostics/base/DiagnosticFingerprint.d.ts +12 -0
- package/dist/types/uapkg-diagnostics/base/DiagnosticLevel.d.ts +11 -0
- package/dist/types/uapkg-diagnostics/base/Result.d.ts +26 -0
- package/dist/types/uapkg-diagnostics/config/ConfigDiagnostics.d.ts +49 -0
- package/dist/types/uapkg-diagnostics/controlPlane/ControlPlaneDiagnostics.d.ts +25 -0
- package/dist/types/uapkg-diagnostics/general/GeneralDiagnostics.d.ts +23 -0
- package/dist/types/uapkg-diagnostics/index.d.ts +20 -0
- package/dist/types/uapkg-diagnostics/installer/InstallerDiagnostics.d.ts +55 -0
- package/dist/types/uapkg-diagnostics/manifest/ManifestDiagnostics.d.ts +70 -0
- package/dist/types/uapkg-diagnostics/pack/PackDiagnostics.d.ts +49 -0
- package/dist/types/uapkg-diagnostics/postinstall/PostinstallDiagnostics.d.ts +47 -0
- package/dist/types/uapkg-diagnostics/publishing/PublishingDiagnostics.d.ts +77 -0
- package/dist/types/uapkg-diagnostics/registry/RegistryDiagnostics.d.ts +71 -0
- package/dist/types/uapkg-diagnostics/registryTools/RegistryToolsDiagnostics.d.ts +130 -0
- package/dist/types/uapkg-diagnostics/resolver/ResolverDiagnostics.d.ts +38 -0
- package/dist/types/uapkg-diagnostics/safety/SafetyDiagnostics.d.ts +33 -0
- package/dist/types/uapkg-diagnostics/spec/SpecDiagnostics.d.ts +23 -0
- package/dist/types/uapkg-diagnostics/types.d.ts +37 -0
- package/dist/types/uapkg-diagnostics-format/contracts/FormatterTypes.d.ts +23 -0
- package/dist/types/uapkg-diagnostics-format/defaults/defaultFormatters.d.ts +8 -0
- package/dist/types/uapkg-diagnostics-format/formatters/PlainTextFormatter.d.ts +11 -0
- package/dist/types/uapkg-diagnostics-format/formatters/config/configFormatters.d.ts +5 -0
- package/dist/types/uapkg-diagnostics-format/formatters/installer/installerFormatters.d.ts +5 -0
- package/dist/types/uapkg-diagnostics-format/formatters/manifest/manifestFormatters.d.ts +5 -0
- package/dist/types/uapkg-diagnostics-format/formatters/pack/packFormatters.d.ts +5 -0
- package/dist/types/uapkg-diagnostics-format/formatters/postinstall/postinstallFormatters.d.ts +5 -0
- package/dist/types/uapkg-diagnostics-format/formatters/publishing/publishingFormatters.d.ts +13 -0
- package/dist/types/uapkg-diagnostics-format/formatters/registry/registryFormatters.d.ts +5 -0
- package/dist/types/uapkg-diagnostics-format/formatters/registryTools/registryToolsFormatters.d.ts +5 -0
- package/dist/types/uapkg-diagnostics-format/formatters/resolver/resolverFormatters.d.ts +5 -0
- package/dist/types/uapkg-diagnostics-format/formatters/safety/safetyFormatters.d.ts +5 -0
- package/dist/types/uapkg-diagnostics-format/formatters/spec/specFormatters.d.ts +5 -0
- package/dist/types/uapkg-diagnostics-format/index.d.ts +15 -0
- package/dist/types/uapkg-diagnostics-format/ink/components/configInkComponents.d.ts +5 -0
- package/dist/types/uapkg-diagnostics-format/ink/components/installerInkComponents.d.ts +5 -0
- package/dist/types/uapkg-diagnostics-format/ink/components/manifestInkComponents.d.ts +5 -0
- package/dist/types/uapkg-diagnostics-format/ink/components/packInkComponents.d.ts +5 -0
- package/dist/types/uapkg-diagnostics-format/ink/components/postinstallInkComponents.d.ts +5 -0
- package/dist/types/uapkg-diagnostics-format/ink/components/publishingInkComponents.d.ts +5 -0
- package/dist/types/uapkg-diagnostics-format/ink/components/registryInkComponents.d.ts +5 -0
- package/dist/types/uapkg-diagnostics-format/ink/components/resolverInkComponents.d.ts +5 -0
- package/dist/types/uapkg-diagnostics-format/ink/components/safetyInkComponents.d.ts +5 -0
- package/dist/types/uapkg-diagnostics-format/ink/components/specInkComponents.d.ts +5 -0
- package/dist/types/uapkg-diagnostics-format/ink/contracts/InkTypes.d.ts +35 -0
- package/dist/types/uapkg-diagnostics-format/ink/defaults/defaultInkComponents.d.ts +15 -0
- package/dist/types/uapkg-diagnostics-format/ink/index.d.ts +17 -0
- package/dist/types/uapkg-diagnostics-format/ink/primitives/HintLine.d.ts +12 -0
- package/dist/types/uapkg-diagnostics-format/ink/primitives/PlainTextBody.d.ts +11 -0
- package/dist/types/uapkg-diagnostics-format/ink/primitives/SeverityBadge.d.ts +13 -0
- package/dist/types/uapkg-diagnostics-format/ink/registry/DiagnosticInkRegistry.d.ts +24 -0
- package/dist/types/uapkg-diagnostics-format/ink/views/DiagnosticView.d.ts +21 -0
- package/dist/types/uapkg-diagnostics-format/ink/views/DiagnosticsListView.d.ts +16 -0
- package/dist/types/uapkg-diagnostics-format/registry/FormatterRegistry.d.ts +26 -0
- package/dist/types/uapkg-diagnostics-format/utils/indent.d.ts +7 -0
- package/dist/types/uapkg-installer/contracts/InstallerTypes.d.ts +91 -0
- package/dist/types/uapkg-installer/contracts/SafetyPolicyTypes.d.ts +43 -0
- package/dist/types/uapkg-installer/contracts/StatusStreamTypes.d.ts +42 -0
- package/dist/types/uapkg-installer/core/ClaimsVerifier.d.ts +22 -0
- package/dist/types/uapkg-installer/core/DiskStateInspector.d.ts +29 -0
- package/dist/types/uapkg-installer/core/InstallPlanner.d.ts +35 -0
- package/dist/types/uapkg-installer/core/Installer.d.ts +61 -0
- package/dist/types/uapkg-installer/core/IntegrityVerifier.d.ts +16 -0
- package/dist/types/uapkg-installer/core/PackageDownloader.d.ts +40 -0
- package/dist/types/uapkg-installer/core/PackageExtractor.d.ts +20 -0
- package/dist/types/uapkg-installer/core/PackageRemover.d.ts +14 -0
- package/dist/types/uapkg-installer/index.d.ts +16 -0
- package/dist/types/uapkg-installer/safety/NoMarkerPolicy.d.ts +17 -0
- package/dist/types/uapkg-installer/safety/SafetyPolicyRegistry.d.ts +32 -0
- package/dist/types/uapkg-installer/status/SlotTable.d.ts +36 -0
- package/dist/types/uapkg-installer/status/StatusStream.d.ts +25 -0
- package/dist/types/uapkg-log/contracts/LoggerTypes.d.ts +22 -0
- package/dist/types/uapkg-log/core/LogLevelPolicy.d.ts +15 -0
- package/dist/types/uapkg-log/core/LoggerFactory.d.ts +11 -0
- package/dist/types/uapkg-log/core/LoggerInstance.d.ts +17 -0
- package/dist/types/uapkg-log/core/WinstonLoggerAdapter.d.ts +8 -0
- package/dist/types/uapkg-log/index.d.ts +8 -0
- package/dist/types/uapkg-pack/contracts/PackTypes.d.ts +29 -0
- package/dist/types/uapkg-pack/core/FileCrawler.d.ts +12 -0
- package/dist/types/uapkg-pack/core/IgnoreEvaluator.d.ts +7 -0
- package/dist/types/uapkg-pack/core/IgnoreRuleLoader.d.ts +14 -0
- package/dist/types/uapkg-pack/core/IntegrityWriter.d.ts +6 -0
- package/dist/types/uapkg-pack/core/LFSPointerDetector.d.ts +6 -0
- package/dist/types/uapkg-pack/core/PackArtifactExcluder.d.ts +11 -0
- package/dist/types/uapkg-pack/core/PackManifestReader.d.ts +8 -0
- package/dist/types/uapkg-pack/core/PackService.d.ts +32 -0
- package/dist/types/uapkg-pack/core/PluginDescriptorGuard.d.ts +11 -0
- package/dist/types/uapkg-pack/core/PluginRootResolver.d.ts +14 -0
- package/dist/types/uapkg-pack/core/TarArchiveWriter.d.ts +11 -0
- package/dist/types/uapkg-pack/index.d.ts +7 -0
- package/dist/types/uapkg-package-claims/archive/PackagedManifestReader.d.ts +28 -0
- package/dist/types/uapkg-package-claims/claims/ClaimsComparison.d.ts +44 -0
- package/dist/types/uapkg-package-claims/claims/PackageClaims.d.ts +9 -0
- package/dist/types/uapkg-package-claims/index.d.ts +7 -0
- package/dist/types/uapkg-package-claims/json/CanonicalJson.d.ts +17 -0
- package/dist/types/uapkg-package-claims/schema/PackageClaimsSchema.d.ts +27 -0
- package/dist/types/uapkg-package-claims/schema/index.d.ts +2 -0
- package/dist/types/uapkg-package-manifest/contracts/ManifestTypes.d.ts +37 -0
- package/dist/types/uapkg-package-manifest/core/DependencyMutator.d.ts +48 -0
- package/dist/types/uapkg-package-manifest/core/DevDependencyPolicy.d.ts +30 -0
- package/dist/types/uapkg-package-manifest/core/InstallPathResolver.d.ts +35 -0
- package/dist/types/uapkg-package-manifest/core/LockfileDiffer.d.ts +40 -0
- package/dist/types/uapkg-package-manifest/core/LockfileSyncIssue.d.ts +11 -0
- package/dist/types/uapkg-package-manifest/core/LockfileSyncValidator.d.ts +26 -0
- package/dist/types/uapkg-package-manifest/core/OutdatedChecker.d.ts +36 -0
- package/dist/types/uapkg-package-manifest/core/PackageManifest.d.ts +63 -0
- package/dist/types/uapkg-package-manifest/core/WhyGraph.d.ts +31 -0
- package/dist/types/uapkg-package-manifest/index.d.ts +18 -0
- package/dist/types/uapkg-package-manifest/io/LockfileReader.d.ts +12 -0
- package/dist/types/uapkg-package-manifest/io/LockfileSyncIssueWriter.d.ts +12 -0
- package/dist/types/uapkg-package-manifest/io/LockfileWriter.d.ts +11 -0
- package/dist/types/uapkg-package-manifest/io/ManifestReader.d.ts +12 -0
- package/dist/types/uapkg-package-manifest/io/ManifestWriter.d.ts +13 -0
- package/dist/types/uapkg-package-manifest/resolver/LockfileSync.d.ts +13 -0
- package/dist/types/uapkg-package-manifest/resolver/Resolver.d.ts +16 -0
- package/dist/types/uapkg-package-manifest-schema/index.d.ts +10 -0
- package/dist/types/uapkg-package-manifest-schema/lockfile/LockDependencySchema.d.ts +15 -0
- package/dist/types/uapkg-package-manifest-schema/lockfile/LockfileSchema.d.ts +22 -0
- package/dist/types/uapkg-package-manifest-schema/manifest/BaseManifestSchema.d.ts +56 -0
- package/dist/types/uapkg-package-manifest-schema/manifest/DependencySchema.d.ts +57 -0
- package/dist/types/uapkg-package-manifest-schema/manifest/ManifestKind.d.ts +17 -0
- package/dist/types/uapkg-package-manifest-schema/manifest/ManifestSchema.d.ts +106 -0
- package/dist/types/uapkg-package-manifest-schema/manifest/PluginManifestSchema.d.ts +52 -0
- package/dist/types/uapkg-package-manifest-schema/manifest/ProjectManifestSchema.d.ts +80 -0
- package/dist/types/uapkg-package-manifest-schema/manifest/PublishSchema.d.ts +15 -0
- package/dist/types/uapkg-registry-core/contracts/RegistryCoreTypes.d.ts +54 -0
- package/dist/types/uapkg-registry-core/core/RegistryCore.d.ts +26 -0
- package/dist/types/uapkg-registry-core/index.d.ts +14 -0
- package/dist/types/uapkg-registry-core/paths/RegistryPaths.d.ts +15 -0
- package/dist/types/uapkg-registry-core/registry/GitRunner.d.ts +31 -0
- package/dist/types/uapkg-registry-core/registry/Registry.d.ts +46 -0
- package/dist/types/uapkg-registry-core/registry/RegistryCacheValidator.d.ts +21 -0
- package/dist/types/uapkg-registry-core/registry/RegistryLock.d.ts +27 -0
- package/dist/types/uapkg-registry-core/registry/RegistryMetadataReader.d.ts +18 -0
- package/dist/types/uapkg-registry-core/registry/RegistryPackageReader.d.ts +24 -0
- package/dist/types/uapkg-registry-core/registry/RegistrySyncPolicy.d.ts +14 -0
- package/dist/types/uapkg-registry-core/registry/RegistryUpdater.d.ts +23 -0
- package/dist/types/uapkg-registry-core/registry/RegistryUrlSanitizer.d.ts +10 -0
- package/dist/types/uapkg-registry-core/resolution/PackageResolver.d.ts +21 -0
- package/dist/types/uapkg-registry-core/resolution/SemverSelectionPolicy.d.ts +36 -0
- package/dist/types/uapkg-registry-schema/index.d.ts +9 -0
- package/dist/types/uapkg-registry-schema/paths/RegistryPackagePath.d.ts +15 -0
- package/dist/types/uapkg-registry-schema/schemas/IntegritySchema.d.ts +12 -0
- package/dist/types/uapkg-registry-schema/schemas/PackageRegistryManifestSchema.d.ts +108 -0
- package/dist/types/uapkg-registry-schema/schemas/PackageSourceSchema.d.ts +12 -0
- package/dist/types/uapkg-registry-schema/schemas/RegistryAssetSchema.d.ts +15 -0
- package/dist/types/uapkg-registry-schema/schemas/RegistryDependencySchema.d.ts +36 -0
- package/dist/types/uapkg-registry-schema/schemas/RegistryMetaSchema.d.ts +29 -0
- package/dist/types/uapkg-registry-schema/schemas/RegistryVersionSchema.d.ts +71 -0
- package/dist/types/uapkg-registry-tools/aggregator/RegistryToolsAggregator.d.ts +45 -0
- package/dist/types/uapkg-registry-tools/contracts/RegistryToolsTypes.d.ts +116 -0
- package/dist/types/uapkg-registry-tools/index.d.ts +18 -0
- package/dist/types/uapkg-registry-tools/io/IntegrityCalculator.d.ts +20 -0
- package/dist/types/uapkg-registry-tools/io/ManifestStore.d.ts +41 -0
- package/dist/types/uapkg-registry-tools/listing/PackageLister.d.ts +22 -0
- package/dist/types/uapkg-registry-tools/mutation/AddPackageVersionPlanner.d.ts +25 -0
- package/dist/types/uapkg-registry-tools/mutation/RemovePackagePlanner.d.ts +22 -0
- package/dist/types/uapkg-registry-tools/mutation/RemovePackageVersionPlanner.d.ts +21 -0
- package/dist/types/uapkg-registry-tools/mutation/VersionSorter.d.ts +10 -0
- package/dist/types/uapkg-registry-tools/paths/RegistryRepoPaths.d.ts +23 -0
- package/dist/types/uapkg-registry-tools/tools/RegistryTools.d.ts +64 -0
- package/dist/types/uapkg-registry-tools/validation/DependencyReachabilityValidator.d.ts +24 -0
- package/dist/types/uapkg-registry-tools/validation/ExternalRegistryPolicyValidator.d.ts +22 -0
- package/dist/types/uapkg-registry-tools/validation/ManifestValidator.d.ts +16 -0
- package/dist/types/uapkg-registry-tools/validation/OfficialRegistryPolicyValidator.d.ts +34 -0
- package/dist/types/uapkg-registry-tools/validation/RegistryValidator.d.ts +31 -0
- package/dist/types/uapkg-registry-tools/validation/ReleaseFileNameValidator.d.ts +21 -0
- package/package.json +21 -36
- package/dist/app/CompositionRoot.d.ts.map +0 -1
- package/dist/app/CompositionRoot.js +0 -93
- package/dist/app/CompositionRoot.js.map +0 -1
- package/dist/app/UAPKGApplication.d.ts.map +0 -1
- package/dist/app/UAPKGApplication.js +0 -157
- package/dist/app/UAPKGApplication.js.map +0 -1
- package/dist/build/BuildMetadata.d.ts.map +0 -1
- package/dist/cli/UAPKGCommandLine.d.ts.map +0 -1
- package/dist/cli/UAPKGCommandLine.js +0 -250
- package/dist/cli/UAPKGCommandLine.js.map +0 -1
- package/dist/cli/parseCommandLine.d.ts.map +0 -1
- package/dist/cli/parseCommandLine.js +0 -11
- package/dist/cli/parseCommandLine.js.map +0 -1
- package/dist/cli/parsing/UAPKGCommandLineParser.d.ts.map +0 -1
- package/dist/cli/parsing/UAPKGCommandLineParser.js +0 -24
- package/dist/cli/parsing/UAPKGCommandLineParser.js.map +0 -1
- package/dist/cli/parsing/UAPKGParserRegistry.d.ts.map +0 -1
- package/dist/cli/parsing/UAPKGParserRegistry.js +0 -54
- package/dist/cli/parsing/UAPKGParserRegistry.js.map +0 -1
- package/dist/cli/parsing/contracts/UAPKGCommandModule.d.ts.map +0 -1
- package/dist/cli/parsing/contracts/UAPKGCommandModule.js +0 -1
- package/dist/cli/parsing/modules/AddCommandModule.d.ts.map +0 -1
- package/dist/cli/parsing/modules/AddCommandModule.js +0 -50
- package/dist/cli/parsing/modules/AddCommandModule.js.map +0 -1
- package/dist/cli/parsing/modules/ConfigCommandModule.d.ts.map +0 -1
- package/dist/cli/parsing/modules/ConfigCommandModule.js +0 -88
- package/dist/cli/parsing/modules/ConfigCommandModule.js.map +0 -1
- package/dist/cli/parsing/modules/InitCommandModule.d.ts.map +0 -1
- package/dist/cli/parsing/modules/InitCommandModule.js +0 -26
- package/dist/cli/parsing/modules/InitCommandModule.js.map +0 -1
- package/dist/cli/parsing/modules/InstallCommandModule.d.ts.map +0 -1
- package/dist/cli/parsing/modules/InstallCommandModule.js +0 -37
- package/dist/cli/parsing/modules/InstallCommandModule.js.map +0 -1
- package/dist/cli/parsing/modules/LifecycleCommandModule.d.ts.map +0 -1
- package/dist/cli/parsing/modules/LifecycleCommandModule.js +0 -84
- package/dist/cli/parsing/modules/LifecycleCommandModule.js.map +0 -1
- package/dist/cli/parsing/modules/ListCommandModule.d.ts.map +0 -1
- package/dist/cli/parsing/modules/ListCommandModule.js +0 -27
- package/dist/cli/parsing/modules/ListCommandModule.js.map +0 -1
- package/dist/cli/parsing/modules/LoginCommandModule.d.ts.map +0 -1
- package/dist/cli/parsing/modules/LoginCommandModule.js +0 -35
- package/dist/cli/parsing/modules/LoginCommandModule.js.map +0 -1
- package/dist/cli/parsing/modules/LogoutCommandModule.d.ts.map +0 -1
- package/dist/cli/parsing/modules/LogoutCommandModule.js +0 -31
- package/dist/cli/parsing/modules/LogoutCommandModule.js.map +0 -1
- package/dist/cli/parsing/modules/OutdatedCommandModule.d.ts.map +0 -1
- package/dist/cli/parsing/modules/OutdatedCommandModule.js +0 -22
- package/dist/cli/parsing/modules/OutdatedCommandModule.js.map +0 -1
- package/dist/cli/parsing/modules/PackCommandModule.d.ts.map +0 -1
- package/dist/cli/parsing/modules/PackCommandModule.js +0 -31
- package/dist/cli/parsing/modules/PackCommandModule.js.map +0 -1
- package/dist/cli/parsing/modules/ProjectGetNameCommandModule.d.ts.map +0 -1
- package/dist/cli/parsing/modules/ProjectGetNameCommandModule.js +0 -15
- package/dist/cli/parsing/modules/ProjectGetNameCommandModule.js.map +0 -1
- package/dist/cli/parsing/modules/PublishCommandModule.d.ts.map +0 -1
- package/dist/cli/parsing/modules/PublishCommandModule.js +0 -66
- package/dist/cli/parsing/modules/PublishCommandModule.js.map +0 -1
- package/dist/cli/parsing/modules/RegistryCommandModule.d.ts.map +0 -1
- package/dist/cli/parsing/modules/RegistryCommandModule.js +0 -118
- package/dist/cli/parsing/modules/RegistryCommandModule.js.map +0 -1
- package/dist/cli/parsing/modules/RemoveCommandModule.d.ts.map +0 -1
- package/dist/cli/parsing/modules/RemoveCommandModule.js +0 -26
- package/dist/cli/parsing/modules/RemoveCommandModule.js.map +0 -1
- package/dist/cli/parsing/modules/RequestsCommandModule.d.ts.map +0 -1
- package/dist/cli/parsing/modules/RequestsCommandModule.js +0 -59
- package/dist/cli/parsing/modules/RequestsCommandModule.js.map +0 -1
- package/dist/cli/parsing/modules/UpdateCommandModule.d.ts.map +0 -1
- package/dist/cli/parsing/modules/UpdateCommandModule.js +0 -39
- package/dist/cli/parsing/modules/UpdateCommandModule.js.map +0 -1
- package/dist/cli/parsing/modules/WhoamiCommandModule.d.ts.map +0 -1
- package/dist/cli/parsing/modules/WhoamiCommandModule.js +0 -31
- package/dist/cli/parsing/modules/WhoamiCommandModule.js.map +0 -1
- package/dist/cli/parsing/modules/WhyCommandModule.d.ts.map +0 -1
- package/dist/cli/parsing/modules/WhyCommandModule.js +0 -26
- package/dist/cli/parsing/modules/WhyCommandModule.js.map +0 -1
- package/dist/cli/parsing/modules/sharedOptions.d.ts.map +0 -1
- package/dist/cli/parsing/modules/sharedOptions.js +0 -21
- package/dist/cli/parsing/modules/sharedOptions.js.map +0 -1
- package/dist/cli/runUAPKGCLI.d.ts.map +0 -1
- package/dist/cli/runUAPKGCLI.js +0 -12
- package/dist/cli/runUAPKGCLI.js.map +0 -1
- package/dist/cli-bootstrap.js.map +0 -1
- package/dist/commands/AddCommand.d.ts.map +0 -1
- package/dist/commands/AddCommand.js +0 -51
- package/dist/commands/AddCommand.js.map +0 -1
- package/dist/commands/Command.d.ts.map +0 -1
- package/dist/commands/Command.js +0 -1
- package/dist/commands/ConfigCommand.d.ts.map +0 -1
- package/dist/commands/ConfigCommand.js +0 -166
- package/dist/commands/ConfigCommand.js.map +0 -1
- package/dist/commands/InitCommand.d.ts.map +0 -1
- package/dist/commands/InitCommand.js +0 -66
- package/dist/commands/InitCommand.js.map +0 -1
- package/dist/commands/InstallCommand.d.ts.map +0 -1
- package/dist/commands/InstallCommand.js +0 -120
- package/dist/commands/InstallCommand.js.map +0 -1
- package/dist/commands/ListCommand.d.ts.map +0 -1
- package/dist/commands/ListCommand.js +0 -78
- package/dist/commands/ListCommand.js.map +0 -1
- package/dist/commands/LoginCommand.d.ts.map +0 -1
- package/dist/commands/LoginCommand.js +0 -67
- package/dist/commands/LoginCommand.js.map +0 -1
- package/dist/commands/LogoutCommand.d.ts.map +0 -1
- package/dist/commands/LogoutCommand.js +0 -37
- package/dist/commands/LogoutCommand.js.map +0 -1
- package/dist/commands/OutdatedCommand.d.ts.map +0 -1
- package/dist/commands/OutdatedCommand.js +0 -43
- package/dist/commands/OutdatedCommand.js.map +0 -1
- package/dist/commands/PackCommand.d.ts.map +0 -1
- package/dist/commands/PackCommand.js +0 -27
- package/dist/commands/PackCommand.js.map +0 -1
- package/dist/commands/PackageLifecycleCommand.d.ts.map +0 -1
- package/dist/commands/PackageLifecycleCommand.js +0 -149
- package/dist/commands/PackageLifecycleCommand.js.map +0 -1
- package/dist/commands/PostinstallCandidateBuilder.d.ts.map +0 -1
- package/dist/commands/PostinstallCandidateBuilder.js +0 -44
- package/dist/commands/PostinstallCandidateBuilder.js.map +0 -1
- package/dist/commands/ProjectGetNameCommand.d.ts.map +0 -1
- package/dist/commands/ProjectGetNameCommand.js +0 -26
- package/dist/commands/ProjectGetNameCommand.js.map +0 -1
- package/dist/commands/PublishCommand.d.ts.map +0 -1
- package/dist/commands/PublishCommand.js +0 -259
- package/dist/commands/PublishCommand.js.map +0 -1
- package/dist/commands/RegistryCommand.d.ts.map +0 -1
- package/dist/commands/RegistryCommand.js +0 -197
- package/dist/commands/RegistryCommand.js.map +0 -1
- package/dist/commands/RemoveCommand.d.ts.map +0 -1
- package/dist/commands/RemoveCommand.js +0 -48
- package/dist/commands/RemoveCommand.js.map +0 -1
- package/dist/commands/RequestsCommand.d.ts.map +0 -1
- package/dist/commands/RequestsCommand.js +0 -85
- package/dist/commands/RequestsCommand.js.map +0 -1
- package/dist/commands/UpdateCommand.d.ts.map +0 -1
- package/dist/commands/UpdateCommand.js +0 -113
- package/dist/commands/UpdateCommand.js.map +0 -1
- package/dist/commands/WhoamiCommand.d.ts.map +0 -1
- package/dist/commands/WhoamiCommand.js +0 -66
- package/dist/commands/WhoamiCommand.js.map +0 -1
- package/dist/commands/WhyCommand.d.ts.map +0 -1
- package/dist/commands/WhyCommand.js +0 -47
- package/dist/commands/WhyCommand.js.map +0 -1
- package/dist/commands/add/DependencyAddResolver.d.ts.map +0 -1
- package/dist/commands/add/DependencyAddResolver.js +0 -38
- package/dist/commands/add/DependencyAddResolver.js.map +0 -1
- package/dist/control-plane/AccountManager.d.ts.map +0 -1
- package/dist/control-plane/AccountManager.js +0 -822
- package/dist/control-plane/AccountManager.js.map +0 -1
- package/dist/control-plane/ArtifactObserver.d.ts.map +0 -1
- package/dist/control-plane/ArtifactObserver.js +0 -77
- package/dist/control-plane/ArtifactObserver.js.map +0 -1
- package/dist/control-plane/AuthMetadataStore.d.ts.map +0 -1
- package/dist/control-plane/AuthMetadataStore.js +0 -114
- package/dist/control-plane/AuthMetadataStore.js.map +0 -1
- package/dist/control-plane/AuthStoragePaths.d.ts.map +0 -1
- package/dist/control-plane/AuthStoragePaths.js +0 -22
- package/dist/control-plane/AuthStoragePaths.js.map +0 -1
- package/dist/control-plane/AuthenticationSelector.d.ts.map +0 -1
- package/dist/control-plane/AuthenticationSelector.js +0 -70
- package/dist/control-plane/AuthenticationSelector.js.map +0 -1
- package/dist/control-plane/ControlPlaneClient.d.ts.map +0 -1
- package/dist/control-plane/ControlPlaneClient.js +0 -291
- package/dist/control-plane/ControlPlaneClient.js.map +0 -1
- package/dist/control-plane/ControlPlaneEndpoints.d.ts.map +0 -1
- package/dist/control-plane/ControlPlaneEndpoints.js +0 -24
- package/dist/control-plane/ControlPlaneEndpoints.js.map +0 -1
- package/dist/control-plane/ControlPlaneTypes.d.ts.map +0 -1
- package/dist/control-plane/ControlPlaneTypes.js +0 -100
- package/dist/control-plane/ControlPlaneTypes.js.map +0 -1
- package/dist/control-plane/CredentialStore.d.ts.map +0 -1
- package/dist/control-plane/CredentialStore.js +0 -70
- package/dist/control-plane/CredentialStore.js.map +0 -1
- package/dist/control-plane/DPoPKeyStore.d.ts.map +0 -1
- package/dist/control-plane/DPoPKeyStore.js +0 -58
- package/dist/control-plane/DPoPKeyStore.js.map +0 -1
- package/dist/control-plane/GitHubActionsOidcCredentialProvider.d.ts.map +0 -1
- package/dist/control-plane/GitHubActionsOidcCredentialProvider.js +0 -201
- package/dist/control-plane/GitHubActionsOidcCredentialProvider.js.map +0 -1
- package/dist/control-plane/PublishIdempotencyStore.d.ts.map +0 -1
- package/dist/control-plane/PublishIdempotencyStore.js +0 -100
- package/dist/control-plane/PublishIdempotencyStore.js.map +0 -1
- package/dist/control-plane/PublishRequestErrorMapper.d.ts.map +0 -1
- package/dist/control-plane/PublishRequestErrorMapper.js +0 -597
- package/dist/control-plane/PublishRequestErrorMapper.js.map +0 -1
- package/dist/control-plane/RegistryGrantLock.d.ts.map +0 -1
- package/dist/control-plane/RegistryGrantLock.js +0 -163
- package/dist/control-plane/RegistryGrantLock.js.map +0 -1
- package/dist/control-plane/RegistryTrustResolver.d.ts.map +0 -1
- package/dist/control-plane/RegistryTrustResolver.js +0 -105
- package/dist/control-plane/RegistryTrustResolver.js.map +0 -1
- package/dist/postinstall/api/PostinstallDsl.d.ts.map +0 -1
- package/dist/postinstall/api/PostinstallDsl.js +0 -36
- package/dist/postinstall/api/PostinstallDsl.js.map +0 -1
- package/dist/postinstall/api/definePostinstall.d.ts.map +0 -1
- package/dist/postinstall/api/definePostinstall.js +0 -23
- package/dist/postinstall/api/definePostinstall.js.map +0 -1
- package/dist/postinstall/index.js +0 -25
- package/dist/postinstall/loader/EntryResolver.d.ts.map +0 -1
- package/dist/postinstall/loader/EntryResolver.js +0 -39
- package/dist/postinstall/loader/EntryResolver.js.map +0 -1
- package/dist/postinstall/loader/EsbuildTranspiler.d.ts.map +0 -1
- package/dist/postinstall/loader/EsbuildTranspiler.js +0 -54
- package/dist/postinstall/loader/EsbuildTranspiler.js.map +0 -1
- package/dist/postinstall/loader/ExportValidator.d.ts.map +0 -1
- package/dist/postinstall/loader/ExportValidator.js +0 -38
- package/dist/postinstall/loader/ExportValidator.js.map +0 -1
- package/dist/postinstall/loader/ModuleImporter.d.ts.map +0 -1
- package/dist/postinstall/loader/ModuleImporter.js +0 -52
- package/dist/postinstall/loader/ModuleImporter.js.map +0 -1
- package/dist/postinstall/loader/PostinstallLoader.d.ts.map +0 -1
- package/dist/postinstall/loader/PostinstallLoader.js +0 -64
- package/dist/postinstall/loader/PostinstallLoader.js.map +0 -1
- package/dist/postinstall/markers/MarkerBlockEditor.d.ts.map +0 -1
- package/dist/postinstall/markers/MarkerBlockEditor.js +0 -50
- package/dist/postinstall/markers/MarkerBlockEditor.js.map +0 -1
- package/dist/postinstall/markers/MarkerBlockService.d.ts.map +0 -1
- package/dist/postinstall/markers/MarkerBlockService.js +0 -46
- package/dist/postinstall/markers/MarkerBlockService.js.map +0 -1
- package/dist/postinstall/markers/MarkerIntegrityValidator.d.ts.map +0 -1
- package/dist/postinstall/markers/MarkerIntegrityValidator.js +0 -48
- package/dist/postinstall/markers/MarkerIntegrityValidator.js.map +0 -1
- package/dist/postinstall/policy/PostinstallPolicyGate.d.ts.map +0 -1
- package/dist/postinstall/policy/PostinstallPolicyGate.js +0 -68
- package/dist/postinstall/policy/PostinstallPolicyGate.js.map +0 -1
- package/dist/postinstall/runner/PostinstallOrchestrator.d.ts.map +0 -1
- package/dist/postinstall/runner/PostinstallOrchestrator.js +0 -174
- package/dist/postinstall/runner/PostinstallOrchestrator.js.map +0 -1
- package/dist/postinstall/unreal/BuildCsInjector.d.ts.map +0 -1
- package/dist/postinstall/unreal/BuildCsInjector.js +0 -60
- package/dist/postinstall/unreal/BuildCsInjector.js.map +0 -1
- package/dist/postinstall/unreal/CSharpInjectionEngine.d.ts.map +0 -1
- package/dist/postinstall/unreal/CSharpInjectionEngine.js +0 -58
- package/dist/postinstall/unreal/CSharpInjectionEngine.js.map +0 -1
- package/dist/postinstall/unreal/CSharpStructureAnalyzer.d.ts.map +0 -1
- package/dist/postinstall/unreal/CSharpStructureAnalyzer.js +0 -126
- package/dist/postinstall/unreal/CSharpStructureAnalyzer.js.map +0 -1
- package/dist/postinstall/unreal/CSharpStructures.d.ts.map +0 -1
- package/dist/postinstall/unreal/CSharpStructures.js +0 -1
- package/dist/postinstall/unreal/CSharpWrapperFactory.d.ts.map +0 -1
- package/dist/postinstall/unreal/CSharpWrapperFactory.js +0 -56
- package/dist/postinstall/unreal/CSharpWrapperFactory.js.map +0 -1
- package/dist/postinstall/unreal/PluginHash.d.ts.map +0 -1
- package/dist/postinstall/unreal/PluginHash.js +0 -18
- package/dist/postinstall/unreal/PluginHash.js.map +0 -1
- package/dist/postinstall/unreal/PrettyParseError.d.ts.map +0 -1
- package/dist/postinstall/unreal/PrettyParseError.js +0 -43
- package/dist/postinstall/unreal/PrettyParseError.js.map +0 -1
- package/dist/postinstall/unreal/ProjectFileLocator.d.ts.map +0 -1
- package/dist/postinstall/unreal/ProjectFileLocator.js +0 -51
- package/dist/postinstall/unreal/ProjectFileLocator.js.map +0 -1
- package/dist/postinstall/unreal/TargetCsInjector.d.ts.map +0 -1
- package/dist/postinstall/unreal/TargetCsInjector.js +0 -60
- package/dist/postinstall/unreal/TargetCsInjector.js.map +0 -1
- package/dist/postinstall/unreal/UProjectInjector.d.ts.map +0 -1
- package/dist/postinstall/unreal/UProjectInjector.js +0 -58
- package/dist/postinstall/unreal/UProjectInjector.js.map +0 -1
- package/dist/postinstall/unreal/UProjectMetadataReader.d.ts.map +0 -1
- package/dist/postinstall/unreal/UProjectMetadataReader.js +0 -24
- package/dist/postinstall/unreal/UProjectMetadataReader.js.map +0 -1
- package/dist/postinstall/unreal/UnrealSourceCatalog.d.ts.map +0 -1
- package/dist/postinstall/unreal/UnrealSourceCatalog.js +0 -52
- package/dist/postinstall/unreal/UnrealSourceCatalog.js.map +0 -1
- package/dist/prompts/InkPromptService.d.ts.map +0 -1
- package/dist/prompts/InkPromptService.js +0 -105
- package/dist/prompts/InkPromptService.js.map +0 -1
- package/dist/prompts/ProjectContextDetector.d.ts.map +0 -1
- package/dist/prompts/ProjectContextDetector.js +0 -33
- package/dist/prompts/ProjectContextDetector.js.map +0 -1
- package/dist/prompts/PromptService.d.ts.map +0 -1
- package/dist/prompts/PromptService.js +0 -1
- package/dist/reporting/DiagnosticDeduplicator.d.ts.map +0 -1
- package/dist/reporting/DiagnosticDeduplicator.js +0 -38
- package/dist/reporting/DiagnosticDeduplicator.js.map +0 -1
- package/dist/reporting/DiagnosticRenderer.d.ts.map +0 -1
- package/dist/reporting/DiagnosticRenderer.js +0 -1
- package/dist/reporting/DiagnosticReporter.d.ts.map +0 -1
- package/dist/reporting/DiagnosticReporter.js +0 -42
- package/dist/reporting/DiagnosticReporter.js.map +0 -1
- package/dist/reporting/InkDiagnosticRenderer.d.ts.map +0 -1
- package/dist/reporting/InkDiagnosticRenderer.js +0 -52
- package/dist/reporting/InkDiagnosticRenderer.js.map +0 -1
- package/dist/reporting/InstallProgressReporter.d.ts.map +0 -1
- package/dist/reporting/InstallProgressReporter.js +0 -50
- package/dist/reporting/InstallProgressReporter.js.map +0 -1
- package/dist/reporting/JsonReporter.d.ts.map +0 -1
- package/dist/reporting/JsonReporter.js +0 -36
- package/dist/reporting/JsonReporter.js.map +0 -1
- package/dist/reporting/RegistryRequestTerminalFormatter.d.ts.map +0 -1
- package/dist/reporting/RegistryRequestTerminalFormatter.js +0 -90
- package/dist/reporting/RegistryRequestTerminalFormatter.js.map +0 -1
- package/dist/reporting/TextDiagnosticRenderer.d.ts.map +0 -1
- package/dist/reporting/TextDiagnosticRenderer.js +0 -38
- package/dist/reporting/TextDiagnosticRenderer.js.map +0 -1
- package/dist/reporting/TextSink.d.ts.map +0 -1
- package/dist/reporting/TextSink.js +0 -29
- package/dist/reporting/TextSink.js.map +0 -1
- /package/dist/{cli-bootstrap.d.ts → types/uapkg/cli-bootstrap.d.ts} +0 -0
- /package/dist/{index.d.ts → types/uapkg/index.d.ts} +0 -0
- /package/dist/{postinstall → types/uapkg/postinstall}/index.d.ts +0 -0
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Result } from "
|
|
1
|
+
import { Result } from "../../../uapkg-diagnostics/index.js";
|
|
2
2
|
//#region src/postinstall/loader/EsbuildTranspiler.d.ts
|
|
3
3
|
/**
|
|
4
4
|
* Transpiles a single `.ts` postinstall entry into an in-memory ESM bundle.
|
|
@@ -18,4 +18,3 @@ declare class EsbuildTranspiler {
|
|
|
18
18
|
}
|
|
19
19
|
//#endregion
|
|
20
20
|
export { EsbuildTranspiler };
|
|
21
|
-
//# sourceMappingURL=EsbuildTranspiler.d.ts.map
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { PostinstallDefinition } from "../api/PostinstallDsl.js";
|
|
2
|
-
import { Result } from "
|
|
2
|
+
import { Result } from "../../../uapkg-diagnostics/index.js";
|
|
3
3
|
//#region src/postinstall/loader/ExportValidator.d.ts
|
|
4
4
|
/**
|
|
5
5
|
* Normalizes an imported module to its default export (or the module object
|
|
@@ -15,4 +15,3 @@ declare class ExportValidator {
|
|
|
15
15
|
}
|
|
16
16
|
//#endregion
|
|
17
17
|
export { ExportValidator };
|
|
18
|
-
//# sourceMappingURL=ExportValidator.d.ts.map
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Result } from "
|
|
1
|
+
import { Result } from "../../../uapkg-diagnostics/index.js";
|
|
2
2
|
//#region src/postinstall/loader/ModuleImporter.d.ts
|
|
3
3
|
type ModuleSource = {
|
|
4
4
|
readonly kind: 'file';
|
|
@@ -29,4 +29,3 @@ declare class ModuleImporter {
|
|
|
29
29
|
}
|
|
30
30
|
//#endregion
|
|
31
31
|
export { ModuleImporter, ModuleSource };
|
|
32
|
-
//# sourceMappingURL=ModuleImporter.d.ts.map
|
|
@@ -3,7 +3,7 @@ import { EntryResolver } from "./EntryResolver.js";
|
|
|
3
3
|
import { EsbuildTranspiler } from "./EsbuildTranspiler.js";
|
|
4
4
|
import { ExportValidator } from "./ExportValidator.js";
|
|
5
5
|
import { ModuleImporter } from "./ModuleImporter.js";
|
|
6
|
-
import { Result } from "
|
|
6
|
+
import { Result } from "../../../uapkg-diagnostics/index.js";
|
|
7
7
|
//#region src/postinstall/loader/PostinstallLoader.d.ts
|
|
8
8
|
interface LoadedPostinstall {
|
|
9
9
|
readonly packageName: string;
|
|
@@ -32,4 +32,3 @@ declare class PostinstallLoader {
|
|
|
32
32
|
}
|
|
33
33
|
//#endregion
|
|
34
34
|
export { LoadedPostinstall, PostinstallLoader };
|
|
35
|
-
//# sourceMappingURL=PostinstallLoader.d.ts.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { MarkerBlockService } from "./MarkerBlockService.js";
|
|
2
2
|
import { MarkerIntegrityValidator } from "./MarkerIntegrityValidator.js";
|
|
3
|
-
import { Result } from "
|
|
3
|
+
import { Result } from "../../../uapkg-diagnostics/index.js";
|
|
4
4
|
//#region src/postinstall/markers/MarkerBlockEditor.d.ts
|
|
5
5
|
/**
|
|
6
6
|
* Higher-level idempotent wrapper around {@link MarkerBlockService}.
|
|
@@ -30,4 +30,3 @@ declare class MarkerBlockEditor {
|
|
|
30
30
|
}
|
|
31
31
|
//#endregion
|
|
32
32
|
export { MarkerBlockEditor };
|
|
33
|
-
//# sourceMappingURL=MarkerBlockEditor.d.ts.map
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { ConfigInstance, PostInstallPolicyResolver, PostInstallPolicyValue, ResolvedConfig } from "
|
|
2
|
-
import { PostinstallPolicyDeniedDiagnostic } from "
|
|
1
|
+
import { ConfigInstance, PostInstallPolicyResolver, PostInstallPolicyValue, ResolvedConfig } from "../../../uapkg-config/index.js";
|
|
2
|
+
import { PostinstallPolicyDeniedDiagnostic } from "../../../uapkg-diagnostics/index.js";
|
|
3
3
|
//#region src/postinstall/policy/PostinstallPolicyGate.d.ts
|
|
4
4
|
/** Minimal config reader surface; defaults to the singleton `@uapkg/config`. */
|
|
5
5
|
interface PolicyConfigReader {
|
|
@@ -35,4 +35,3 @@ declare class PostinstallPolicyGate {
|
|
|
35
35
|
}
|
|
36
36
|
//#endregion
|
|
37
37
|
export { type ConfigInstance, PolicyConfigReader, PolicyDecision, PostinstallPolicyGate };
|
|
38
|
-
//# sourceMappingURL=PostinstallPolicyGate.d.ts.map
|
|
@@ -6,7 +6,7 @@ import { TargetCsInjector } from "../unreal/TargetCsInjector.js";
|
|
|
6
6
|
import { UnrealSourceCatalogBuilder } from "../unreal/UnrealSourceCatalog.js";
|
|
7
7
|
import { UProjectInjector } from "../unreal/UProjectInjector.js";
|
|
8
8
|
import { UProjectMetadataReader } from "../unreal/UProjectMetadataReader.js";
|
|
9
|
-
import { Result } from "
|
|
9
|
+
import { Result } from "../../../uapkg-diagnostics/index.js";
|
|
10
10
|
//#region src/postinstall/runner/PostinstallOrchestrator.d.ts
|
|
11
11
|
/**
|
|
12
12
|
* Projection of an installer action that the orchestrator needs. The CLI
|
|
@@ -71,4 +71,3 @@ declare class PostinstallOrchestrator {
|
|
|
71
71
|
}
|
|
72
72
|
//#endregion
|
|
73
73
|
export { PostinstallCandidate, PostinstallOrchestrator, PostinstallOrchestratorInput, PostinstallReport };
|
|
74
|
-
//# sourceMappingURL=PostinstallOrchestrator.d.ts.map
|
|
@@ -3,7 +3,7 @@ import { MarkerBlockEditor } from "../markers/MarkerBlockEditor.js";
|
|
|
3
3
|
import { CSharpInjectionEngine } from "./CSharpInjectionEngine.js";
|
|
4
4
|
import { CSharpStructureAnalyzer } from "./CSharpStructureAnalyzer.js";
|
|
5
5
|
import { CSharpWrapperFactory } from "./CSharpWrapperFactory.js";
|
|
6
|
-
import { Result } from "
|
|
6
|
+
import { Result } from "../../../uapkg-diagnostics/index.js";
|
|
7
7
|
//#region src/postinstall/unreal/BuildCsInjector.d.ts
|
|
8
8
|
/**
|
|
9
9
|
* Injects a plugin's `setupModules` content into a single `*.Build.cs` file.
|
|
@@ -23,4 +23,3 @@ declare class BuildCsInjector {
|
|
|
23
23
|
}
|
|
24
24
|
//#endregion
|
|
25
25
|
export { BuildCsInjector };
|
|
26
|
-
//# sourceMappingURL=BuildCsInjector.d.ts.map
|
|
@@ -3,7 +3,7 @@ import { MarkerBlockEditor } from "../markers/MarkerBlockEditor.js";
|
|
|
3
3
|
import { CSharpInjectionEngine } from "./CSharpInjectionEngine.js";
|
|
4
4
|
import { CSharpStructureAnalyzer } from "./CSharpStructureAnalyzer.js";
|
|
5
5
|
import { CSharpWrapperFactory } from "./CSharpWrapperFactory.js";
|
|
6
|
-
import { Result } from "
|
|
6
|
+
import { Result } from "../../../uapkg-diagnostics/index.js";
|
|
7
7
|
//#region src/postinstall/unreal/TargetCsInjector.d.ts
|
|
8
8
|
/**
|
|
9
9
|
* Injects a plugin's `setupTargets` content into a single `*.Target.cs` file.
|
|
@@ -23,4 +23,3 @@ declare class TargetCsInjector {
|
|
|
23
23
|
}
|
|
24
24
|
//#endregion
|
|
25
25
|
export { TargetCsInjector };
|
|
26
|
-
//# sourceMappingURL=TargetCsInjector.d.ts.map
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Result } from "
|
|
1
|
+
import { Result } from "../../../uapkg-diagnostics/index.js";
|
|
2
2
|
//#region src/postinstall/unreal/UProjectInjector.d.ts
|
|
3
3
|
/**
|
|
4
4
|
* Enables the given plugin names in the host project's `.uproject` file,
|
|
@@ -12,4 +12,3 @@ declare class UProjectInjector {
|
|
|
12
12
|
}
|
|
13
13
|
//#endregion
|
|
14
14
|
export { UProjectInjector };
|
|
15
|
-
//# sourceMappingURL=UProjectInjector.d.ts.map
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { ManifestKind } from "
|
|
1
|
+
import { ManifestKind } from "../../uapkg-package-manifest-schema/index.js";
|
|
2
2
|
//#region src/prompts/ProjectContextDetector.d.ts
|
|
3
3
|
interface ProjectContextDetection {
|
|
4
4
|
suggestedKind: ManifestKind;
|
|
@@ -10,4 +10,3 @@ declare class ProjectContextDetector {
|
|
|
10
10
|
}
|
|
11
11
|
//#endregion
|
|
12
12
|
export { ProjectContextDetection, ProjectContextDetector };
|
|
13
|
-
//# sourceMappingURL=ProjectContextDetector.d.ts.map
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Diagnostic } from "
|
|
1
|
+
import { Diagnostic } from "../../uapkg-diagnostics/index.js";
|
|
2
2
|
//#region src/reporting/DiagnosticDeduplicator.d.ts
|
|
3
3
|
/**
|
|
4
4
|
* Suppresses diagnostics marked as `emitPolicy: "once"` across the current
|
|
@@ -11,4 +11,3 @@ declare class DiagnosticDeduplicator {
|
|
|
11
11
|
}
|
|
12
12
|
//#endregion
|
|
13
13
|
export { DiagnosticDeduplicator };
|
|
14
|
-
//# sourceMappingURL=DiagnosticDeduplicator.d.ts.map
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Diagnostic } from "
|
|
1
|
+
import { Diagnostic } from "../../uapkg-diagnostics/index.js";
|
|
2
2
|
//#region src/reporting/DiagnosticRenderer.d.ts
|
|
3
3
|
/**
|
|
4
4
|
* Strategy for turning a batch of diagnostics at a single severity stream
|
|
@@ -18,4 +18,3 @@ interface DiagnosticRenderer {
|
|
|
18
18
|
}
|
|
19
19
|
//#endregion
|
|
20
20
|
export { DiagnosticRenderer };
|
|
21
|
-
//# sourceMappingURL=DiagnosticRenderer.d.ts.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { DiagnosticDeduplicator } from "./DiagnosticDeduplicator.js";
|
|
2
2
|
import { DiagnosticRenderer } from "./DiagnosticRenderer.js";
|
|
3
|
-
import { Diagnostic } from "
|
|
3
|
+
import { Diagnostic } from "../../uapkg-diagnostics/index.js";
|
|
4
4
|
//#region src/reporting/DiagnosticReporter.d.ts
|
|
5
5
|
/**
|
|
6
6
|
* Human-readable diagnostic reporter.
|
|
@@ -23,4 +23,3 @@ declare class DiagnosticReporter {
|
|
|
23
23
|
}
|
|
24
24
|
//#endregion
|
|
25
25
|
export { DiagnosticReporter };
|
|
26
|
-
//# sourceMappingURL=DiagnosticReporter.d.ts.map
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { DiagnosticRenderer } from "./DiagnosticRenderer.js";
|
|
2
2
|
import { TextSink } from "./TextSink.js";
|
|
3
|
-
import { Diagnostic } from "
|
|
4
|
-
import { DiagnosticInkRegistry } from "
|
|
3
|
+
import { Diagnostic } from "../../uapkg-diagnostics/index.js";
|
|
4
|
+
import { DiagnosticInkRegistry } from "../../uapkg-diagnostics-format/ink/index.js";
|
|
5
5
|
//#region src/reporting/InkDiagnosticRenderer.d.ts
|
|
6
6
|
/**
|
|
7
7
|
* Ink-backed diagnostic renderer.
|
|
@@ -21,4 +21,3 @@ declare class InkDiagnosticRenderer implements DiagnosticRenderer {
|
|
|
21
21
|
}
|
|
22
22
|
//#endregion
|
|
23
23
|
export { InkDiagnosticRenderer };
|
|
24
|
-
//# sourceMappingURL=InkDiagnosticRenderer.d.ts.map
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { TextSink } from "./TextSink.js";
|
|
2
|
-
import { DownloadStatusSnapshot } from "
|
|
2
|
+
import { DownloadStatusSnapshot } from "../../uapkg-installer/index.js";
|
|
3
3
|
//#region src/reporting/InstallProgressReporter.d.ts
|
|
4
4
|
/**
|
|
5
5
|
* Text-mode progress reporter for `uapkg install / add / update`.
|
|
@@ -34,4 +34,3 @@ declare class InstallProgressReporter {
|
|
|
34
34
|
}
|
|
35
35
|
//#endregion
|
|
36
36
|
export { InstallProgressReporter };
|
|
37
|
-
//# sourceMappingURL=InstallProgressReporter.d.ts.map
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { TextSink } from "./TextSink.js";
|
|
2
|
-
import { Diagnostic } from "
|
|
2
|
+
import { Diagnostic } from "../../uapkg-diagnostics/index.js";
|
|
3
3
|
//#region src/reporting/JsonReporter.d.ts
|
|
4
4
|
/**
|
|
5
5
|
* Stable JSON envelope used when any command is invoked with `--json`.
|
|
@@ -28,4 +28,3 @@ declare class JsonReporter {
|
|
|
28
28
|
}
|
|
29
29
|
//#endregion
|
|
30
30
|
export { JsonEnvelope, JsonReporter };
|
|
31
|
-
//# sourceMappingURL=JsonReporter.d.ts.map
|
|
@@ -33,4 +33,3 @@ declare function isRegistryRequestTerminalStatus(status: RegistryRequestStatus):
|
|
|
33
33
|
declare function isRegistryRequestSuccessStatus(status: RegistryRequestStatus): boolean;
|
|
34
34
|
//#endregion
|
|
35
35
|
export { RegistryRequestPresentation, RegistryRequestTerminalFormatOptions, RegistryRequestTerminalOutput, formatRegistryRequestTerminal, isRegistryRequestSuccessStatus, isRegistryRequestTerminalStatus };
|
|
36
|
-
//# sourceMappingURL=RegistryRequestTerminalFormatter.d.ts.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { DiagnosticRenderer } from "./DiagnosticRenderer.js";
|
|
2
2
|
import { TextSink } from "./TextSink.js";
|
|
3
|
-
import { Diagnostic } from "
|
|
3
|
+
import { Diagnostic } from "../../uapkg-diagnostics/index.js";
|
|
4
4
|
//#region src/reporting/TextDiagnosticRenderer.d.ts
|
|
5
5
|
/**
|
|
6
6
|
* Plain-text diagnostic renderer — used by tests and by any non-TTY path
|
|
@@ -20,4 +20,3 @@ declare class TextDiagnosticRenderer implements DiagnosticRenderer {
|
|
|
20
20
|
}
|
|
21
21
|
//#endregion
|
|
22
22
|
export { TextDiagnosticRenderer };
|
|
23
|
-
//# sourceMappingURL=TextDiagnosticRenderer.d.ts.map
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Diagnostic } from "
|
|
1
|
+
import { Diagnostic } from "../../uapkg-diagnostics/index.js";
|
|
2
2
|
//#region src/reporting/TextSink.d.ts
|
|
3
3
|
/**
|
|
4
4
|
* Minimal stdout writer abstraction so reporters can be driven by tests.
|
|
@@ -21,4 +21,3 @@ declare const DIAGNOSTIC_LEVEL_ORDER: Readonly<Record<Diagnostic['level'], numbe
|
|
|
21
21
|
declare function sortDiagnostics(diagnostics: readonly Diagnostic[]): Diagnostic[];
|
|
22
22
|
//#endregion
|
|
23
23
|
export { DIAGNOSTIC_LEVEL_ORDER, ProcessTextSink, TextSink, sortDiagnostics };
|
|
24
|
-
//# sourceMappingURL=TextSink.d.ts.map
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
//#region src/format/prettyBytes.d.ts
|
|
2
|
+
/**
|
|
3
|
+
* Human-friendly byte formatting matching the uapkg CLI convention.
|
|
4
|
+
*
|
|
5
|
+
* - Less than 100 MB → render as MB with 1 decimal place (e.g. `85.3 MB`).
|
|
6
|
+
* - 100 MB or greater → render as GB with 1 decimal place (e.g. `2.0 GB`).
|
|
7
|
+
* - Negative or non-finite values are clamped to 0.
|
|
8
|
+
*
|
|
9
|
+
* Uses SI units (1 MB = 1_000_000 bytes). This is deliberate: user-facing
|
|
10
|
+
* package sizes are reported by registries in decimal units.
|
|
11
|
+
*/
|
|
12
|
+
declare function prettyBytes(bytes: number): string;
|
|
13
|
+
/**
|
|
14
|
+
* Render a progress pair like `"12.3 MB/85.0 MB"`. Both numbers use the same
|
|
15
|
+
* unit chosen by the larger of the two, so the ratio stays readable.
|
|
16
|
+
*/
|
|
17
|
+
declare function prettyBytesProgress(done: number, total: number): string;
|
|
18
|
+
//#endregion
|
|
19
|
+
export { prettyBytes, prettyBytesProgress };
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
//#region src/hash/registryIdentifier.d.ts
|
|
2
|
+
/**
|
|
3
|
+
* Descriptor shape for a registry identity (mirrors `registries.<name>` from config).
|
|
4
|
+
*/
|
|
5
|
+
interface RegistryIdentityDescriptor {
|
|
6
|
+
url: string;
|
|
7
|
+
ref: {
|
|
8
|
+
type: string;
|
|
9
|
+
value: string;
|
|
10
|
+
};
|
|
11
|
+
}
|
|
12
|
+
/**
|
|
13
|
+
* Compute the full `RegistryIdentifier` (64-char hex SHA-256) from a
|
|
14
|
+
* `registries.<name>` config object.
|
|
15
|
+
*
|
|
16
|
+
* Steps:
|
|
17
|
+
* 1. Normalize the Git repository identity.
|
|
18
|
+
* 2. Trim the ref value while preserving its case.
|
|
19
|
+
* 3. Deep-sort keys via stable JSON serialization.
|
|
20
|
+
* 4. SHA-256 the resulting string.
|
|
21
|
+
*/
|
|
22
|
+
declare function computeRegistryIdentifier(descriptor: RegistryIdentityDescriptor): string;
|
|
23
|
+
/**
|
|
24
|
+
* Compute the short identifier (first 16 hex chars / 64 bits).
|
|
25
|
+
*/
|
|
26
|
+
declare function computeRegistryIdentifierShort(descriptor: RegistryIdentityDescriptor): string;
|
|
27
|
+
//#endregion
|
|
28
|
+
export { RegistryIdentityDescriptor, computeRegistryIdentifier, computeRegistryIdentifierShort };
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
//#region src/hash/sha256.d.ts
|
|
2
|
+
/**
|
|
3
|
+
* Compute a SHA-256 hex digest of the given input.
|
|
4
|
+
*/
|
|
5
|
+
declare function sha256(input: string | Buffer): string;
|
|
6
|
+
/**
|
|
7
|
+
* Compute a SHA-256 hex digest prefixed with the algorithm identifier.
|
|
8
|
+
* Format: `sha256:<hex>`
|
|
9
|
+
*/
|
|
10
|
+
declare function sha256Prefixed(input: string | Buffer): string;
|
|
11
|
+
//#endregion
|
|
12
|
+
export { sha256, sha256Prefixed };
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { prettyBytes, prettyBytesProgress } from "./format/prettyBytes.js";
|
|
2
|
+
import { RegistryIdentityDescriptor, computeRegistryIdentifier, computeRegistryIdentifierShort } from "./hash/registryIdentifier.js";
|
|
3
|
+
import { sha256, sha256Prefixed } from "./hash/sha256.js";
|
|
4
|
+
import { safeJsonParse } from "./json/safeJsonParse.js";
|
|
5
|
+
import { stableStringify } from "./json/stableStringify.js";
|
|
6
|
+
import { normalizeUrl } from "./normalize/normalizeUrl.js";
|
|
7
|
+
import { normalizePath, toForwardSlash } from "./paths/forwardSlash.js";
|
|
8
|
+
import { INTERNAL_BUILD_MODE_ENV, INTERNAL_PROFILE_HOME_ENV, UAPKGBuildMode, resolveActiveUapkgProfileRoot, resolveUapkgBuildMode, resolveUapkgProfileRoot } from "./runtime/UapkgRuntimeProfile.js";
|
|
9
|
+
import { formatPackageSpec, parsePackageSpec } from "./spec/parsePackageSpec.js";
|
|
10
|
+
export { INTERNAL_BUILD_MODE_ENV, INTERNAL_PROFILE_HOME_ENV, type RegistryIdentityDescriptor, type UAPKGBuildMode, computeRegistryIdentifier, computeRegistryIdentifierShort, formatPackageSpec, normalizePath, normalizeUrl, parsePackageSpec, prettyBytes, prettyBytesProgress, resolveActiveUapkgProfileRoot, resolveUapkgBuildMode, resolveUapkgProfileRoot, safeJsonParse, sha256, sha256Prefixed, stableStringify, toForwardSlash };
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { Result } from "../../uapkg-diagnostics/index.js";
|
|
2
|
+
//#region src/json/safeJsonParse.d.ts
|
|
3
|
+
/**
|
|
4
|
+
* Parse a JSON string without throwing.
|
|
5
|
+
* Returns a `Result<T>` with a `PARSE_ERROR` diagnostic on failure.
|
|
6
|
+
*/
|
|
7
|
+
declare function safeJsonParse<T = unknown>(raw: string, filePath?: string): Result<T>;
|
|
8
|
+
//#endregion
|
|
9
|
+
export { safeJsonParse };
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
//#region src/json/stableStringify.d.ts
|
|
2
|
+
/**
|
|
3
|
+
* Deterministic JSON serialization with sorted keys (deep).
|
|
4
|
+
*
|
|
5
|
+
* Equivalent to `json-stable-stringify` but zero-dependency.
|
|
6
|
+
*/
|
|
7
|
+
declare function stableStringify(value: unknown): string;
|
|
8
|
+
//#endregion
|
|
9
|
+
export { stableStringify };
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
//#region src/normalize/normalizeUrl.d.ts
|
|
2
|
+
/**
|
|
3
|
+
* Normalize a registry URL for identity hashing.
|
|
4
|
+
*
|
|
5
|
+
* GitHub repository coordinates are normalized across HTTPS, SSH URL, and
|
|
6
|
+
* SCP-like syntax. Generic URL paths retain their case because not every Git
|
|
7
|
+
* host treats paths as case-insensitive.
|
|
8
|
+
*/
|
|
9
|
+
declare function normalizeUrl(url: string): string;
|
|
10
|
+
//#endregion
|
|
11
|
+
export { normalizeUrl };
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
//#region src/paths/forwardSlash.d.ts
|
|
2
|
+
/**
|
|
3
|
+
* Normalize a file path to use forward slashes on all platforms.
|
|
4
|
+
*/
|
|
5
|
+
declare function toForwardSlash(filePath: string): string;
|
|
6
|
+
/**
|
|
7
|
+
* Remove `.` and `..` segments and normalize separators.
|
|
8
|
+
* This is a pure string operation — it does **not** access the file system.
|
|
9
|
+
*/
|
|
10
|
+
declare function normalizePath(filePath: string): string;
|
|
11
|
+
//#endregion
|
|
12
|
+
export { normalizePath, toForwardSlash };
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
//#region src/runtime/UapkgRuntimeProfile.d.ts
|
|
2
|
+
type UAPKGBuildMode = 'development' | 'production';
|
|
3
|
+
/** Build mode selected by the generated CLI launcher. */
|
|
4
|
+
declare const INTERNAL_BUILD_MODE_ENV = "UAPKG_INTERNAL_BUILD_MODE";
|
|
5
|
+
/**
|
|
6
|
+
* Global profile root selected by the generated CLI launcher.
|
|
7
|
+
*
|
|
8
|
+
* The environment variable name is retained for compatibility with existing
|
|
9
|
+
* launchers even though the directory now contains all global CLI state.
|
|
10
|
+
*/
|
|
11
|
+
declare const INTERNAL_PROFILE_HOME_ENV = "UAPKG_INTERNAL_CONFIG_CACHE_HOME";
|
|
12
|
+
/** Resolve or normalize build mode, failing closed to production. */
|
|
13
|
+
declare function resolveUapkgBuildMode(raw?: string | undefined): UAPKGBuildMode;
|
|
14
|
+
/** Resolve the global profile root for an explicit build mode. */
|
|
15
|
+
declare function resolveUapkgProfileRoot(mode: UAPKGBuildMode, homeDirectory?: string): string;
|
|
16
|
+
/** Resolve the active global profile without creating it. */
|
|
17
|
+
declare function resolveActiveUapkgProfileRoot(): string;
|
|
18
|
+
//#endregion
|
|
19
|
+
export { INTERNAL_BUILD_MODE_ENV, INTERNAL_PROFILE_HOME_ENV, UAPKGBuildMode, resolveActiveUapkgProfileRoot, resolveUapkgBuildMode, resolveUapkgProfileRoot };
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import { Result } from "../../uapkg-diagnostics/index.js";
|
|
2
|
+
import { PackageSpec } from "../../uapkg-common-schema/index.js";
|
|
3
|
+
//#region src/spec/parsePackageSpec.d.ts
|
|
4
|
+
/**
|
|
5
|
+
* Parse a CLI package specifier of the form:
|
|
6
|
+
*
|
|
7
|
+
* (@<org>/)?<name>(@<range>)?
|
|
8
|
+
*
|
|
9
|
+
* Examples:
|
|
10
|
+
* - "awesome-pkg" → { name }
|
|
11
|
+
* - "awesome-pkg@^1.0.0" → { name, range }
|
|
12
|
+
* - "@myorg/awesome-pkg" → { org, name }
|
|
13
|
+
* - "@myorg/awesome-pkg@^1.0.0" → { org, name, range }
|
|
14
|
+
*
|
|
15
|
+
* Never throws; returns a `Result<PackageSpec>` with typed diagnostics.
|
|
16
|
+
*/
|
|
17
|
+
declare function parsePackageSpec(input: string): Result<PackageSpec>;
|
|
18
|
+
/** Inverse of `parsePackageSpec` — renders a `PackageSpec` back to its string form. */
|
|
19
|
+
declare function formatPackageSpec(spec: PackageSpec): string;
|
|
20
|
+
//#endregion
|
|
21
|
+
export { formatPackageSpec, parsePackageSpec };
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { $brand } from "zod";
|
|
2
|
+
//#region src/brand/Brand.d.ts
|
|
3
|
+
/**
|
|
4
|
+
* Nominal (branded) type utility.
|
|
5
|
+
*
|
|
6
|
+
* Uses Zod's type-only brand so runtime schemas remain their native JSON
|
|
7
|
+
* Schema-compatible primitive type while structurally identical values stay
|
|
8
|
+
* incompatible at compile time.
|
|
9
|
+
*
|
|
10
|
+
* @example
|
|
11
|
+
* type PackageName = Brand<string, 'PackageName'>;
|
|
12
|
+
*/
|
|
13
|
+
type Brand<T, B extends string> = T & $brand<B>;
|
|
14
|
+
//#endregion
|
|
15
|
+
export { Brand };
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { Brand } from "./brand/Brand.js";
|
|
2
|
+
import { AssetHash, AssetHashSchema } from "./primitives/AssetHash.js";
|
|
3
|
+
import { ConcurrencyCount, ConcurrencyCountSchema } from "./primitives/ConcurrencyCount.js";
|
|
4
|
+
import { DurationSeconds, DurationSecondsSchema } from "./primitives/DurationSeconds.js";
|
|
5
|
+
import { GitTree, GitTreeSchema } from "./primitives/GitTree.js";
|
|
6
|
+
import { InstallPath, InstallPathSchema } from "./primitives/InstallPath.js";
|
|
7
|
+
import { OrgName, OrgNameSchema } from "./primitives/OrgName.js";
|
|
8
|
+
import { PackageName, PackageNameSchema, isScopedPackageName } from "./primitives/PackageName.js";
|
|
9
|
+
import { PackageSpec, PackageSpecSchema } from "./primitives/PackageSpec.js";
|
|
10
|
+
import { PackageVersion, PackageVersionSchema } from "./primitives/PackageVersion.js";
|
|
11
|
+
import { POSTINSTALL_POLICY_DEFAULT, PostInstallPolicy, PostInstallPolicySchema } from "./primitives/PostInstallPolicy.js";
|
|
12
|
+
import { RegistryIdentifier, RegistryIdentifierSchema, RegistryIdentifierShort, RegistryIdentifierShortSchema } from "./primitives/RegistryIdentifier.js";
|
|
13
|
+
import { DEFAULT_REGISTRY_ALIAS, RegistryName, RegistryNameSchema } from "./primitives/RegistryName.js";
|
|
14
|
+
import { RegistryURL, RegistryURLSchema } from "./primitives/RegistryURL.js";
|
|
15
|
+
import { UnixTimestamp, UnixTimestampSchema } from "./primitives/UnixTimestamp.js";
|
|
16
|
+
import { VersionRange, VersionRangeSchema } from "./primitives/VersionRange.js";
|
|
17
|
+
export { type AssetHash, AssetHashSchema, type Brand, type ConcurrencyCount, ConcurrencyCountSchema, DEFAULT_REGISTRY_ALIAS, type DurationSeconds, DurationSecondsSchema, type GitTree, GitTreeSchema, type InstallPath, InstallPathSchema, type OrgName, OrgNameSchema, POSTINSTALL_POLICY_DEFAULT, type PackageName, PackageNameSchema, type PackageSpec, PackageSpecSchema, type PackageVersion, PackageVersionSchema, type PostInstallPolicy, PostInstallPolicySchema, type RegistryIdentifier, RegistryIdentifierSchema, type RegistryIdentifierShort, RegistryIdentifierShortSchema, type RegistryName, RegistryNameSchema, type RegistryURL, RegistryURLSchema, type UnixTimestamp, UnixTimestampSchema, type VersionRange, VersionRangeSchema, isScopedPackageName };
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { Brand } from "../brand/Brand.js";
|
|
2
|
+
import { z } from "zod";
|
|
3
|
+
//#region src/primitives/AssetHash.d.ts
|
|
4
|
+
/**
|
|
5
|
+
* Branded type for an asset integrity hash.
|
|
6
|
+
* Exactly `sha256:` followed by 64 lowercase hexadecimal characters.
|
|
7
|
+
*/
|
|
8
|
+
type AssetHash = Brand<string, 'AssetHash'>;
|
|
9
|
+
declare const AssetHashSchema: z.core.$ZodBranded<z.ZodString, "AssetHash", "out">;
|
|
10
|
+
//#endregion
|
|
11
|
+
export { AssetHash, AssetHashSchema };
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { Brand } from "../brand/Brand.js";
|
|
2
|
+
import { z } from "zod";
|
|
3
|
+
//#region src/primitives/ConcurrencyCount.d.ts
|
|
4
|
+
/**
|
|
5
|
+
* Branded integer representing a concurrency count (e.g. parallel downloads).
|
|
6
|
+
* Must be a positive integer >= 1.
|
|
7
|
+
*/
|
|
8
|
+
type ConcurrencyCount = Brand<number, 'ConcurrencyCount'>;
|
|
9
|
+
declare const ConcurrencyCountSchema: z.core.$ZodBranded<z.ZodNumber, "ConcurrencyCount", "out">;
|
|
10
|
+
//#endregion
|
|
11
|
+
export { ConcurrencyCount, ConcurrencyCountSchema };
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { Brand } from "../brand/Brand.js";
|
|
2
|
+
import { z } from "zod";
|
|
3
|
+
//#region src/primitives/DurationSeconds.d.ts
|
|
4
|
+
/**
|
|
5
|
+
* Branded integer representing a duration in seconds (non-negative).
|
|
6
|
+
* Used for network timeouts, retry delays, cache TTLs.
|
|
7
|
+
*/
|
|
8
|
+
type DurationSeconds = Brand<number, 'DurationSeconds'>;
|
|
9
|
+
declare const DurationSecondsSchema: z.core.$ZodBranded<z.ZodNumber, "DurationSeconds", "out">;
|
|
10
|
+
//#endregion
|
|
11
|
+
export { DurationSeconds, DurationSecondsSchema };
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { Brand } from "../brand/Brand.js";
|
|
2
|
+
import { z } from "zod";
|
|
3
|
+
//#region src/primitives/GitTree.d.ts
|
|
4
|
+
/**
|
|
5
|
+
* Branded type for a git tree SHA (40-char hex string).
|
|
6
|
+
*/
|
|
7
|
+
type GitTree = Brand<string, 'GitTree'>;
|
|
8
|
+
declare const GitTreeSchema: z.core.$ZodBranded<z.ZodString, "GitTree", "out">;
|
|
9
|
+
//#endregion
|
|
10
|
+
export { GitTree, GitTreeSchema };
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { Brand } from "../brand/Brand.js";
|
|
2
|
+
import { z } from "zod";
|
|
3
|
+
//#region src/primitives/InstallPath.d.ts
|
|
4
|
+
/**
|
|
5
|
+
* Branded type for a package install path, relative to the uapkg manifest root.
|
|
6
|
+
*
|
|
7
|
+
* Rules:
|
|
8
|
+
* - forward slashes only
|
|
9
|
+
* - no leading slash (must be relative)
|
|
10
|
+
* - no `..` segments (no escaping the manifest root)
|
|
11
|
+
* - non-empty
|
|
12
|
+
*
|
|
13
|
+
* Example: `Plugins/AwesomeInventorySystem`
|
|
14
|
+
*/
|
|
15
|
+
type InstallPath = Brand<string, 'InstallPath'>;
|
|
16
|
+
declare const InstallPathSchema: z.core.$ZodBranded<z.ZodString, "InstallPath", "out">;
|
|
17
|
+
//#endregion
|
|
18
|
+
export { InstallPath, InstallPathSchema };
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { Brand } from "../brand/Brand.js";
|
|
2
|
+
import { z } from "zod";
|
|
3
|
+
//#region src/primitives/OrgName.d.ts
|
|
4
|
+
/**
|
|
5
|
+
* Branded type for a scoped-organization name (the `@org` in `@org/pkg`).
|
|
6
|
+
* Follows npm-style scope rules: lowercase alphanumerics, hyphens, underscores;
|
|
7
|
+
* must start with an alphanumeric.
|
|
8
|
+
*/
|
|
9
|
+
type OrgName = Brand<string, 'OrgName'>;
|
|
10
|
+
declare const OrgNameSchema: z.core.$ZodBranded<z.ZodString, "OrgName", "out">;
|
|
11
|
+
//#endregion
|
|
12
|
+
export { OrgName, OrgNameSchema };
|