@webiny/project 6.6.0-alpha.10 → 6.6.0-alpha.11
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/ProjectSdk.d.ts +8 -19
- package/ProjectSdk.js +1 -28
- package/ProjectSdk.js.map +1 -1
- package/abstractions/features/hooks/index.d.ts +0 -8
- package/abstractions/features/hooks/index.js +0 -8
- package/abstractions/features/index.d.ts +0 -8
- package/abstractions/features/index.js +0 -8
- package/abstractions/models/IAppModel.d.ts +0 -2
- package/abstractions/models/IProjectModel.d.ts +0 -2
- package/abstractions/services/InitHostingSdkService.d.ts +21 -0
- package/abstractions/services/InitHostingSdkService.js +5 -0
- package/abstractions/services/InitHostingSdkService.js.map +1 -0
- package/abstractions/services/ProjectInfoService/ProjectInfoService.d.ts +6 -6
- package/abstractions/services/ProjectInfoService/ProjectInfoService.js.map +1 -1
- package/abstractions/services/ProjectInfoService/index.d.ts +0 -1
- package/abstractions/services/ProjectInfoService/index.js +0 -1
- package/abstractions/services/index.d.ts +1 -13
- package/abstractions/services/index.js +1 -13
- package/createProjectSdkContainer.js +1 -3
- package/createProjectSdkContainer.js.map +1 -1
- package/decorators/index.d.ts +0 -6
- package/decorators/index.js +0 -6
- package/defineExtension/types.d.ts +1 -1
- package/exports/infra/admin.d.ts +0 -2
- package/exports/infra/admin.js +0 -2
- package/exports/infra/api.d.ts +0 -2
- package/exports/infra/api.js +0 -2
- package/exports/infra/core.d.ts +0 -2
- package/exports/infra/core.js +0 -2
- package/exports/infra.d.ts +0 -2
- package/exports/infra.js +0 -2
- package/extensions/{pulumi/ProductionEnvironments.js → ProductionEnvironments.js} +2 -2
- package/extensions/ProductionEnvironments.js.map +1 -0
- package/extensions/api/Route/ApiRoute.d.ts +23 -0
- package/extensions/api/Route/ApiRoute.js +92 -0
- package/extensions/api/Route/ApiRoute.js.map +1 -0
- package/extensions/api/Route/index.d.ts +2 -0
- package/extensions/api/Route/index.js +2 -0
- package/extensions/api/Route/routePath.d.ts +20 -0
- package/extensions/api/Route/routePath.js +10 -0
- package/extensions/api/Route/routePath.js.map +1 -0
- package/extensions/api/index.d.ts +1 -0
- package/extensions/api/index.js +1 -0
- package/extensions/hooks/index.d.ts +0 -8
- package/extensions/hooks/index.js +0 -8
- package/extensions/hosting/extensionImplementations.d.ts +5 -4
- package/extensions/hosting/extensionImplementations.js.map +1 -1
- package/extensions/index.d.ts +6 -17
- package/extensions/index.js +5 -13
- package/extensions/index.js.map +1 -1
- package/features/GetProductionEnvironments/GetProductionEnvironments.js +1 -1
- package/features/GetProductionEnvironments/GetProductionEnvironments.js.map +1 -1
- package/features/hooks/index.d.ts +0 -8
- package/features/hooks/index.js +0 -8
- package/features/index.d.ts +0 -8
- package/features/index.js +0 -8
- package/index.d.ts +0 -4
- package/index.js +1 -5
- package/index.js.map +1 -1
- package/models/AppModel.js +1 -2
- package/models/AppModel.js.map +1 -1
- package/models/ProjectModel.js +0 -2
- package/models/ProjectModel.js.map +1 -1
- package/package.json +8 -14
- package/services/GetAppService/GetAppService.js +1 -3
- package/services/GetAppService/GetAppService.js.map +1 -1
- package/services/GetProjectService/GetProjectService.js +0 -2
- package/services/GetProjectService/GetProjectService.js.map +1 -1
- package/services/InitProjectSdkService/InitProjectSdkService.d.ts +6 -2
- package/services/InitProjectSdkService/InitProjectSdkService.js +18 -12
- package/services/InitProjectSdkService/InitProjectSdkService.js.map +1 -1
- package/services/InitProjectSdkService/registerHooks.js +4 -16
- package/services/InitProjectSdkService/registerHooks.js.map +1 -1
- package/services/ProjectInfoService/ProjectInfoService.d.ts +7 -3
- package/services/ProjectInfoService/ProjectInfoService.js +3 -11
- package/services/ProjectInfoService/ProjectInfoService.js.map +1 -1
- package/services/ProjectInfoService/index.d.ts +0 -1
- package/services/ProjectInfoService/index.js +0 -1
- package/services/index.d.ts +0 -12
- package/services/index.js +0 -12
- package/utils/env/index.d.ts +0 -1
- package/utils/env/index.js +0 -1
- package/utils/index.d.ts +1 -0
- package/utils/index.js +1 -0
- package/utils/registerSrcExtensions.d.ts +13 -0
- package/utils/registerSrcExtensions.js +10 -0
- package/utils/registerSrcExtensions.js.map +1 -0
- package/abstractions/features/DeployApp.d.ts +0 -20
- package/abstractions/features/DeployApp.js +0 -5
- package/abstractions/features/DeployApp.js.map +0 -1
- package/abstractions/features/DestroyApp.d.ts +0 -18
- package/abstractions/features/DestroyApp.js +0 -5
- package/abstractions/features/DestroyApp.js.map +0 -1
- package/abstractions/features/ExportStack.d.ts +0 -18
- package/abstractions/features/ExportStack.js +0 -5
- package/abstractions/features/ExportStack.js.map +0 -1
- package/abstractions/features/GetAppOutput.d.ts +0 -18
- package/abstractions/features/GetAppOutput.js +0 -5
- package/abstractions/features/GetAppOutput.js.map +0 -1
- package/abstractions/features/GetAppStackOutput.d.ts +0 -22
- package/abstractions/features/GetAppStackOutput.js +0 -5
- package/abstractions/features/GetAppStackOutput.js.map +0 -1
- package/abstractions/features/GetPulumiResourceNamePrefix.d.ts +0 -7
- package/abstractions/features/GetPulumiResourceNamePrefix.js +0 -5
- package/abstractions/features/GetPulumiResourceNamePrefix.js.map +0 -1
- package/abstractions/features/RefreshApp.d.ts +0 -18
- package/abstractions/features/RefreshApp.js +0 -5
- package/abstractions/features/RefreshApp.js.map +0 -1
- package/abstractions/features/RunPulumiCommand.d.ts +0 -19
- package/abstractions/features/RunPulumiCommand.js +0 -5
- package/abstractions/features/RunPulumiCommand.js.map +0 -1
- package/abstractions/features/hooks/AdminAfterDeploy.d.ts +0 -9
- package/abstractions/features/hooks/AdminAfterDeploy.js +0 -5
- package/abstractions/features/hooks/AdminAfterDeploy.js.map +0 -1
- package/abstractions/features/hooks/AdminBeforeDeploy.d.ts +0 -9
- package/abstractions/features/hooks/AdminBeforeDeploy.js +0 -5
- package/abstractions/features/hooks/AdminBeforeDeploy.js.map +0 -1
- package/abstractions/features/hooks/AfterDeploy.d.ts +0 -9
- package/abstractions/features/hooks/AfterDeploy.js +0 -5
- package/abstractions/features/hooks/AfterDeploy.js.map +0 -1
- package/abstractions/features/hooks/ApiAfterDeploy.d.ts +0 -9
- package/abstractions/features/hooks/ApiAfterDeploy.js +0 -5
- package/abstractions/features/hooks/ApiAfterDeploy.js.map +0 -1
- package/abstractions/features/hooks/ApiBeforeDeploy.d.ts +0 -9
- package/abstractions/features/hooks/ApiBeforeDeploy.js +0 -5
- package/abstractions/features/hooks/ApiBeforeDeploy.js.map +0 -1
- package/abstractions/features/hooks/BeforeDeploy.d.ts +0 -9
- package/abstractions/features/hooks/BeforeDeploy.js +0 -5
- package/abstractions/features/hooks/BeforeDeploy.js.map +0 -1
- package/abstractions/features/hooks/CoreAfterDeploy.d.ts +0 -9
- package/abstractions/features/hooks/CoreAfterDeploy.js +0 -5
- package/abstractions/features/hooks/CoreAfterDeploy.js.map +0 -1
- package/abstractions/features/hooks/CoreBeforeDeploy.d.ts +0 -9
- package/abstractions/features/hooks/CoreBeforeDeploy.js +0 -5
- package/abstractions/features/hooks/CoreBeforeDeploy.js.map +0 -1
- package/abstractions/services/GetPulumiService.d.ts +0 -14
- package/abstractions/services/GetPulumiService.js +0 -5
- package/abstractions/services/GetPulumiService.js.map +0 -1
- package/abstractions/services/IsRemotePulumiBackendService.d.ts +0 -7
- package/abstractions/services/IsRemotePulumiBackendService.js +0 -5
- package/abstractions/services/IsRemotePulumiBackendService.js.map +0 -1
- package/abstractions/services/ListAppLambdaFunctionsService.d.ts +0 -23
- package/abstractions/services/ListAppLambdaFunctionsService.js +0 -5
- package/abstractions/services/ListAppLambdaFunctionsService.js.map +0 -1
- package/abstractions/services/ListDeployedEnvironmentsService.d.ts +0 -12
- package/abstractions/services/ListDeployedEnvironmentsService.js +0 -5
- package/abstractions/services/ListDeployedEnvironmentsService.js.map +0 -1
- package/abstractions/services/ProjectInfoService/GetPulumiVersionService.d.ts +0 -12
- package/abstractions/services/ProjectInfoService/GetPulumiVersionService.js +0 -5
- package/abstractions/services/ProjectInfoService/GetPulumiVersionService.js.map +0 -1
- package/abstractions/services/PulumiExportService.d.ts +0 -13
- package/abstractions/services/PulumiExportService.js +0 -6
- package/abstractions/services/PulumiExportService.js.map +0 -1
- package/abstractions/services/PulumiGetConfigPassphraseService.d.ts +0 -7
- package/abstractions/services/PulumiGetConfigPassphraseService.js +0 -5
- package/abstractions/services/PulumiGetConfigPassphraseService.js.map +0 -1
- package/abstractions/services/PulumiGetSecretsProviderService.d.ts +0 -7
- package/abstractions/services/PulumiGetSecretsProviderService.js +0 -5
- package/abstractions/services/PulumiGetSecretsProviderService.js.map +0 -1
- package/abstractions/services/PulumiGetStackOutputService.d.ts +0 -13
- package/abstractions/services/PulumiGetStackOutputService.js +0 -5
- package/abstractions/services/PulumiGetStackOutputService.js.map +0 -1
- package/abstractions/services/PulumiImportService.d.ts +0 -8
- package/abstractions/services/PulumiImportService.js +0 -5
- package/abstractions/services/PulumiImportService.js.map +0 -1
- package/abstractions/services/PulumiLoginService.d.ts +0 -16
- package/abstractions/services/PulumiLoginService.js +0 -5
- package/abstractions/services/PulumiLoginService.js.map +0 -1
- package/abstractions/services/PulumiSelectStackService.d.ts +0 -10
- package/abstractions/services/PulumiSelectStackService.js +0 -5
- package/abstractions/services/PulumiSelectStackService.js.map +0 -1
- package/abstractions/services/StackOutputCacheService.d.ts +0 -10
- package/abstractions/services/StackOutputCacheService.js +0 -5
- package/abstractions/services/StackOutputCacheService.js.map +0 -1
- package/abstractions/services/WatchedLambdaFunctionsService.d.ts +0 -28
- package/abstractions/services/WatchedLambdaFunctionsService.js +0 -5
- package/abstractions/services/WatchedLambdaFunctionsService.js.map +0 -1
- package/decorators/DeployAppClearWatchedLambdaFunctions.d.ts +0 -17
- package/decorators/DeployAppClearWatchedLambdaFunctions.js +0 -32
- package/decorators/DeployAppClearWatchedLambdaFunctions.js.map +0 -1
- package/decorators/DeployAppRefreshStackOutputCache.d.ts +0 -17
- package/decorators/DeployAppRefreshStackOutputCache.js +0 -32
- package/decorators/DeployAppRefreshStackOutputCache.js.map +0 -1
- package/decorators/DeployAppWithHooks.d.ts +0 -17
- package/decorators/DeployAppWithHooks.js +0 -58
- package/decorators/DeployAppWithHooks.js.map +0 -1
- package/decorators/DeployAppWithWatchedLambdaReplacement.d.ts +0 -17
- package/decorators/DeployAppWithWatchedLambdaReplacement.js +0 -39
- package/decorators/DeployAppWithWatchedLambdaReplacement.js.map +0 -1
- package/decorators/DestroyAppClearStackOutputCache.d.ts +0 -25
- package/decorators/DestroyAppClearStackOutputCache.js +0 -29
- package/decorators/DestroyAppClearStackOutputCache.js.map +0 -1
- package/decorators/GetPulumiServiceWithDownloadInfo.d.ts +0 -11
- package/decorators/GetPulumiServiceWithDownloadInfo.js +0 -27
- package/decorators/GetPulumiServiceWithDownloadInfo.js.map +0 -1
- package/extensions/hooks/AdminAfterDeploy.d.ts +0 -4
- package/extensions/hooks/AdminAfterDeploy.js +0 -23
- package/extensions/hooks/AdminAfterDeploy.js.map +0 -1
- package/extensions/hooks/AdminBeforeDeploy.d.ts +0 -4
- package/extensions/hooks/AdminBeforeDeploy.js +0 -23
- package/extensions/hooks/AdminBeforeDeploy.js.map +0 -1
- package/extensions/hooks/AfterDeploy.d.ts +0 -4
- package/extensions/hooks/AfterDeploy.js +0 -22
- package/extensions/hooks/AfterDeploy.js.map +0 -1
- package/extensions/hooks/ApiAfterDeploy.d.ts +0 -4
- package/extensions/hooks/ApiAfterDeploy.js +0 -23
- package/extensions/hooks/ApiAfterDeploy.js.map +0 -1
- package/extensions/hooks/ApiBeforeDeploy.d.ts +0 -4
- package/extensions/hooks/ApiBeforeDeploy.js +0 -23
- package/extensions/hooks/ApiBeforeDeploy.js.map +0 -1
- package/extensions/hooks/BeforeDeploy.d.ts +0 -4
- package/extensions/hooks/BeforeDeploy.js +0 -22
- package/extensions/hooks/BeforeDeploy.js.map +0 -1
- package/extensions/hooks/CoreAfterDeploy.d.ts +0 -4
- package/extensions/hooks/CoreAfterDeploy.js +0 -23
- package/extensions/hooks/CoreAfterDeploy.js.map +0 -1
- package/extensions/hooks/CoreBeforeDeploy.d.ts +0 -4
- package/extensions/hooks/CoreBeforeDeploy.js +0 -23
- package/extensions/hooks/CoreBeforeDeploy.js.map +0 -1
- package/extensions/pulumi/ProductionEnvironments.js.map +0 -1
- package/extensions/pulumi/PulumiResourceNamePrefix.d.ts +0 -4
- package/extensions/pulumi/PulumiResourceNamePrefix.js +0 -16
- package/extensions/pulumi/PulumiResourceNamePrefix.js.map +0 -1
- package/extensions/pulumi/index.d.ts +0 -2
- package/extensions/pulumi/index.js +0 -2
- package/features/DeployApp/DeployApp.d.ts +0 -14
- package/features/DeployApp/DeployApp.js +0 -86
- package/features/DeployApp/DeployApp.js.map +0 -1
- package/features/DeployApp/index.d.ts +0 -1
- package/features/DeployApp/index.js +0 -1
- package/features/DestroyApp/DestroyApp.d.ts +0 -14
- package/features/DestroyApp/DestroyApp.js +0 -66
- package/features/DestroyApp/DestroyApp.js.map +0 -1
- package/features/DestroyApp/index.d.ts +0 -1
- package/features/DestroyApp/index.js +0 -1
- package/features/ExportStack/ExportStack.d.ts +0 -9
- package/features/ExportStack/ExportStack.js +0 -26
- package/features/ExportStack/ExportStack.js.map +0 -1
- package/features/ExportStack/index.d.ts +0 -1
- package/features/ExportStack/index.js +0 -1
- package/features/GetAppOutput/GetAppOutput.d.ts +0 -12
- package/features/GetAppOutput/GetAppOutput.js +0 -51
- package/features/GetAppOutput/GetAppOutput.js.map +0 -1
- package/features/GetAppOutput/index.d.ts +0 -1
- package/features/GetAppOutput/index.js +0 -1
- package/features/GetAppStackOutput/GetAppStackOutput.d.ts +0 -10
- package/features/GetAppStackOutput/GetAppStackOutput.js +0 -26
- package/features/GetAppStackOutput/GetAppStackOutput.js.map +0 -1
- package/features/GetAppStackOutput/index.d.ts +0 -1
- package/features/GetAppStackOutput/index.js +0 -1
- package/features/GetPulumiResourceNamePrefix/GetPulumiResourceNamePrefix.d.ts +0 -7
- package/features/GetPulumiResourceNamePrefix/GetPulumiResourceNamePrefix.js +0 -25
- package/features/GetPulumiResourceNamePrefix/GetPulumiResourceNamePrefix.js.map +0 -1
- package/features/GetPulumiResourceNamePrefix/index.d.ts +0 -1
- package/features/GetPulumiResourceNamePrefix/index.js +0 -1
- package/features/RefreshApp/RefreshApp.d.ts +0 -13
- package/features/RefreshApp/RefreshApp.js +0 -64
- package/features/RefreshApp/RefreshApp.js.map +0 -1
- package/features/RefreshApp/index.d.ts +0 -1
- package/features/RefreshApp/index.js +0 -1
- package/features/RunPulumiCommand/RunPulumiCommand.d.ts +0 -13
- package/features/RunPulumiCommand/RunPulumiCommand.js +0 -61
- package/features/RunPulumiCommand/RunPulumiCommand.js.map +0 -1
- package/features/RunPulumiCommand/index.d.ts +0 -1
- package/features/RunPulumiCommand/index.js +0 -1
- package/features/Watch/handler/handler.zip +0 -0
- package/features/Watch/initInvocationForwarding.d.ts +0 -9
- package/features/Watch/initInvocationForwarding.js +0 -91
- package/features/Watch/initInvocationForwarding.js.map +0 -1
- package/features/Watch/localInvocationWorker.d.ts +0 -1
- package/features/Watch/localInvocationWorker.js +0 -31
- package/features/Watch/localInvocationWorker.js.map +0 -1
- package/features/hooks/AdminAfterDeploy/AdminBeforeBuild.d.ts +0 -7
- package/features/hooks/AdminAfterDeploy/AdminBeforeBuild.js +0 -25
- package/features/hooks/AdminAfterDeploy/AdminBeforeBuild.js.map +0 -1
- package/features/hooks/AdminAfterDeploy/index.d.ts +0 -1
- package/features/hooks/AdminAfterDeploy/index.js +0 -1
- package/features/hooks/AdminBeforeDeploy/AdminBeforeDeploy.d.ts +0 -7
- package/features/hooks/AdminBeforeDeploy/AdminBeforeDeploy.js +0 -25
- package/features/hooks/AdminBeforeDeploy/AdminBeforeDeploy.js.map +0 -1
- package/features/hooks/AdminBeforeDeploy/index.d.ts +0 -1
- package/features/hooks/AdminBeforeDeploy/index.js +0 -1
- package/features/hooks/AfterDeploy/AfterDeploy.d.ts +0 -7
- package/features/hooks/AfterDeploy/AfterDeploy.js +0 -25
- package/features/hooks/AfterDeploy/AfterDeploy.js.map +0 -1
- package/features/hooks/AfterDeploy/index.d.ts +0 -1
- package/features/hooks/AfterDeploy/index.js +0 -1
- package/features/hooks/ApiAfterDeploy/ApiBeforeBuild.d.ts +0 -7
- package/features/hooks/ApiAfterDeploy/ApiBeforeBuild.js +0 -25
- package/features/hooks/ApiAfterDeploy/ApiBeforeBuild.js.map +0 -1
- package/features/hooks/ApiAfterDeploy/index.d.ts +0 -1
- package/features/hooks/ApiAfterDeploy/index.js +0 -1
- package/features/hooks/ApiBeforeDeploy/ApiBeforeDeploy.d.ts +0 -7
- package/features/hooks/ApiBeforeDeploy/ApiBeforeDeploy.js +0 -25
- package/features/hooks/ApiBeforeDeploy/ApiBeforeDeploy.js.map +0 -1
- package/features/hooks/ApiBeforeDeploy/index.d.ts +0 -1
- package/features/hooks/ApiBeforeDeploy/index.js +0 -1
- package/features/hooks/BeforeDeploy/BeforeDeploy.d.ts +0 -7
- package/features/hooks/BeforeDeploy/BeforeDeploy.js +0 -25
- package/features/hooks/BeforeDeploy/BeforeDeploy.js.map +0 -1
- package/features/hooks/BeforeDeploy/index.d.ts +0 -1
- package/features/hooks/BeforeDeploy/index.js +0 -1
- package/features/hooks/CoreAfterDeploy/CoreBeforeBuild.d.ts +0 -7
- package/features/hooks/CoreAfterDeploy/CoreBeforeBuild.js +0 -25
- package/features/hooks/CoreAfterDeploy/CoreBeforeBuild.js.map +0 -1
- package/features/hooks/CoreAfterDeploy/index.d.ts +0 -1
- package/features/hooks/CoreAfterDeploy/index.js +0 -1
- package/features/hooks/CoreBeforeDeploy/CoreBeforeDeploy.d.ts +0 -7
- package/features/hooks/CoreBeforeDeploy/CoreBeforeDeploy.js +0 -25
- package/features/hooks/CoreBeforeDeploy/CoreBeforeDeploy.js.map +0 -1
- package/features/hooks/CoreBeforeDeploy/index.d.ts +0 -1
- package/features/hooks/CoreBeforeDeploy/index.js +0 -1
- package/services/InitProjectSdkService/registerPulumiExtensions.d.ts +0 -4
- package/services/InitProjectSdkService/registerPulumiExtensions.js +0 -16
- package/services/InitProjectSdkService/registerPulumiExtensions.js.map +0 -1
- package/services/IsRemotePulumiBackendService/IsRemotePulumiBackendService.d.ts +0 -14
- package/services/IsRemotePulumiBackendService/IsRemotePulumiBackendService.js +0 -15
- package/services/IsRemotePulumiBackendService/IsRemotePulumiBackendService.js.map +0 -1
- package/services/IsRemotePulumiBackendService/index.d.ts +0 -1
- package/services/IsRemotePulumiBackendService/index.js +0 -1
- package/services/ListAppLambdaFunctionsService/ListAppLambdaFunctionsService.d.ts +0 -18
- package/services/ListAppLambdaFunctionsService/ListAppLambdaFunctionsService.js +0 -61
- package/services/ListAppLambdaFunctionsService/ListAppLambdaFunctionsService.js.map +0 -1
- package/services/ListAppLambdaFunctionsService/index.d.ts +0 -1
- package/services/ListAppLambdaFunctionsService/index.js +0 -1
- package/services/ListDeployedEnvironmentsService/ListDeployedEnvironmentsService.d.ts +0 -7
- package/services/ListDeployedEnvironmentsService/ListDeployedEnvironmentsService.js +0 -30
- package/services/ListDeployedEnvironmentsService/ListDeployedEnvironmentsService.js.map +0 -1
- package/services/ListDeployedEnvironmentsService/index.d.ts +0 -1
- package/services/ListDeployedEnvironmentsService/index.js +0 -1
- package/services/ProjectInfoService/GetPulumiVersionService.d.ts +0 -5
- package/services/ProjectInfoService/GetPulumiVersionService.js +0 -46
- package/services/ProjectInfoService/GetPulumiVersionService.js.map +0 -1
- package/services/PulumiExportService/PulumiExportService.d.ts +0 -13
- package/services/PulumiExportService/PulumiExportService.js +0 -50
- package/services/PulumiExportService/PulumiExportService.js.map +0 -1
- package/services/PulumiExportService/index.d.ts +0 -1
- package/services/PulumiExportService/index.js +0 -1
- package/services/PulumiGetConfigPassphraseService/PulumiGetConfigPassphraseService.d.ts +0 -5
- package/services/PulumiGetConfigPassphraseService/PulumiGetConfigPassphraseService.js +0 -15
- package/services/PulumiGetConfigPassphraseService/PulumiGetConfigPassphraseService.js.map +0 -1
- package/services/PulumiGetConfigPassphraseService/index.d.ts +0 -1
- package/services/PulumiGetConfigPassphraseService/index.js +0 -1
- package/services/PulumiGetSecretsProviderService/PulumiGetSecretsProviderService.d.ts +0 -5
- package/services/PulumiGetSecretsProviderService/PulumiGetSecretsProviderService.js +0 -15
- package/services/PulumiGetSecretsProviderService/PulumiGetSecretsProviderService.js.map +0 -1
- package/services/PulumiGetSecretsProviderService/index.d.ts +0 -1
- package/services/PulumiGetSecretsProviderService/index.js +0 -1
- package/services/PulumiGetStackOutputService/PulumiGetStackOutputService.d.ts +0 -12
- package/services/PulumiGetStackOutputService/PulumiGetStackOutputService.js +0 -64
- package/services/PulumiGetStackOutputService/PulumiGetStackOutputService.js.map +0 -1
- package/services/PulumiGetStackOutputService/index.d.ts +0 -1
- package/services/PulumiGetStackOutputService/index.js +0 -1
- package/services/PulumiGetStackOutputService/mapStackOutput.d.ts +0 -1
- package/services/PulumiGetStackOutputService/mapStackOutput.js +0 -22
- package/services/PulumiGetStackOutputService/mapStackOutput.js.map +0 -1
- package/services/PulumiImportService/PulumiImportService.d.ts +0 -10
- package/services/PulumiImportService/PulumiImportService.js +0 -60
- package/services/PulumiImportService/PulumiImportService.js.map +0 -1
- package/services/PulumiImportService/index.d.ts +0 -1
- package/services/PulumiImportService/index.js +0 -1
- package/services/PulumiLoginService/PulumiLoginService.d.ts +0 -10
- package/services/PulumiLoginService/PulumiLoginService.js +0 -54
- package/services/PulumiLoginService/PulumiLoginService.js.map +0 -1
- package/services/PulumiLoginService/index.d.ts +0 -1
- package/services/PulumiLoginService/index.js +0 -1
- package/services/PulumiSelectStackService/PulumiSelectStackService.d.ts +0 -15
- package/services/PulumiSelectStackService/PulumiSelectStackService.js +0 -102
- package/services/PulumiSelectStackService/PulumiSelectStackService.js.map +0 -1
- package/services/PulumiSelectStackService/index.d.ts +0 -1
- package/services/PulumiSelectStackService/index.js +0 -1
- package/services/StackOutputCacheService/StackOutputCacheService.d.ts +0 -18
- package/services/StackOutputCacheService/StackOutputCacheService.js +0 -89
- package/services/StackOutputCacheService/StackOutputCacheService.js.map +0 -1
- package/services/StackOutputCacheService/index.d.ts +0 -1
- package/services/StackOutputCacheService/index.js +0 -1
- package/services/WatchedLambdaFunctionsService/WatchedLambdaFunctionsService.d.ts +0 -13
- package/services/WatchedLambdaFunctionsService/WatchedLambdaFunctionsService.js +0 -54
- package/services/WatchedLambdaFunctionsService/WatchedLambdaFunctionsService.js.map +0 -1
- package/services/WatchedLambdaFunctionsService/index.d.ts +0 -1
- package/services/WatchedLambdaFunctionsService/index.js +0 -1
- package/utils/env/withPulumiConfigPassphrase.d.ts +0 -1
- package/utils/env/withPulumiConfigPassphrase.js +0 -7
- package/utils/env/withPulumiConfigPassphrase.js.map +0 -1
- /package/extensions/{pulumi/ProductionEnvironments.d.ts → ProductionEnvironments.d.ts} +0 -0
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
import { defineExtension } from "../../defineExtension/index.js";
|
|
2
|
-
import { zodSrcPath } from "../../defineExtension/zodTypes/zodSrcPath.js";
|
|
3
|
-
import { AdminAfterDeploy } from "../../abstractions/index.js";
|
|
4
|
-
import { z } from "zod";
|
|
5
|
-
const AdminAfterDeploy_AdminAfterDeploy = defineExtension({
|
|
6
|
-
type: "Admin/AfterDeploy",
|
|
7
|
-
tags: {
|
|
8
|
-
runtimeContext: "project",
|
|
9
|
-
application: "admin",
|
|
10
|
-
hosting: "aws"
|
|
11
|
-
},
|
|
12
|
-
description: "Add custom logic to be executed after the ADMIN deployment process.",
|
|
13
|
-
multiple: true,
|
|
14
|
-
paramsSchema: ({ project })=>z.object({
|
|
15
|
-
src: zodSrcPath({
|
|
16
|
-
project,
|
|
17
|
-
abstraction: AdminAfterDeploy
|
|
18
|
-
})
|
|
19
|
-
})
|
|
20
|
-
});
|
|
21
|
-
export { AdminAfterDeploy_AdminAfterDeploy as AdminAfterDeploy };
|
|
22
|
-
|
|
23
|
-
//# sourceMappingURL=AdminAfterDeploy.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"extensions/hooks/AdminAfterDeploy.js","sources":["../../../src/extensions/hooks/AdminAfterDeploy.ts"],"sourcesContent":["import { defineExtension } from \"~/defineExtension/index.js\";\nimport { zodSrcPath } from \"~/defineExtension/zodTypes/zodSrcPath.js\";\nimport { AdminAfterDeploy as AdminAfterDeployAbstraction } from \"~/abstractions/index.js\";\nimport { z } from \"zod\";\n\nexport const AdminAfterDeploy = defineExtension({\n type: \"Admin/AfterDeploy\",\n tags: { runtimeContext: \"project\", application: \"admin\", hosting: \"aws\" },\n description: \"Add custom logic to be executed after the ADMIN deployment process.\",\n multiple: true,\n paramsSchema: ({ project }) => {\n return z.object({\n src: zodSrcPath({ project, abstraction: AdminAfterDeployAbstraction })\n });\n }\n});\n"],"names":["AdminAfterDeploy","defineExtension","project","z","zodSrcPath","AdminAfterDeployAbstraction"],"mappings":";;;;AAKO,MAAMA,oCAAmBC,gBAAgB;IAC5C,MAAM;IACN,MAAM;QAAE,gBAAgB;QAAW,aAAa;QAAS,SAAS;IAAM;IACxE,aAAa;IACb,UAAU;IACV,cAAc,CAAC,EAAEC,OAAO,EAAE,GACfC,EAAE,MAAM,CAAC;YACZ,KAAKC,WAAW;gBAAEF;gBAAS,aAAaG;YAA4B;QACxE;AAER"}
|
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
import { defineExtension } from "../../defineExtension/index.js";
|
|
2
|
-
import { zodSrcPath } from "../../defineExtension/zodTypes/zodSrcPath.js";
|
|
3
|
-
import { AdminBeforeDeploy } from "../../abstractions/index.js";
|
|
4
|
-
import { z } from "zod";
|
|
5
|
-
const AdminBeforeDeploy_AdminBeforeDeploy = defineExtension({
|
|
6
|
-
type: "Admin/BeforeDeploy",
|
|
7
|
-
tags: {
|
|
8
|
-
runtimeContext: "project",
|
|
9
|
-
application: "admin",
|
|
10
|
-
hosting: "aws"
|
|
11
|
-
},
|
|
12
|
-
description: "Add custom logic to be executed before the ADMIN deployment process.",
|
|
13
|
-
multiple: true,
|
|
14
|
-
paramsSchema: ({ project })=>z.object({
|
|
15
|
-
src: zodSrcPath({
|
|
16
|
-
project,
|
|
17
|
-
abstraction: AdminBeforeDeploy
|
|
18
|
-
})
|
|
19
|
-
})
|
|
20
|
-
});
|
|
21
|
-
export { AdminBeforeDeploy_AdminBeforeDeploy as AdminBeforeDeploy };
|
|
22
|
-
|
|
23
|
-
//# sourceMappingURL=AdminBeforeDeploy.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"extensions/hooks/AdminBeforeDeploy.js","sources":["../../../src/extensions/hooks/AdminBeforeDeploy.ts"],"sourcesContent":["import { defineExtension } from \"~/defineExtension/index.js\";\nimport { zodSrcPath } from \"~/defineExtension/zodTypes/zodSrcPath.js\";\nimport { AdminBeforeDeploy as AdminBeforeDeployAbstraction } from \"~/abstractions/index.js\";\nimport { z } from \"zod\";\n\nexport const AdminBeforeDeploy = defineExtension({\n type: \"Admin/BeforeDeploy\",\n tags: { runtimeContext: \"project\", application: \"admin\", hosting: \"aws\" },\n description: \"Add custom logic to be executed before the ADMIN deployment process.\",\n multiple: true,\n paramsSchema: ({ project }) => {\n return z.object({\n src: zodSrcPath({ project, abstraction: AdminBeforeDeployAbstraction })\n });\n }\n});\n"],"names":["AdminBeforeDeploy","defineExtension","project","z","zodSrcPath","AdminBeforeDeployAbstraction"],"mappings":";;;;AAKO,MAAMA,sCAAoBC,gBAAgB;IAC7C,MAAM;IACN,MAAM;QAAE,gBAAgB;QAAW,aAAa;QAAS,SAAS;IAAM;IACxE,aAAa;IACb,UAAU;IACV,cAAc,CAAC,EAAEC,OAAO,EAAE,GACfC,EAAE,MAAM,CAAC;YACZ,KAAKC,WAAW;gBAAEF;gBAAS,aAAaG;YAA6B;QACzE;AAER"}
|
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
import { defineExtension } from "../../defineExtension/index.js";
|
|
2
|
-
import { zodSrcPath } from "../../defineExtension/zodTypes/zodSrcPath.js";
|
|
3
|
-
import { AfterDeploy } from "../../abstractions/index.js";
|
|
4
|
-
import { z } from "zod";
|
|
5
|
-
const AfterDeploy_AfterDeploy = defineExtension({
|
|
6
|
-
type: "Project/AfterDeploy",
|
|
7
|
-
tags: {
|
|
8
|
-
runtimeContext: "project",
|
|
9
|
-
hosting: "aws"
|
|
10
|
-
},
|
|
11
|
-
description: "Add custom logic to be executed after the PROJECT deploy process.",
|
|
12
|
-
multiple: true,
|
|
13
|
-
paramsSchema: ({ project })=>z.object({
|
|
14
|
-
src: zodSrcPath({
|
|
15
|
-
project,
|
|
16
|
-
abstraction: AfterDeploy
|
|
17
|
-
})
|
|
18
|
-
})
|
|
19
|
-
});
|
|
20
|
-
export { AfterDeploy_AfterDeploy as AfterDeploy };
|
|
21
|
-
|
|
22
|
-
//# sourceMappingURL=AfterDeploy.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"extensions/hooks/AfterDeploy.js","sources":["../../../src/extensions/hooks/AfterDeploy.ts"],"sourcesContent":["import { defineExtension } from \"~/defineExtension/index.js\";\nimport { zodSrcPath } from \"~/defineExtension/zodTypes/zodSrcPath.js\";\nimport { AfterDeploy as AfterDeployAbstraction } from \"~/abstractions/index.js\";\nimport { z } from \"zod\";\n\nexport const AfterDeploy = defineExtension({\n type: \"Project/AfterDeploy\",\n tags: { runtimeContext: \"project\", hosting: \"aws\" },\n description: \"Add custom logic to be executed after the PROJECT deploy process.\",\n multiple: true,\n paramsSchema: ({ project }) => {\n return z.object({\n src: zodSrcPath({ project, abstraction: AfterDeployAbstraction })\n });\n }\n});\n"],"names":["AfterDeploy","defineExtension","project","z","zodSrcPath","AfterDeployAbstraction"],"mappings":";;;;AAKO,MAAMA,0BAAcC,gBAAgB;IACvC,MAAM;IACN,MAAM;QAAE,gBAAgB;QAAW,SAAS;IAAM;IAClD,aAAa;IACb,UAAU;IACV,cAAc,CAAC,EAAEC,OAAO,EAAE,GACfC,EAAE,MAAM,CAAC;YACZ,KAAKC,WAAW;gBAAEF;gBAAS,aAAaG;YAAuB;QACnE;AAER"}
|
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
import { defineExtension } from "../../defineExtension/index.js";
|
|
2
|
-
import { zodSrcPath } from "../../defineExtension/zodTypes/zodSrcPath.js";
|
|
3
|
-
import { ApiAfterDeploy } from "../../abstractions/index.js";
|
|
4
|
-
import { z } from "zod";
|
|
5
|
-
const ApiAfterDeploy_ApiAfterDeploy = defineExtension({
|
|
6
|
-
type: "Api/AfterDeploy",
|
|
7
|
-
tags: {
|
|
8
|
-
runtimeContext: "project",
|
|
9
|
-
application: "api",
|
|
10
|
-
hosting: "aws"
|
|
11
|
-
},
|
|
12
|
-
description: "Add custom logic to be executed after the API deployment process.",
|
|
13
|
-
multiple: true,
|
|
14
|
-
paramsSchema: ({ project })=>z.object({
|
|
15
|
-
src: zodSrcPath({
|
|
16
|
-
project,
|
|
17
|
-
abstraction: ApiAfterDeploy
|
|
18
|
-
})
|
|
19
|
-
})
|
|
20
|
-
});
|
|
21
|
-
export { ApiAfterDeploy_ApiAfterDeploy as ApiAfterDeploy };
|
|
22
|
-
|
|
23
|
-
//# sourceMappingURL=ApiAfterDeploy.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"extensions/hooks/ApiAfterDeploy.js","sources":["../../../src/extensions/hooks/ApiAfterDeploy.ts"],"sourcesContent":["import { defineExtension } from \"~/defineExtension/index.js\";\nimport { zodSrcPath } from \"~/defineExtension/zodTypes/zodSrcPath.js\";\nimport { ApiAfterDeploy as ApiAfterDeployAbstraction } from \"~/abstractions/index.js\";\nimport { z } from \"zod\";\n\nexport const ApiAfterDeploy = defineExtension({\n type: \"Api/AfterDeploy\",\n tags: { runtimeContext: \"project\", application: \"api\", hosting: \"aws\" },\n description: \"Add custom logic to be executed after the API deployment process.\",\n multiple: true,\n paramsSchema: ({ project }) => {\n return z.object({\n src: zodSrcPath({ project, abstraction: ApiAfterDeployAbstraction })\n });\n }\n});\n"],"names":["ApiAfterDeploy","defineExtension","project","z","zodSrcPath","ApiAfterDeployAbstraction"],"mappings":";;;;AAKO,MAAMA,gCAAiBC,gBAAgB;IAC1C,MAAM;IACN,MAAM;QAAE,gBAAgB;QAAW,aAAa;QAAO,SAAS;IAAM;IACtE,aAAa;IACb,UAAU;IACV,cAAc,CAAC,EAAEC,OAAO,EAAE,GACfC,EAAE,MAAM,CAAC;YACZ,KAAKC,WAAW;gBAAEF;gBAAS,aAAaG;YAA0B;QACtE;AAER"}
|
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
import { defineExtension } from "../../defineExtension/index.js";
|
|
2
|
-
import { zodSrcPath } from "../../defineExtension/zodTypes/zodSrcPath.js";
|
|
3
|
-
import { ApiBeforeDeploy } from "../../abstractions/index.js";
|
|
4
|
-
import { z } from "zod";
|
|
5
|
-
const ApiBeforeDeploy_ApiBeforeDeploy = defineExtension({
|
|
6
|
-
type: "Api/BeforeDeploy",
|
|
7
|
-
tags: {
|
|
8
|
-
runtimeContext: "project",
|
|
9
|
-
application: "api",
|
|
10
|
-
hosting: "aws"
|
|
11
|
-
},
|
|
12
|
-
description: "Add custom logic to be executed before the API deployment process.",
|
|
13
|
-
multiple: true,
|
|
14
|
-
paramsSchema: ({ project })=>z.object({
|
|
15
|
-
src: zodSrcPath({
|
|
16
|
-
project,
|
|
17
|
-
abstraction: ApiBeforeDeploy
|
|
18
|
-
})
|
|
19
|
-
})
|
|
20
|
-
});
|
|
21
|
-
export { ApiBeforeDeploy_ApiBeforeDeploy as ApiBeforeDeploy };
|
|
22
|
-
|
|
23
|
-
//# sourceMappingURL=ApiBeforeDeploy.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"extensions/hooks/ApiBeforeDeploy.js","sources":["../../../src/extensions/hooks/ApiBeforeDeploy.ts"],"sourcesContent":["import { defineExtension } from \"~/defineExtension/index.js\";\nimport { zodSrcPath } from \"~/defineExtension/zodTypes/zodSrcPath.js\";\nimport { ApiBeforeDeploy as ApiBeforeDeployAbstraction } from \"~/abstractions/index.js\";\nimport { z } from \"zod\";\n\nexport const ApiBeforeDeploy = defineExtension({\n type: \"Api/BeforeDeploy\",\n tags: { runtimeContext: \"project\", application: \"api\", hosting: \"aws\" },\n description: \"Add custom logic to be executed before the API deployment process.\",\n multiple: true,\n paramsSchema: ({ project }) => {\n return z.object({\n src: zodSrcPath({ project, abstraction: ApiBeforeDeployAbstraction })\n });\n }\n});\n"],"names":["ApiBeforeDeploy","defineExtension","project","z","zodSrcPath","ApiBeforeDeployAbstraction"],"mappings":";;;;AAKO,MAAMA,kCAAkBC,gBAAgB;IAC3C,MAAM;IACN,MAAM;QAAE,gBAAgB;QAAW,aAAa;QAAO,SAAS;IAAM;IACtE,aAAa;IACb,UAAU;IACV,cAAc,CAAC,EAAEC,OAAO,EAAE,GACfC,EAAE,MAAM,CAAC;YACZ,KAAKC,WAAW;gBAAEF;gBAAS,aAAaG;YAA2B;QACvE;AAER"}
|
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
import { defineExtension } from "../../defineExtension/index.js";
|
|
2
|
-
import { zodSrcPath } from "../../defineExtension/zodTypes/zodSrcPath.js";
|
|
3
|
-
import { BeforeDeploy } from "../../abstractions/index.js";
|
|
4
|
-
import { z } from "zod";
|
|
5
|
-
const BeforeDeploy_BeforeDeploy = defineExtension({
|
|
6
|
-
type: "Project/BeforeDeploy",
|
|
7
|
-
tags: {
|
|
8
|
-
runtimeContext: "project",
|
|
9
|
-
hosting: "aws"
|
|
10
|
-
},
|
|
11
|
-
description: "Add custom logic to be executed before the PROJECT deploy process.",
|
|
12
|
-
multiple: true,
|
|
13
|
-
paramsSchema: ({ project })=>z.object({
|
|
14
|
-
src: zodSrcPath({
|
|
15
|
-
project,
|
|
16
|
-
abstraction: BeforeDeploy
|
|
17
|
-
})
|
|
18
|
-
})
|
|
19
|
-
});
|
|
20
|
-
export { BeforeDeploy_BeforeDeploy as BeforeDeploy };
|
|
21
|
-
|
|
22
|
-
//# sourceMappingURL=BeforeDeploy.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"extensions/hooks/BeforeDeploy.js","sources":["../../../src/extensions/hooks/BeforeDeploy.ts"],"sourcesContent":["import { defineExtension } from \"~/defineExtension/index.js\";\nimport { zodSrcPath } from \"~/defineExtension/zodTypes/zodSrcPath.js\";\nimport { BeforeDeploy as BeforeDeployAbstraction } from \"~/abstractions/index.js\";\nimport { z } from \"zod\";\n\nexport const BeforeDeploy = defineExtension({\n type: \"Project/BeforeDeploy\",\n tags: { runtimeContext: \"project\", hosting: \"aws\" },\n description: \"Add custom logic to be executed before the PROJECT deploy process.\",\n multiple: true,\n paramsSchema: ({ project }) => {\n return z.object({\n src: zodSrcPath({ project, abstraction: BeforeDeployAbstraction })\n });\n }\n});\n"],"names":["BeforeDeploy","defineExtension","project","z","zodSrcPath","BeforeDeployAbstraction"],"mappings":";;;;AAKO,MAAMA,4BAAeC,gBAAgB;IACxC,MAAM;IACN,MAAM;QAAE,gBAAgB;QAAW,SAAS;IAAM;IAClD,aAAa;IACb,UAAU;IACV,cAAc,CAAC,EAAEC,OAAO,EAAE,GACfC,EAAE,MAAM,CAAC;YACZ,KAAKC,WAAW;gBAAEF;gBAAS,aAAaG;YAAwB;QACpE;AAER"}
|
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
import { defineExtension } from "../../defineExtension/index.js";
|
|
2
|
-
import { zodSrcPath } from "../../defineExtension/zodTypes/zodSrcPath.js";
|
|
3
|
-
import { CoreAfterDeploy } from "../../abstractions/index.js";
|
|
4
|
-
import { z } from "zod";
|
|
5
|
-
const CoreAfterDeploy_CoreAfterDeploy = defineExtension({
|
|
6
|
-
type: "Core/AfterDeploy",
|
|
7
|
-
tags: {
|
|
8
|
-
runtimeContext: "project",
|
|
9
|
-
application: "core",
|
|
10
|
-
hosting: "aws"
|
|
11
|
-
},
|
|
12
|
-
description: "Add custom logic to be executed after the CORE deployment process.",
|
|
13
|
-
multiple: true,
|
|
14
|
-
paramsSchema: ({ project })=>z.object({
|
|
15
|
-
src: zodSrcPath({
|
|
16
|
-
project,
|
|
17
|
-
abstraction: CoreAfterDeploy
|
|
18
|
-
})
|
|
19
|
-
})
|
|
20
|
-
});
|
|
21
|
-
export { CoreAfterDeploy_CoreAfterDeploy as CoreAfterDeploy };
|
|
22
|
-
|
|
23
|
-
//# sourceMappingURL=CoreAfterDeploy.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"extensions/hooks/CoreAfterDeploy.js","sources":["../../../src/extensions/hooks/CoreAfterDeploy.ts"],"sourcesContent":["import { defineExtension } from \"~/defineExtension/index.js\";\nimport { zodSrcPath } from \"~/defineExtension/zodTypes/zodSrcPath.js\";\nimport { CoreAfterDeploy as CoreAfterDeployAbstraction } from \"~/abstractions/index.js\";\nimport { z } from \"zod\";\n\nexport const CoreAfterDeploy = defineExtension({\n type: \"Core/AfterDeploy\",\n tags: { runtimeContext: \"project\", application: \"core\", hosting: \"aws\" },\n description: \"Add custom logic to be executed after the CORE deployment process.\",\n multiple: true,\n paramsSchema: ({ project }) => {\n return z.object({\n src: zodSrcPath({ project, abstraction: CoreAfterDeployAbstraction })\n });\n }\n});\n"],"names":["CoreAfterDeploy","defineExtension","project","z","zodSrcPath","CoreAfterDeployAbstraction"],"mappings":";;;;AAKO,MAAMA,kCAAkBC,gBAAgB;IAC3C,MAAM;IACN,MAAM;QAAE,gBAAgB;QAAW,aAAa;QAAQ,SAAS;IAAM;IACvE,aAAa;IACb,UAAU;IACV,cAAc,CAAC,EAAEC,OAAO,EAAE,GACfC,EAAE,MAAM,CAAC;YACZ,KAAKC,WAAW;gBAAEF;gBAAS,aAAaG;YAA2B;QACvE;AAER"}
|
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
import { defineExtension } from "../../defineExtension/index.js";
|
|
2
|
-
import { zodSrcPath } from "../../defineExtension/zodTypes/zodSrcPath.js";
|
|
3
|
-
import { CoreBeforeDeploy } from "../../abstractions/index.js";
|
|
4
|
-
import { z } from "zod";
|
|
5
|
-
const CoreBeforeDeploy_CoreBeforeDeploy = defineExtension({
|
|
6
|
-
type: "Core/BeforeDeploy",
|
|
7
|
-
tags: {
|
|
8
|
-
runtimeContext: "project",
|
|
9
|
-
application: "core",
|
|
10
|
-
hosting: "aws"
|
|
11
|
-
},
|
|
12
|
-
description: "Add custom logic to be executed before the CORE deployment process.",
|
|
13
|
-
multiple: true,
|
|
14
|
-
paramsSchema: ({ project })=>z.object({
|
|
15
|
-
src: zodSrcPath({
|
|
16
|
-
project,
|
|
17
|
-
abstraction: CoreBeforeDeploy
|
|
18
|
-
})
|
|
19
|
-
})
|
|
20
|
-
});
|
|
21
|
-
export { CoreBeforeDeploy_CoreBeforeDeploy as CoreBeforeDeploy };
|
|
22
|
-
|
|
23
|
-
//# sourceMappingURL=CoreBeforeDeploy.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"extensions/hooks/CoreBeforeDeploy.js","sources":["../../../src/extensions/hooks/CoreBeforeDeploy.ts"],"sourcesContent":["import { defineExtension } from \"~/defineExtension/index.js\";\nimport { zodSrcPath } from \"~/defineExtension/zodTypes/zodSrcPath.js\";\nimport { CoreBeforeDeploy as CoreBeforeDeployAbstraction } from \"~/abstractions/index.js\";\nimport { z } from \"zod\";\n\nexport const CoreBeforeDeploy = defineExtension({\n type: \"Core/BeforeDeploy\",\n tags: { runtimeContext: \"project\", application: \"core\", hosting: \"aws\" },\n description: \"Add custom logic to be executed before the CORE deployment process.\",\n multiple: true,\n paramsSchema: ({ project }) => {\n return z.object({\n src: zodSrcPath({ project, abstraction: CoreBeforeDeployAbstraction })\n });\n }\n});\n"],"names":["CoreBeforeDeploy","defineExtension","project","z","zodSrcPath","CoreBeforeDeployAbstraction"],"mappings":";;;;AAKO,MAAMA,oCAAmBC,gBAAgB;IAC5C,MAAM;IACN,MAAM;QAAE,gBAAgB;QAAW,aAAa;QAAQ,SAAS;IAAM;IACvE,aAAa;IACb,UAAU;IACV,cAAc,CAAC,EAAEC,OAAO,EAAE,GACfC,EAAE,MAAM,CAAC;YACZ,KAAKC,WAAW;gBAAEF;gBAAS,aAAaG;YAA4B;QACxE;AAER"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"extensions/pulumi/ProductionEnvironments.js","sources":["../../../src/extensions/pulumi/ProductionEnvironments.ts"],"sourcesContent":["import React, { useEffect } from \"react\";\nimport { z } from \"zod\";\nimport { defineExtension } from \"~/defineExtension/index.js\";\nimport { useRegisterProductionEnvironments } from \"~/services/GetProjectConfigService/ProductionEnvironmentsContext.js\";\n\ninterface RegistrarProps {\n environments: string[];\n}\n\nconst Registrar: React.FC<RegistrarProps> = ({ environments }) => {\n const setProdEnvs = useRegisterProductionEnvironments();\n useEffect(() => {\n if (setProdEnvs) {\n setProdEnvs(environments);\n }\n }, []);\n return null;\n};\n\nexport const ProductionEnvironments = defineExtension({\n type: \"Infra/ProductionEnvironments\",\n tags: { runtimeContext: \"project\", hosting: \"aws\" },\n description: \"Provide names for environments that are considered production environments.\",\n paramsSchema: z.object({\n environments: z.array(\n z.string().superRefine((value, ctx) => {\n if (!value) {\n ctx.addIssue({\n code: z.ZodIssueCode.custom,\n message: \"Environment name cannot be empty.\"\n });\n return;\n }\n\n // Must allow only letters, numbers, dashes, and underscores.\n if (!/^[a-zA-Z0-9-_]+$/.test(value)) {\n ctx.addIssue({\n code: z.ZodIssueCode.custom,\n message:\n \"Environment name can only contain letters, numbers, dashes, and underscores.\"\n });\n }\n })\n )\n }),\n render: props => React.createElement(Registrar, { environments: props.environments })\n});\n"],"names":["Registrar","environments","setProdEnvs","useRegisterProductionEnvironments","useEffect","ProductionEnvironments","defineExtension","z","value","ctx","props","React"],"mappings":";;;;AASA,MAAMA,YAAsC,CAAC,EAAEC,YAAY,EAAE;IACzD,MAAMC,cAAcC;IACpBC,UAAU;QACN,IAAIF,aACAA,YAAYD;IAEpB,GAAG,EAAE;IACL,OAAO;AACX;AAEO,MAAMI,yBAAyBC,gBAAgB;IAClD,MAAM;IACN,MAAM;QAAE,gBAAgB;QAAW,SAAS;IAAM;IAClD,aAAa;IACb,cAAcC,EAAE,MAAM,CAAC;QACnB,cAAcA,EAAE,KAAK,CACjBA,EAAE,MAAM,GAAG,WAAW,CAAC,CAACC,OAAOC;YAC3B,IAAI,CAACD,OAAO,YACRC,IAAI,QAAQ,CAAC;gBACT,MAAMF,EAAE,YAAY,CAAC,MAAM;gBAC3B,SAAS;YACb;YAKJ,IAAI,CAAC,mBAAmB,IAAI,CAACC,QACzBC,IAAI,QAAQ,CAAC;gBACT,MAAMF,EAAE,YAAY,CAAC,MAAM;gBAC3B,SACI;YACR;QAER;IAER;IACA,QAAQG,CAAAA,QAASC,MAAAA,aAAmB,CAACX,WAAW;YAAE,cAAcU,MAAM,YAAY;QAAC;AACvF"}
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
import { z } from "zod";
|
|
2
|
-
import { defineExtension } from "../../defineExtension/index.js";
|
|
3
|
-
const PulumiResourceNamePrefix = defineExtension({
|
|
4
|
-
type: "Infra/PulumiResourceNamePrefix",
|
|
5
|
-
tags: {
|
|
6
|
-
runtimeContext: "project",
|
|
7
|
-
hosting: "aws"
|
|
8
|
-
},
|
|
9
|
-
description: 'Adjust the prefix for Pulumi resource names (default: "wby-").',
|
|
10
|
-
paramsSchema: z.object({
|
|
11
|
-
prefix: z.string()
|
|
12
|
-
})
|
|
13
|
-
});
|
|
14
|
-
export { PulumiResourceNamePrefix };
|
|
15
|
-
|
|
16
|
-
//# sourceMappingURL=PulumiResourceNamePrefix.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"extensions/pulumi/PulumiResourceNamePrefix.js","sources":["../../../src/extensions/pulumi/PulumiResourceNamePrefix.ts"],"sourcesContent":["import { z } from \"zod\";\nimport { defineExtension } from \"~/defineExtension/index.js\";\n\nexport const PulumiResourceNamePrefix = defineExtension({\n type: \"Infra/PulumiResourceNamePrefix\",\n tags: { runtimeContext: \"project\", hosting: \"aws\" },\n description: 'Adjust the prefix for Pulumi resource names (default: \"wby-\").',\n paramsSchema: z.object({\n prefix: z.string()\n })\n});\n"],"names":["PulumiResourceNamePrefix","defineExtension","z"],"mappings":";;AAGO,MAAMA,2BAA2BC,gBAAgB;IACpD,MAAM;IACN,MAAM;QAAE,gBAAgB;QAAW,SAAS;IAAM;IAClD,aAAa;IACb,cAAcC,EAAE,MAAM,CAAC;QACnB,QAAQA,EAAE,MAAM;IACpB;AACJ"}
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
import { DeployApp, BuildAppWorkspaceService, GetApp, GetProject, GetPulumiService, LoggerService, ProjectSdkParamsService, PulumiGetSecretsProviderService, PulumiSelectStackService } from "../../abstractions/index.js";
|
|
2
|
-
export declare class DefaultDeployApp implements DeployApp.Interface {
|
|
3
|
-
private getApp;
|
|
4
|
-
private buildAppWorkspaceService;
|
|
5
|
-
private getProject;
|
|
6
|
-
private pulumiSelectStackService;
|
|
7
|
-
private getPulumiService;
|
|
8
|
-
private pulumiGetSecretsProviderService;
|
|
9
|
-
private logger;
|
|
10
|
-
private projectSdkParamsService;
|
|
11
|
-
constructor(getApp: GetApp.Interface, buildAppWorkspaceService: BuildAppWorkspaceService.Interface, getProject: GetProject.Interface, pulumiSelectStackService: PulumiSelectStackService.Interface, getPulumiService: GetPulumiService.Interface, pulumiGetSecretsProviderService: PulumiGetSecretsProviderService.Interface, logger: LoggerService.Interface, projectSdkParamsService: ProjectSdkParamsService.Interface);
|
|
12
|
-
execute(params: DeployApp.Params): Promise<void>;
|
|
13
|
-
}
|
|
14
|
-
export declare const deployApp: import("@webiny/di").Implementation<typeof DefaultDeployApp>;
|
|
@@ -1,86 +0,0 @@
|
|
|
1
|
-
import { createImplementation } from "@webiny/di";
|
|
2
|
-
import { BuildAppWorkspaceService, DeployApp, GetApp, GetProject, GetPulumiService, LoggerService, ProjectSdkParamsService, PulumiGetSecretsProviderService, PulumiSelectStackService } from "../../abstractions/index.js";
|
|
3
|
-
import { createEnvConfiguration, withEnv, withEnvVariant, withProjectName, withPulumiConfigPassphrase, withRegion } from "../../utils/env/index.js";
|
|
4
|
-
class DefaultDeployApp {
|
|
5
|
-
constructor(getApp, buildAppWorkspaceService, getProject, pulumiSelectStackService, getPulumiService, pulumiGetSecretsProviderService, logger, projectSdkParamsService){
|
|
6
|
-
this.getApp = getApp;
|
|
7
|
-
this.buildAppWorkspaceService = buildAppWorkspaceService;
|
|
8
|
-
this.getProject = getProject;
|
|
9
|
-
this.pulumiSelectStackService = pulumiSelectStackService;
|
|
10
|
-
this.getPulumiService = getPulumiService;
|
|
11
|
-
this.pulumiGetSecretsProviderService = pulumiGetSecretsProviderService;
|
|
12
|
-
this.logger = logger;
|
|
13
|
-
this.projectSdkParamsService = projectSdkParamsService;
|
|
14
|
-
}
|
|
15
|
-
async execute(params) {
|
|
16
|
-
await this.buildAppWorkspaceService.execute(params.app);
|
|
17
|
-
const app = this.getApp.execute(params.app);
|
|
18
|
-
await this.pulumiSelectStackService.execute(app);
|
|
19
|
-
const pulumi = await this.getPulumiService.execute({
|
|
20
|
-
app
|
|
21
|
-
});
|
|
22
|
-
const project = await this.getProject.execute();
|
|
23
|
-
const sdkParams = this.projectSdkParamsService.get();
|
|
24
|
-
const env = createEnvConfiguration({
|
|
25
|
-
configurations: [
|
|
26
|
-
withRegion({
|
|
27
|
-
region: sdkParams.region
|
|
28
|
-
}),
|
|
29
|
-
withEnv({
|
|
30
|
-
env: sdkParams.env
|
|
31
|
-
}),
|
|
32
|
-
withEnvVariant({
|
|
33
|
-
variant: sdkParams.variant
|
|
34
|
-
}),
|
|
35
|
-
withProjectName({
|
|
36
|
-
project
|
|
37
|
-
}),
|
|
38
|
-
withPulumiConfigPassphrase()
|
|
39
|
-
]
|
|
40
|
-
});
|
|
41
|
-
const secretsProvider = this.pulumiGetSecretsProviderService.execute();
|
|
42
|
-
const pulumiProcess = params.preview ? pulumi.run({
|
|
43
|
-
command: "preview",
|
|
44
|
-
args: {
|
|
45
|
-
diff: true,
|
|
46
|
-
...params.pulumiArgs
|
|
47
|
-
},
|
|
48
|
-
execa: {
|
|
49
|
-
env
|
|
50
|
-
}
|
|
51
|
-
}) : pulumi.run({
|
|
52
|
-
command: "up",
|
|
53
|
-
args: {
|
|
54
|
-
yes: true,
|
|
55
|
-
skipPreview: true,
|
|
56
|
-
secretsProvider,
|
|
57
|
-
...params.pulumiArgs
|
|
58
|
-
},
|
|
59
|
-
execa: {
|
|
60
|
-
env
|
|
61
|
-
}
|
|
62
|
-
});
|
|
63
|
-
let output = Promise.resolve();
|
|
64
|
-
if (params.output) output = params.output(pulumiProcess);
|
|
65
|
-
else this.logger.info("No output function provided, skipping output.");
|
|
66
|
-
await pulumiProcess;
|
|
67
|
-
await output;
|
|
68
|
-
}
|
|
69
|
-
}
|
|
70
|
-
const deployApp = createImplementation({
|
|
71
|
-
abstraction: DeployApp,
|
|
72
|
-
implementation: DefaultDeployApp,
|
|
73
|
-
dependencies: [
|
|
74
|
-
GetApp,
|
|
75
|
-
BuildAppWorkspaceService,
|
|
76
|
-
GetProject,
|
|
77
|
-
PulumiSelectStackService,
|
|
78
|
-
GetPulumiService,
|
|
79
|
-
PulumiGetSecretsProviderService,
|
|
80
|
-
LoggerService,
|
|
81
|
-
ProjectSdkParamsService
|
|
82
|
-
]
|
|
83
|
-
});
|
|
84
|
-
export { DefaultDeployApp, deployApp };
|
|
85
|
-
|
|
86
|
-
//# sourceMappingURL=DeployApp.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"features/DeployApp/DeployApp.js","sources":["../../../src/features/DeployApp/DeployApp.ts"],"sourcesContent":["import { createImplementation } from \"@webiny/di\";\nimport {\n DeployApp,\n BuildAppWorkspaceService,\n GetApp,\n GetProject,\n GetPulumiService,\n LoggerService,\n ProjectSdkParamsService,\n PulumiGetSecretsProviderService,\n PulumiSelectStackService\n} from \"~/abstractions/index.js\";\nimport {\n createEnvConfiguration,\n withEnv,\n withEnvVariant,\n withProjectName,\n withPulumiConfigPassphrase,\n withRegion\n} from \"~/utils/env/index.js\";\n\nexport class DefaultDeployApp implements DeployApp.Interface {\n constructor(\n private getApp: GetApp.Interface,\n private buildAppWorkspaceService: BuildAppWorkspaceService.Interface,\n private getProject: GetProject.Interface,\n private pulumiSelectStackService: PulumiSelectStackService.Interface,\n private getPulumiService: GetPulumiService.Interface,\n private pulumiGetSecretsProviderService: PulumiGetSecretsProviderService.Interface,\n private logger: LoggerService.Interface,\n private projectSdkParamsService: ProjectSdkParamsService.Interface\n ) {}\n\n async execute(params: DeployApp.Params) {\n await this.buildAppWorkspaceService.execute(params.app);\n\n const app = this.getApp.execute(params.app);\n\n await this.pulumiSelectStackService.execute(app);\n\n // A Pulumi refresh might be executed before the deploy. For example,\n // this is needed if the user run the watch command prior to the deploy.\n // await executeRefresh(commandParams);\n\n const pulumi = await this.getPulumiService.execute({ app });\n const project = await this.getProject.execute();\n const sdkParams = this.projectSdkParamsService.get();\n\n const env = createEnvConfiguration({\n configurations: [\n withRegion({ region: sdkParams.region }),\n withEnv({ env: sdkParams.env }),\n withEnvVariant({ variant: sdkParams.variant }),\n withProjectName({ project }),\n withPulumiConfigPassphrase()\n ]\n });\n\n const secretsProvider = this.pulumiGetSecretsProviderService.execute();\n\n const pulumiProcess = params.preview\n ? pulumi.run({\n command: \"preview\",\n args: {\n diff: true,\n\n // Preview command does not accept \"--secrets-provider\" argument.\n // secretsProvider: PULUMI_SECRETS_PROVIDER,\n\n ...params.pulumiArgs\n },\n execa: { env }\n })\n : pulumi.run({\n command: \"up\",\n args: {\n yes: true,\n skipPreview: true,\n secretsProvider,\n ...params.pulumiArgs\n },\n execa: { env }\n });\n\n // If custom output function is provided, use it. While doing so, we must wait\n // for it to resolve before finishing the build process.\n let output = Promise.resolve();\n if (params.output) {\n output = params.output(pulumiProcess);\n } else {\n this.logger.info(`No output function provided, skipping output.`);\n }\n\n // Promise is returned so that the caller can await it if needed.\n await pulumiProcess;\n await output;\n }\n}\n\nexport const deployApp = createImplementation({\n abstraction: DeployApp,\n implementation: DefaultDeployApp,\n dependencies: [\n GetApp,\n BuildAppWorkspaceService,\n GetProject,\n PulumiSelectStackService,\n GetPulumiService,\n PulumiGetSecretsProviderService,\n LoggerService,\n ProjectSdkParamsService\n ]\n});\n"],"names":["DefaultDeployApp","getApp","buildAppWorkspaceService","getProject","pulumiSelectStackService","getPulumiService","pulumiGetSecretsProviderService","logger","projectSdkParamsService","params","app","pulumi","project","sdkParams","env","createEnvConfiguration","withRegion","withEnv","withEnvVariant","withProjectName","withPulumiConfigPassphrase","secretsProvider","pulumiProcess","output","Promise","deployApp","createImplementation","DeployApp","GetApp","BuildAppWorkspaceService","GetProject","PulumiSelectStackService","GetPulumiService","PulumiGetSecretsProviderService","LoggerService","ProjectSdkParamsService"],"mappings":";;;AAqBO,MAAMA;IACT,YACYC,MAAwB,EACxBC,wBAA4D,EAC5DC,UAAgC,EAChCC,wBAA4D,EAC5DC,gBAA4C,EAC5CC,+BAA0E,EAC1EC,MAA+B,EAC/BC,uBAA0D,CACpE;aARUP,MAAM,GAANA;aACAC,wBAAwB,GAAxBA;aACAC,UAAU,GAAVA;aACAC,wBAAwB,GAAxBA;aACAC,gBAAgB,GAAhBA;aACAC,+BAA+B,GAA/BA;aACAC,MAAM,GAANA;aACAC,uBAAuB,GAAvBA;IACT;IAEH,MAAM,QAAQC,MAAwB,EAAE;QACpC,MAAM,IAAI,CAAC,wBAAwB,CAAC,OAAO,CAACA,OAAO,GAAG;QAEtD,MAAMC,MAAM,IAAI,CAAC,MAAM,CAAC,OAAO,CAACD,OAAO,GAAG;QAE1C,MAAM,IAAI,CAAC,wBAAwB,CAAC,OAAO,CAACC;QAM5C,MAAMC,SAAS,MAAM,IAAI,CAAC,gBAAgB,CAAC,OAAO,CAAC;YAAED;QAAI;QACzD,MAAME,UAAU,MAAM,IAAI,CAAC,UAAU,CAAC,OAAO;QAC7C,MAAMC,YAAY,IAAI,CAAC,uBAAuB,CAAC,GAAG;QAElD,MAAMC,MAAMC,uBAAuB;YAC/B,gBAAgB;gBACZC,WAAW;oBAAE,QAAQH,UAAU,MAAM;gBAAC;gBACtCI,QAAQ;oBAAE,KAAKJ,UAAU,GAAG;gBAAC;gBAC7BK,eAAe;oBAAE,SAASL,UAAU,OAAO;gBAAC;gBAC5CM,gBAAgB;oBAAEP;gBAAQ;gBAC1BQ;aACH;QACL;QAEA,MAAMC,kBAAkB,IAAI,CAAC,+BAA+B,CAAC,OAAO;QAEpE,MAAMC,gBAAgBb,OAAO,OAAO,GAC9BE,OAAO,GAAG,CAAC;YACP,SAAS;YACT,MAAM;gBACF,MAAM;gBAKN,GAAGF,OAAO,UAAU;YACxB;YACA,OAAO;gBAAEK;YAAI;QACjB,KACAH,OAAO,GAAG,CAAC;YACP,SAAS;YACT,MAAM;gBACF,KAAK;gBACL,aAAa;gBACbU;gBACA,GAAGZ,OAAO,UAAU;YACxB;YACA,OAAO;gBAAEK;YAAI;QACjB;QAIN,IAAIS,SAASC,QAAQ,OAAO;QAC5B,IAAIf,OAAO,MAAM,EACbc,SAASd,OAAO,MAAM,CAACa;aAEvB,IAAI,CAAC,MAAM,CAAC,IAAI,CAAC;QAIrB,MAAMA;QACN,MAAMC;IACV;AACJ;AAEO,MAAME,YAAYC,qBAAqB;IAC1C,aAAaC;IACb,gBAAgB3B;IAChB,cAAc;QACV4B;QACAC;QACAC;QACAC;QACAC;QACAC;QACAC;QACAC;KACH;AACL"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from "./DeployApp.js";
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from "./DeployApp.js";
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
import { DestroyApp, BuildAppWorkspaceService, GetApp, GetProject, GetPulumiService, ProjectSdkParamsService, PulumiSelectStackService } from "../../abstractions/index.js";
|
|
2
|
-
export declare class DefaultDestroyApp implements DestroyApp.Interface {
|
|
3
|
-
private getApp;
|
|
4
|
-
private buildAppWorkspaceService;
|
|
5
|
-
private getProject;
|
|
6
|
-
private pulumiSelectStackService;
|
|
7
|
-
private getPulumiService;
|
|
8
|
-
private projectSdkParamsService;
|
|
9
|
-
constructor(getApp: GetApp.Interface, buildAppWorkspaceService: BuildAppWorkspaceService.Interface, getProject: GetProject.Interface, pulumiSelectStackService: PulumiSelectStackService.Interface, getPulumiService: GetPulumiService.Interface, projectSdkParamsService: ProjectSdkParamsService.Interface);
|
|
10
|
-
execute(params: DestroyApp.Params): Promise<{
|
|
11
|
-
pulumiProcess: import("@webiny/pulumi-sdk/Pulumi").PulumiProcess;
|
|
12
|
-
}>;
|
|
13
|
-
}
|
|
14
|
-
export declare const destroyApp: import("@webiny/di").Implementation<typeof DefaultDestroyApp>;
|
|
@@ -1,66 +0,0 @@
|
|
|
1
|
-
import { createImplementation } from "@webiny/di";
|
|
2
|
-
import { BuildAppWorkspaceService, DestroyApp, GetApp, GetProject, GetPulumiService, ProjectSdkParamsService, PulumiSelectStackService } from "../../abstractions/index.js";
|
|
3
|
-
import { createEnvConfiguration, withEnv, withEnvVariant, withProjectName, withPulumiConfigPassphrase, withRegion } from "../../utils/env/index.js";
|
|
4
|
-
class DefaultDestroyApp {
|
|
5
|
-
constructor(getApp, buildAppWorkspaceService, getProject, pulumiSelectStackService, getPulumiService, projectSdkParamsService){
|
|
6
|
-
this.getApp = getApp;
|
|
7
|
-
this.buildAppWorkspaceService = buildAppWorkspaceService;
|
|
8
|
-
this.getProject = getProject;
|
|
9
|
-
this.pulumiSelectStackService = pulumiSelectStackService;
|
|
10
|
-
this.getPulumiService = getPulumiService;
|
|
11
|
-
this.projectSdkParamsService = projectSdkParamsService;
|
|
12
|
-
}
|
|
13
|
-
async execute(params) {
|
|
14
|
-
await this.buildAppWorkspaceService.execute(params.app);
|
|
15
|
-
const app = this.getApp.execute(params.app);
|
|
16
|
-
await this.pulumiSelectStackService.execute(app);
|
|
17
|
-
const pulumi = await this.getPulumiService.execute({
|
|
18
|
-
app
|
|
19
|
-
});
|
|
20
|
-
const project = await this.getProject.execute();
|
|
21
|
-
const sdkParams = this.projectSdkParamsService.get();
|
|
22
|
-
const env = createEnvConfiguration({
|
|
23
|
-
configurations: [
|
|
24
|
-
withRegion({
|
|
25
|
-
region: sdkParams.region
|
|
26
|
-
}),
|
|
27
|
-
withEnv({
|
|
28
|
-
env: sdkParams.env
|
|
29
|
-
}),
|
|
30
|
-
withEnvVariant({
|
|
31
|
-
variant: sdkParams.variant
|
|
32
|
-
}),
|
|
33
|
-
withPulumiConfigPassphrase(),
|
|
34
|
-
withProjectName({
|
|
35
|
-
project
|
|
36
|
-
})
|
|
37
|
-
]
|
|
38
|
-
});
|
|
39
|
-
return {
|
|
40
|
-
pulumiProcess: pulumi.run({
|
|
41
|
-
command: "destroy",
|
|
42
|
-
args: {
|
|
43
|
-
yes: true
|
|
44
|
-
},
|
|
45
|
-
execa: {
|
|
46
|
-
env
|
|
47
|
-
}
|
|
48
|
-
})
|
|
49
|
-
};
|
|
50
|
-
}
|
|
51
|
-
}
|
|
52
|
-
const destroyApp = createImplementation({
|
|
53
|
-
abstraction: DestroyApp,
|
|
54
|
-
implementation: DefaultDestroyApp,
|
|
55
|
-
dependencies: [
|
|
56
|
-
GetApp,
|
|
57
|
-
BuildAppWorkspaceService,
|
|
58
|
-
GetProject,
|
|
59
|
-
PulumiSelectStackService,
|
|
60
|
-
GetPulumiService,
|
|
61
|
-
ProjectSdkParamsService
|
|
62
|
-
]
|
|
63
|
-
});
|
|
64
|
-
export { DefaultDestroyApp, destroyApp };
|
|
65
|
-
|
|
66
|
-
//# sourceMappingURL=DestroyApp.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"features/DestroyApp/DestroyApp.js","sources":["../../../src/features/DestroyApp/DestroyApp.ts"],"sourcesContent":["import { createImplementation } from \"@webiny/di\";\nimport {\n DestroyApp,\n BuildAppWorkspaceService,\n GetApp,\n GetProject,\n GetPulumiService,\n ProjectSdkParamsService,\n PulumiSelectStackService\n} from \"~/abstractions/index.js\";\nimport {\n createEnvConfiguration,\n withEnv,\n withEnvVariant,\n withProjectName,\n withPulumiConfigPassphrase,\n withRegion\n} from \"~/utils/env/index.js\";\n\nexport class DefaultDestroyApp implements DestroyApp.Interface {\n constructor(\n private getApp: GetApp.Interface,\n private buildAppWorkspaceService: BuildAppWorkspaceService.Interface,\n private getProject: GetProject.Interface,\n private pulumiSelectStackService: PulumiSelectStackService.Interface,\n private getPulumiService: GetPulumiService.Interface,\n private projectSdkParamsService: ProjectSdkParamsService.Interface\n ) {}\n\n async execute(params: DestroyApp.Params) {\n await this.buildAppWorkspaceService.execute(params.app);\n\n const app = this.getApp.execute(params.app);\n\n await this.pulumiSelectStackService.execute(app);\n\n const pulumi = await this.getPulumiService.execute({ app });\n const project = await this.getProject.execute();\n const sdkParams = this.projectSdkParamsService.get();\n\n const env = createEnvConfiguration({\n configurations: [\n withRegion({ region: sdkParams.region }),\n withEnv({ env: sdkParams.env }),\n withEnvVariant({ variant: sdkParams.variant }),\n withPulumiConfigPassphrase(),\n withProjectName({ project })\n ]\n });\n\n return {\n pulumiProcess: pulumi.run({\n command: \"destroy\",\n args: {\n yes: true\n },\n execa: { env }\n })\n };\n }\n}\n\nexport const destroyApp = createImplementation({\n abstraction: DestroyApp,\n implementation: DefaultDestroyApp,\n dependencies: [\n GetApp,\n BuildAppWorkspaceService,\n GetProject,\n PulumiSelectStackService,\n GetPulumiService,\n ProjectSdkParamsService\n ]\n});\n"],"names":["DefaultDestroyApp","getApp","buildAppWorkspaceService","getProject","pulumiSelectStackService","getPulumiService","projectSdkParamsService","params","app","pulumi","project","sdkParams","env","createEnvConfiguration","withRegion","withEnv","withEnvVariant","withPulumiConfigPassphrase","withProjectName","destroyApp","createImplementation","DestroyApp","GetApp","BuildAppWorkspaceService","GetProject","PulumiSelectStackService","GetPulumiService","ProjectSdkParamsService"],"mappings":";;;AAmBO,MAAMA;IACT,YACYC,MAAwB,EACxBC,wBAA4D,EAC5DC,UAAgC,EAChCC,wBAA4D,EAC5DC,gBAA4C,EAC5CC,uBAA0D,CACpE;aANUL,MAAM,GAANA;aACAC,wBAAwB,GAAxBA;aACAC,UAAU,GAAVA;aACAC,wBAAwB,GAAxBA;aACAC,gBAAgB,GAAhBA;aACAC,uBAAuB,GAAvBA;IACT;IAEH,MAAM,QAAQC,MAAyB,EAAE;QACrC,MAAM,IAAI,CAAC,wBAAwB,CAAC,OAAO,CAACA,OAAO,GAAG;QAEtD,MAAMC,MAAM,IAAI,CAAC,MAAM,CAAC,OAAO,CAACD,OAAO,GAAG;QAE1C,MAAM,IAAI,CAAC,wBAAwB,CAAC,OAAO,CAACC;QAE5C,MAAMC,SAAS,MAAM,IAAI,CAAC,gBAAgB,CAAC,OAAO,CAAC;YAAED;QAAI;QACzD,MAAME,UAAU,MAAM,IAAI,CAAC,UAAU,CAAC,OAAO;QAC7C,MAAMC,YAAY,IAAI,CAAC,uBAAuB,CAAC,GAAG;QAElD,MAAMC,MAAMC,uBAAuB;YAC/B,gBAAgB;gBACZC,WAAW;oBAAE,QAAQH,UAAU,MAAM;gBAAC;gBACtCI,QAAQ;oBAAE,KAAKJ,UAAU,GAAG;gBAAC;gBAC7BK,eAAe;oBAAE,SAASL,UAAU,OAAO;gBAAC;gBAC5CM;gBACAC,gBAAgB;oBAAER;gBAAQ;aAC7B;QACL;QAEA,OAAO;YACH,eAAeD,OAAO,GAAG,CAAC;gBACtB,SAAS;gBACT,MAAM;oBACF,KAAK;gBACT;gBACA,OAAO;oBAAEG;gBAAI;YACjB;QACJ;IACJ;AACJ;AAEO,MAAMO,aAAaC,qBAAqB;IAC3C,aAAaC;IACb,gBAAgBrB;IAChB,cAAc;QACVsB;QACAC;QACAC;QACAC;QACAC;QACAC;KACH;AACL"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from "./DestroyApp.js";
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from "./DestroyApp.js";
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import { BuildAppWorkspaceService, GetApp, ExportStack, PulumiExportService } from "../../abstractions/index.js";
|
|
2
|
-
export declare class DefaultExportStack implements ExportStack.Interface {
|
|
3
|
-
private getApp;
|
|
4
|
-
private buildAppWorkspaceService;
|
|
5
|
-
private pulumiExportService;
|
|
6
|
-
constructor(getApp: GetApp.Interface, buildAppWorkspaceService: BuildAppWorkspaceService.Interface, pulumiExportService: PulumiExportService.Interface);
|
|
7
|
-
execute<TExport extends Record<string, any> = Record<string, string>>(params: ExportStack.Params): Promise<TExport | null>;
|
|
8
|
-
}
|
|
9
|
-
export declare const exportStack: import("@webiny/di").Implementation<typeof DefaultExportStack>;
|
|
@@ -1,26 +0,0 @@
|
|
|
1
|
-
import { createImplementation } from "@webiny/di";
|
|
2
|
-
import { BuildAppWorkspaceService, ExportStack, GetApp, PulumiExportService } from "../../abstractions/index.js";
|
|
3
|
-
class DefaultExportStack {
|
|
4
|
-
constructor(getApp, buildAppWorkspaceService, pulumiExportService){
|
|
5
|
-
this.getApp = getApp;
|
|
6
|
-
this.buildAppWorkspaceService = buildAppWorkspaceService;
|
|
7
|
-
this.pulumiExportService = pulumiExportService;
|
|
8
|
-
}
|
|
9
|
-
async execute(params) {
|
|
10
|
-
await this.buildAppWorkspaceService.execute(params.app);
|
|
11
|
-
const app = this.getApp.execute(params.app);
|
|
12
|
-
return this.pulumiExportService.execute(app);
|
|
13
|
-
}
|
|
14
|
-
}
|
|
15
|
-
const exportStack = createImplementation({
|
|
16
|
-
abstraction: ExportStack,
|
|
17
|
-
implementation: DefaultExportStack,
|
|
18
|
-
dependencies: [
|
|
19
|
-
GetApp,
|
|
20
|
-
BuildAppWorkspaceService,
|
|
21
|
-
PulumiExportService
|
|
22
|
-
]
|
|
23
|
-
});
|
|
24
|
-
export { DefaultExportStack, exportStack };
|
|
25
|
-
|
|
26
|
-
//# sourceMappingURL=ExportStack.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"features/ExportStack/ExportStack.js","sources":["../../../src/features/ExportStack/ExportStack.ts"],"sourcesContent":["import { createImplementation } from \"@webiny/di\";\nimport {\n BuildAppWorkspaceService,\n GetApp,\n ExportStack,\n PulumiExportService\n} from \"~/abstractions/index.js\";\n\nexport class DefaultExportStack implements ExportStack.Interface {\n constructor(\n private getApp: GetApp.Interface,\n private buildAppWorkspaceService: BuildAppWorkspaceService.Interface,\n private pulumiExportService: PulumiExportService.Interface\n ) {}\n\n async execute<TExport extends Record<string, any> = Record<string, string>>(\n params: ExportStack.Params\n ) {\n await this.buildAppWorkspaceService.execute(params.app);\n\n const app = this.getApp.execute(params.app);\n return this.pulumiExportService.execute<TExport>(app);\n }\n}\n\nexport const exportStack = createImplementation({\n abstraction: ExportStack,\n implementation: DefaultExportStack,\n dependencies: [GetApp, BuildAppWorkspaceService, PulumiExportService]\n});\n"],"names":["DefaultExportStack","getApp","buildAppWorkspaceService","pulumiExportService","params","app","exportStack","createImplementation","ExportStack","GetApp","BuildAppWorkspaceService","PulumiExportService"],"mappings":";;AAQO,MAAMA;IACT,YACYC,MAAwB,EACxBC,wBAA4D,EAC5DC,mBAAkD,CAC5D;aAHUF,MAAM,GAANA;aACAC,wBAAwB,GAAxBA;aACAC,mBAAmB,GAAnBA;IACT;IAEH,MAAM,QACFC,MAA0B,EAC5B;QACE,MAAM,IAAI,CAAC,wBAAwB,CAAC,OAAO,CAACA,OAAO,GAAG;QAEtD,MAAMC,MAAM,IAAI,CAAC,MAAM,CAAC,OAAO,CAACD,OAAO,GAAG;QAC1C,OAAO,IAAI,CAAC,mBAAmB,CAAC,OAAO,CAAUC;IACrD;AACJ;AAEO,MAAMC,cAAcC,qBAAqB;IAC5C,aAAaC;IACb,gBAAgBR;IAChB,cAAc;QAACS;QAAQC;QAA0BC;KAAoB;AACzE"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from "./ExportStack.js";
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from "./ExportStack.js";
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import { BuildAppWorkspaceService, GetApp, GetAppOutput, GetPulumiService, PulumiSelectStackService } from "../../abstractions/index.js";
|
|
2
|
-
export declare class DefaultGetAppOutput implements GetAppOutput.Interface {
|
|
3
|
-
private getApp;
|
|
4
|
-
private buildAppWorkspaceService;
|
|
5
|
-
private pulumiSelectStackService;
|
|
6
|
-
private getPulumiService;
|
|
7
|
-
constructor(getApp: GetApp.Interface, buildAppWorkspaceService: BuildAppWorkspaceService.Interface, pulumiSelectStackService: PulumiSelectStackService.Interface, getPulumiService: GetPulumiService.Interface);
|
|
8
|
-
execute(params: GetAppOutput.Params): Promise<{
|
|
9
|
-
pulumiProcess: import("@webiny/pulumi-sdk/Pulumi").PulumiProcess;
|
|
10
|
-
}>;
|
|
11
|
-
}
|
|
12
|
-
export declare const getAppOutput: import("@webiny/di").Implementation<typeof DefaultGetAppOutput>;
|