@uapkg/cli 1.3.0 → 1.3.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/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,7 +1,10 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
1
|
+
import { CommandLineSink, UAPKGCommandModule } from "../contracts/UAPKGCommandModule.js";
|
|
2
|
+
import { Argv } from "yargs";
|
|
3
|
+
//#region src/cli/parsing/modules/LogoutCommandModule.d.ts
|
|
4
|
+
declare class LogoutCommandModule implements UAPKGCommandModule {
|
|
5
|
+
private readonly factory;
|
|
6
|
+
register(parser: Argv, sink: CommandLineSink): Argv;
|
|
6
7
|
}
|
|
8
|
+
//#endregion
|
|
9
|
+
export { LogoutCommandModule };
|
|
7
10
|
//# sourceMappingURL=LogoutCommandModule.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"LogoutCommandModule.d.ts","
|
|
1
|
+
{"version":3,"file":"LogoutCommandModule.d.ts","names":[],"sources":["../../../../src/cli/parsing/modules/LogoutCommandModule.ts"],"mappings":";;;cAIa,+BAA+B;mBACzB;EAEjB,SAAS,QAAQ,MAAM,MAAM,kBAAkB"}
|
|
@@ -1,29 +1,31 @@
|
|
|
1
|
-
import { createUAPKGCommandLineFactory } from
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
1
|
+
import { createUAPKGCommandLineFactory } from "../../UAPKGCommandLine.js";
|
|
2
|
+
|
|
3
|
+
//#region src/cli/parsing/modules/LogoutCommandModule.ts
|
|
4
|
+
var LogoutCommandModule = class {
|
|
5
|
+
factory = createUAPKGCommandLineFactory();
|
|
6
|
+
register(parser, sink) {
|
|
7
|
+
return parser.command("logout", "Revoke and remove the saved login for one registry", (builder) => builder.option("registry", {
|
|
8
|
+
type: "string",
|
|
9
|
+
describe: "Configured registry alias (defaults to the selected registry)"
|
|
10
|
+
}).option("local-only", {
|
|
11
|
+
type: "boolean",
|
|
12
|
+
default: false,
|
|
13
|
+
describe: "Remove local credentials without revoking the remote grant"
|
|
14
|
+
}).option("json", {
|
|
15
|
+
type: "boolean",
|
|
16
|
+
default: false,
|
|
17
|
+
describe: "Emit JSON on stdout"
|
|
18
|
+
}), (argv) => {
|
|
19
|
+
sink.set(this.factory.createLogout({
|
|
20
|
+
cwd: process.cwd(),
|
|
21
|
+
registry: typeof argv.registry === "string" ? argv.registry : void 0,
|
|
22
|
+
localOnly: argv["local-only"] === true,
|
|
23
|
+
outputFormat: argv.json ? "json" : "text"
|
|
24
|
+
}));
|
|
25
|
+
});
|
|
26
|
+
}
|
|
27
|
+
};
|
|
28
|
+
|
|
29
|
+
//#endregion
|
|
30
|
+
export { LogoutCommandModule };
|
|
29
31
|
//# sourceMappingURL=LogoutCommandModule.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"LogoutCommandModule.js","
|
|
1
|
+
{"version":3,"file":"LogoutCommandModule.js","names":[],"sources":["../../../../src/cli/parsing/modules/LogoutCommandModule.ts"],"sourcesContent":["import type { Argv } from 'yargs';\nimport { createUAPKGCommandLineFactory } from '../../UAPKGCommandLine.js';\nimport type { CommandLineSink, UAPKGCommandModule } from '../contracts/UAPKGCommandModule.js';\n\nexport class LogoutCommandModule implements UAPKGCommandModule {\n private readonly factory = createUAPKGCommandLineFactory();\n\n register(parser: Argv, sink: CommandLineSink): Argv {\n return parser.command(\n 'logout',\n 'Revoke and remove the saved login for one registry',\n (builder) =>\n builder\n .option('registry', {\n type: 'string',\n describe: 'Configured registry alias (defaults to the selected registry)',\n })\n .option('local-only', {\n type: 'boolean',\n default: false,\n describe: 'Remove local credentials without revoking the remote grant',\n })\n .option('json', {\n type: 'boolean',\n default: false,\n describe: 'Emit JSON on stdout',\n }),\n (argv) => {\n sink.set(\n this.factory.createLogout({\n cwd: process.cwd(),\n registry: typeof argv.registry === 'string' ? argv.registry : undefined,\n localOnly: argv['local-only'] === true,\n outputFormat: argv.json ? 'json' : 'text',\n }),\n );\n },\n );\n }\n}\n"],"mappings":";;;AAIA,IAAa,sBAAb,MAA+D;CAC7D,AAAiB,UAAU,8BAA8B;CAEzD,SAAS,QAAc,MAA6B;EAClD,OAAO,OAAO,QACZ,UACA,uDACC,YACC,QACG,OAAO,YAAY;GAClB,MAAM;GACN,UAAU;EACZ,CAAC,CAAC,CACD,OAAO,cAAc;GACpB,MAAM;GACN,SAAS;GACT,UAAU;EACZ,CAAC,CAAC,CACD,OAAO,QAAQ;GACd,MAAM;GACN,SAAS;GACT,UAAU;EACZ,CAAC,IACJ,SAAS;GACR,KAAK,IACH,KAAK,QAAQ,aAAa;IACxB,KAAK,QAAQ,IAAI;IACjB,UAAU,OAAO,KAAK,aAAa,WAAW,KAAK,WAAW;IAC9D,WAAW,KAAK,kBAAkB;IAClC,cAAc,KAAK,OAAO,SAAS;GACrC,CAAC,CACH;EACF,CACF;CACF;AACF"}
|
|
@@ -1,7 +1,10 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
1
|
+
import { CommandLineSink, UAPKGCommandModule } from "../contracts/UAPKGCommandModule.js";
|
|
2
|
+
import { Argv } from "yargs";
|
|
3
|
+
//#region src/cli/parsing/modules/OutdatedCommandModule.d.ts
|
|
4
|
+
declare class OutdatedCommandModule implements UAPKGCommandModule {
|
|
5
|
+
private readonly factory;
|
|
6
|
+
register(parser: Argv, sink: CommandLineSink): Argv;
|
|
6
7
|
}
|
|
8
|
+
//#endregion
|
|
9
|
+
export { OutdatedCommandModule };
|
|
7
10
|
//# sourceMappingURL=OutdatedCommandModule.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"OutdatedCommandModule.d.ts","
|
|
1
|
+
{"version":3,"file":"OutdatedCommandModule.d.ts","names":[],"sources":["../../../../src/cli/parsing/modules/OutdatedCommandModule.ts"],"mappings":";;;cAIa,iCAAiC;mBAC3B;EAEjB,SAAS,QAAQ,MAAM,MAAM,kBAAkB"}
|
|
@@ -1,17 +1,22 @@
|
|
|
1
|
-
import { createUAPKGCommandLineFactory } from
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
}
|
|
1
|
+
import { createUAPKGCommandLineFactory } from "../../UAPKGCommandLine.js";
|
|
2
|
+
|
|
3
|
+
//#region src/cli/parsing/modules/OutdatedCommandModule.ts
|
|
4
|
+
var OutdatedCommandModule = class {
|
|
5
|
+
factory = createUAPKGCommandLineFactory();
|
|
6
|
+
register(parser, sink) {
|
|
7
|
+
return parser.command("outdated", "Show declared dependencies whose installed version lags behind wanted/latest", (builder) => builder.option("json", {
|
|
8
|
+
type: "boolean",
|
|
9
|
+
default: false,
|
|
10
|
+
describe: "Emit a single JSON object on stdout"
|
|
11
|
+
}), (argv) => {
|
|
12
|
+
sink.set(this.factory.createOutdated({
|
|
13
|
+
cwd: process.cwd(),
|
|
14
|
+
outputFormat: argv.json ? "json" : "text"
|
|
15
|
+
}));
|
|
16
|
+
});
|
|
17
|
+
}
|
|
18
|
+
};
|
|
19
|
+
|
|
20
|
+
//#endregion
|
|
21
|
+
export { OutdatedCommandModule };
|
|
17
22
|
//# sourceMappingURL=OutdatedCommandModule.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"OutdatedCommandModule.js","
|
|
1
|
+
{"version":3,"file":"OutdatedCommandModule.js","names":[],"sources":["../../../../src/cli/parsing/modules/OutdatedCommandModule.ts"],"sourcesContent":["import type { Argv } from 'yargs';\nimport { createUAPKGCommandLineFactory } from '../../UAPKGCommandLine.js';\nimport type { CommandLineSink, UAPKGCommandModule } from '../contracts/UAPKGCommandModule.js';\n\nexport class OutdatedCommandModule implements UAPKGCommandModule {\n private readonly factory = createUAPKGCommandLineFactory();\n\n register(parser: Argv, sink: CommandLineSink): Argv {\n return parser.command(\n 'outdated',\n 'Show declared dependencies whose installed version lags behind wanted/latest',\n (builder) =>\n builder.option('json', {\n type: 'boolean',\n default: false,\n describe: 'Emit a single JSON object on stdout',\n }),\n (argv) => {\n sink.set(\n this.factory.createOutdated({\n cwd: process.cwd(),\n outputFormat: argv.json ? 'json' : 'text',\n }),\n );\n },\n );\n }\n}\n"],"mappings":";;;AAIA,IAAa,wBAAb,MAAiE;CAC/D,AAAiB,UAAU,8BAA8B;CAEzD,SAAS,QAAc,MAA6B;EAClD,OAAO,OAAO,QACZ,YACA,iFACC,YACC,QAAQ,OAAO,QAAQ;GACrB,MAAM;GACN,SAAS;GACT,UAAU;EACZ,CAAC,IACF,SAAS;GACR,KAAK,IACH,KAAK,QAAQ,eAAe;IAC1B,KAAK,QAAQ,IAAI;IACjB,cAAc,KAAK,OAAO,SAAS;GACrC,CAAC,CACH;EACF,CACF;CACF;AACF"}
|
|
@@ -1,7 +1,10 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
1
|
+
import { CommandLineSink, UAPKGCommandModule } from "../contracts/UAPKGCommandModule.js";
|
|
2
|
+
import { Argv } from "yargs";
|
|
3
|
+
//#region src/cli/parsing/modules/PackCommandModule.d.ts
|
|
4
|
+
declare class PackCommandModule implements UAPKGCommandModule {
|
|
5
|
+
private readonly factory;
|
|
6
|
+
register(parser: Argv, sink: CommandLineSink): Argv<{}>;
|
|
6
7
|
}
|
|
8
|
+
//#endregion
|
|
9
|
+
export { PackCommandModule };
|
|
7
10
|
//# sourceMappingURL=PackCommandModule.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"PackCommandModule.d.ts","
|
|
1
|
+
{"version":3,"file":"PackCommandModule.d.ts","names":[],"sources":["../../../../src/cli/parsing/modules/PackCommandModule.ts"],"mappings":";;;cAIa,6BAA6B;mBACvB;EAEjB,SAAS,QAAQ,MAAM,MAAM,kBAAe"}
|
|
@@ -1,29 +1,31 @@
|
|
|
1
|
-
import { createUAPKGCommandLineFactory } from
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
1
|
+
import { createUAPKGCommandLineFactory } from "../../UAPKGCommandLine.js";
|
|
2
|
+
|
|
3
|
+
//#region src/cli/parsing/modules/PackCommandModule.ts
|
|
4
|
+
var PackCommandModule = class {
|
|
5
|
+
factory = createUAPKGCommandLineFactory();
|
|
6
|
+
register(parser, sink) {
|
|
7
|
+
return parser.command("pack", "Create package tgz and integrity file", (builder) => builder.option("dry-run", {
|
|
8
|
+
type: "boolean",
|
|
9
|
+
default: false,
|
|
10
|
+
describe: "Print what would be included without creating archive"
|
|
11
|
+
}).option("allow-missing-lfs", {
|
|
12
|
+
type: "boolean",
|
|
13
|
+
default: false,
|
|
14
|
+
describe: "Allow unresolved Git LFS pointers to be skipped"
|
|
15
|
+
}).option("outFile", {
|
|
16
|
+
type: "string",
|
|
17
|
+
describe: "Output .tgz file path"
|
|
18
|
+
}), (argv) => {
|
|
19
|
+
sink.set(this.factory.createPack({
|
|
20
|
+
cwd: process.cwd(),
|
|
21
|
+
dryRun: argv["dry-run"],
|
|
22
|
+
allowMissingLfs: argv["allow-missing-lfs"],
|
|
23
|
+
outFile: typeof argv.outFile === "string" ? argv.outFile : void 0
|
|
24
|
+
}));
|
|
25
|
+
});
|
|
26
|
+
}
|
|
27
|
+
};
|
|
28
|
+
|
|
29
|
+
//#endregion
|
|
30
|
+
export { PackCommandModule };
|
|
29
31
|
//# sourceMappingURL=PackCommandModule.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"PackCommandModule.js","
|
|
1
|
+
{"version":3,"file":"PackCommandModule.js","names":[],"sources":["../../../../src/cli/parsing/modules/PackCommandModule.ts"],"sourcesContent":["import type { Argv } from 'yargs';\nimport { createUAPKGCommandLineFactory } from '../../UAPKGCommandLine.js';\nimport type { CommandLineSink, UAPKGCommandModule } from '../contracts/UAPKGCommandModule.js';\n\nexport class PackCommandModule implements UAPKGCommandModule {\n private readonly factory = createUAPKGCommandLineFactory();\n\n register(parser: Argv, sink: CommandLineSink) {\n return parser.command(\n 'pack',\n 'Create package tgz and integrity file',\n (builder) =>\n builder\n .option('dry-run', {\n type: 'boolean',\n default: false,\n describe: 'Print what would be included without creating archive',\n })\n .option('allow-missing-lfs', {\n type: 'boolean',\n default: false,\n describe: 'Allow unresolved Git LFS pointers to be skipped',\n })\n .option('outFile', {\n type: 'string',\n describe: 'Output .tgz file path',\n }),\n (argv) => {\n sink.set(\n this.factory.createPack({\n cwd: process.cwd(),\n dryRun: argv['dry-run'],\n allowMissingLfs: argv['allow-missing-lfs'],\n outFile: typeof argv.outFile === 'string' ? argv.outFile : undefined,\n }),\n );\n },\n );\n }\n}\n"],"mappings":";;;AAIA,IAAa,oBAAb,MAA6D;CAC3D,AAAiB,UAAU,8BAA8B;CAEzD,SAAS,QAAc,MAAuB;EAC5C,OAAO,OAAO,QACZ,QACA,0CACC,YACC,QACG,OAAO,WAAW;GACjB,MAAM;GACN,SAAS;GACT,UAAU;EACZ,CAAC,CAAC,CACD,OAAO,qBAAqB;GAC3B,MAAM;GACN,SAAS;GACT,UAAU;EACZ,CAAC,CAAC,CACD,OAAO,WAAW;GACjB,MAAM;GACN,UAAU;EACZ,CAAC,IACJ,SAAS;GACR,KAAK,IACH,KAAK,QAAQ,WAAW;IACtB,KAAK,QAAQ,IAAI;IACjB,QAAQ,KAAK;IACb,iBAAiB,KAAK;IACtB,SAAS,OAAO,KAAK,YAAY,WAAW,KAAK,UAAU;GAC7D,CAAC,CACH;EACF,CACF;CACF;AACF"}
|
|
@@ -1,7 +1,10 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
1
|
+
import { CommandLineSink, UAPKGCommandModule } from "../contracts/UAPKGCommandModule.js";
|
|
2
|
+
import { Argv } from "yargs";
|
|
3
|
+
//#region src/cli/parsing/modules/ProjectGetNameCommandModule.d.ts
|
|
4
|
+
declare class ProjectGetNameCommandModule implements UAPKGCommandModule {
|
|
5
|
+
private readonly factory;
|
|
6
|
+
register(parser: Argv, sink: CommandLineSink): Argv<{}>;
|
|
6
7
|
}
|
|
8
|
+
//#endregion
|
|
9
|
+
export { ProjectGetNameCommandModule };
|
|
7
10
|
//# sourceMappingURL=ProjectGetNameCommandModule.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ProjectGetNameCommandModule.d.ts","
|
|
1
|
+
{"version":3,"file":"ProjectGetNameCommandModule.d.ts","names":[],"sources":["../../../../src/cli/parsing/modules/ProjectGetNameCommandModule.ts"],"mappings":";;;cAIa,uCAAuC;mBACjC;EAEjB,SAAS,QAAQ,MAAM,MAAM,kBAAe"}
|
|
@@ -1,12 +1,15 @@
|
|
|
1
|
-
import { createUAPKGCommandLineFactory } from
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
}
|
|
1
|
+
import { createUAPKGCommandLineFactory } from "../../UAPKGCommandLine.js";
|
|
2
|
+
|
|
3
|
+
//#region src/cli/parsing/modules/ProjectGetNameCommandModule.ts
|
|
4
|
+
var ProjectGetNameCommandModule = class {
|
|
5
|
+
factory = createUAPKGCommandLineFactory();
|
|
6
|
+
register(parser, sink) {
|
|
7
|
+
return parser.command("project get name", "Get current project name from uapkg.json when manifest type is project", (builder) => builder, () => {
|
|
8
|
+
sink.set(this.factory.createProjectGetName({ cwd: process.cwd() }));
|
|
9
|
+
});
|
|
10
|
+
}
|
|
11
|
+
};
|
|
12
|
+
|
|
13
|
+
//#endregion
|
|
14
|
+
export { ProjectGetNameCommandModule };
|
|
12
15
|
//# sourceMappingURL=ProjectGetNameCommandModule.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ProjectGetNameCommandModule.js","
|
|
1
|
+
{"version":3,"file":"ProjectGetNameCommandModule.js","names":[],"sources":["../../../../src/cli/parsing/modules/ProjectGetNameCommandModule.ts"],"sourcesContent":["import type { Argv } from 'yargs';\nimport { createUAPKGCommandLineFactory } from '../../UAPKGCommandLine.js';\nimport type { CommandLineSink, UAPKGCommandModule } from '../contracts/UAPKGCommandModule.js';\n\nexport class ProjectGetNameCommandModule implements UAPKGCommandModule {\n private readonly factory = createUAPKGCommandLineFactory();\n\n register(parser: Argv, sink: CommandLineSink) {\n return parser.command(\n 'project get name',\n 'Get current project name from uapkg.json when manifest type is project',\n (builder) => builder,\n () => {\n sink.set(\n this.factory.createProjectGetName({\n cwd: process.cwd(),\n }),\n );\n },\n );\n }\n}\n"],"mappings":";;;AAIA,IAAa,8BAAb,MAAuE;CACrE,AAAiB,UAAU,8BAA8B;CAEzD,SAAS,QAAc,MAAuB;EAC5C,OAAO,OAAO,QACZ,oBACA,2EACC,YAAY,eACP;GACJ,KAAK,IACH,KAAK,QAAQ,qBAAqB,EAChC,KAAK,QAAQ,IAAI,EACnB,CAAC,CACH;EACF,CACF;CACF;AACF"}
|
|
@@ -1,7 +1,10 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
1
|
+
import { CommandLineSink, UAPKGCommandModule } from "../contracts/UAPKGCommandModule.js";
|
|
2
|
+
import { Argv } from "yargs";
|
|
3
|
+
//#region src/cli/parsing/modules/PublishCommandModule.d.ts
|
|
4
|
+
declare class PublishCommandModule implements UAPKGCommandModule {
|
|
5
|
+
private readonly factory;
|
|
6
|
+
register(parser: Argv, sink: CommandLineSink): Argv;
|
|
6
7
|
}
|
|
8
|
+
//#endregion
|
|
9
|
+
export { PublishCommandModule };
|
|
7
10
|
//# sourceMappingURL=PublishCommandModule.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"PublishCommandModule.d.ts","
|
|
1
|
+
{"version":3,"file":"PublishCommandModule.d.ts","names":[],"sources":["../../../../src/cli/parsing/modules/PublishCommandModule.ts"],"mappings":";;;cAMa,gCAAgC;mBAC1B;EAEjB,SAAS,QAAQ,MAAM,MAAM,kBAAkB"}
|
|
@@ -1,50 +1,66 @@
|
|
|
1
|
-
import { createUAPKGCommandLineFactory } from
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
1
|
+
import { createUAPKGCommandLineFactory } from "../../UAPKGCommandLine.js";
|
|
2
|
+
|
|
3
|
+
//#region src/cli/parsing/modules/PublishCommandModule.ts
|
|
4
|
+
const AUTH_MODES = [
|
|
5
|
+
"auto",
|
|
6
|
+
"login",
|
|
7
|
+
"gat",
|
|
8
|
+
"oidc"
|
|
9
|
+
];
|
|
10
|
+
var PublishCommandModule = class {
|
|
11
|
+
factory = createUAPKGCommandLineFactory();
|
|
12
|
+
register(parser, sink) {
|
|
13
|
+
return parser.command("publish", "Submit a GitHub Release for authorized publication", (builder) => builder.option("registry", {
|
|
14
|
+
type: "string",
|
|
15
|
+
describe: "Configured registry alias"
|
|
16
|
+
}).option("owner", {
|
|
17
|
+
type: "string",
|
|
18
|
+
describe: "UAPKG organization namespace for a new unscoped package"
|
|
19
|
+
}).option("repository", {
|
|
20
|
+
type: "string",
|
|
21
|
+
describe: "GitHub owner/repository coordinate"
|
|
22
|
+
}).option("tag", {
|
|
23
|
+
type: "string",
|
|
24
|
+
describe: "GitHub Release tag (defaults to v<version>)"
|
|
25
|
+
}).option("asset", {
|
|
26
|
+
type: "string",
|
|
27
|
+
describe: "GitHub Release asset name (defaults to package.tgz)"
|
|
28
|
+
}).option("asset-path", {
|
|
29
|
+
type: "string",
|
|
30
|
+
describe: "Local archive whose exact bytes should be published (skips the download)"
|
|
31
|
+
}).option("auth", {
|
|
32
|
+
type: "string",
|
|
33
|
+
choices: AUTH_MODES,
|
|
34
|
+
default: "auto",
|
|
35
|
+
describe: "Publishing authentication method"
|
|
36
|
+
}).option("detach", {
|
|
37
|
+
type: "boolean",
|
|
38
|
+
default: false,
|
|
39
|
+
describe: "Return immediately after submitting the publishing request"
|
|
40
|
+
}).option("json", {
|
|
41
|
+
type: "boolean",
|
|
42
|
+
default: false,
|
|
43
|
+
describe: "Emit JSON on stdout"
|
|
44
|
+
}), (argv) => {
|
|
45
|
+
sink.set(this.factory.createPublish({
|
|
46
|
+
cwd: process.cwd(),
|
|
47
|
+
registry: stringOption(argv.registry),
|
|
48
|
+
owner: stringOption(argv.owner),
|
|
49
|
+
repository: stringOption(argv.repository),
|
|
50
|
+
tag: stringOption(argv.tag),
|
|
51
|
+
asset: stringOption(argv.asset),
|
|
52
|
+
assetPath: stringOption(argv["asset-path"]),
|
|
53
|
+
auth: String(argv.auth),
|
|
54
|
+
detach: argv.detach === true,
|
|
55
|
+
outputFormat: argv.json ? "json" : "text"
|
|
56
|
+
}));
|
|
57
|
+
});
|
|
58
|
+
}
|
|
59
|
+
};
|
|
47
60
|
function stringOption(value) {
|
|
48
|
-
|
|
61
|
+
return typeof value === "string" ? value : void 0;
|
|
49
62
|
}
|
|
63
|
+
|
|
64
|
+
//#endregion
|
|
65
|
+
export { PublishCommandModule };
|
|
50
66
|
//# sourceMappingURL=PublishCommandModule.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"PublishCommandModule.js","
|
|
1
|
+
{"version":3,"file":"PublishCommandModule.js","names":[],"sources":["../../../../src/cli/parsing/modules/PublishCommandModule.ts"],"sourcesContent":["import type { Argv } from 'yargs';\nimport { createUAPKGCommandLineFactory, type UAPKGControlPlaneAuthMode } from '../../UAPKGCommandLine.js';\nimport type { CommandLineSink, UAPKGCommandModule } from '../contracts/UAPKGCommandModule.js';\n\nconst AUTH_MODES = ['auto', 'login', 'gat', 'oidc'] as const;\n\nexport class PublishCommandModule implements UAPKGCommandModule {\n private readonly factory = createUAPKGCommandLineFactory();\n\n register(parser: Argv, sink: CommandLineSink): Argv {\n return parser.command(\n 'publish',\n 'Submit a GitHub Release for authorized publication',\n (builder) =>\n builder\n .option('registry', { type: 'string', describe: 'Configured registry alias' })\n .option('owner', {\n type: 'string',\n describe: 'UAPKG organization namespace for a new unscoped package',\n })\n .option('repository', { type: 'string', describe: 'GitHub owner/repository coordinate' })\n .option('tag', { type: 'string', describe: 'GitHub Release tag (defaults to v<version>)' })\n .option('asset', { type: 'string', describe: 'GitHub Release asset name (defaults to package.tgz)' })\n .option('asset-path', {\n type: 'string',\n describe: 'Local archive whose exact bytes should be published (skips the download)',\n })\n .option('auth', {\n type: 'string',\n choices: AUTH_MODES,\n default: 'auto',\n describe: 'Publishing authentication method',\n })\n .option('detach', {\n type: 'boolean',\n default: false,\n describe: 'Return immediately after submitting the publishing request',\n })\n .option('json', {\n type: 'boolean',\n default: false,\n describe: 'Emit JSON on stdout',\n }),\n (argv) => {\n sink.set(\n this.factory.createPublish({\n cwd: process.cwd(),\n registry: stringOption(argv.registry),\n owner: stringOption(argv.owner),\n repository: stringOption(argv.repository),\n tag: stringOption(argv.tag),\n asset: stringOption(argv.asset),\n assetPath: stringOption(argv['asset-path']),\n auth: String(argv.auth) as UAPKGControlPlaneAuthMode,\n detach: argv.detach === true,\n outputFormat: argv.json ? 'json' : 'text',\n }),\n );\n },\n );\n }\n}\n\nfunction stringOption(value: unknown): string | undefined {\n return typeof value === 'string' ? value : undefined;\n}\n"],"mappings":";;;AAIA,MAAM,aAAa;CAAC;CAAQ;CAAS;CAAO;AAAM;AAElD,IAAa,uBAAb,MAAgE;CAC9D,AAAiB,UAAU,8BAA8B;CAEzD,SAAS,QAAc,MAA6B;EAClD,OAAO,OAAO,QACZ,WACA,uDACC,YACC,QACG,OAAO,YAAY;GAAE,MAAM;GAAU,UAAU;EAA4B,CAAC,CAAC,CAC7E,OAAO,SAAS;GACf,MAAM;GACN,UAAU;EACZ,CAAC,CAAC,CACD,OAAO,cAAc;GAAE,MAAM;GAAU,UAAU;EAAqC,CAAC,CAAC,CACxF,OAAO,OAAO;GAAE,MAAM;GAAU,UAAU;EAA8C,CAAC,CAAC,CAC1F,OAAO,SAAS;GAAE,MAAM;GAAU,UAAU;EAAsD,CAAC,CAAC,CACpG,OAAO,cAAc;GACpB,MAAM;GACN,UAAU;EACZ,CAAC,CAAC,CACD,OAAO,QAAQ;GACd,MAAM;GACN,SAAS;GACT,SAAS;GACT,UAAU;EACZ,CAAC,CAAC,CACD,OAAO,UAAU;GAChB,MAAM;GACN,SAAS;GACT,UAAU;EACZ,CAAC,CAAC,CACD,OAAO,QAAQ;GACd,MAAM;GACN,SAAS;GACT,UAAU;EACZ,CAAC,IACJ,SAAS;GACR,KAAK,IACH,KAAK,QAAQ,cAAc;IACzB,KAAK,QAAQ,IAAI;IACjB,UAAU,aAAa,KAAK,QAAQ;IACpC,OAAO,aAAa,KAAK,KAAK;IAC9B,YAAY,aAAa,KAAK,UAAU;IACxC,KAAK,aAAa,KAAK,GAAG;IAC1B,OAAO,aAAa,KAAK,KAAK;IAC9B,WAAW,aAAa,KAAK,aAAa;IAC1C,MAAM,OAAO,KAAK,IAAI;IACtB,QAAQ,KAAK,WAAW;IACxB,cAAc,KAAK,OAAO,SAAS;GACrC,CAAC,CACH;EACF,CACF;CACF;AACF;AAEA,SAAS,aAAa,OAAoC;CACxD,OAAO,OAAO,UAAU,WAAW,QAAQ;AAC7C"}
|
|
@@ -1,7 +1,10 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
1
|
+
import { CommandLineSink, UAPKGCommandModule } from "../contracts/UAPKGCommandModule.js";
|
|
2
|
+
import { Argv } from "yargs";
|
|
3
|
+
//#region src/cli/parsing/modules/RegistryCommandModule.d.ts
|
|
4
|
+
declare class RegistryCommandModule implements UAPKGCommandModule {
|
|
5
|
+
private readonly factory;
|
|
6
|
+
register(parser: Argv, sink: CommandLineSink): Argv<{}>;
|
|
6
7
|
}
|
|
8
|
+
//#endregion
|
|
9
|
+
export { RegistryCommandModule };
|
|
7
10
|
//# sourceMappingURL=RegistryCommandModule.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"RegistryCommandModule.d.ts","
|
|
1
|
+
{"version":3,"file":"RegistryCommandModule.d.ts","names":[],"sources":["../../../../src/cli/parsing/modules/RegistryCommandModule.ts"],"mappings":";;;cAKa,iCAAiC;mBAC3B;EAEjB,SAAS,QAAQ,MAAM,MAAM,kBAAe"}
|