@uapkg/cli 1.3.0 → 1.3.2
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/dist/app/CompositionRoot.d.ts +36 -33
- package/dist/app/CompositionRoot.d.ts.map +1 -1
- package/dist/app/CompositionRoot.js +91 -109
- package/dist/app/CompositionRoot.js.map +1 -1
- package/dist/app/UAPKGApplication.d.ts +6 -3
- package/dist/app/UAPKGApplication.d.ts.map +1 -1
- package/dist/app/UAPKGApplication.js +155 -169
- package/dist/app/UAPKGApplication.js.map +1 -1
- package/dist/build/BuildMetadata.d.ts +9 -6
- package/dist/build/BuildMetadata.d.ts.map +1 -1
- package/dist/build/BuildMetadata.js +2 -2
- package/dist/cli/UAPKGCommandLine.d.ts +259 -257
- package/dist/cli/UAPKGCommandLine.d.ts.map +1 -1
- package/dist/cli/UAPKGCommandLine.js +248 -239
- package/dist/cli/UAPKGCommandLine.js.map +1 -1
- package/dist/cli/parseCommandLine.d.ts +5 -1
- package/dist/cli/parseCommandLine.d.ts.map +1 -1
- package/dist/cli/parseCommandLine.js +8 -3
- package/dist/cli/parseCommandLine.js.map +1 -1
- package/dist/cli/parsing/UAPKGCommandLineParser.d.ts +9 -6
- package/dist/cli/parsing/UAPKGCommandLineParser.d.ts.map +1 -1
- package/dist/cli/parsing/UAPKGCommandLineParser.js +23 -31
- package/dist/cli/parsing/UAPKGCommandLineParser.js.map +1 -1
- package/dist/cli/parsing/UAPKGParserRegistry.d.ts +12 -9
- package/dist/cli/parsing/UAPKGParserRegistry.d.ts.map +1 -1
- package/dist/cli/parsing/UAPKGParserRegistry.js +53 -50
- package/dist/cli/parsing/UAPKGParserRegistry.js.map +1 -1
- package/dist/cli/parsing/contracts/UAPKGCommandModule.d.ts +9 -6
- package/dist/cli/parsing/contracts/UAPKGCommandModule.d.ts.map +1 -1
- package/dist/cli/parsing/contracts/UAPKGCommandModule.js +1 -2
- package/dist/cli/parsing/modules/AddCommandModule.d.ts +8 -5
- package/dist/cli/parsing/modules/AddCommandModule.d.ts.map +1 -1
- package/dist/cli/parsing/modules/AddCommandModule.js +49 -36
- package/dist/cli/parsing/modules/AddCommandModule.js.map +1 -1
- package/dist/cli/parsing/modules/ConfigCommandModule.d.ts +8 -5
- package/dist/cli/parsing/modules/ConfigCommandModule.d.ts.map +1 -1
- package/dist/cli/parsing/modules/ConfigCommandModule.js +87 -83
- package/dist/cli/parsing/modules/ConfigCommandModule.js.map +1 -1
- package/dist/cli/parsing/modules/InitCommandModule.d.ts +8 -5
- package/dist/cli/parsing/modules/InitCommandModule.d.ts.map +1 -1
- package/dist/cli/parsing/modules/InitCommandModule.js +25 -22
- package/dist/cli/parsing/modules/InitCommandModule.js.map +1 -1
- package/dist/cli/parsing/modules/InstallCommandModule.d.ts +8 -5
- package/dist/cli/parsing/modules/InstallCommandModule.d.ts.map +1 -1
- package/dist/cli/parsing/modules/InstallCommandModule.js +36 -28
- package/dist/cli/parsing/modules/InstallCommandModule.js.map +1 -1
- package/dist/cli/parsing/modules/LifecycleCommandModule.d.ts +8 -5
- package/dist/cli/parsing/modules/LifecycleCommandModule.d.ts.map +1 -1
- package/dist/cli/parsing/modules/LifecycleCommandModule.js +78 -50
- package/dist/cli/parsing/modules/LifecycleCommandModule.js.map +1 -1
- package/dist/cli/parsing/modules/ListCommandModule.d.ts +8 -5
- package/dist/cli/parsing/modules/ListCommandModule.d.ts.map +1 -1
- package/dist/cli/parsing/modules/ListCommandModule.js +26 -15
- package/dist/cli/parsing/modules/ListCommandModule.js.map +1 -1
- package/dist/cli/parsing/modules/LoginCommandModule.d.ts +8 -5
- package/dist/cli/parsing/modules/LoginCommandModule.d.ts.map +1 -1
- package/dist/cli/parsing/modules/LoginCommandModule.js +34 -33
- package/dist/cli/parsing/modules/LoginCommandModule.js.map +1 -1
- package/dist/cli/parsing/modules/LogoutCommandModule.d.ts +8 -5
- package/dist/cli/parsing/modules/LogoutCommandModule.d.ts.map +1 -1
- package/dist/cli/parsing/modules/LogoutCommandModule.js +30 -28
- package/dist/cli/parsing/modules/LogoutCommandModule.js.map +1 -1
- package/dist/cli/parsing/modules/OutdatedCommandModule.d.ts +8 -5
- package/dist/cli/parsing/modules/OutdatedCommandModule.d.ts.map +1 -1
- package/dist/cli/parsing/modules/OutdatedCommandModule.js +21 -16
- package/dist/cli/parsing/modules/OutdatedCommandModule.js.map +1 -1
- package/dist/cli/parsing/modules/PackCommandModule.d.ts +8 -5
- package/dist/cli/parsing/modules/PackCommandModule.d.ts.map +1 -1
- package/dist/cli/parsing/modules/PackCommandModule.js +30 -28
- package/dist/cli/parsing/modules/PackCommandModule.js.map +1 -1
- package/dist/cli/parsing/modules/ProjectGetNameCommandModule.d.ts +8 -5
- package/dist/cli/parsing/modules/ProjectGetNameCommandModule.d.ts.map +1 -1
- package/dist/cli/parsing/modules/ProjectGetNameCommandModule.js +14 -11
- package/dist/cli/parsing/modules/ProjectGetNameCommandModule.js.map +1 -1
- package/dist/cli/parsing/modules/PublishCommandModule.d.ts +8 -5
- package/dist/cli/parsing/modules/PublishCommandModule.d.ts.map +1 -1
- package/dist/cli/parsing/modules/PublishCommandModule.js +63 -47
- package/dist/cli/parsing/modules/PublishCommandModule.js.map +1 -1
- package/dist/cli/parsing/modules/RegistryCommandModule.d.ts +8 -5
- package/dist/cli/parsing/modules/RegistryCommandModule.d.ts.map +1 -1
- package/dist/cli/parsing/modules/RegistryCommandModule.js +117 -120
- package/dist/cli/parsing/modules/RegistryCommandModule.js.map +1 -1
- package/dist/cli/parsing/modules/RemoveCommandModule.d.ts +8 -5
- package/dist/cli/parsing/modules/RemoveCommandModule.d.ts.map +1 -1
- package/dist/cli/parsing/modules/RemoveCommandModule.js +25 -14
- package/dist/cli/parsing/modules/RemoveCommandModule.js.map +1 -1
- package/dist/cli/parsing/modules/RequestsCommandModule.d.ts +8 -5
- package/dist/cli/parsing/modules/RequestsCommandModule.d.ts.map +1 -1
- package/dist/cli/parsing/modules/RequestsCommandModule.js +56 -60
- package/dist/cli/parsing/modules/RequestsCommandModule.js.map +1 -1
- package/dist/cli/parsing/modules/UpdateCommandModule.d.ts +8 -5
- package/dist/cli/parsing/modules/UpdateCommandModule.d.ts.map +1 -1
- package/dist/cli/parsing/modules/UpdateCommandModule.js +38 -25
- package/dist/cli/parsing/modules/UpdateCommandModule.js.map +1 -1
- package/dist/cli/parsing/modules/WhoamiCommandModule.d.ts +8 -5
- package/dist/cli/parsing/modules/WhoamiCommandModule.d.ts.map +1 -1
- package/dist/cli/parsing/modules/WhoamiCommandModule.js +30 -28
- package/dist/cli/parsing/modules/WhoamiCommandModule.js.map +1 -1
- package/dist/cli/parsing/modules/WhyCommandModule.d.ts +8 -5
- package/dist/cli/parsing/modules/WhyCommandModule.d.ts.map +1 -1
- package/dist/cli/parsing/modules/WhyCommandModule.js +25 -14
- package/dist/cli/parsing/modules/WhyCommandModule.js.map +1 -1
- package/dist/cli/parsing/modules/sharedOptions.d.ts +8 -5
- package/dist/cli/parsing/modules/sharedOptions.d.ts.map +1 -1
- package/dist/cli/parsing/modules/sharedOptions.js +18 -23
- package/dist/cli/parsing/modules/sharedOptions.js.map +1 -1
- package/dist/cli/runUAPKGCLI.d.ts +4 -1
- package/dist/cli/runUAPKGCLI.d.ts.map +1 -1
- package/dist/cli/runUAPKGCLI.js +10 -5
- package/dist/cli/runUAPKGCLI.js.map +1 -1
- package/dist/cli-bootstrap.d.ts +1 -2
- package/dist/cli-bootstrap.js +15 -12
- package/dist/cli-bootstrap.js.map +1 -1
- package/dist/commands/AddCommand.d.ts +19 -16
- package/dist/commands/AddCommand.d.ts.map +1 -1
- package/dist/commands/AddCommand.js +49 -53
- package/dist/commands/AddCommand.js.map +1 -1
- package/dist/commands/Command.d.ts +5 -2
- package/dist/commands/Command.d.ts.map +1 -1
- package/dist/commands/Command.js +1 -2
- package/dist/commands/ConfigCommand.d.ts +28 -25
- package/dist/commands/ConfigCommand.d.ts.map +1 -1
- package/dist/commands/ConfigCommand.js +165 -186
- package/dist/commands/ConfigCommand.js.map +1 -1
- package/dist/commands/InitCommand.d.ts +19 -16
- package/dist/commands/InitCommand.d.ts.map +1 -1
- package/dist/commands/InitCommand.js +65 -60
- package/dist/commands/InitCommand.js.map +1 -1
- package/dist/commands/InstallCommand.d.ts +16 -13
- package/dist/commands/InstallCommand.d.ts.map +1 -1
- package/dist/commands/InstallCommand.js +118 -110
- package/dist/commands/InstallCommand.js.map +1 -1
- package/dist/commands/ListCommand.d.ts +13 -10
- package/dist/commands/ListCommand.d.ts.map +1 -1
- package/dist/commands/ListCommand.js +76 -81
- package/dist/commands/ListCommand.js.map +1 -1
- package/dist/commands/LoginCommand.d.ts +17 -14
- package/dist/commands/LoginCommand.d.ts.map +1 -1
- package/dist/commands/LoginCommand.js +66 -72
- package/dist/commands/LoginCommand.js.map +1 -1
- package/dist/commands/LogoutCommand.d.ts +15 -12
- package/dist/commands/LogoutCommand.d.ts.map +1 -1
- package/dist/commands/LogoutCommand.js +36 -37
- package/dist/commands/LogoutCommand.js.map +1 -1
- package/dist/commands/OutdatedCommand.d.ts +12 -9
- package/dist/commands/OutdatedCommand.d.ts.map +1 -1
- package/dist/commands/OutdatedCommand.js +41 -40
- package/dist/commands/OutdatedCommand.js.map +1 -1
- package/dist/commands/PackCommand.d.ts +13 -10
- package/dist/commands/PackCommand.d.ts.map +1 -1
- package/dist/commands/PackCommand.js +26 -21
- package/dist/commands/PackCommand.js.map +1 -1
- package/dist/commands/PackageLifecycleCommand.d.ts +23 -19
- package/dist/commands/PackageLifecycleCommand.d.ts.map +1 -1
- package/dist/commands/PackageLifecycleCommand.js +144 -138
- package/dist/commands/PackageLifecycleCommand.js.map +1 -1
- package/dist/commands/PostinstallCandidateBuilder.d.ts +11 -8
- package/dist/commands/PostinstallCandidateBuilder.d.ts.map +1 -1
- package/dist/commands/PostinstallCandidateBuilder.js +42 -42
- package/dist/commands/PostinstallCandidateBuilder.js.map +1 -1
- package/dist/commands/ProjectGetNameCommand.d.ts +10 -7
- package/dist/commands/ProjectGetNameCommand.d.ts.map +1 -1
- package/dist/commands/ProjectGetNameCommand.js +25 -25
- package/dist/commands/ProjectGetNameCommand.js.map +1 -1
- package/dist/commands/PublishCommand.d.ts +29 -23
- package/dist/commands/PublishCommand.d.ts.map +1 -1
- package/dist/commands/PublishCommand.js +243 -254
- package/dist/commands/PublishCommand.js.map +1 -1
- package/dist/commands/RegistryCommand.d.ts +38 -35
- package/dist/commands/RegistryCommand.d.ts.map +1 -1
- package/dist/commands/RegistryCommand.js +195 -223
- package/dist/commands/RegistryCommand.js.map +1 -1
- package/dist/commands/RemoveCommand.d.ts +14 -11
- package/dist/commands/RemoveCommand.d.ts.map +1 -1
- package/dist/commands/RemoveCommand.js +47 -54
- package/dist/commands/RemoveCommand.js.map +1 -1
- package/dist/commands/RequestsCommand.d.ts +21 -18
- package/dist/commands/RequestsCommand.d.ts.map +1 -1
- package/dist/commands/RequestsCommand.js +82 -95
- package/dist/commands/RequestsCommand.js.map +1 -1
- package/dist/commands/UpdateCommand.d.ts +29 -26
- package/dist/commands/UpdateCommand.d.ts.map +1 -1
- package/dist/commands/UpdateCommand.js +111 -111
- package/dist/commands/UpdateCommand.js.map +1 -1
- package/dist/commands/WhoamiCommand.d.ts +30 -27
- package/dist/commands/WhoamiCommand.d.ts.map +1 -1
- package/dist/commands/WhoamiCommand.js +63 -72
- package/dist/commands/WhoamiCommand.js.map +1 -1
- package/dist/commands/WhyCommand.d.ts +13 -10
- package/dist/commands/WhyCommand.d.ts.map +1 -1
- package/dist/commands/WhyCommand.js +45 -44
- package/dist/commands/WhyCommand.js.map +1 -1
- package/dist/commands/add/DependencyAddResolver.d.ts +14 -11
- package/dist/commands/add/DependencyAddResolver.d.ts.map +1 -1
- package/dist/commands/add/DependencyAddResolver.js +36 -36
- package/dist/commands/add/DependencyAddResolver.js.map +1 -1
- package/dist/control-plane/AccountManager.d.ts +96 -94
- package/dist/control-plane/AccountManager.d.ts.map +1 -1
- package/dist/control-plane/AccountManager.js +775 -967
- package/dist/control-plane/AccountManager.js.map +1 -1
- package/dist/control-plane/ArtifactObserver.d.ts +19 -16
- package/dist/control-plane/ArtifactObserver.d.ts.map +1 -1
- package/dist/control-plane/ArtifactObserver.js +73 -59
- package/dist/control-plane/ArtifactObserver.js.map +1 -1
- package/dist/control-plane/AuthMetadataStore.d.ts +16 -13
- package/dist/control-plane/AuthMetadataStore.d.ts.map +1 -1
- package/dist/control-plane/AuthMetadataStore.js +111 -113
- package/dist/control-plane/AuthMetadataStore.js.map +1 -1
- package/dist/control-plane/AuthStoragePaths.d.ts +7 -4
- package/dist/control-plane/AuthStoragePaths.d.ts.map +1 -1
- package/dist/control-plane/AuthStoragePaths.js +19 -14
- package/dist/control-plane/AuthStoragePaths.js.map +1 -1
- package/dist/control-plane/AuthenticationSelector.d.ts +21 -18
- package/dist/control-plane/AuthenticationSelector.d.ts.map +1 -1
- package/dist/control-plane/AuthenticationSelector.js +69 -63
- package/dist/control-plane/AuthenticationSelector.js.map +1 -1
- package/dist/control-plane/ControlPlaneClient.d.ts +37 -28
- package/dist/control-plane/ControlPlaneClient.d.ts.map +1 -1
- package/dist/control-plane/ControlPlaneClient.js +265 -254
- package/dist/control-plane/ControlPlaneClient.js.map +1 -1
- package/dist/control-plane/ControlPlaneEndpoints.d.ts +9 -6
- package/dist/control-plane/ControlPlaneEndpoints.d.ts.map +1 -1
- package/dist/control-plane/ControlPlaneEndpoints.js +17 -12
- package/dist/control-plane/ControlPlaneEndpoints.js.map +1 -1
- package/dist/control-plane/ControlPlaneTypes.d.ts +176 -152
- package/dist/control-plane/ControlPlaneTypes.d.ts.map +1 -1
- package/dist/control-plane/ControlPlaneTypes.js +88 -81
- package/dist/control-plane/ControlPlaneTypes.js.map +1 -1
- package/dist/control-plane/CredentialStore.d.ts +20 -18
- package/dist/control-plane/CredentialStore.d.ts.map +1 -1
- package/dist/control-plane/CredentialStore.js +66 -83
- package/dist/control-plane/CredentialStore.js.map +1 -1
- package/dist/control-plane/DPoPKeyStore.d.ts +12 -9
- package/dist/control-plane/DPoPKeyStore.d.ts.map +1 -1
- package/dist/control-plane/DPoPKeyStore.js +57 -53
- package/dist/control-plane/DPoPKeyStore.js.map +1 -1
- package/dist/control-plane/GitHubActionsOidcCredentialProvider.d.ts +37 -4
- package/dist/control-plane/GitHubActionsOidcCredentialProvider.d.ts.map +1 -1
- package/dist/control-plane/GitHubActionsOidcCredentialProvider.js +197 -63
- package/dist/control-plane/GitHubActionsOidcCredentialProvider.js.map +1 -1
- package/dist/control-plane/PublishIdempotencyStore.d.ts +25 -9
- package/dist/control-plane/PublishIdempotencyStore.d.ts.map +1 -1
- package/dist/control-plane/PublishIdempotencyStore.js +97 -68
- package/dist/control-plane/PublishIdempotencyStore.js.map +1 -1
- package/dist/control-plane/PublishRequestErrorMapper.d.ts +155 -0
- package/dist/control-plane/PublishRequestErrorMapper.d.ts.map +1 -0
- package/dist/control-plane/PublishRequestErrorMapper.js +597 -0
- package/dist/control-plane/PublishRequestErrorMapper.js.map +1 -0
- package/dist/control-plane/RegistryGrantLock.d.ts +29 -26
- package/dist/control-plane/RegistryGrantLock.d.ts.map +1 -1
- package/dist/control-plane/RegistryGrantLock.js +149 -185
- package/dist/control-plane/RegistryGrantLock.js.map +1 -1
- package/dist/control-plane/RegistryTrustResolver.d.ts +13 -10
- package/dist/control-plane/RegistryTrustResolver.d.ts.map +1 -1
- package/dist/control-plane/RegistryTrustResolver.js +97 -132
- package/dist/control-plane/RegistryTrustResolver.js.map +1 -1
- package/dist/index.d.ts +62 -39
- package/dist/index.js +60 -53
- package/dist/postinstall/api/PostinstallDsl.d.ts +24 -21
- package/dist/postinstall/api/PostinstallDsl.d.ts.map +1 -1
- package/dist/postinstall/api/PostinstallDsl.js +32 -35
- package/dist/postinstall/api/PostinstallDsl.js.map +1 -1
- package/dist/postinstall/api/definePostinstall.d.ts +5 -2
- package/dist/postinstall/api/definePostinstall.d.ts.map +1 -1
- package/dist/postinstall/api/definePostinstall.js +20 -16
- package/dist/postinstall/api/definePostinstall.js.map +1 -1
- package/dist/postinstall/index.d.ts +25 -26
- package/dist/postinstall/index.js +25 -37
- package/dist/postinstall/loader/EntryResolver.d.ts +11 -9
- package/dist/postinstall/loader/EntryResolver.d.ts.map +1 -1
- package/dist/postinstall/loader/EntryResolver.js +36 -32
- package/dist/postinstall/loader/EntryResolver.js.map +1 -1
- package/dist/postinstall/loader/EsbuildTranspiler.d.ts +6 -3
- package/dist/postinstall/loader/EsbuildTranspiler.d.ts.map +1 -1
- package/dist/postinstall/loader/EsbuildTranspiler.js +52 -56
- package/dist/postinstall/loader/EsbuildTranspiler.js.map +1 -1
- package/dist/postinstall/loader/ExportValidator.d.ts +8 -5
- package/dist/postinstall/loader/ExportValidator.d.ts.map +1 -1
- package/dist/postinstall/loader/ExportValidator.js +36 -32
- package/dist/postinstall/loader/ExportValidator.js.map +1 -1
- package/dist/postinstall/loader/ModuleImporter.d.ts +17 -14
- package/dist/postinstall/loader/ModuleImporter.d.ts.map +1 -1
- package/dist/postinstall/loader/ModuleImporter.js +50 -58
- package/dist/postinstall/loader/ModuleImporter.js.map +1 -1
- package/dist/postinstall/loader/PostinstallLoader.d.ts +22 -19
- package/dist/postinstall/loader/PostinstallLoader.d.ts.map +1 -1
- package/dist/postinstall/loader/PostinstallLoader.js +62 -58
- package/dist/postinstall/loader/PostinstallLoader.js.map +1 -1
- package/dist/postinstall/markers/MarkerBlockEditor.d.ts +19 -16
- package/dist/postinstall/markers/MarkerBlockEditor.d.ts.map +1 -1
- package/dist/postinstall/markers/MarkerBlockEditor.js +48 -44
- package/dist/postinstall/markers/MarkerBlockEditor.js.map +1 -1
- package/dist/postinstall/markers/MarkerBlockService.d.ts +10 -7
- package/dist/postinstall/markers/MarkerBlockService.d.ts.map +1 -1
- package/dist/postinstall/markers/MarkerBlockService.js +44 -44
- package/dist/postinstall/markers/MarkerBlockService.js.map +1 -1
- package/dist/postinstall/markers/MarkerIntegrityValidator.d.ts +12 -9
- package/dist/postinstall/markers/MarkerIntegrityValidator.d.ts.map +1 -1
- package/dist/postinstall/markers/MarkerIntegrityValidator.js +47 -52
- package/dist/postinstall/markers/MarkerIntegrityValidator.js.map +1 -1
- package/dist/postinstall/policy/PostinstallPolicyGate.d.ts +25 -23
- package/dist/postinstall/policy/PostinstallPolicyGate.d.ts.map +1 -1
- package/dist/postinstall/policy/PostinstallPolicyGate.js +63 -52
- package/dist/postinstall/policy/PostinstallPolicyGate.js.map +1 -1
- package/dist/postinstall/runner/PostinstallOrchestrator.d.ts +48 -45
- package/dist/postinstall/runner/PostinstallOrchestrator.d.ts.map +1 -1
- package/dist/postinstall/runner/PostinstallOrchestrator.js +172 -170
- package/dist/postinstall/runner/PostinstallOrchestrator.js.map +1 -1
- package/dist/postinstall/unreal/BuildCsInjector.d.ts +16 -13
- package/dist/postinstall/unreal/BuildCsInjector.d.ts.map +1 -1
- package/dist/postinstall/unreal/BuildCsInjector.js +58 -53
- package/dist/postinstall/unreal/BuildCsInjector.js.map +1 -1
- package/dist/postinstall/unreal/CSharpInjectionEngine.d.ts +13 -10
- package/dist/postinstall/unreal/CSharpInjectionEngine.d.ts.map +1 -1
- package/dist/postinstall/unreal/CSharpInjectionEngine.js +56 -59
- package/dist/postinstall/unreal/CSharpInjectionEngine.js.map +1 -1
- package/dist/postinstall/unreal/CSharpStructureAnalyzer.d.ts +11 -8
- package/dist/postinstall/unreal/CSharpStructureAnalyzer.d.ts.map +1 -1
- package/dist/postinstall/unreal/CSharpStructureAnalyzer.js +123 -127
- package/dist/postinstall/unreal/CSharpStructureAnalyzer.js.map +1 -1
- package/dist/postinstall/unreal/CSharpStructures.d.ts +18 -15
- package/dist/postinstall/unreal/CSharpStructures.d.ts.map +1 -1
- package/dist/postinstall/unreal/CSharpStructures.js +1 -2
- package/dist/postinstall/unreal/CSharpWrapperFactory.d.ts +7 -4
- package/dist/postinstall/unreal/CSharpWrapperFactory.d.ts.map +1 -1
- package/dist/postinstall/unreal/CSharpWrapperFactory.js +54 -58
- package/dist/postinstall/unreal/CSharpWrapperFactory.js.map +1 -1
- package/dist/postinstall/unreal/PluginHash.d.ts +5 -2
- package/dist/postinstall/unreal/PluginHash.d.ts.map +1 -1
- package/dist/postinstall/unreal/PluginHash.js +13 -8
- package/dist/postinstall/unreal/PluginHash.js.map +1 -1
- package/dist/postinstall/unreal/PrettyParseError.d.ts +8 -5
- package/dist/postinstall/unreal/PrettyParseError.d.ts.map +1 -1
- package/dist/postinstall/unreal/PrettyParseError.js +37 -37
- package/dist/postinstall/unreal/PrettyParseError.js.map +1 -1
- package/dist/postinstall/unreal/ProjectFileLocator.d.ts +12 -9
- package/dist/postinstall/unreal/ProjectFileLocator.d.ts.map +1 -1
- package/dist/postinstall/unreal/ProjectFileLocator.js +49 -51
- package/dist/postinstall/unreal/ProjectFileLocator.js.map +1 -1
- package/dist/postinstall/unreal/TargetCsInjector.d.ts +16 -13
- package/dist/postinstall/unreal/TargetCsInjector.d.ts.map +1 -1
- package/dist/postinstall/unreal/TargetCsInjector.js +58 -53
- package/dist/postinstall/unreal/TargetCsInjector.js.map +1 -1
- package/dist/postinstall/unreal/UProjectInjector.d.ts +6 -3
- package/dist/postinstall/unreal/UProjectInjector.d.ts.map +1 -1
- package/dist/postinstall/unreal/UProjectInjector.js +56 -52
- package/dist/postinstall/unreal/UProjectInjector.js.map +1 -1
- package/dist/postinstall/unreal/UProjectMetadataReader.d.ts +5 -2
- package/dist/postinstall/unreal/UProjectMetadataReader.d.ts.map +1 -1
- package/dist/postinstall/unreal/UProjectMetadataReader.js +22 -18
- package/dist/postinstall/unreal/UProjectMetadataReader.js.map +1 -1
- package/dist/postinstall/unreal/UnrealSourceCatalog.d.ts +17 -14
- package/dist/postinstall/unreal/UnrealSourceCatalog.d.ts.map +1 -1
- package/dist/postinstall/unreal/UnrealSourceCatalog.js +50 -50
- package/dist/postinstall/unreal/UnrealSourceCatalog.js.map +1 -1
- package/dist/prompts/InkPromptService.d.ts +10 -7
- package/dist/prompts/InkPromptService.d.ts.map +1 -1
- package/dist/prompts/InkPromptService.js +100 -71
- package/dist/prompts/InkPromptService.js.map +1 -1
- package/dist/prompts/ProjectContextDetector.d.ts +10 -7
- package/dist/prompts/ProjectContextDetector.d.ts.map +1 -1
- package/dist/prompts/ProjectContextDetector.js +32 -26
- package/dist/prompts/ProjectContextDetector.js.map +1 -1
- package/dist/prompts/PromptService.d.ts +11 -8
- package/dist/prompts/PromptService.d.ts.map +1 -1
- package/dist/prompts/PromptService.js +1 -8
- package/dist/reporting/DiagnosticDeduplicator.d.ts +8 -5
- package/dist/reporting/DiagnosticDeduplicator.d.ts.map +1 -1
- package/dist/reporting/DiagnosticDeduplicator.js +36 -35
- package/dist/reporting/DiagnosticDeduplicator.js.map +1 -1
- package/dist/reporting/DiagnosticRenderer.d.ts +11 -8
- package/dist/reporting/DiagnosticRenderer.d.ts.map +1 -1
- package/dist/reporting/DiagnosticRenderer.js +1 -2
- package/dist/reporting/DiagnosticReporter.d.ts +12 -9
- package/dist/reporting/DiagnosticReporter.d.ts.map +1 -1
- package/dist/reporting/DiagnosticReporter.js +40 -39
- package/dist/reporting/DiagnosticReporter.js.map +1 -1
- package/dist/reporting/InkDiagnosticRenderer.d.ts +12 -9
- package/dist/reporting/InkDiagnosticRenderer.d.ts.map +1 -1
- package/dist/reporting/InkDiagnosticRenderer.js +50 -42
- package/dist/reporting/InkDiagnosticRenderer.js.map +1 -1
- package/dist/reporting/InstallProgressReporter.d.ts +23 -20
- package/dist/reporting/InstallProgressReporter.d.ts.map +1 -1
- package/dist/reporting/InstallProgressReporter.js +48 -47
- package/dist/reporting/InstallProgressReporter.js.map +1 -1
- package/dist/reporting/JsonReporter.d.ts +16 -13
- package/dist/reporting/JsonReporter.d.ts.map +1 -1
- package/dist/reporting/JsonReporter.js +34 -20
- package/dist/reporting/JsonReporter.js.map +1 -1
- package/dist/reporting/RegistryRequestTerminalFormatter.d.ts +36 -0
- package/dist/reporting/RegistryRequestTerminalFormatter.d.ts.map +1 -0
- package/dist/reporting/RegistryRequestTerminalFormatter.js +90 -0
- package/dist/reporting/RegistryRequestTerminalFormatter.js.map +1 -0
- package/dist/reporting/TextDiagnosticRenderer.d.ts +11 -8
- package/dist/reporting/TextDiagnosticRenderer.d.ts.map +1 -1
- package/dist/reporting/TextDiagnosticRenderer.js +36 -28
- package/dist/reporting/TextDiagnosticRenderer.js.map +1 -1
- package/dist/reporting/TextSink.d.ts +14 -11
- package/dist/reporting/TextSink.d.ts.map +1 -1
- package/dist/reporting/TextSink.js +24 -20
- package/dist/reporting/TextSink.js.map +1 -1
- package/package.json +31 -32
- package/dist/cli/parsing/contracts/UAPKGCommandModule.js.map +0 -1
- package/dist/cli-bootstrap.d.ts.map +0 -1
- package/dist/commands/Command.js.map +0 -1
- package/dist/index.d.ts.map +0 -1
- package/dist/index.js.map +0 -1
- package/dist/postinstall/index.d.ts.map +0 -1
- package/dist/postinstall/index.js.map +0 -1
- package/dist/postinstall/unreal/CSharpStructures.js.map +0 -1
- package/dist/prompts/PromptService.js.map +0 -1
- package/dist/reporting/DiagnosticRenderer.js.map +0 -1
|
@@ -1,171 +1,157 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
import { ListCommand } from
|
|
6
|
-
import { LoginCommand } from
|
|
7
|
-
import { LogoutCommand } from
|
|
8
|
-
import { OutdatedCommand } from
|
|
9
|
-
import {
|
|
10
|
-
import {
|
|
11
|
-
import {
|
|
12
|
-
import {
|
|
13
|
-
import {
|
|
14
|
-
import {
|
|
15
|
-
import {
|
|
16
|
-
import {
|
|
17
|
-
import {
|
|
18
|
-
import {
|
|
19
|
-
import {
|
|
20
|
-
import { ProjectContextDetector } from
|
|
21
|
-
import { CompositionRoot } from
|
|
1
|
+
import { InstallCommand } from "../commands/InstallCommand.js";
|
|
2
|
+
import { AddCommand } from "../commands/AddCommand.js";
|
|
3
|
+
import { ConfigCommand } from "../commands/ConfigCommand.js";
|
|
4
|
+
import { InitCommand } from "../commands/InitCommand.js";
|
|
5
|
+
import { ListCommand } from "../commands/ListCommand.js";
|
|
6
|
+
import { LoginCommand } from "../commands/LoginCommand.js";
|
|
7
|
+
import { LogoutCommand } from "../commands/LogoutCommand.js";
|
|
8
|
+
import { OutdatedCommand } from "../commands/OutdatedCommand.js";
|
|
9
|
+
import { InkPromptService } from "../prompts/InkPromptService.js";
|
|
10
|
+
import { PackageLifecycleCommand } from "../commands/PackageLifecycleCommand.js";
|
|
11
|
+
import { PackCommand } from "../commands/PackCommand.js";
|
|
12
|
+
import { ProjectGetNameCommand } from "../commands/ProjectGetNameCommand.js";
|
|
13
|
+
import { PublishCommand } from "../commands/PublishCommand.js";
|
|
14
|
+
import { RegistryCommand } from "../commands/RegistryCommand.js";
|
|
15
|
+
import { RemoveCommand } from "../commands/RemoveCommand.js";
|
|
16
|
+
import { RequestsCommand } from "../commands/RequestsCommand.js";
|
|
17
|
+
import { UpdateCommand } from "../commands/UpdateCommand.js";
|
|
18
|
+
import { WhoamiCommand } from "../commands/WhoamiCommand.js";
|
|
19
|
+
import { WhyCommand } from "../commands/WhyCommand.js";
|
|
20
|
+
import { ProjectContextDetector } from "../prompts/ProjectContextDetector.js";
|
|
21
|
+
import { CompositionRoot } from "./CompositionRoot.js";
|
|
22
|
+
|
|
23
|
+
//#region src/app/UAPKGApplication.ts
|
|
22
24
|
/**
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
status: commandLine.status,
|
|
156
|
-
watch: commandLine.watch,
|
|
157
|
-
outputFormat: commandLine.outputFormat,
|
|
158
|
-
}).execute();
|
|
159
|
-
case 'init':
|
|
160
|
-
return new InitCommand(root, { explicitKind: commandLine.type, explicitName: commandLine.name }, new ProjectContextDetector(), new InkPromptService()).execute();
|
|
161
|
-
case 'project-get-name':
|
|
162
|
-
return new ProjectGetNameCommand(root).execute();
|
|
163
|
-
default: {
|
|
164
|
-
const exhaustive = commandLine;
|
|
165
|
-
void exhaustive;
|
|
166
|
-
return 1;
|
|
167
|
-
}
|
|
168
|
-
}
|
|
169
|
-
}
|
|
170
|
-
}
|
|
25
|
+
* Dispatcher: maps the parsed command-line shape to a concrete command
|
|
26
|
+
* implementation, wiring dependencies via {@link CompositionRoot}.
|
|
27
|
+
*
|
|
28
|
+
* Every command now composes over {@link CompositionRoot}. The `init` and
|
|
29
|
+
* `project-get-name` commands additionally receive a prompt service +
|
|
30
|
+
* project-context detector (split out of the legacy `ui/` + `services/`
|
|
31
|
+
* folders in Phase 10).
|
|
32
|
+
*/
|
|
33
|
+
var UAPKGApplication = class {
|
|
34
|
+
async run(commandLine) {
|
|
35
|
+
const root = new CompositionRoot({ cwd: commandLine.cwd });
|
|
36
|
+
switch (commandLine.command) {
|
|
37
|
+
case "install": return new InstallCommand(root, {
|
|
38
|
+
force: commandLine.force,
|
|
39
|
+
frozen: commandLine.frozen,
|
|
40
|
+
dryRun: commandLine.dryRun,
|
|
41
|
+
outputFormat: commandLine.outputFormat
|
|
42
|
+
}).execute();
|
|
43
|
+
case "add": return new AddCommand(root, {
|
|
44
|
+
spec: commandLine.source,
|
|
45
|
+
pin: commandLine.pin,
|
|
46
|
+
dev: commandLine.dev,
|
|
47
|
+
registry: commandLine.registry,
|
|
48
|
+
force: commandLine.force,
|
|
49
|
+
dryRun: commandLine.dryRun,
|
|
50
|
+
outputFormat: commandLine.outputFormat
|
|
51
|
+
}).execute();
|
|
52
|
+
case "update": return new UpdateCommand(root, {
|
|
53
|
+
specs: commandLine.specs,
|
|
54
|
+
force: commandLine.force,
|
|
55
|
+
dryRun: commandLine.dryRun,
|
|
56
|
+
outputFormat: commandLine.outputFormat
|
|
57
|
+
}).execute();
|
|
58
|
+
case "remove": return new RemoveCommand(root, {
|
|
59
|
+
packageName: commandLine.packageName,
|
|
60
|
+
outputFormat: commandLine.outputFormat
|
|
61
|
+
}).execute();
|
|
62
|
+
case "outdated": return new OutdatedCommand(root, { outputFormat: commandLine.outputFormat }).execute();
|
|
63
|
+
case "why": return new WhyCommand(root, {
|
|
64
|
+
target: commandLine.target,
|
|
65
|
+
outputFormat: commandLine.outputFormat
|
|
66
|
+
}).execute();
|
|
67
|
+
case "list": return new ListCommand(root, {
|
|
68
|
+
depth: commandLine.depth,
|
|
69
|
+
outputFormat: commandLine.outputFormat
|
|
70
|
+
}).execute();
|
|
71
|
+
case "pack": return new PackCommand({
|
|
72
|
+
cwd: commandLine.cwd,
|
|
73
|
+
dryRun: commandLine.dryRun,
|
|
74
|
+
allowMissingLfs: commandLine.allowMissingLfs,
|
|
75
|
+
outFile: commandLine.outFile
|
|
76
|
+
}).execute();
|
|
77
|
+
case "config": return new ConfigCommand({
|
|
78
|
+
cwd: commandLine.cwd,
|
|
79
|
+
action: commandLine.action,
|
|
80
|
+
pathToProperty: commandLine.path,
|
|
81
|
+
rawValue: commandLine.value,
|
|
82
|
+
scope: commandLine.scope,
|
|
83
|
+
output: commandLine.output,
|
|
84
|
+
showOrigin: commandLine.showOrigin,
|
|
85
|
+
trace: commandLine.trace
|
|
86
|
+
}).execute();
|
|
87
|
+
case "registry": return new RegistryCommand(root, {
|
|
88
|
+
action: commandLine.action,
|
|
89
|
+
name: commandLine.name,
|
|
90
|
+
url: commandLine.url,
|
|
91
|
+
refType: commandLine.refType,
|
|
92
|
+
refValue: commandLine.refValue,
|
|
93
|
+
scope: commandLine.scope,
|
|
94
|
+
output: commandLine.output
|
|
95
|
+
}).execute();
|
|
96
|
+
case "login": return new LoginCommand(root, {
|
|
97
|
+
registry: commandLine.registry,
|
|
98
|
+
deviceName: commandLine.deviceName,
|
|
99
|
+
reauthorize: commandLine.reauthorize,
|
|
100
|
+
outputFormat: commandLine.outputFormat
|
|
101
|
+
}).execute();
|
|
102
|
+
case "logout": return new LogoutCommand(root, {
|
|
103
|
+
registry: commandLine.registry,
|
|
104
|
+
localOnly: commandLine.localOnly,
|
|
105
|
+
outputFormat: commandLine.outputFormat
|
|
106
|
+
}).execute();
|
|
107
|
+
case "whoami": return new WhoamiCommand(root, {
|
|
108
|
+
field: commandLine.field,
|
|
109
|
+
registry: commandLine.registry,
|
|
110
|
+
outputFormat: commandLine.outputFormat
|
|
111
|
+
}).execute();
|
|
112
|
+
case "publish": return new PublishCommand(root, {
|
|
113
|
+
registry: commandLine.registry,
|
|
114
|
+
owner: commandLine.owner,
|
|
115
|
+
repository: commandLine.repository,
|
|
116
|
+
tag: commandLine.tag,
|
|
117
|
+
asset: commandLine.asset,
|
|
118
|
+
assetPath: commandLine.assetPath,
|
|
119
|
+
auth: commandLine.auth,
|
|
120
|
+
detach: commandLine.detach,
|
|
121
|
+
outputFormat: commandLine.outputFormat
|
|
122
|
+
}).execute();
|
|
123
|
+
case "yank":
|
|
124
|
+
case "unyank":
|
|
125
|
+
case "unpublish":
|
|
126
|
+
case "deprecate":
|
|
127
|
+
case "undeprecate": return new PackageLifecycleCommand(root, {
|
|
128
|
+
operation: commandLine.command,
|
|
129
|
+
packageName: commandLine.packageName,
|
|
130
|
+
packageVersion: commandLine.packageVersion,
|
|
131
|
+
reason: commandLine.reason,
|
|
132
|
+
registry: commandLine.registry,
|
|
133
|
+
auth: commandLine.auth,
|
|
134
|
+
detach: commandLine.detach,
|
|
135
|
+
outputFormat: commandLine.outputFormat
|
|
136
|
+
}).execute();
|
|
137
|
+
case "requests": return new RequestsCommand(root, {
|
|
138
|
+
action: commandLine.action,
|
|
139
|
+
requestId: commandLine.requestId,
|
|
140
|
+
registry: commandLine.registry,
|
|
141
|
+
status: commandLine.status,
|
|
142
|
+
watch: commandLine.watch,
|
|
143
|
+
outputFormat: commandLine.outputFormat
|
|
144
|
+
}).execute();
|
|
145
|
+
case "init": return new InitCommand(root, {
|
|
146
|
+
explicitKind: commandLine.type,
|
|
147
|
+
explicitName: commandLine.name
|
|
148
|
+
}, new ProjectContextDetector(), new InkPromptService()).execute();
|
|
149
|
+
case "project-get-name": return new ProjectGetNameCommand(root).execute();
|
|
150
|
+
default: return 1;
|
|
151
|
+
}
|
|
152
|
+
}
|
|
153
|
+
};
|
|
154
|
+
|
|
155
|
+
//#endregion
|
|
156
|
+
export { UAPKGApplication };
|
|
171
157
|
//# sourceMappingURL=UAPKGApplication.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"UAPKGApplication.js","
|
|
1
|
+
{"version":3,"file":"UAPKGApplication.js","names":[],"sources":["../../src/app/UAPKGApplication.ts"],"sourcesContent":["import type { UAPKGCommandLine } from '../cli/UAPKGCommandLine.js';\nimport { AddCommand } from '../commands/AddCommand.js';\nimport { ConfigCommand } from '../commands/ConfigCommand.js';\nimport { InitCommand } from '../commands/InitCommand.js';\nimport { InstallCommand } from '../commands/InstallCommand.js';\nimport { ListCommand } from '../commands/ListCommand.js';\nimport { LoginCommand } from '../commands/LoginCommand.js';\nimport { LogoutCommand } from '../commands/LogoutCommand.js';\nimport { OutdatedCommand } from '../commands/OutdatedCommand.js';\nimport { PackageLifecycleCommand } from '../commands/PackageLifecycleCommand.js';\nimport { PackCommand } from '../commands/PackCommand.js';\nimport { ProjectGetNameCommand } from '../commands/ProjectGetNameCommand.js';\nimport { PublishCommand } from '../commands/PublishCommand.js';\nimport { RegistryCommand } from '../commands/RegistryCommand.js';\nimport { RemoveCommand } from '../commands/RemoveCommand.js';\nimport { RequestsCommand } from '../commands/RequestsCommand.js';\nimport { UpdateCommand } from '../commands/UpdateCommand.js';\nimport { WhoamiCommand } from '../commands/WhoamiCommand.js';\nimport { WhyCommand } from '../commands/WhyCommand.js';\nimport { InkPromptService } from '../prompts/InkPromptService.js';\nimport { ProjectContextDetector } from '../prompts/ProjectContextDetector.js';\nimport { CompositionRoot } from './CompositionRoot.js';\n\n/**\n * Dispatcher: maps the parsed command-line shape to a concrete command\n * implementation, wiring dependencies via {@link CompositionRoot}.\n *\n * Every command now composes over {@link CompositionRoot}. The `init` and\n * `project-get-name` commands additionally receive a prompt service +\n * project-context detector (split out of the legacy `ui/` + `services/`\n * folders in Phase 10).\n */\nexport class UAPKGApplication {\n async run(commandLine: UAPKGCommandLine): Promise<number> {\n const root = new CompositionRoot({ cwd: commandLine.cwd });\n\n switch (commandLine.command) {\n case 'install':\n return new InstallCommand(root, {\n force: commandLine.force,\n frozen: commandLine.frozen,\n dryRun: commandLine.dryRun,\n outputFormat: commandLine.outputFormat,\n }).execute();\n\n case 'add':\n return new AddCommand(root, {\n spec: commandLine.source,\n pin: commandLine.pin,\n dev: commandLine.dev,\n registry: commandLine.registry,\n force: commandLine.force,\n dryRun: commandLine.dryRun,\n outputFormat: commandLine.outputFormat,\n }).execute();\n\n case 'update':\n return new UpdateCommand(root, {\n specs: commandLine.specs,\n force: commandLine.force,\n dryRun: commandLine.dryRun,\n outputFormat: commandLine.outputFormat,\n }).execute();\n\n case 'remove':\n return new RemoveCommand(root, {\n packageName: commandLine.packageName,\n outputFormat: commandLine.outputFormat,\n }).execute();\n\n case 'outdated':\n return new OutdatedCommand(root, { outputFormat: commandLine.outputFormat }).execute();\n\n case 'why':\n return new WhyCommand(root, {\n target: commandLine.target,\n outputFormat: commandLine.outputFormat,\n }).execute();\n\n case 'list':\n return new ListCommand(root, {\n depth: commandLine.depth,\n outputFormat: commandLine.outputFormat,\n }).execute();\n\n case 'pack':\n return new PackCommand({\n cwd: commandLine.cwd,\n dryRun: commandLine.dryRun,\n allowMissingLfs: commandLine.allowMissingLfs,\n outFile: commandLine.outFile,\n }).execute();\n\n case 'config':\n return new ConfigCommand({\n cwd: commandLine.cwd,\n action: commandLine.action,\n pathToProperty: commandLine.path,\n rawValue: commandLine.value,\n scope: commandLine.scope,\n output: commandLine.output,\n showOrigin: commandLine.showOrigin,\n trace: commandLine.trace,\n }).execute();\n\n case 'registry':\n return new RegistryCommand(root, {\n action: commandLine.action,\n name: commandLine.name,\n url: commandLine.url,\n refType: commandLine.refType,\n refValue: commandLine.refValue,\n scope: commandLine.scope,\n output: commandLine.output,\n }).execute();\n\n case 'login':\n return new LoginCommand(root, {\n registry: commandLine.registry,\n deviceName: commandLine.deviceName,\n reauthorize: commandLine.reauthorize,\n outputFormat: commandLine.outputFormat,\n }).execute();\n\n case 'logout':\n return new LogoutCommand(root, {\n registry: commandLine.registry,\n localOnly: commandLine.localOnly,\n outputFormat: commandLine.outputFormat,\n }).execute();\n\n case 'whoami':\n return new WhoamiCommand(root, {\n field: commandLine.field,\n registry: commandLine.registry,\n outputFormat: commandLine.outputFormat,\n }).execute();\n\n case 'publish':\n return new PublishCommand(root, {\n registry: commandLine.registry,\n owner: commandLine.owner,\n repository: commandLine.repository,\n tag: commandLine.tag,\n asset: commandLine.asset,\n assetPath: commandLine.assetPath,\n auth: commandLine.auth,\n detach: commandLine.detach,\n outputFormat: commandLine.outputFormat,\n }).execute();\n\n case 'yank':\n case 'unyank':\n case 'unpublish':\n case 'deprecate':\n case 'undeprecate':\n return new PackageLifecycleCommand(root, {\n operation: commandLine.command,\n packageName: commandLine.packageName,\n packageVersion: commandLine.packageVersion,\n reason: commandLine.reason,\n registry: commandLine.registry,\n auth: commandLine.auth,\n detach: commandLine.detach,\n outputFormat: commandLine.outputFormat,\n }).execute();\n\n case 'requests':\n return new RequestsCommand(root, {\n action: commandLine.action,\n requestId: commandLine.requestId,\n registry: commandLine.registry,\n status: commandLine.status,\n watch: commandLine.watch,\n outputFormat: commandLine.outputFormat,\n }).execute();\n\n case 'init':\n return new InitCommand(\n root,\n { explicitKind: commandLine.type, explicitName: commandLine.name },\n new ProjectContextDetector(),\n new InkPromptService(),\n ).execute();\n\n case 'project-get-name':\n return new ProjectGetNameCommand(root).execute();\n\n default: {\n const exhaustive: never = commandLine;\n void exhaustive;\n return 1;\n }\n }\n }\n}\n"],"mappings":"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"}
|
|
@@ -1,12 +1,15 @@
|
|
|
1
|
-
import
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
1
|
+
import { UAPKGBuildMode } from "@uapkg/common";
|
|
2
|
+
//#region src/build/BuildMetadata.d.ts
|
|
3
|
+
interface UAPKGBuildMetadata {
|
|
4
|
+
readonly mode: UAPKGBuildMode;
|
|
5
|
+
readonly packageVersion: string;
|
|
6
|
+
readonly displayVersion: string;
|
|
6
7
|
}
|
|
7
8
|
/**
|
|
8
9
|
* Safe metadata for source execution. The package build replaces the emitted
|
|
9
10
|
* JavaScript module with metadata for the requested build mode.
|
|
10
11
|
*/
|
|
11
|
-
|
|
12
|
+
declare const UAPKG_BUILD_METADATA: UAPKGBuildMetadata;
|
|
13
|
+
//#endregion
|
|
14
|
+
export { UAPKGBuildMetadata, UAPKG_BUILD_METADATA };
|
|
12
15
|
//# sourceMappingURL=BuildMetadata.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"BuildMetadata.d.ts","
|
|
1
|
+
{"version":3,"file":"BuildMetadata.d.ts","names":[],"sources":["../../src/build/BuildMetadata.ts"],"mappings":";;UAGiB;WACN,MAAM;WACN;WACA;;;;;;cAaE,sBAAsB"}
|