@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
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
import { Dependency, Manifest } from "../../uapkg-package-manifest-schema/index.js";
|
|
2
|
+
//#region src/core/DevDependencyPolicy.d.ts
|
|
3
|
+
/**
|
|
4
|
+
* Policy codifying the uapkg rule:
|
|
5
|
+
*
|
|
6
|
+
* `devDependencies` only apply when the manifest is the **root** of the
|
|
7
|
+
* dependency graph under development (the project manifest, or a plugin
|
|
8
|
+
* manifest that the developer is currently building locally).
|
|
9
|
+
*
|
|
10
|
+
* Transitive `devDependencies` of installed packages are never resolved or
|
|
11
|
+
* installed. This mirrors npm and cargo.
|
|
12
|
+
*/
|
|
13
|
+
declare class DevDependencyPolicy {
|
|
14
|
+
/**
|
|
15
|
+
* @param manifest The manifest being walked.
|
|
16
|
+
* @param isRoot True only for the very top of the walk (the manifest the
|
|
17
|
+
* user invoked the command from).
|
|
18
|
+
* @returns The set of dependency buckets to walk for this node.
|
|
19
|
+
*/
|
|
20
|
+
pickBuckets(manifest: Manifest, isRoot: boolean): Array<{
|
|
21
|
+
bucket: 'dependencies' | 'devDependencies' | 'peerDependencies';
|
|
22
|
+
map: Record<string, Dependency>;
|
|
23
|
+
}>;
|
|
24
|
+
/**
|
|
25
|
+
* Should a transitive child's `devDependencies` be walked? Always false.
|
|
26
|
+
*/
|
|
27
|
+
includeTransitiveDev(): boolean;
|
|
28
|
+
}
|
|
29
|
+
//#endregion
|
|
30
|
+
export { DevDependencyPolicy };
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
import { Dependency, Manifest } from "../../uapkg-package-manifest-schema/index.js";
|
|
2
|
+
import { DiagnosticBag } from "../../uapkg-diagnostics/index.js";
|
|
3
|
+
import { InstallPath, PackageName } from "../../uapkg-common-schema/index.js";
|
|
4
|
+
//#region src/core/InstallPathResolver.d.ts
|
|
5
|
+
/**
|
|
6
|
+
* Result of resolving the final install path for a single dependency.
|
|
7
|
+
*/
|
|
8
|
+
interface ResolvedInstallPath {
|
|
9
|
+
readonly name: PackageName;
|
|
10
|
+
readonly path: InstallPath;
|
|
11
|
+
/** True when the dependency's declared `path` override was ignored. */
|
|
12
|
+
readonly overridden: boolean;
|
|
13
|
+
}
|
|
14
|
+
/**
|
|
15
|
+
* Decides where each dependency is installed, relative to the manifest root.
|
|
16
|
+
*
|
|
17
|
+
* Rules:
|
|
18
|
+
* - A dependency's `path` override is honored **only** on project-kind manifests.
|
|
19
|
+
* - On plugin-kind manifests, any declared `path` is ignored and a
|
|
20
|
+
* `SAFETY_PATH_NOT_PROJECT_MANIFEST` warning is emitted. The default
|
|
21
|
+
* `Plugins/<name>` location is used.
|
|
22
|
+
* - Absent overrides, every dependency installs to `Plugins/<name>`.
|
|
23
|
+
*/
|
|
24
|
+
declare class InstallPathResolver {
|
|
25
|
+
/**
|
|
26
|
+
* Resolve the install path for a single dependency.
|
|
27
|
+
*
|
|
28
|
+
* Writes at most one warning to `bag`.
|
|
29
|
+
*/
|
|
30
|
+
resolve(manifest: Manifest, depName: string, dep: Dependency, bag: DiagnosticBag): ResolvedInstallPath;
|
|
31
|
+
/** Default install location: `Plugins/<name>`. */
|
|
32
|
+
defaultPathFor(depName: string): InstallPath;
|
|
33
|
+
}
|
|
34
|
+
//#endregion
|
|
35
|
+
export { InstallPathResolver, ResolvedInstallPath };
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
import { LockDependency, Lockfile } from "../../uapkg-package-manifest-schema/index.js";
|
|
2
|
+
import { PackageName } from "../../uapkg-common-schema/index.js";
|
|
3
|
+
//#region src/core/LockfileDiffer.d.ts
|
|
4
|
+
/**
|
|
5
|
+
* A change to a single package between two lockfile snapshots.
|
|
6
|
+
*/
|
|
7
|
+
interface LockfileChange {
|
|
8
|
+
readonly name: PackageName;
|
|
9
|
+
readonly previous?: LockDependency;
|
|
10
|
+
readonly current?: LockDependency;
|
|
11
|
+
}
|
|
12
|
+
/**
|
|
13
|
+
* Full diff between a previous and a current lockfile.
|
|
14
|
+
*/
|
|
15
|
+
interface LockfileDiff {
|
|
16
|
+
readonly added: readonly LockfileChange[];
|
|
17
|
+
readonly updated: readonly LockfileChange[];
|
|
18
|
+
readonly removed: readonly LockfileChange[];
|
|
19
|
+
readonly unchanged: readonly LockfileChange[];
|
|
20
|
+
readonly summary: {
|
|
21
|
+
readonly added: number;
|
|
22
|
+
readonly updated: number;
|
|
23
|
+
readonly removed: number;
|
|
24
|
+
readonly unchanged: number;
|
|
25
|
+
};
|
|
26
|
+
}
|
|
27
|
+
/**
|
|
28
|
+
* Pure diff of two lockfiles keyed by package name.
|
|
29
|
+
*
|
|
30
|
+
* Two entries are considered "unchanged" iff their
|
|
31
|
+
* (version, registry, integrity, gitTree, dependencies)
|
|
32
|
+
* tuples are identical. Any other difference produces an "updated" record.
|
|
33
|
+
*/
|
|
34
|
+
declare class LockfileDiffer {
|
|
35
|
+
diff(previous: Lockfile | null, current: Lockfile): LockfileDiff;
|
|
36
|
+
private isSameEntry;
|
|
37
|
+
private isSameChildMap;
|
|
38
|
+
}
|
|
39
|
+
//#endregion
|
|
40
|
+
export { LockfileChange, LockfileDiff, LockfileDiffer };
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
//#region src/core/LockfileSyncIssue.d.ts
|
|
2
|
+
type LockfileSyncIssueSeverity = 'error' | 'warning' | 'info';
|
|
3
|
+
interface LockfileSyncIssue {
|
|
4
|
+
readonly severity: LockfileSyncIssueSeverity;
|
|
5
|
+
readonly code: string;
|
|
6
|
+
readonly message: string;
|
|
7
|
+
readonly packageName?: string;
|
|
8
|
+
}
|
|
9
|
+
declare function sortLockfileSyncIssues(issues: readonly LockfileSyncIssue[]): LockfileSyncIssue[];
|
|
10
|
+
//#endregion
|
|
11
|
+
export { LockfileSyncIssue, LockfileSyncIssueSeverity, sortLockfileSyncIssues };
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import { LockfileDiffer } from "./LockfileDiffer.js";
|
|
2
|
+
import { LockfileSyncIssue } from "./LockfileSyncIssue.js";
|
|
3
|
+
import { LockfileSync } from "../resolver/LockfileSync.js";
|
|
4
|
+
import { Resolver } from "../resolver/Resolver.js";
|
|
5
|
+
import { Lockfile, Manifest } from "../../uapkg-package-manifest-schema/index.js";
|
|
6
|
+
import { RegistryCore } from "../../uapkg-registry-core/index.js";
|
|
7
|
+
import { ConfigInstance } from "../../uapkg-config/index.js";
|
|
8
|
+
//#region src/core/LockfileSyncValidator.d.ts
|
|
9
|
+
/**
|
|
10
|
+
* Validates whether a lockfile is still in sync with manifest + registry state.
|
|
11
|
+
*/
|
|
12
|
+
declare class LockfileSyncValidator {
|
|
13
|
+
private readonly registryCore;
|
|
14
|
+
private readonly resolver;
|
|
15
|
+
private readonly lockSync;
|
|
16
|
+
private readonly differ;
|
|
17
|
+
private readonly config?;
|
|
18
|
+
constructor(registryCore: RegistryCore, resolver: Resolver, lockSync: LockfileSync, differ: LockfileDiffer, config?: InstanceType<typeof ConfigInstance> | undefined);
|
|
19
|
+
collectIssues(manifest: Manifest, lockfile: Lockfile): Promise<LockfileSyncIssue[]>;
|
|
20
|
+
topIssues(issues: readonly LockfileSyncIssue[], count: number): readonly LockfileSyncIssue[];
|
|
21
|
+
private collectDeclaredDependencies;
|
|
22
|
+
private collectLockfileRegistries;
|
|
23
|
+
private collectConfiguredRegistries;
|
|
24
|
+
}
|
|
25
|
+
//#endregion
|
|
26
|
+
export { LockfileSyncValidator };
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
import { Lockfile, Manifest } from "../../uapkg-package-manifest-schema/index.js";
|
|
2
|
+
import { Result } from "../../uapkg-diagnostics/index.js";
|
|
3
|
+
import { PackageName, PackageVersion, RegistryName } from "../../uapkg-common-schema/index.js";
|
|
4
|
+
import { RegistryCore } from "../../uapkg-registry-core/index.js";
|
|
5
|
+
//#region src/core/OutdatedChecker.d.ts
|
|
6
|
+
/**
|
|
7
|
+
* Classification for a package in the `outdated` table.
|
|
8
|
+
*/
|
|
9
|
+
type OutdatedStatus = 'up-to-date' | 'outdated-range' | 'outdated-latest' | 'pinned';
|
|
10
|
+
/**
|
|
11
|
+
* One row in the `uapkg outdated` report.
|
|
12
|
+
*/
|
|
13
|
+
interface OutdatedEntry {
|
|
14
|
+
readonly name: PackageName;
|
|
15
|
+
readonly current: PackageVersion;
|
|
16
|
+
readonly wanted: PackageVersion;
|
|
17
|
+
readonly latest: PackageVersion;
|
|
18
|
+
readonly registry: RegistryName;
|
|
19
|
+
readonly status: OutdatedStatus;
|
|
20
|
+
}
|
|
21
|
+
/**
|
|
22
|
+
* Compute per-dependency outdated information.
|
|
23
|
+
*
|
|
24
|
+
* - `wanted` is the best version that satisfies the manifest's declared range.
|
|
25
|
+
* - `latest` is the absolute highest version in the registry, honoring the
|
|
26
|
+
* npm-style prerelease rules from {@link SemverSelectionPolicy}.
|
|
27
|
+
*/
|
|
28
|
+
declare class OutdatedChecker {
|
|
29
|
+
private readonly registryCore;
|
|
30
|
+
private readonly policy;
|
|
31
|
+
constructor(registryCore: RegistryCore);
|
|
32
|
+
check(manifest: Manifest, lockfile: Lockfile): Promise<Result<OutdatedEntry[]>>;
|
|
33
|
+
private classify;
|
|
34
|
+
}
|
|
35
|
+
//#endregion
|
|
36
|
+
export { OutdatedChecker, OutdatedEntry, OutdatedStatus };
|
|
@@ -0,0 +1,63 @@
|
|
|
1
|
+
import { ResolvedGraph, ResolverOptions } from "../contracts/ManifestTypes.js";
|
|
2
|
+
import { AddDependencyOptions } from "./DependencyMutator.js";
|
|
3
|
+
import { LockfileDiff } from "./LockfileDiffer.js";
|
|
4
|
+
import { OutdatedEntry } from "./OutdatedChecker.js";
|
|
5
|
+
import { WhyResult } from "./WhyGraph.js";
|
|
6
|
+
import { Dependency, Lockfile, Manifest } from "../../uapkg-package-manifest-schema/index.js";
|
|
7
|
+
import { Result } from "../../uapkg-diagnostics/index.js";
|
|
8
|
+
import { PackageName } from "../../uapkg-common-schema/index.js";
|
|
9
|
+
import { RegistryCore } from "../../uapkg-registry-core/index.js";
|
|
10
|
+
import { ConfigInstance } from "../../uapkg-config/index.js";
|
|
11
|
+
//#region src/core/PackageManifest.d.ts
|
|
12
|
+
interface PackageManifestOptions {
|
|
13
|
+
/** Absolute path to the directory containing `uapkg.json`. */
|
|
14
|
+
readonly manifestRoot: string;
|
|
15
|
+
/** The `RegistryCore` instance to use for registry operations. */
|
|
16
|
+
readonly registryCore: RegistryCore;
|
|
17
|
+
/** Optional `@uapkg/config` instance to share state. */
|
|
18
|
+
readonly configInstance?: InstanceType<typeof ConfigInstance>;
|
|
19
|
+
}
|
|
20
|
+
/**
|
|
21
|
+
* High-level facade for working with `uapkg.json` and `uapkg.lock`.
|
|
22
|
+
*
|
|
23
|
+
* All operations execute relative to `manifestRoot`. Composes small,
|
|
24
|
+
* single-responsibility collaborators (reader/writer, resolver, mutator,
|
|
25
|
+
* differ, outdated-checker, why-graph). Never throws — all fallible paths
|
|
26
|
+
* return a `Result<T>` carrying diagnostics.
|
|
27
|
+
*/
|
|
28
|
+
declare class PackageManifest {
|
|
29
|
+
private readonly manifestRoot;
|
|
30
|
+
private readonly registryCore;
|
|
31
|
+
private readonly reader;
|
|
32
|
+
private readonly writer;
|
|
33
|
+
private readonly lockReader;
|
|
34
|
+
private readonly lockWriter;
|
|
35
|
+
private readonly resolver;
|
|
36
|
+
private readonly lockSync;
|
|
37
|
+
private readonly mutator;
|
|
38
|
+
private readonly differ;
|
|
39
|
+
private readonly lockfileSyncValidator;
|
|
40
|
+
private readonly lockfileSyncIssueWriter;
|
|
41
|
+
private readonly outdated;
|
|
42
|
+
private readonly whyGraph;
|
|
43
|
+
constructor(options: PackageManifestOptions);
|
|
44
|
+
readManifest(): Promise<Result<Manifest>>;
|
|
45
|
+
writeManifest(manifest: Manifest): Promise<Result<void>>;
|
|
46
|
+
readLockfile(): Promise<Result<Lockfile>>;
|
|
47
|
+
readLockfileOptional(): Promise<Result<Lockfile | null>>;
|
|
48
|
+
writeLockfile(lockfile: Lockfile): Promise<Result<void>>;
|
|
49
|
+
validate(): Promise<Result<Manifest>>;
|
|
50
|
+
resolve(options?: ResolverOptions): Promise<Result<ResolvedGraph>>;
|
|
51
|
+
install(options?: ResolverOptions): Promise<Result<Lockfile>>;
|
|
52
|
+
/** Add or replace a dependency and persist `uapkg.json`. */
|
|
53
|
+
addDependency(name: string, dep: Dependency, options?: AddDependencyOptions): Promise<Result<Manifest>>;
|
|
54
|
+
/** Remove a dependency from every bucket and persist `uapkg.json`. */
|
|
55
|
+
removeDependency(name: string): Promise<Result<Manifest>>;
|
|
56
|
+
diffLockfile(previous: Lockfile | null, current: Lockfile): LockfileDiff;
|
|
57
|
+
checkOutdated(): Promise<Result<OutdatedEntry[]>>;
|
|
58
|
+
explainWhy(target: PackageName): Promise<Result<WhyResult>>;
|
|
59
|
+
getLockfileForReadOnly(): Promise<Result<Lockfile>>;
|
|
60
|
+
validateLockfileSync(lockfile: Lockfile): Promise<Result<void>>;
|
|
61
|
+
}
|
|
62
|
+
//#endregion
|
|
63
|
+
export { PackageManifest, PackageManifestOptions };
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
import { ResolvedGraph } from "../contracts/ManifestTypes.js";
|
|
2
|
+
import { PackageName, PackageVersion } from "../../uapkg-common-schema/index.js";
|
|
3
|
+
//#region src/core/WhyGraph.d.ts
|
|
4
|
+
/**
|
|
5
|
+
* One ancestor chain showing *why* a package is present in the graph.
|
|
6
|
+
* Ordered root → target.
|
|
7
|
+
*/
|
|
8
|
+
interface WhyPath {
|
|
9
|
+
readonly path: readonly {
|
|
10
|
+
readonly name: PackageName;
|
|
11
|
+
readonly version: PackageVersion;
|
|
12
|
+
}[];
|
|
13
|
+
}
|
|
14
|
+
/**
|
|
15
|
+
* Full `uapkg why <name>` result.
|
|
16
|
+
*/
|
|
17
|
+
interface WhyResult {
|
|
18
|
+
readonly target: PackageName;
|
|
19
|
+
readonly paths: readonly WhyPath[];
|
|
20
|
+
readonly foundAsRoot: boolean;
|
|
21
|
+
}
|
|
22
|
+
/**
|
|
23
|
+
* Walk a resolved dependency graph to enumerate every path from a root node
|
|
24
|
+
* down to the target package. Pure — no IO, no shared state.
|
|
25
|
+
*/
|
|
26
|
+
declare class WhyGraph {
|
|
27
|
+
explain(graph: ResolvedGraph, target: PackageName): WhyResult;
|
|
28
|
+
private walk;
|
|
29
|
+
}
|
|
30
|
+
//#endregion
|
|
31
|
+
export { WhyGraph, WhyPath, WhyResult };
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { DependencyChangeResult, ManifestOperationOptions, PackageNode, ResolvedGraph, ResolverOptions } from "./contracts/ManifestTypes.js";
|
|
2
|
+
import { AddDependencyOptions, DependencyBucket, DependencyMutator, RemoveDependencyResult } from "./core/DependencyMutator.js";
|
|
3
|
+
import { DevDependencyPolicy } from "./core/DevDependencyPolicy.js";
|
|
4
|
+
import { InstallPathResolver, ResolvedInstallPath } from "./core/InstallPathResolver.js";
|
|
5
|
+
import { LockfileChange, LockfileDiff, LockfileDiffer } from "./core/LockfileDiffer.js";
|
|
6
|
+
import { LockfileSyncIssue, LockfileSyncIssueSeverity, sortLockfileSyncIssues } from "./core/LockfileSyncIssue.js";
|
|
7
|
+
import { LockfileSync } from "./resolver/LockfileSync.js";
|
|
8
|
+
import { Resolver } from "./resolver/Resolver.js";
|
|
9
|
+
import { LockfileSyncValidator } from "./core/LockfileSyncValidator.js";
|
|
10
|
+
import { OutdatedChecker, OutdatedEntry, OutdatedStatus } from "./core/OutdatedChecker.js";
|
|
11
|
+
import { WhyGraph, WhyPath, WhyResult } from "./core/WhyGraph.js";
|
|
12
|
+
import { PackageManifest, PackageManifestOptions } from "./core/PackageManifest.js";
|
|
13
|
+
import { LockfileReader } from "./io/LockfileReader.js";
|
|
14
|
+
import { LockfileSyncIssueWriter } from "./io/LockfileSyncIssueWriter.js";
|
|
15
|
+
import { LockfileWriter } from "./io/LockfileWriter.js";
|
|
16
|
+
import { ManifestReader } from "./io/ManifestReader.js";
|
|
17
|
+
import { ManifestWriter } from "./io/ManifestWriter.js";
|
|
18
|
+
export { type AddDependencyOptions, type DependencyBucket, type DependencyChangeResult, DependencyMutator, DevDependencyPolicy, InstallPathResolver, type LockfileChange, type LockfileDiff, LockfileDiffer, LockfileReader, LockfileSync, type LockfileSyncIssue, type LockfileSyncIssueSeverity, LockfileSyncIssueWriter, LockfileSyncValidator, LockfileWriter, type ManifestOperationOptions, ManifestReader, ManifestWriter, OutdatedChecker, type OutdatedEntry, type OutdatedStatus, PackageManifest, type PackageManifestOptions, type PackageNode, type RemoveDependencyResult, type ResolvedGraph, type ResolvedInstallPath, Resolver, type ResolverOptions, WhyGraph, type WhyPath, type WhyResult, sortLockfileSyncIssues };
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { Lockfile } from "../../uapkg-package-manifest-schema/index.js";
|
|
2
|
+
import { Result } from "../../uapkg-diagnostics/index.js";
|
|
3
|
+
//#region src/io/LockfileReader.d.ts
|
|
4
|
+
/**
|
|
5
|
+
* Reads and validates `uapkg.lock` from a given root directory.
|
|
6
|
+
*/
|
|
7
|
+
declare class LockfileReader {
|
|
8
|
+
readOptional(manifestRoot: string): Promise<Result<Lockfile | null>>;
|
|
9
|
+
readRequired(manifestRoot: string): Promise<Result<Lockfile>>;
|
|
10
|
+
}
|
|
11
|
+
//#endregion
|
|
12
|
+
export { LockfileReader };
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { LockfileSyncIssue } from "../core/LockfileSyncIssue.js";
|
|
2
|
+
import { Result } from "../../uapkg-diagnostics/index.js";
|
|
3
|
+
//#region src/io/LockfileSyncIssueWriter.d.ts
|
|
4
|
+
/**
|
|
5
|
+
* Persists detailed lockfile sync issues to disk for large diagnostic sets.
|
|
6
|
+
*/
|
|
7
|
+
declare class LockfileSyncIssueWriter {
|
|
8
|
+
write(manifestRoot: string, issues: readonly LockfileSyncIssue[]): Promise<Result<string>>;
|
|
9
|
+
private resolveLogPath;
|
|
10
|
+
}
|
|
11
|
+
//#endregion
|
|
12
|
+
export { LockfileSyncIssueWriter };
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { Lockfile } from "../../uapkg-package-manifest-schema/index.js";
|
|
2
|
+
import { Result } from "../../uapkg-diagnostics/index.js";
|
|
3
|
+
//#region src/io/LockfileWriter.d.ts
|
|
4
|
+
/**
|
|
5
|
+
* Writes `uapkg.lock` to a given root directory.
|
|
6
|
+
*/
|
|
7
|
+
declare class LockfileWriter {
|
|
8
|
+
write(manifestRoot: string, lockfile: Lockfile): Promise<Result<void>>;
|
|
9
|
+
}
|
|
10
|
+
//#endregion
|
|
11
|
+
export { LockfileWriter };
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { Manifest } from "../../uapkg-package-manifest-schema/index.js";
|
|
2
|
+
import { Result } from "../../uapkg-diagnostics/index.js";
|
|
3
|
+
//#region src/io/ManifestReader.d.ts
|
|
4
|
+
/**
|
|
5
|
+
* Reads and validates `uapkg.json` from a given root directory.
|
|
6
|
+
*/
|
|
7
|
+
declare class ManifestReader {
|
|
8
|
+
/** Read and parse the manifest. */
|
|
9
|
+
read(manifestRoot: string): Promise<Result<Manifest>>;
|
|
10
|
+
}
|
|
11
|
+
//#endregion
|
|
12
|
+
export { ManifestReader };
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { Manifest } from "../../uapkg-package-manifest-schema/index.js";
|
|
2
|
+
import { Result } from "../../uapkg-diagnostics/index.js";
|
|
3
|
+
//#region src/io/ManifestWriter.d.ts
|
|
4
|
+
/**
|
|
5
|
+
* Writes `uapkg.json` to a given root directory.
|
|
6
|
+
*/
|
|
7
|
+
declare class ManifestWriter {
|
|
8
|
+
/** Serialize and write the manifest. */
|
|
9
|
+
write(manifestRoot: string, manifest: Manifest): Promise<Result<void>>;
|
|
10
|
+
private toSerializableManifest;
|
|
11
|
+
}
|
|
12
|
+
//#endregion
|
|
13
|
+
export { ManifestWriter };
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { ResolvedGraph } from "../contracts/ManifestTypes.js";
|
|
2
|
+
import { Lockfile } from "../../uapkg-package-manifest-schema/index.js";
|
|
3
|
+
//#region src/resolver/LockfileSync.d.ts
|
|
4
|
+
/**
|
|
5
|
+
* Produces a `Lockfile` from a resolved dependency graph.
|
|
6
|
+
*/
|
|
7
|
+
declare class LockfileSync {
|
|
8
|
+
/** Build a lockfile from the resolved graph. */
|
|
9
|
+
buildLockfile(graph: ResolvedGraph): Lockfile;
|
|
10
|
+
private nodeToLockEntry;
|
|
11
|
+
}
|
|
12
|
+
//#endregion
|
|
13
|
+
export { LockfileSync };
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { ResolvedGraph, ResolverOptions } from "../contracts/ManifestTypes.js";
|
|
2
|
+
import { Manifest } from "../../uapkg-package-manifest-schema/index.js";
|
|
3
|
+
import { Result } from "../../uapkg-diagnostics/index.js";
|
|
4
|
+
import { RegistryCore } from "../../uapkg-registry-core/index.js";
|
|
5
|
+
//#region src/resolver/Resolver.d.ts
|
|
6
|
+
declare class Resolver {
|
|
7
|
+
private readonly registryCore;
|
|
8
|
+
private readonly devPolicy;
|
|
9
|
+
constructor(registryCore: RegistryCore);
|
|
10
|
+
resolve(manifest: Manifest, options?: ResolverOptions): Promise<Result<ResolvedGraph>>;
|
|
11
|
+
private resolveNode;
|
|
12
|
+
private applyOverrides;
|
|
13
|
+
private checkNameCollisions;
|
|
14
|
+
}
|
|
15
|
+
//#endregion
|
|
16
|
+
export { Resolver };
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { LockDependency, LockDependencySchema } from "./lockfile/LockDependencySchema.js";
|
|
2
|
+
import { Lockfile, LockfileSchema } from "./lockfile/LockfileSchema.js";
|
|
3
|
+
import { Dependency, DependencyDeclaration, DependencyDeclarationSchema, DependencyLongSchema, DependencySchema, DependencyShortSchema, normalizeDependencyDeclaration, normalizeDependencyRecord, toDependencyDeclaration, toDependencyRecordDeclaration } from "./manifest/DependencySchema.js";
|
|
4
|
+
import { BaseManifest, BaseManifestSchema } from "./manifest/BaseManifestSchema.js";
|
|
5
|
+
import { ManifestKind, ManifestKindSchema } from "./manifest/ManifestKind.js";
|
|
6
|
+
import { Manifest, ManifestSchema } from "./manifest/ManifestSchema.js";
|
|
7
|
+
import { PluginManifest, PluginManifestSchema } from "./manifest/PluginManifestSchema.js";
|
|
8
|
+
import { ProjectManifest, ProjectManifestSchema, ProjectPostinstall, ProjectPostinstallSchema } from "./manifest/ProjectManifestSchema.js";
|
|
9
|
+
import { Publish, PublishSchema } from "./manifest/PublishSchema.js";
|
|
10
|
+
export { type BaseManifest, BaseManifestSchema, type Dependency, type DependencyDeclaration, DependencyDeclarationSchema, DependencyLongSchema, DependencySchema, DependencyShortSchema, type LockDependency, LockDependencySchema, type Lockfile, LockfileSchema, type Manifest, type ManifestKind, ManifestKindSchema, ManifestSchema, type PluginManifest, PluginManifestSchema, type ProjectManifest, ProjectManifestSchema, type ProjectPostinstall, ProjectPostinstallSchema, type Publish, PublishSchema, normalizeDependencyDeclaration, normalizeDependencyRecord, toDependencyDeclaration, toDependencyRecordDeclaration };
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
//#region src/lockfile/LockDependencySchema.d.ts
|
|
3
|
+
/**
|
|
4
|
+
* A locked (resolved) dependency entry in `uapkg.lock`.
|
|
5
|
+
*/
|
|
6
|
+
declare const LockDependencySchema: z.ZodObject<{
|
|
7
|
+
version: z.core.$ZodBranded<z.ZodString, "PackageVersion", "out">;
|
|
8
|
+
registry: z.core.$ZodBranded<z.ZodString, "RegistryName", "out">;
|
|
9
|
+
integrity: z.core.$ZodBranded<z.ZodString, "AssetHash", "out">;
|
|
10
|
+
gitTree: z.ZodOptional<z.core.$ZodBranded<z.ZodString, "GitTree", "out">>;
|
|
11
|
+
dependencies: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
12
|
+
}, z.core.$strip>;
|
|
13
|
+
type LockDependency = z.infer<typeof LockDependencySchema>;
|
|
14
|
+
//#endregion
|
|
15
|
+
export { LockDependency, LockDependencySchema };
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
//#region src/lockfile/LockfileSchema.d.ts
|
|
3
|
+
/** Lockfile versions this build understands. Unknown versions fail closed. */
|
|
4
|
+
declare const SUPPORTED_LOCKFILE_VERSIONS: readonly [1];
|
|
5
|
+
/**
|
|
6
|
+
* Schema for `uapkg.lock`. `lockfileVersion` dispatches exact supported
|
|
7
|
+
* values; an unrecognized version means the lockfile was written by a newer
|
|
8
|
+
* client and must not be reinterpreted.
|
|
9
|
+
*/
|
|
10
|
+
declare const LockfileSchema: z.ZodObject<{
|
|
11
|
+
lockfileVersion: z.ZodLiteral<1>;
|
|
12
|
+
packages: z.ZodRecord<z.core.$ZodBranded<z.ZodString, "PackageName", "out">, z.ZodObject<{
|
|
13
|
+
version: z.core.$ZodBranded<z.ZodString, "PackageVersion", "out">;
|
|
14
|
+
registry: z.core.$ZodBranded<z.ZodString, "RegistryName", "out">;
|
|
15
|
+
integrity: z.core.$ZodBranded<z.ZodString, "AssetHash", "out">;
|
|
16
|
+
gitTree: z.ZodOptional<z.core.$ZodBranded<z.ZodString, "GitTree", "out">>;
|
|
17
|
+
dependencies: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
18
|
+
}, z.core.$strip>>;
|
|
19
|
+
}, z.core.$strip>;
|
|
20
|
+
type Lockfile = z.infer<typeof LockfileSchema>;
|
|
21
|
+
//#endregion
|
|
22
|
+
export { Lockfile, LockfileSchema, SUPPORTED_LOCKFILE_VERSIONS };
|
|
@@ -0,0 +1,56 @@
|
|
|
1
|
+
import { Dependency } from "./DependencySchema.js";
|
|
2
|
+
import { z } from "zod";
|
|
3
|
+
//#region src/manifest/BaseManifestSchema.d.ts
|
|
4
|
+
/**
|
|
5
|
+
* Fields shared by all manifest kinds.
|
|
6
|
+
*
|
|
7
|
+
* Loose: unknown top-level members are preserved so read-modify-write
|
|
8
|
+
* commands do not strip fields this build does not understand, and newer
|
|
9
|
+
* optional manifest fields never fail an older client.
|
|
10
|
+
*/
|
|
11
|
+
declare const BaseManifestSchema: z.ZodObject<{
|
|
12
|
+
name: z.core.$ZodBranded<z.ZodString, "PackageName", "out">;
|
|
13
|
+
version: z.core.$ZodBranded<z.ZodString, "PackageVersion", "out">;
|
|
14
|
+
kind: z.ZodEnum<{
|
|
15
|
+
plugin: "plugin";
|
|
16
|
+
project: "project";
|
|
17
|
+
}>;
|
|
18
|
+
private: z.ZodOptional<z.ZodBoolean>;
|
|
19
|
+
publish: z.ZodOptional<z.ZodObject<{
|
|
20
|
+
registry: z.ZodOptional<z.core.$ZodBranded<z.ZodString, "RegistryName", "out">>;
|
|
21
|
+
owner: z.ZodOptional<z.ZodString>;
|
|
22
|
+
repository: z.ZodOptional<z.ZodString>;
|
|
23
|
+
asset: z.ZodOptional<z.ZodString>;
|
|
24
|
+
manifestPath: z.ZodOptional<z.ZodString>;
|
|
25
|
+
}, z.core.$strip>>;
|
|
26
|
+
dependencies: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodPipe<z.ZodUnion<readonly [z.core.$ZodBranded<z.ZodString, "VersionRange", "out">, z.ZodObject<{
|
|
27
|
+
version: z.core.$ZodBranded<z.ZodString, "VersionRange", "out">;
|
|
28
|
+
registry: z.ZodOptional<z.core.$ZodBranded<z.ZodString, "RegistryName", "out">>;
|
|
29
|
+
path: z.ZodOptional<z.core.$ZodBranded<z.ZodString, "InstallPath", "out">>;
|
|
30
|
+
}, z.core.$strip>]>, z.ZodTransform<Dependency, {
|
|
31
|
+
version: string & z.$brand<"VersionRange">;
|
|
32
|
+
registry?: (string & z.$brand<"RegistryName">) | undefined;
|
|
33
|
+
path?: (string & z.$brand<"InstallPath">) | undefined;
|
|
34
|
+
} | (string & z.$brand<"VersionRange">)>>>>;
|
|
35
|
+
devDependencies: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodPipe<z.ZodUnion<readonly [z.core.$ZodBranded<z.ZodString, "VersionRange", "out">, z.ZodObject<{
|
|
36
|
+
version: z.core.$ZodBranded<z.ZodString, "VersionRange", "out">;
|
|
37
|
+
registry: z.ZodOptional<z.core.$ZodBranded<z.ZodString, "RegistryName", "out">>;
|
|
38
|
+
path: z.ZodOptional<z.core.$ZodBranded<z.ZodString, "InstallPath", "out">>;
|
|
39
|
+
}, z.core.$strip>]>, z.ZodTransform<Dependency, {
|
|
40
|
+
version: string & z.$brand<"VersionRange">;
|
|
41
|
+
registry?: (string & z.$brand<"RegistryName">) | undefined;
|
|
42
|
+
path?: (string & z.$brand<"InstallPath">) | undefined;
|
|
43
|
+
} | (string & z.$brand<"VersionRange">)>>>>;
|
|
44
|
+
peerDependencies: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodPipe<z.ZodUnion<readonly [z.core.$ZodBranded<z.ZodString, "VersionRange", "out">, z.ZodObject<{
|
|
45
|
+
version: z.core.$ZodBranded<z.ZodString, "VersionRange", "out">;
|
|
46
|
+
registry: z.ZodOptional<z.core.$ZodBranded<z.ZodString, "RegistryName", "out">>;
|
|
47
|
+
path: z.ZodOptional<z.core.$ZodBranded<z.ZodString, "InstallPath", "out">>;
|
|
48
|
+
}, z.core.$strip>]>, z.ZodTransform<Dependency, {
|
|
49
|
+
version: string & z.$brand<"VersionRange">;
|
|
50
|
+
registry?: (string & z.$brand<"RegistryName">) | undefined;
|
|
51
|
+
path?: (string & z.$brand<"InstallPath">) | undefined;
|
|
52
|
+
} | (string & z.$brand<"VersionRange">)>>>>;
|
|
53
|
+
}, z.core.$loose>;
|
|
54
|
+
type BaseManifest = z.infer<typeof BaseManifestSchema>;
|
|
55
|
+
//#endregion
|
|
56
|
+
export { BaseManifest, BaseManifestSchema };
|
|
@@ -0,0 +1,57 @@
|
|
|
1
|
+
import { InstallPathSchema, RegistryName, VersionRangeSchema } from "../../uapkg-common-schema/index.js";
|
|
2
|
+
import { z } from "zod";
|
|
3
|
+
//#region src/manifest/DependencySchema.d.ts
|
|
4
|
+
/**
|
|
5
|
+
* A dependency intent entry in `uapkg.json`.
|
|
6
|
+
*
|
|
7
|
+
* - `version` — semver range (branded)
|
|
8
|
+
* - `registry` — logical registry name (branded); ABSENT means the dependency
|
|
9
|
+
* inherits the containing registry (or the user's configured
|
|
10
|
+
* default registry at a project root). An explicit `"default"`
|
|
11
|
+
* normalizes to absence.
|
|
12
|
+
* - `path` — OPTIONAL install path relative to manifest root.
|
|
13
|
+
* Only meaningful on **project** manifests; on plugin manifests
|
|
14
|
+
* a warning (`SAFETY_PATH_NOT_PROJECT_MANIFEST`) is emitted by
|
|
15
|
+
* the installer and the default path (`Plugins/<name>`) is used.
|
|
16
|
+
*/
|
|
17
|
+
declare const DependencyLongSchema: z.ZodObject<{
|
|
18
|
+
version: z.core.$ZodBranded<z.ZodString, "VersionRange", "out">;
|
|
19
|
+
registry: z.ZodOptional<z.core.$ZodBranded<z.ZodString, "RegistryName", "out">>;
|
|
20
|
+
path: z.ZodOptional<z.core.$ZodBranded<z.ZodString, "InstallPath", "out">>;
|
|
21
|
+
}, z.core.$strip>;
|
|
22
|
+
declare const DependencyShortSchema: z.core.$ZodBranded<z.ZodString, "VersionRange", "out">;
|
|
23
|
+
declare const DependencyDeclarationSchema: z.ZodUnion<readonly [z.core.$ZodBranded<z.ZodString, "VersionRange", "out">, z.ZodObject<{
|
|
24
|
+
version: z.core.$ZodBranded<z.ZodString, "VersionRange", "out">;
|
|
25
|
+
registry: z.ZodOptional<z.core.$ZodBranded<z.ZodString, "RegistryName", "out">>;
|
|
26
|
+
path: z.ZodOptional<z.core.$ZodBranded<z.ZodString, "InstallPath", "out">>;
|
|
27
|
+
}, z.core.$strip>]>;
|
|
28
|
+
type DependencyDeclaration = z.infer<typeof DependencyDeclarationSchema>;
|
|
29
|
+
interface Dependency {
|
|
30
|
+
readonly version: z.infer<typeof VersionRangeSchema>;
|
|
31
|
+
/** Absent means inherited/default; only explicit non-default aliases persist. */
|
|
32
|
+
readonly registry?: RegistryName;
|
|
33
|
+
readonly path?: z.infer<typeof InstallPathSchema>;
|
|
34
|
+
}
|
|
35
|
+
declare const DependencySchema: z.ZodPipe<z.ZodUnion<readonly [z.core.$ZodBranded<z.ZodString, "VersionRange", "out">, z.ZodObject<{
|
|
36
|
+
version: z.core.$ZodBranded<z.ZodString, "VersionRange", "out">;
|
|
37
|
+
registry: z.ZodOptional<z.core.$ZodBranded<z.ZodString, "RegistryName", "out">>;
|
|
38
|
+
path: z.ZodOptional<z.core.$ZodBranded<z.ZodString, "InstallPath", "out">>;
|
|
39
|
+
}, z.core.$strip>]>, z.ZodTransform<Dependency, {
|
|
40
|
+
version: string & z.$brand<"VersionRange">;
|
|
41
|
+
registry?: (string & z.$brand<"RegistryName">) | undefined;
|
|
42
|
+
path?: (string & z.$brand<"InstallPath">) | undefined;
|
|
43
|
+
} | (string & z.$brand<"VersionRange">)>>;
|
|
44
|
+
/**
|
|
45
|
+
* Convert either dependency declaration style into canonical full form.
|
|
46
|
+
* An omitted registry and an explicit `"default"` both normalize to absence.
|
|
47
|
+
*/
|
|
48
|
+
declare function normalizeDependencyDeclaration(input: DependencyDeclaration | Dependency): Dependency;
|
|
49
|
+
/**
|
|
50
|
+
* Convert a canonical dependency into declaration form, preferring short form
|
|
51
|
+
* when no extra metadata would be lost.
|
|
52
|
+
*/
|
|
53
|
+
declare function toDependencyDeclaration(input: Dependency): DependencyDeclaration;
|
|
54
|
+
declare function normalizeDependencyRecord(input?: Record<string, DependencyDeclaration | Dependency>): Record<string, Dependency> | undefined;
|
|
55
|
+
declare function toDependencyRecordDeclaration(input?: Record<string, Dependency>): Record<string, DependencyDeclaration> | undefined;
|
|
56
|
+
//#endregion
|
|
57
|
+
export { Dependency, DependencyDeclaration, DependencyDeclarationSchema, DependencyLongSchema, DependencySchema, DependencyShortSchema, normalizeDependencyDeclaration, normalizeDependencyRecord, toDependencyDeclaration, toDependencyRecordDeclaration };
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
//#region src/manifest/ManifestKind.d.ts
|
|
3
|
+
/**
|
|
4
|
+
* Manifest kind determines schema-level constraints.
|
|
5
|
+
*
|
|
6
|
+
* - `project` — root project manifest (may have overrides)
|
|
7
|
+
* - `plugin` — plugin manifest (must NOT have overrides)
|
|
8
|
+
*
|
|
9
|
+
* Future kinds (e.g. `shard`) can be added here.
|
|
10
|
+
*/
|
|
11
|
+
declare const ManifestKindSchema: z.ZodEnum<{
|
|
12
|
+
plugin: "plugin";
|
|
13
|
+
project: "project";
|
|
14
|
+
}>;
|
|
15
|
+
type ManifestKind = z.infer<typeof ManifestKindSchema>;
|
|
16
|
+
//#endregion
|
|
17
|
+
export { ManifestKind, ManifestKindSchema };
|