@webiny/project 0.0.0-unstable.3c5210ad37
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/GracefulError.d.ts +4 -0
- package/GracefulError.js +20 -0
- package/GracefulError.js.map +1 -0
- package/LICENSE +21 -0
- package/ProjectError.d.ts +4 -0
- package/ProjectError.js +18 -0
- package/ProjectError.js.map +1 -0
- package/ProjectSdk.d.ts +47 -0
- package/ProjectSdk.js +134 -0
- package/ProjectSdk.js.map +1 -0
- package/README.md +11 -0
- package/abstractions/createAbstraction.d.ts +2 -0
- package/abstractions/createAbstraction.js +6 -0
- package/abstractions/createAbstraction.js.map +1 -0
- package/abstractions/features/BuildApp.d.ts +16 -0
- package/abstractions/features/BuildApp.js +4 -0
- package/abstractions/features/BuildApp.js.map +1 -0
- package/abstractions/features/BuildExtension.d.ts +7 -0
- package/abstractions/features/BuildExtension.js +4 -0
- package/abstractions/features/BuildExtension.js.map +1 -0
- package/abstractions/features/DeployApp.d.ts +21 -0
- package/abstractions/features/DeployApp.js +4 -0
- package/abstractions/features/DeployApp.js.map +1 -0
- package/abstractions/features/DestroyApp.d.ts +18 -0
- package/abstractions/features/DestroyApp.js +4 -0
- package/abstractions/features/DestroyApp.js.map +1 -0
- package/abstractions/features/ExportStack.d.ts +18 -0
- package/abstractions/features/ExportStack.js +4 -0
- package/abstractions/features/ExportStack.js.map +1 -0
- package/abstractions/features/GetApp.d.ts +13 -0
- package/abstractions/features/GetApp.js +4 -0
- package/abstractions/features/GetApp.js.map +1 -0
- package/abstractions/features/GetAppOutput.d.ts +18 -0
- package/abstractions/features/GetAppOutput.js +4 -0
- package/abstractions/features/GetAppOutput.js.map +1 -0
- package/abstractions/features/GetAppStackOutput.d.ts +21 -0
- package/abstractions/features/GetAppStackOutput.js +9 -0
- package/abstractions/features/GetAppStackOutput.js.map +1 -0
- package/abstractions/features/GetFeatureFlags.d.ts +8 -0
- package/abstractions/features/GetFeatureFlags.js +4 -0
- package/abstractions/features/GetFeatureFlags.js.map +1 -0
- package/abstractions/features/GetLogger.d.ts +10 -0
- package/abstractions/features/GetLogger.js +4 -0
- package/abstractions/features/GetLogger.js.map +1 -0
- package/abstractions/features/GetProductionEnvironments.d.ts +7 -0
- package/abstractions/features/GetProductionEnvironments.js +4 -0
- package/abstractions/features/GetProductionEnvironments.js.map +1 -0
- package/abstractions/features/GetProject.d.ts +10 -0
- package/abstractions/features/GetProject.js +4 -0
- package/abstractions/features/GetProject.js.map +1 -0
- package/abstractions/features/GetProjectConfig.d.ts +14 -0
- package/abstractions/features/GetProjectConfig.js +4 -0
- package/abstractions/features/GetProjectConfig.js.map +1 -0
- package/abstractions/features/GetProjectInfo.d.ts +13 -0
- package/abstractions/features/GetProjectInfo.js +4 -0
- package/abstractions/features/GetProjectInfo.js.map +1 -0
- package/abstractions/features/GetPulumiResourceNamePrefix.d.ts +7 -0
- package/abstractions/features/GetPulumiResourceNamePrefix.js +4 -0
- package/abstractions/features/GetPulumiResourceNamePrefix.js.map +1 -0
- package/abstractions/features/InstallExtension.d.ts +10 -0
- package/abstractions/features/InstallExtension.js +4 -0
- package/abstractions/features/InstallExtension.js.map +1 -0
- package/abstractions/features/IsCi.d.ts +8 -0
- package/abstractions/features/IsCi.js +4 -0
- package/abstractions/features/IsCi.js.map +1 -0
- package/abstractions/features/IsTelemetryEnabled.d.ts +8 -0
- package/abstractions/features/IsTelemetryEnabled.js +4 -0
- package/abstractions/features/IsTelemetryEnabled.js.map +1 -0
- package/abstractions/features/IsWcpEnabled.d.ts +8 -0
- package/abstractions/features/IsWcpEnabled.js +4 -0
- package/abstractions/features/IsWcpEnabled.js.map +1 -0
- package/abstractions/features/IsWebinyJsRepo.d.ts +8 -0
- package/abstractions/features/IsWebinyJsRepo.js +4 -0
- package/abstractions/features/IsWebinyJsRepo.js.map +1 -0
- package/abstractions/features/RefreshApp.d.ts +18 -0
- package/abstractions/features/RefreshApp.js +4 -0
- package/abstractions/features/RefreshApp.js.map +1 -0
- package/abstractions/features/RunPulumiCommand.d.ts +19 -0
- package/abstractions/features/RunPulumiCommand.js +4 -0
- package/abstractions/features/RunPulumiCommand.js.map +1 -0
- package/abstractions/features/ValidateProjectConfig.d.ts +10 -0
- package/abstractions/features/ValidateProjectConfig.js +4 -0
- package/abstractions/features/ValidateProjectConfig.js.map +1 -0
- package/abstractions/features/Watch.d.ts +31 -0
- package/abstractions/features/Watch.js +4 -0
- package/abstractions/features/Watch.js.map +1 -0
- package/abstractions/features/hooks/AdminAfterBuild.d.ts +9 -0
- package/abstractions/features/hooks/AdminAfterBuild.js +4 -0
- package/abstractions/features/hooks/AdminAfterBuild.js.map +1 -0
- package/abstractions/features/hooks/AdminAfterDeploy.d.ts +9 -0
- package/abstractions/features/hooks/AdminAfterDeploy.js +4 -0
- package/abstractions/features/hooks/AdminAfterDeploy.js.map +1 -0
- package/abstractions/features/hooks/AdminBeforeBuild.d.ts +9 -0
- package/abstractions/features/hooks/AdminBeforeBuild.js +4 -0
- package/abstractions/features/hooks/AdminBeforeBuild.js.map +1 -0
- package/abstractions/features/hooks/AdminBeforeDeploy.d.ts +9 -0
- package/abstractions/features/hooks/AdminBeforeDeploy.js +4 -0
- package/abstractions/features/hooks/AdminBeforeDeploy.js.map +1 -0
- package/abstractions/features/hooks/AdminBeforeWatch.d.ts +9 -0
- package/abstractions/features/hooks/AdminBeforeWatch.js +4 -0
- package/abstractions/features/hooks/AdminBeforeWatch.js.map +1 -0
- package/abstractions/features/hooks/AfterBuild.d.ts +9 -0
- package/abstractions/features/hooks/AfterBuild.js +4 -0
- package/abstractions/features/hooks/AfterBuild.js.map +1 -0
- package/abstractions/features/hooks/AfterDeploy.d.ts +9 -0
- package/abstractions/features/hooks/AfterDeploy.js +4 -0
- package/abstractions/features/hooks/AfterDeploy.js.map +1 -0
- package/abstractions/features/hooks/ApiAfterBuild.d.ts +9 -0
- package/abstractions/features/hooks/ApiAfterBuild.js +4 -0
- package/abstractions/features/hooks/ApiAfterBuild.js.map +1 -0
- package/abstractions/features/hooks/ApiAfterDeploy.d.ts +9 -0
- package/abstractions/features/hooks/ApiAfterDeploy.js +4 -0
- package/abstractions/features/hooks/ApiAfterDeploy.js.map +1 -0
- package/abstractions/features/hooks/ApiBeforeBuild.d.ts +9 -0
- package/abstractions/features/hooks/ApiBeforeBuild.js +4 -0
- package/abstractions/features/hooks/ApiBeforeBuild.js.map +1 -0
- package/abstractions/features/hooks/ApiBeforeDeploy.d.ts +9 -0
- package/abstractions/features/hooks/ApiBeforeDeploy.js +4 -0
- package/abstractions/features/hooks/ApiBeforeDeploy.js.map +1 -0
- package/abstractions/features/hooks/ApiBeforeWatch.d.ts +9 -0
- package/abstractions/features/hooks/ApiBeforeWatch.js +4 -0
- package/abstractions/features/hooks/ApiBeforeWatch.js.map +1 -0
- package/abstractions/features/hooks/BeforeBuild.d.ts +9 -0
- package/abstractions/features/hooks/BeforeBuild.js +4 -0
- package/abstractions/features/hooks/BeforeBuild.js.map +1 -0
- package/abstractions/features/hooks/BeforeDeploy.d.ts +9 -0
- package/abstractions/features/hooks/BeforeDeploy.js +4 -0
- package/abstractions/features/hooks/BeforeDeploy.js.map +1 -0
- package/abstractions/features/hooks/BeforeWatch.d.ts +9 -0
- package/abstractions/features/hooks/BeforeWatch.js +4 -0
- package/abstractions/features/hooks/BeforeWatch.js.map +1 -0
- package/abstractions/features/hooks/CoreAfterBuild.d.ts +9 -0
- package/abstractions/features/hooks/CoreAfterBuild.js +4 -0
- package/abstractions/features/hooks/CoreAfterBuild.js.map +1 -0
- package/abstractions/features/hooks/CoreAfterDeploy.d.ts +9 -0
- package/abstractions/features/hooks/CoreAfterDeploy.js +4 -0
- package/abstractions/features/hooks/CoreAfterDeploy.js.map +1 -0
- package/abstractions/features/hooks/CoreBeforeBuild.d.ts +9 -0
- package/abstractions/features/hooks/CoreBeforeBuild.js +4 -0
- package/abstractions/features/hooks/CoreBeforeBuild.js.map +1 -0
- package/abstractions/features/hooks/CoreBeforeDeploy.d.ts +9 -0
- package/abstractions/features/hooks/CoreBeforeDeploy.js +4 -0
- package/abstractions/features/hooks/CoreBeforeDeploy.js.map +1 -0
- package/abstractions/features/hooks/CoreBeforeWatch.d.ts +9 -0
- package/abstractions/features/hooks/CoreBeforeWatch.js +4 -0
- package/abstractions/features/hooks/CoreBeforeWatch.js.map +1 -0
- package/abstractions/features/hooks/index.d.ts +20 -0
- package/abstractions/features/hooks/index.js +22 -0
- package/abstractions/features/hooks/index.js.map +1 -0
- package/abstractions/features/index.d.ts +26 -0
- package/abstractions/features/index.js +28 -0
- package/abstractions/features/index.js.map +1 -0
- package/abstractions/features/pulumi/AdminPulumi.d.ts +8 -0
- package/abstractions/features/pulumi/AdminPulumi.js +4 -0
- package/abstractions/features/pulumi/AdminPulumi.js.map +1 -0
- package/abstractions/features/pulumi/ApiPulumi.d.ts +8 -0
- package/abstractions/features/pulumi/ApiPulumi.js +4 -0
- package/abstractions/features/pulumi/ApiPulumi.js.map +1 -0
- package/abstractions/features/pulumi/CorePulumi.d.ts +8 -0
- package/abstractions/features/pulumi/CorePulumi.js +4 -0
- package/abstractions/features/pulumi/CorePulumi.js.map +1 -0
- package/abstractions/features/pulumi/index.d.ts +3 -0
- package/abstractions/features/pulumi/index.js +5 -0
- package/abstractions/features/pulumi/index.js.map +1 -0
- package/abstractions/index.d.ts +2 -0
- package/abstractions/index.js +4 -0
- package/abstractions/index.js.map +1 -0
- package/abstractions/models/IAppModel.d.ts +17 -0
- package/abstractions/models/IAppModel.js +3 -0
- package/abstractions/models/IAppModel.js.map +1 -0
- package/abstractions/models/IAppPackageModel.d.ts +9 -0
- package/abstractions/models/IAppPackageModel.js +3 -0
- package/abstractions/models/IAppPackageModel.js.map +1 -0
- package/abstractions/models/IPathModel.d.ts +9 -0
- package/abstractions/models/IPathModel.js +3 -0
- package/abstractions/models/IPathModel.js.map +1 -0
- package/abstractions/models/IProjectConfigDto.d.ts +5 -0
- package/abstractions/models/IProjectConfigDto.js +3 -0
- package/abstractions/models/IProjectConfigDto.js.map +1 -0
- package/abstractions/models/IProjectConfigModel.d.ts +8 -0
- package/abstractions/models/IProjectConfigModel.js +3 -0
- package/abstractions/models/IProjectConfigModel.js.map +1 -0
- package/abstractions/models/IProjectModel.d.ts +28 -0
- package/abstractions/models/IProjectModel.js +3 -0
- package/abstractions/models/IProjectModel.js.map +1 -0
- package/abstractions/models/IUrlModel.d.ts +8 -0
- package/abstractions/models/IUrlModel.js +3 -0
- package/abstractions/models/IUrlModel.js.map +1 -0
- package/abstractions/models/IWcpEnvironmentDto.d.ts +18 -0
- package/abstractions/models/IWcpEnvironmentDto.js +3 -0
- package/abstractions/models/IWcpEnvironmentDto.js.map +1 -0
- package/abstractions/models/IWcpEnvironmentModel.d.ts +18 -0
- package/abstractions/models/IWcpEnvironmentModel.js +3 -0
- package/abstractions/models/IWcpEnvironmentModel.js.map +1 -0
- package/abstractions/models/IWcpUserDto.d.ts +18 -0
- package/abstractions/models/IWcpUserDto.js +3 -0
- package/abstractions/models/IWcpUserDto.js.map +1 -0
- package/abstractions/models/IWcpUserModel.d.ts +18 -0
- package/abstractions/models/IWcpUserModel.js +3 -0
- package/abstractions/models/IWcpUserModel.js.map +1 -0
- package/abstractions/models/IWcpUserPatDto.d.ts +9 -0
- package/abstractions/models/IWcpUserPatDto.js +3 -0
- package/abstractions/models/IWcpUserPatDto.js.map +1 -0
- package/abstractions/models/IWcpUserPatModel.d.ts +9 -0
- package/abstractions/models/IWcpUserPatModel.js +3 -0
- package/abstractions/models/IWcpUserPatModel.js.map +1 -0
- package/abstractions/models/PackagesBuilder/IPackagesBuilder.d.ts +20 -0
- package/abstractions/models/PackagesBuilder/IPackagesBuilder.js +3 -0
- package/abstractions/models/PackagesBuilder/IPackagesBuilder.js.map +1 -0
- package/abstractions/models/PackagesBuilder/IRunnableBuildProcess.d.ts +14 -0
- package/abstractions/models/PackagesBuilder/IRunnableBuildProcess.js +3 -0
- package/abstractions/models/PackagesBuilder/IRunnableBuildProcess.js.map +1 -0
- package/abstractions/models/PackagesBuilder/IRunnableBuildProcesses.d.ts +16 -0
- package/abstractions/models/PackagesBuilder/IRunnableBuildProcesses.js +3 -0
- package/abstractions/models/PackagesBuilder/IRunnableBuildProcesses.js.map +1 -0
- package/abstractions/models/PackagesBuilder/index.d.ts +3 -0
- package/abstractions/models/PackagesBuilder/index.js +3 -0
- package/abstractions/models/PackagesBuilder/index.js.map +1 -0
- package/abstractions/models/index.d.ts +15 -0
- package/abstractions/models/index.js +3 -0
- package/abstractions/models/index.js.map +1 -0
- package/abstractions/services/BuildAppWorkspaceService.d.ts +14 -0
- package/abstractions/services/BuildAppWorkspaceService.js +4 -0
- package/abstractions/services/BuildAppWorkspaceService.js.map +1 -0
- package/abstractions/services/BuildProjectWorkspaceService.d.ts +9 -0
- package/abstractions/services/BuildProjectWorkspaceService.js +4 -0
- package/abstractions/services/BuildProjectWorkspaceService.js.map +1 -0
- package/abstractions/services/GetAppPackagesService.d.ts +8 -0
- package/abstractions/services/GetAppPackagesService.js +4 -0
- package/abstractions/services/GetAppPackagesService.js.map +1 -0
- package/abstractions/services/GetAppService.d.ts +14 -0
- package/abstractions/services/GetAppService.js +4 -0
- package/abstractions/services/GetAppService.js.map +1 -0
- package/abstractions/services/GetCwdService.d.ts +7 -0
- package/abstractions/services/GetCwdService.js +4 -0
- package/abstractions/services/GetCwdService.js.map +1 -0
- package/abstractions/services/GetProjectConfigService.d.ts +17 -0
- package/abstractions/services/GetProjectConfigService.js +4 -0
- package/abstractions/services/GetProjectConfigService.js.map +1 -0
- package/abstractions/services/GetProjectIdService.d.ts +10 -0
- package/abstractions/services/GetProjectIdService.js +4 -0
- package/abstractions/services/GetProjectIdService.js.map +1 -0
- package/abstractions/services/GetProjectService.d.ts +11 -0
- package/abstractions/services/GetProjectService.js +4 -0
- package/abstractions/services/GetProjectService.js.map +1 -0
- package/abstractions/services/GetProjectVersionService.d.ts +10 -0
- package/abstractions/services/GetProjectVersionService.js +4 -0
- package/abstractions/services/GetProjectVersionService.js.map +1 -0
- package/abstractions/services/GetPulumiService.d.ts +14 -0
- package/abstractions/services/GetPulumiService.js +4 -0
- package/abstractions/services/GetPulumiService.js.map +1 -0
- package/abstractions/services/InitProjectSdkService.d.ts +8 -0
- package/abstractions/services/InitProjectSdkService.js +4 -0
- package/abstractions/services/InitProjectSdkService.js.map +1 -0
- package/abstractions/services/InstallExtensionService.d.ts +15 -0
- package/abstractions/services/InstallExtensionService.js +4 -0
- package/abstractions/services/InstallExtensionService.js.map +1 -0
- package/abstractions/services/IsRemotePulumiBackendService.d.ts +7 -0
- package/abstractions/services/IsRemotePulumiBackendService.js +4 -0
- package/abstractions/services/IsRemotePulumiBackendService.js.map +1 -0
- package/abstractions/services/ListAppLambdaFunctionsService.d.ts +23 -0
- package/abstractions/services/ListAppLambdaFunctionsService.js +4 -0
- package/abstractions/services/ListAppLambdaFunctionsService.js.map +1 -0
- package/abstractions/services/ListDeployedEnvironmentsService.d.ts +12 -0
- package/abstractions/services/ListDeployedEnvironmentsService.js +4 -0
- package/abstractions/services/ListDeployedEnvironmentsService.js.map +1 -0
- package/abstractions/services/ListPackagesInAppWorkspaceService.d.ts +18 -0
- package/abstractions/services/ListPackagesInAppWorkspaceService.js +4 -0
- package/abstractions/services/ListPackagesInAppWorkspaceService.js.map +1 -0
- package/abstractions/services/ListPackagesService.d.ts +23 -0
- package/abstractions/services/ListPackagesService.js +4 -0
- package/abstractions/services/ListPackagesService.js.map +1 -0
- package/abstractions/services/LoadEnvVarsService.d.ts +7 -0
- package/abstractions/services/LoadEnvVarsService.js +4 -0
- package/abstractions/services/LoadEnvVarsService.js.map +1 -0
- package/abstractions/services/LocalStorageService.d.ts +16 -0
- package/abstractions/services/LocalStorageService.js +4 -0
- package/abstractions/services/LocalStorageService.js.map +1 -0
- package/abstractions/services/LoggerService.d.ts +13 -0
- package/abstractions/services/LoggerService.js +4 -0
- package/abstractions/services/LoggerService.js.map +1 -0
- package/abstractions/services/ProjectInfoService/GetIsCiService.d.ts +8 -0
- package/abstractions/services/ProjectInfoService/GetIsCiService.js +4 -0
- package/abstractions/services/ProjectInfoService/GetIsCiService.js.map +1 -0
- package/abstractions/services/ProjectInfoService/GetNpmVersionService.d.ts +8 -0
- package/abstractions/services/ProjectInfoService/GetNpmVersionService.js +4 -0
- package/abstractions/services/ProjectInfoService/GetNpmVersionService.js.map +1 -0
- package/abstractions/services/ProjectInfoService/GetNpxVersionService.d.ts +8 -0
- package/abstractions/services/ProjectInfoService/GetNpxVersionService.js +4 -0
- package/abstractions/services/ProjectInfoService/GetNpxVersionService.js.map +1 -0
- package/abstractions/services/ProjectInfoService/GetPulumiVersionService.d.ts +12 -0
- package/abstractions/services/ProjectInfoService/GetPulumiVersionService.js +4 -0
- package/abstractions/services/ProjectInfoService/GetPulumiVersionService.js.map +1 -0
- package/abstractions/services/ProjectInfoService/GetYarnVersionService.d.ts +8 -0
- package/abstractions/services/ProjectInfoService/GetYarnVersionService.js +4 -0
- package/abstractions/services/ProjectInfoService/GetYarnVersionService.js.map +1 -0
- package/abstractions/services/ProjectInfoService/ProjectInfoService.d.ts +33 -0
- package/abstractions/services/ProjectInfoService/ProjectInfoService.js +4 -0
- package/abstractions/services/ProjectInfoService/ProjectInfoService.js.map +1 -0
- package/abstractions/services/ProjectInfoService/index.d.ts +6 -0
- package/abstractions/services/ProjectInfoService/index.js +8 -0
- package/abstractions/services/ProjectInfoService/index.js.map +1 -0
- package/abstractions/services/ProjectSdkParamsService.d.ts +22 -0
- package/abstractions/services/ProjectSdkParamsService.js +4 -0
- package/abstractions/services/ProjectSdkParamsService.js.map +1 -0
- package/abstractions/services/PulumiExportService.d.ts +13 -0
- package/abstractions/services/PulumiExportService.js +7 -0
- package/abstractions/services/PulumiExportService.js.map +1 -0
- package/abstractions/services/PulumiGetConfigPassphraseService.d.ts +7 -0
- package/abstractions/services/PulumiGetConfigPassphraseService.js +4 -0
- package/abstractions/services/PulumiGetConfigPassphraseService.js.map +1 -0
- package/abstractions/services/PulumiGetSecretsProviderService.d.ts +7 -0
- package/abstractions/services/PulumiGetSecretsProviderService.js +4 -0
- package/abstractions/services/PulumiGetSecretsProviderService.js.map +1 -0
- package/abstractions/services/PulumiGetStackOutputService.d.ts +13 -0
- package/abstractions/services/PulumiGetStackOutputService.js +4 -0
- package/abstractions/services/PulumiGetStackOutputService.js.map +1 -0
- package/abstractions/services/PulumiImportService.d.ts +8 -0
- package/abstractions/services/PulumiImportService.js +4 -0
- package/abstractions/services/PulumiImportService.js.map +1 -0
- package/abstractions/services/PulumiLoginService.d.ts +16 -0
- package/abstractions/services/PulumiLoginService.js +4 -0
- package/abstractions/services/PulumiLoginService.js.map +1 -0
- package/abstractions/services/PulumiSelectStackService.d.ts +10 -0
- package/abstractions/services/PulumiSelectStackService.js +4 -0
- package/abstractions/services/PulumiSelectStackService.js.map +1 -0
- package/abstractions/services/SetProjectIdService.d.ts +12 -0
- package/abstractions/services/SetProjectIdService.js +4 -0
- package/abstractions/services/SetProjectIdService.js.map +1 -0
- package/abstractions/services/StdioService.d.ts +9 -0
- package/abstractions/services/StdioService.js +4 -0
- package/abstractions/services/StdioService.js.map +1 -0
- package/abstractions/services/UiService.d.ts +15 -0
- package/abstractions/services/UiService.js +4 -0
- package/abstractions/services/UiService.js.map +1 -0
- package/abstractions/services/ValidateProjectConfigService.d.ts +10 -0
- package/abstractions/services/ValidateProjectConfigService.js +4 -0
- package/abstractions/services/ValidateProjectConfigService.js.map +1 -0
- package/abstractions/services/WatchedLambdaFunctionsService.d.ts +28 -0
- package/abstractions/services/WatchedLambdaFunctionsService.js +4 -0
- package/abstractions/services/WatchedLambdaFunctionsService.js.map +1 -0
- package/abstractions/services/WcpService.d.ts +31 -0
- package/abstractions/services/WcpService.js +4 -0
- package/abstractions/services/WcpService.js.map +1 -0
- package/abstractions/services/index.d.ts +35 -0
- package/abstractions/services/index.js +37 -0
- package/abstractions/services/index.js.map +1 -0
- package/abstractions/types.d.ts +1 -0
- package/abstractions/types.js +3 -0
- package/abstractions/types.js.map +1 -0
- package/components/Wcp.d.ts +19 -0
- package/components/Wcp.js +48 -0
- package/components/Wcp.js.map +1 -0
- package/createProjectSdkContainer.d.ts +3 -0
- package/createProjectSdkContainer.js +117 -0
- package/createProjectSdkContainer.js.map +1 -0
- package/decorators/BuildAppWithHooks.d.ts +17 -0
- package/decorators/BuildAppWithHooks.js +50 -0
- package/decorators/BuildAppWithHooks.js.map +1 -0
- package/decorators/DeployAppClearWatchedLambdaFunctions.d.ts +17 -0
- package/decorators/DeployAppClearWatchedLambdaFunctions.js +34 -0
- package/decorators/DeployAppClearWatchedLambdaFunctions.js.map +1 -0
- package/decorators/DeployAppRefreshStackOutputCache.d.ts +17 -0
- package/decorators/DeployAppRefreshStackOutputCache.js +36 -0
- package/decorators/DeployAppRefreshStackOutputCache.js.map +1 -0
- package/decorators/DeployAppWithHooks.d.ts +17 -0
- package/decorators/DeployAppWithHooks.js +48 -0
- package/decorators/DeployAppWithHooks.js.map +1 -0
- package/decorators/DeployAppWithWatchedLambdaReplacement.d.ts +17 -0
- package/decorators/DeployAppWithWatchedLambdaReplacement.js +43 -0
- package/decorators/DeployAppWithWatchedLambdaReplacement.js.map +1 -0
- package/decorators/GetFeatureFlagsWithLicense.d.ts +13 -0
- package/decorators/GetFeatureFlagsWithLicense.js +71 -0
- package/decorators/GetFeatureFlagsWithLicense.js.map +1 -0
- package/decorators/GetPulumiServiceWithDownloadInfo.d.ts +11 -0
- package/decorators/GetPulumiServiceWithDownloadInfo.js +25 -0
- package/decorators/GetPulumiServiceWithDownloadInfo.js.map +1 -0
- package/decorators/WatchWithHooks.d.ts +13 -0
- package/decorators/WatchWithHooks.js +34 -0
- package/decorators/WatchWithHooks.js.map +1 -0
- package/decorators/index.d.ts +8 -0
- package/decorators/index.js +10 -0
- package/decorators/index.js.map +1 -0
- package/defineExtension/createExtensionDefinition.d.ts +4 -0
- package/defineExtension/createExtensionDefinition.js +23 -0
- package/defineExtension/createExtensionDefinition.js.map +1 -0
- package/defineExtension/createExtensionReactComponent.d.ts +11 -0
- package/defineExtension/createExtensionReactComponent.js +51 -0
- package/defineExtension/createExtensionReactComponent.js.map +1 -0
- package/defineExtension/defineExtension.d.ts +9 -0
- package/defineExtension/defineExtension.js +14 -0
- package/defineExtension/defineExtension.js.map +1 -0
- package/defineExtension/index.d.ts +3 -0
- package/defineExtension/index.js +5 -0
- package/defineExtension/index.js.map +1 -0
- package/defineExtension/models/ExtensionDefinitionModel.d.ts +22 -0
- package/defineExtension/models/ExtensionDefinitionModel.js +13 -0
- package/defineExtension/models/ExtensionDefinitionModel.js.map +1 -0
- package/defineExtension/models/ExtensionInstanceModel.d.ts +16 -0
- package/defineExtension/models/ExtensionInstanceModel.js +27 -0
- package/defineExtension/models/ExtensionInstanceModel.js.map +1 -0
- package/defineExtension/models/index.d.ts +2 -0
- package/defineExtension/models/index.js +4 -0
- package/defineExtension/models/index.js.map +1 -0
- package/defineExtension/types.d.ts +24 -0
- package/defineExtension/types.js +3 -0
- package/defineExtension/types.js.map +1 -0
- package/defineExtension/zodTypes/zodSrcPath.d.ts +16 -0
- package/defineExtension/zodTypes/zodSrcPath.js +61 -0
- package/defineExtension/zodTypes/zodSrcPath.js.map +1 -0
- package/exports/infra/admin.d.ts +6 -0
- package/exports/infra/admin.js +8 -0
- package/exports/infra/admin.js.map +1 -0
- package/exports/infra/api.d.ts +6 -0
- package/exports/infra/api.js +8 -0
- package/exports/infra/api.js.map +1 -0
- package/exports/infra/core.d.ts +5 -0
- package/exports/infra/core.js +7 -0
- package/exports/infra/core.js.map +1 -0
- package/exports/infra/index.d.ts +8 -0
- package/exports/infra/index.js +10 -0
- package/exports/infra/index.js.map +1 -0
- package/extensions/AdminBuildParam.d.ts +11 -0
- package/extensions/AdminBuildParam.js +184 -0
- package/extensions/AdminBuildParam.js.map +1 -0
- package/extensions/AdminExtension.d.ts +11 -0
- package/extensions/AdminExtension.js +99 -0
- package/extensions/AdminExtension.js.map +1 -0
- package/extensions/ApiBuildParam.d.ts +11 -0
- package/extensions/ApiBuildParam.js +119 -0
- package/extensions/ApiBuildParam.js.map +1 -0
- package/extensions/ApiExtension.d.ts +11 -0
- package/extensions/ApiExtension.js +102 -0
- package/extensions/ApiExtension.js.map +1 -0
- package/extensions/DatabaseSetup.d.ts +8 -0
- package/extensions/DatabaseSetup.js +14 -0
- package/extensions/DatabaseSetup.js.map +1 -0
- package/extensions/EnvVar.d.ts +11 -0
- package/extensions/EnvVar.js +17 -0
- package/extensions/EnvVar.js.map +1 -0
- package/extensions/ExtensionDefinitions.d.ts +8 -0
- package/extensions/ExtensionDefinitions.js +15 -0
- package/extensions/ExtensionDefinitions.js.map +1 -0
- package/extensions/FeatureFlags.d.ts +92 -0
- package/extensions/FeatureFlags.js +43 -0
- package/extensions/FeatureFlags.js.map +1 -0
- package/extensions/Project/EnsureApiDeployedBeforeAdminBuild.d.ts +11 -0
- package/extensions/Project/EnsureApiDeployedBeforeAdminBuild.js +31 -0
- package/extensions/Project/EnsureApiDeployedBeforeAdminBuild.js.map +1 -0
- package/extensions/Project/EnsureApiDeployedBeforeAdminWatch.d.ts +11 -0
- package/extensions/Project/EnsureApiDeployedBeforeAdminWatch.js +31 -0
- package/extensions/Project/EnsureApiDeployedBeforeAdminWatch.js.map +1 -0
- package/extensions/Project/EnsureApiDeployedBeforeWatch.d.ts +11 -0
- package/extensions/Project/EnsureApiDeployedBeforeWatch.js +31 -0
- package/extensions/Project/EnsureApiDeployedBeforeWatch.js.map +1 -0
- package/extensions/Project/EnsureCoreDeployedBeforeApiDeploy.d.ts +11 -0
- package/extensions/Project/EnsureCoreDeployedBeforeApiDeploy.js +34 -0
- package/extensions/Project/EnsureCoreDeployedBeforeApiDeploy.js.map +1 -0
- package/extensions/Project/EnsureTelemetryEnabledForOss.d.ts +13 -0
- package/extensions/Project/EnsureTelemetryEnabledForOss.js +37 -0
- package/extensions/Project/EnsureTelemetryEnabledForOss.js.map +1 -0
- package/extensions/Project/SetAdminAppEnvVarsBeforeBuild.d.ts +12 -0
- package/extensions/Project/SetAdminAppEnvVarsBeforeBuild.js +43 -0
- package/extensions/Project/SetAdminAppEnvVarsBeforeBuild.js.map +1 -0
- package/extensions/Project/SetAdminAppEnvVarsBeforeWatch.d.ts +12 -0
- package/extensions/Project/SetAdminAppEnvVarsBeforeWatch.js +43 -0
- package/extensions/Project/SetAdminAppEnvVarsBeforeWatch.js.map +1 -0
- package/extensions/Project/ShowConfigChangeInfoBeforeAdminWatch.d.ts +10 -0
- package/extensions/Project/ShowConfigChangeInfoBeforeAdminWatch.js +15 -0
- package/extensions/Project/ShowConfigChangeInfoBeforeAdminWatch.js.map +1 -0
- package/extensions/Project/ShowConfigChangeInfoBeforeApiWatch.d.ts +10 -0
- package/extensions/Project/ShowConfigChangeInfoBeforeApiWatch.js +15 -0
- package/extensions/Project/ShowConfigChangeInfoBeforeApiWatch.js.map +1 -0
- package/extensions/Project/TelemetryNoLongerNewUser.d.ts +8 -0
- package/extensions/Project/TelemetryNoLongerNewUser.js +14 -0
- package/extensions/Project/TelemetryNoLongerNewUser.js.map +1 -0
- package/extensions/Project/ValidateProductionPulumiState.d.ts +11 -0
- package/extensions/Project/ValidateProductionPulumiState.js +37 -0
- package/extensions/Project/ValidateProductionPulumiState.js.map +1 -0
- package/extensions/Project/WcpInjectTelemetryClientAfterBuild.d.ts +14 -0
- package/extensions/Project/WcpInjectTelemetryClientAfterBuild.js +60 -0
- package/extensions/Project/WcpInjectTelemetryClientAfterBuild.js.map +1 -0
- package/extensions/Project.d.ts +2 -0
- package/extensions/Project.js +33 -0
- package/extensions/Project.js.map +1 -0
- package/extensions/ProjectDecorator.d.ts +8 -0
- package/extensions/ProjectDecorator.js +22 -0
- package/extensions/ProjectDecorator.js.map +1 -0
- package/extensions/ProjectId.d.ts +8 -0
- package/extensions/ProjectId.js +19 -0
- package/extensions/ProjectId.js.map +1 -0
- package/extensions/ProjectImplementation.d.ts +11 -0
- package/extensions/ProjectImplementation.js +23 -0
- package/extensions/ProjectImplementation.js.map +1 -0
- package/extensions/Telemetry.d.ts +8 -0
- package/extensions/Telemetry.js +14 -0
- package/extensions/Telemetry.js.map +1 -0
- package/extensions/hooks/AdminAfterBuild.d.ts +8 -0
- package/extensions/hooks/AdminAfterBuild.js +25 -0
- package/extensions/hooks/AdminAfterBuild.js.map +1 -0
- package/extensions/hooks/AdminAfterDeploy.d.ts +8 -0
- package/extensions/hooks/AdminAfterDeploy.js +25 -0
- package/extensions/hooks/AdminAfterDeploy.js.map +1 -0
- package/extensions/hooks/AdminBeforeBuild.d.ts +8 -0
- package/extensions/hooks/AdminBeforeBuild.js +25 -0
- package/extensions/hooks/AdminBeforeBuild.js.map +1 -0
- package/extensions/hooks/AdminBeforeDeploy.d.ts +8 -0
- package/extensions/hooks/AdminBeforeDeploy.js +25 -0
- package/extensions/hooks/AdminBeforeDeploy.js.map +1 -0
- package/extensions/hooks/AdminBeforeWatch.d.ts +8 -0
- package/extensions/hooks/AdminBeforeWatch.js +25 -0
- package/extensions/hooks/AdminBeforeWatch.js.map +1 -0
- package/extensions/hooks/AfterBuild.d.ts +8 -0
- package/extensions/hooks/AfterBuild.js +24 -0
- package/extensions/hooks/AfterBuild.js.map +1 -0
- package/extensions/hooks/AfterDeploy.d.ts +8 -0
- package/extensions/hooks/AfterDeploy.js +24 -0
- package/extensions/hooks/AfterDeploy.js.map +1 -0
- package/extensions/hooks/ApiAfterBuild.d.ts +8 -0
- package/extensions/hooks/ApiAfterBuild.js +25 -0
- package/extensions/hooks/ApiAfterBuild.js.map +1 -0
- package/extensions/hooks/ApiAfterDeploy.d.ts +8 -0
- package/extensions/hooks/ApiAfterDeploy.js +25 -0
- package/extensions/hooks/ApiAfterDeploy.js.map +1 -0
- package/extensions/hooks/ApiBeforeBuild.d.ts +8 -0
- package/extensions/hooks/ApiBeforeBuild.js +25 -0
- package/extensions/hooks/ApiBeforeBuild.js.map +1 -0
- package/extensions/hooks/ApiBeforeDeploy.d.ts +8 -0
- package/extensions/hooks/ApiBeforeDeploy.js +25 -0
- package/extensions/hooks/ApiBeforeDeploy.js.map +1 -0
- package/extensions/hooks/ApiBeforeWatch.d.ts +8 -0
- package/extensions/hooks/ApiBeforeWatch.js +25 -0
- package/extensions/hooks/ApiBeforeWatch.js.map +1 -0
- package/extensions/hooks/BeforeBuild.d.ts +8 -0
- package/extensions/hooks/BeforeBuild.js +24 -0
- package/extensions/hooks/BeforeBuild.js.map +1 -0
- package/extensions/hooks/BeforeDeploy.d.ts +8 -0
- package/extensions/hooks/BeforeDeploy.js +24 -0
- package/extensions/hooks/BeforeDeploy.js.map +1 -0
- package/extensions/hooks/BeforeWatch.d.ts +8 -0
- package/extensions/hooks/BeforeWatch.js +24 -0
- package/extensions/hooks/BeforeWatch.js.map +1 -0
- package/extensions/hooks/CoreAfterBuild.d.ts +8 -0
- package/extensions/hooks/CoreAfterBuild.js +25 -0
- package/extensions/hooks/CoreAfterBuild.js.map +1 -0
- package/extensions/hooks/CoreAfterDeploy.d.ts +8 -0
- package/extensions/hooks/CoreAfterDeploy.js +25 -0
- package/extensions/hooks/CoreAfterDeploy.js.map +1 -0
- package/extensions/hooks/CoreBeforeBuild.d.ts +8 -0
- package/extensions/hooks/CoreBeforeBuild.js +25 -0
- package/extensions/hooks/CoreBeforeBuild.js.map +1 -0
- package/extensions/hooks/CoreBeforeDeploy.d.ts +8 -0
- package/extensions/hooks/CoreBeforeDeploy.js +25 -0
- package/extensions/hooks/CoreBeforeDeploy.js.map +1 -0
- package/extensions/hooks/CoreBeforeWatch.d.ts +8 -0
- package/extensions/hooks/CoreBeforeWatch.js +25 -0
- package/extensions/hooks/CoreBeforeWatch.js.map +1 -0
- package/extensions/hooks/index.d.ts +20 -0
- package/extensions/hooks/index.js +22 -0
- package/extensions/hooks/index.js.map +1 -0
- package/extensions/index.d.ts +216 -0
- package/extensions/index.js +75 -0
- package/extensions/index.js.map +1 -0
- package/extensions/infra/Env.d.ts +19 -0
- package/extensions/infra/Env.js +79 -0
- package/extensions/infra/Env.js.map +1 -0
- package/extensions/infra/index.d.ts +1 -0
- package/extensions/infra/index.js +3 -0
- package/extensions/infra/index.js.map +1 -0
- package/extensions/pulumi/AdminPulumi.d.ts +8 -0
- package/extensions/pulumi/AdminPulumi.js +25 -0
- package/extensions/pulumi/AdminPulumi.js.map +1 -0
- package/extensions/pulumi/AdminStackOutputValue.d.ts +11 -0
- package/extensions/pulumi/AdminStackOutputValue.js +17 -0
- package/extensions/pulumi/AdminStackOutputValue.js.map +1 -0
- package/extensions/pulumi/ApiPulumi.d.ts +8 -0
- package/extensions/pulumi/ApiPulumi.js +25 -0
- package/extensions/pulumi/ApiPulumi.js.map +1 -0
- package/extensions/pulumi/ApiStackOutputValue.d.ts +11 -0
- package/extensions/pulumi/ApiStackOutputValue.js +17 -0
- package/extensions/pulumi/ApiStackOutputValue.js.map +1 -0
- package/extensions/pulumi/CorePulumi.d.ts +8 -0
- package/extensions/pulumi/CorePulumi.js +25 -0
- package/extensions/pulumi/CorePulumi.js.map +1 -0
- package/extensions/pulumi/CoreStackOutputValue.d.ts +11 -0
- package/extensions/pulumi/CoreStackOutputValue.js +17 -0
- package/extensions/pulumi/CoreStackOutputValue.js.map +1 -0
- package/extensions/pulumi/ProductionEnvironments.d.ts +8 -0
- package/extensions/pulumi/ProductionEnvironments.js +31 -0
- package/extensions/pulumi/ProductionEnvironments.js.map +1 -0
- package/extensions/pulumi/PulumiResourceNamePrefix.d.ts +8 -0
- package/extensions/pulumi/PulumiResourceNamePrefix.js +14 -0
- package/extensions/pulumi/PulumiResourceNamePrefix.js.map +1 -0
- package/extensions/pulumi/index.d.ts +8 -0
- package/extensions/pulumi/index.js +10 -0
- package/extensions/pulumi/index.js.map +1 -0
- package/features/BuildApp/BuildApp.d.ts +12 -0
- package/features/BuildApp/BuildApp.js +48 -0
- package/features/BuildApp/BuildApp.js.map +1 -0
- package/features/BuildApp/PackagesBuilder/PackagesBuilder.d.ts +32 -0
- package/features/BuildApp/PackagesBuilder/PackagesBuilder.js +44 -0
- package/features/BuildApp/PackagesBuilder/PackagesBuilder.js.map +1 -0
- package/features/BuildApp/PackagesBuilder/RunnableBuildProcess.d.ts +16 -0
- package/features/BuildApp/PackagesBuilder/RunnableBuildProcess.js +38 -0
- package/features/BuildApp/PackagesBuilder/RunnableBuildProcess.js.map +1 -0
- package/features/BuildApp/PackagesBuilder/RunnableBuildProcesses.d.ts +16 -0
- package/features/BuildApp/PackagesBuilder/RunnableBuildProcesses.js +49 -0
- package/features/BuildApp/PackagesBuilder/RunnableBuildProcesses.js.map +1 -0
- package/features/BuildApp/PackagesBuilder/utils/requireConfig.d.ts +18 -0
- package/features/BuildApp/PackagesBuilder/utils/requireConfig.js +15 -0
- package/features/BuildApp/PackagesBuilder/utils/requireConfig.js.map +1 -0
- package/features/BuildApp/PackagesBuilder/worker.d.ts +1 -0
- package/features/BuildApp/PackagesBuilder/worker.js +50 -0
- package/features/BuildApp/PackagesBuilder/worker.js.map +1 -0
- package/features/BuildApp/index.d.ts +1 -0
- package/features/BuildApp/index.js +3 -0
- package/features/BuildApp/index.js.map +1 -0
- package/features/DeployApp/DeployApp.d.ts +14 -0
- package/features/DeployApp/DeployApp.js +86 -0
- package/features/DeployApp/DeployApp.js.map +1 -0
- package/features/DeployApp/index.d.ts +1 -0
- package/features/DeployApp/index.js +3 -0
- package/features/DeployApp/index.js.map +1 -0
- package/features/DestroyApp/DestroyApp.d.ts +14 -0
- package/features/DestroyApp/DestroyApp.js +52 -0
- package/features/DestroyApp/DestroyApp.js.map +1 -0
- package/features/DestroyApp/index.d.ts +1 -0
- package/features/DestroyApp/index.js +3 -0
- package/features/DestroyApp/index.js.map +1 -0
- package/features/ExportStack/ExportStack.d.ts +9 -0
- package/features/ExportStack/ExportStack.js +21 -0
- package/features/ExportStack/ExportStack.js.map +1 -0
- package/features/ExportStack/index.d.ts +1 -0
- package/features/ExportStack/index.js +3 -0
- package/features/ExportStack/index.js.map +1 -0
- package/features/GetApp/GetApp.d.ts +7 -0
- package/features/GetApp/GetApp.js +17 -0
- package/features/GetApp/GetApp.js.map +1 -0
- package/features/GetApp/index.d.ts +1 -0
- package/features/GetApp/index.js +3 -0
- package/features/GetApp/index.js.map +1 -0
- package/features/GetAppOutput/GetAppOutput.d.ts +12 -0
- package/features/GetAppOutput/GetAppOutput.js +40 -0
- package/features/GetAppOutput/GetAppOutput.js.map +1 -0
- package/features/GetAppOutput/index.d.ts +1 -0
- package/features/GetAppOutput/index.js +3 -0
- package/features/GetAppOutput/index.js.map +1 -0
- package/features/GetAppStackOutput/GetAppStackOutput.d.ts +10 -0
- package/features/GetAppStackOutput/GetAppStackOutput.js +21 -0
- package/features/GetAppStackOutput/GetAppStackOutput.js.map +1 -0
- package/features/GetAppStackOutput/index.d.ts +1 -0
- package/features/GetAppStackOutput/index.js +3 -0
- package/features/GetAppStackOutput/index.js.map +1 -0
- package/features/GetFeatureFlags/GetFeatureFlags.d.ts +10 -0
- package/features/GetFeatureFlags/GetFeatureFlags.js +29 -0
- package/features/GetFeatureFlags/GetFeatureFlags.js.map +1 -0
- package/features/GetFeatureFlags/index.d.ts +1 -0
- package/features/GetFeatureFlags/index.js +3 -0
- package/features/GetFeatureFlags/index.js.map +1 -0
- package/features/GetLogger/GetLogger.d.ts +7 -0
- package/features/GetLogger/GetLogger.js +17 -0
- package/features/GetLogger/GetLogger.js.map +1 -0
- package/features/GetLogger/index.d.ts +1 -0
- package/features/GetLogger/index.js +3 -0
- package/features/GetLogger/index.js.map +1 -0
- package/features/GetProductionEnvironments/GetProductionEnvironments.d.ts +7 -0
- package/features/GetProductionEnvironments/GetProductionEnvironments.js +26 -0
- package/features/GetProductionEnvironments/GetProductionEnvironments.js.map +1 -0
- package/features/GetProductionEnvironments/index.d.ts +1 -0
- package/features/GetProductionEnvironments/index.js +3 -0
- package/features/GetProductionEnvironments/index.js.map +1 -0
- package/features/GetProject/GetProject.d.ts +7 -0
- package/features/GetProject/GetProject.js +17 -0
- package/features/GetProject/GetProject.js.map +1 -0
- package/features/GetProject/index.d.ts +1 -0
- package/features/GetProject/index.js +3 -0
- package/features/GetProject/index.js.map +1 -0
- package/features/GetProjectConfig/GetProjectConfig.d.ts +7 -0
- package/features/GetProjectConfig/GetProjectConfig.js +17 -0
- package/features/GetProjectConfig/GetProjectConfig.js.map +1 -0
- package/features/GetProjectConfig/index.d.ts +1 -0
- package/features/GetProjectConfig/index.js +3 -0
- package/features/GetProjectConfig/index.js.map +1 -0
- package/features/GetProjectInfo/GetProjectInfo.d.ts +7 -0
- package/features/GetProjectInfo/GetProjectInfo.js +17 -0
- package/features/GetProjectInfo/GetProjectInfo.js.map +1 -0
- package/features/GetProjectInfo/index.d.ts +1 -0
- package/features/GetProjectInfo/index.js +3 -0
- package/features/GetProjectInfo/index.js.map +1 -0
- package/features/GetPulumiResourceNamePrefix/GetPulumiResourceNamePrefix.d.ts +7 -0
- package/features/GetPulumiResourceNamePrefix/GetPulumiResourceNamePrefix.js +24 -0
- package/features/GetPulumiResourceNamePrefix/GetPulumiResourceNamePrefix.js.map +1 -0
- package/features/GetPulumiResourceNamePrefix/index.d.ts +1 -0
- package/features/GetPulumiResourceNamePrefix/index.js +3 -0
- package/features/GetPulumiResourceNamePrefix/index.js.map +1 -0
- package/features/InstallExtension/InstallExtension.d.ts +7 -0
- package/features/InstallExtension/InstallExtension.js +17 -0
- package/features/InstallExtension/InstallExtension.js.map +1 -0
- package/features/InstallExtension/index.d.ts +1 -0
- package/features/InstallExtension/index.js +3 -0
- package/features/InstallExtension/index.js.map +1 -0
- package/features/IsCi/IsCi.d.ts +7 -0
- package/features/IsCi/IsCi.js +17 -0
- package/features/IsCi/IsCi.js.map +1 -0
- package/features/IsCi/index.d.ts +1 -0
- package/features/IsCi/index.js +3 -0
- package/features/IsCi/index.js.map +1 -0
- package/features/IsTelemetryEnabled/IsTelemetryEnabled.d.ts +7 -0
- package/features/IsTelemetryEnabled/IsTelemetryEnabled.js +25 -0
- package/features/IsTelemetryEnabled/IsTelemetryEnabled.js.map +1 -0
- package/features/IsTelemetryEnabled/index.d.ts +1 -0
- package/features/IsTelemetryEnabled/index.js +3 -0
- package/features/IsTelemetryEnabled/index.js.map +1 -0
- package/features/IsWcpEnabled/IsWcpEnabled.d.ts +7 -0
- package/features/IsWcpEnabled/IsWcpEnabled.js +18 -0
- package/features/IsWcpEnabled/IsWcpEnabled.js.map +1 -0
- package/features/IsWcpEnabled/index.d.ts +1 -0
- package/features/IsWcpEnabled/index.js +3 -0
- package/features/IsWcpEnabled/index.js.map +1 -0
- package/features/IsWebinyJsRepo/IsWebinyJsRepo.d.ts +7 -0
- package/features/IsWebinyJsRepo/IsWebinyJsRepo.js +22 -0
- package/features/IsWebinyJsRepo/IsWebinyJsRepo.js.map +1 -0
- package/features/IsWebinyJsRepo/index.d.ts +1 -0
- package/features/IsWebinyJsRepo/index.js +3 -0
- package/features/IsWebinyJsRepo/index.js.map +1 -0
- package/features/RefreshApp/RefreshApp.d.ts +13 -0
- package/features/RefreshApp/RefreshApp.js +53 -0
- package/features/RefreshApp/RefreshApp.js.map +1 -0
- package/features/RefreshApp/index.d.ts +1 -0
- package/features/RefreshApp/index.js +3 -0
- package/features/RefreshApp/index.js.map +1 -0
- package/features/RunPulumiCommand/RunPulumiCommand.d.ts +13 -0
- package/features/RunPulumiCommand/RunPulumiCommand.js +50 -0
- package/features/RunPulumiCommand/RunPulumiCommand.js.map +1 -0
- package/features/RunPulumiCommand/index.d.ts +1 -0
- package/features/RunPulumiCommand/index.js +3 -0
- package/features/RunPulumiCommand/index.js.map +1 -0
- package/features/ValidateProjectConfig/ValidateProjectConfig.d.ts +7 -0
- package/features/ValidateProjectConfig/ValidateProjectConfig.js +17 -0
- package/features/ValidateProjectConfig/ValidateProjectConfig.js.map +1 -0
- package/features/ValidateProjectConfig/index.d.ts +1 -0
- package/features/ValidateProjectConfig/index.js +3 -0
- package/features/ValidateProjectConfig/index.js.map +1 -0
- package/features/Watch/Watch.d.ts +28 -0
- package/features/Watch/Watch.js +194 -0
- package/features/Watch/Watch.js.map +1 -0
- package/features/Watch/getIotEndpoint.d.ts +2 -0
- package/features/Watch/getIotEndpoint.js +16 -0
- package/features/Watch/getIotEndpoint.js.map +1 -0
- package/features/Watch/handler/handler.zip +0 -0
- package/features/Watch/index.d.ts +1 -0
- package/features/Watch/index.js +3 -0
- package/features/Watch/index.js.map +1 -0
- package/features/Watch/initInvocationForwarding.d.ts +9 -0
- package/features/Watch/initInvocationForwarding.js +110 -0
- package/features/Watch/initInvocationForwarding.js.map +1 -0
- package/features/Watch/localInvocationWorker.d.ts +1 -0
- package/features/Watch/localInvocationWorker.js +36 -0
- package/features/Watch/localInvocationWorker.js.map +1 -0
- package/features/Watch/replaceLambdaFunctions.d.ts +19 -0
- package/features/Watch/replaceLambdaFunctions.js +95 -0
- package/features/Watch/replaceLambdaFunctions.js.map +1 -0
- package/features/Watch/watchers/BasePackagesWatcher.d.ts +15 -0
- package/features/Watch/watchers/BasePackagesWatcher.js +16 -0
- package/features/Watch/watchers/BasePackagesWatcher.js.map +1 -0
- package/features/Watch/watchers/MultiplePackagesWatcher.d.ts +5 -0
- package/features/Watch/watchers/MultiplePackagesWatcher.js +18 -0
- package/features/Watch/watchers/MultiplePackagesWatcher.js.map +1 -0
- package/features/Watch/watchers/PackagesWatcher.d.ts +5 -0
- package/features/Watch/watchers/PackagesWatcher.js +27 -0
- package/features/Watch/watchers/PackagesWatcher.js.map +1 -0
- package/features/Watch/watchers/RunnableWatchProcess.d.ts +20 -0
- package/features/Watch/watchers/RunnableWatchProcess.js +47 -0
- package/features/Watch/watchers/RunnableWatchProcess.js.map +1 -0
- package/features/Watch/watchers/RunnableWatchProcesses.d.ts +13 -0
- package/features/Watch/watchers/RunnableWatchProcesses.js +37 -0
- package/features/Watch/watchers/RunnableWatchProcesses.js.map +1 -0
- package/features/Watch/watchers/SinglePackageWatcher.d.ts +5 -0
- package/features/Watch/watchers/SinglePackageWatcher.js +14 -0
- package/features/Watch/watchers/SinglePackageWatcher.js.map +1 -0
- package/features/Watch/watchers/WebinyConfigWatcher.d.ts +16 -0
- package/features/Watch/watchers/WebinyConfigWatcher.js +45 -0
- package/features/Watch/watchers/WebinyConfigWatcher.js.map +1 -0
- package/features/Watch/watchers/ZeroPackagesWatcher.d.ts +5 -0
- package/features/Watch/watchers/ZeroPackagesWatcher.js +10 -0
- package/features/Watch/watchers/ZeroPackagesWatcher.js.map +1 -0
- package/features/Watch/watchers/utils/measureDuration.d.ts +1 -0
- package/features/Watch/watchers/utils/measureDuration.js +11 -0
- package/features/Watch/watchers/utils/measureDuration.js.map +1 -0
- package/features/Watch/watchers/utils/requireConfig.d.ts +18 -0
- package/features/Watch/watchers/utils/requireConfig.js +15 -0
- package/features/Watch/watchers/utils/requireConfig.js.map +1 -0
- package/features/Watch/watchers/worker.d.ts +1 -0
- package/features/Watch/watchers/worker.js +33 -0
- package/features/Watch/watchers/worker.js.map +1 -0
- package/features/hooks/AdminAfterBuild/AdminBeforeBuild.d.ts +7 -0
- package/features/hooks/AdminAfterBuild/AdminBeforeBuild.js +21 -0
- package/features/hooks/AdminAfterBuild/AdminBeforeBuild.js.map +1 -0
- package/features/hooks/AdminAfterBuild/index.d.ts +1 -0
- package/features/hooks/AdminAfterBuild/index.js +3 -0
- package/features/hooks/AdminAfterBuild/index.js.map +1 -0
- package/features/hooks/AdminAfterDeploy/AdminBeforeBuild.d.ts +7 -0
- package/features/hooks/AdminAfterDeploy/AdminBeforeBuild.js +21 -0
- package/features/hooks/AdminAfterDeploy/AdminBeforeBuild.js.map +1 -0
- package/features/hooks/AdminAfterDeploy/index.d.ts +1 -0
- package/features/hooks/AdminAfterDeploy/index.js +3 -0
- package/features/hooks/AdminAfterDeploy/index.js.map +1 -0
- package/features/hooks/AdminBeforeBuild/AdminBeforeBuild.d.ts +7 -0
- package/features/hooks/AdminBeforeBuild/AdminBeforeBuild.js +21 -0
- package/features/hooks/AdminBeforeBuild/AdminBeforeBuild.js.map +1 -0
- package/features/hooks/AdminBeforeBuild/index.d.ts +1 -0
- package/features/hooks/AdminBeforeBuild/index.js +3 -0
- package/features/hooks/AdminBeforeBuild/index.js.map +1 -0
- package/features/hooks/AdminBeforeDeploy/AdminBeforeDeploy.d.ts +7 -0
- package/features/hooks/AdminBeforeDeploy/AdminBeforeDeploy.js +21 -0
- package/features/hooks/AdminBeforeDeploy/AdminBeforeDeploy.js.map +1 -0
- package/features/hooks/AdminBeforeDeploy/index.d.ts +1 -0
- package/features/hooks/AdminBeforeDeploy/index.js +3 -0
- package/features/hooks/AdminBeforeDeploy/index.js.map +1 -0
- package/features/hooks/AdminBeforeWatch/AdminBeforeWatch.d.ts +7 -0
- package/features/hooks/AdminBeforeWatch/AdminBeforeWatch.js +21 -0
- package/features/hooks/AdminBeforeWatch/AdminBeforeWatch.js.map +1 -0
- package/features/hooks/AdminBeforeWatch/index.d.ts +1 -0
- package/features/hooks/AdminBeforeWatch/index.js +3 -0
- package/features/hooks/AdminBeforeWatch/index.js.map +1 -0
- package/features/hooks/AfterBuild/AfterBuild.d.ts +7 -0
- package/features/hooks/AfterBuild/AfterBuild.js +21 -0
- package/features/hooks/AfterBuild/AfterBuild.js.map +1 -0
- package/features/hooks/AfterBuild/index.d.ts +1 -0
- package/features/hooks/AfterBuild/index.js +3 -0
- package/features/hooks/AfterBuild/index.js.map +1 -0
- package/features/hooks/AfterDeploy/AfterDeploy.d.ts +7 -0
- package/features/hooks/AfterDeploy/AfterDeploy.js +21 -0
- package/features/hooks/AfterDeploy/AfterDeploy.js.map +1 -0
- package/features/hooks/AfterDeploy/index.d.ts +1 -0
- package/features/hooks/AfterDeploy/index.js +3 -0
- package/features/hooks/AfterDeploy/index.js.map +1 -0
- package/features/hooks/ApiAfterBuild/ApiBeforeBuild.d.ts +7 -0
- package/features/hooks/ApiAfterBuild/ApiBeforeBuild.js +21 -0
- package/features/hooks/ApiAfterBuild/ApiBeforeBuild.js.map +1 -0
- package/features/hooks/ApiAfterBuild/index.d.ts +1 -0
- package/features/hooks/ApiAfterBuild/index.js +3 -0
- package/features/hooks/ApiAfterBuild/index.js.map +1 -0
- package/features/hooks/ApiAfterDeploy/ApiBeforeBuild.d.ts +7 -0
- package/features/hooks/ApiAfterDeploy/ApiBeforeBuild.js +21 -0
- package/features/hooks/ApiAfterDeploy/ApiBeforeBuild.js.map +1 -0
- package/features/hooks/ApiAfterDeploy/index.d.ts +1 -0
- package/features/hooks/ApiAfterDeploy/index.js +3 -0
- package/features/hooks/ApiAfterDeploy/index.js.map +1 -0
- package/features/hooks/ApiBeforeBuild/ApiBeforeBuild.d.ts +7 -0
- package/features/hooks/ApiBeforeBuild/ApiBeforeBuild.js +21 -0
- package/features/hooks/ApiBeforeBuild/ApiBeforeBuild.js.map +1 -0
- package/features/hooks/ApiBeforeBuild/index.d.ts +1 -0
- package/features/hooks/ApiBeforeBuild/index.js +3 -0
- package/features/hooks/ApiBeforeBuild/index.js.map +1 -0
- package/features/hooks/ApiBeforeDeploy/ApiBeforeDeploy.d.ts +7 -0
- package/features/hooks/ApiBeforeDeploy/ApiBeforeDeploy.js +21 -0
- package/features/hooks/ApiBeforeDeploy/ApiBeforeDeploy.js.map +1 -0
- package/features/hooks/ApiBeforeDeploy/index.d.ts +1 -0
- package/features/hooks/ApiBeforeDeploy/index.js +3 -0
- package/features/hooks/ApiBeforeDeploy/index.js.map +1 -0
- package/features/hooks/ApiBeforeWatch/ApiBeforeWatch.d.ts +7 -0
- package/features/hooks/ApiBeforeWatch/ApiBeforeWatch.js +21 -0
- package/features/hooks/ApiBeforeWatch/ApiBeforeWatch.js.map +1 -0
- package/features/hooks/ApiBeforeWatch/index.d.ts +1 -0
- package/features/hooks/ApiBeforeWatch/index.js +3 -0
- package/features/hooks/ApiBeforeWatch/index.js.map +1 -0
- package/features/hooks/BeforeBuild/BeforeBuild.d.ts +7 -0
- package/features/hooks/BeforeBuild/BeforeBuild.js +21 -0
- package/features/hooks/BeforeBuild/BeforeBuild.js.map +1 -0
- package/features/hooks/BeforeBuild/index.d.ts +1 -0
- package/features/hooks/BeforeBuild/index.js +3 -0
- package/features/hooks/BeforeBuild/index.js.map +1 -0
- package/features/hooks/BeforeDeploy/BeforeDeploy.d.ts +7 -0
- package/features/hooks/BeforeDeploy/BeforeDeploy.js +21 -0
- package/features/hooks/BeforeDeploy/BeforeDeploy.js.map +1 -0
- package/features/hooks/BeforeDeploy/index.d.ts +1 -0
- package/features/hooks/BeforeDeploy/index.js +3 -0
- package/features/hooks/BeforeDeploy/index.js.map +1 -0
- package/features/hooks/BeforeWatch/BeforeWatch.d.ts +7 -0
- package/features/hooks/BeforeWatch/BeforeWatch.js +21 -0
- package/features/hooks/BeforeWatch/BeforeWatch.js.map +1 -0
- package/features/hooks/BeforeWatch/index.d.ts +1 -0
- package/features/hooks/BeforeWatch/index.js +3 -0
- package/features/hooks/BeforeWatch/index.js.map +1 -0
- package/features/hooks/CoreAfterBuild/CoreBeforeBuild.d.ts +7 -0
- package/features/hooks/CoreAfterBuild/CoreBeforeBuild.js +21 -0
- package/features/hooks/CoreAfterBuild/CoreBeforeBuild.js.map +1 -0
- package/features/hooks/CoreAfterBuild/index.d.ts +1 -0
- package/features/hooks/CoreAfterBuild/index.js +3 -0
- package/features/hooks/CoreAfterBuild/index.js.map +1 -0
- package/features/hooks/CoreAfterDeploy/CoreBeforeBuild.d.ts +7 -0
- package/features/hooks/CoreAfterDeploy/CoreBeforeBuild.js +21 -0
- package/features/hooks/CoreAfterDeploy/CoreBeforeBuild.js.map +1 -0
- package/features/hooks/CoreAfterDeploy/index.d.ts +1 -0
- package/features/hooks/CoreAfterDeploy/index.js +3 -0
- package/features/hooks/CoreAfterDeploy/index.js.map +1 -0
- package/features/hooks/CoreBeforeBuild/CoreBeforeBuild.d.ts +7 -0
- package/features/hooks/CoreBeforeBuild/CoreBeforeBuild.js +21 -0
- package/features/hooks/CoreBeforeBuild/CoreBeforeBuild.js.map +1 -0
- package/features/hooks/CoreBeforeBuild/index.d.ts +1 -0
- package/features/hooks/CoreBeforeBuild/index.js +3 -0
- package/features/hooks/CoreBeforeBuild/index.js.map +1 -0
- package/features/hooks/CoreBeforeDeploy/CoreBeforeDeploy.d.ts +7 -0
- package/features/hooks/CoreBeforeDeploy/CoreBeforeDeploy.js +21 -0
- package/features/hooks/CoreBeforeDeploy/CoreBeforeDeploy.js.map +1 -0
- package/features/hooks/CoreBeforeDeploy/index.d.ts +1 -0
- package/features/hooks/CoreBeforeDeploy/index.js +3 -0
- package/features/hooks/CoreBeforeDeploy/index.js.map +1 -0
- package/features/hooks/CoreBeforeWatch/CoreBeforeWatch.d.ts +7 -0
- package/features/hooks/CoreBeforeWatch/CoreBeforeWatch.js +21 -0
- package/features/hooks/CoreBeforeWatch/CoreBeforeWatch.js.map +1 -0
- package/features/hooks/CoreBeforeWatch/index.d.ts +1 -0
- package/features/hooks/CoreBeforeWatch/index.js +3 -0
- package/features/hooks/CoreBeforeWatch/index.js.map +1 -0
- package/features/hooks/index.d.ts +20 -0
- package/features/hooks/index.js +22 -0
- package/features/hooks/index.js.map +1 -0
- package/features/index.d.ts +25 -0
- package/features/index.js +27 -0
- package/features/index.js.map +1 -0
- package/features/pulumi/AdminPulumi/AdminPulumi.d.ts +7 -0
- package/features/pulumi/AdminPulumi/AdminPulumi.js +21 -0
- package/features/pulumi/AdminPulumi/AdminPulumi.js.map +1 -0
- package/features/pulumi/AdminPulumi/index.d.ts +1 -0
- package/features/pulumi/AdminPulumi/index.js +3 -0
- package/features/pulumi/AdminPulumi/index.js.map +1 -0
- package/features/pulumi/ApiPulumi/ApiPulumi.d.ts +7 -0
- package/features/pulumi/ApiPulumi/ApiPulumi.js +21 -0
- package/features/pulumi/ApiPulumi/ApiPulumi.js.map +1 -0
- package/features/pulumi/ApiPulumi/index.d.ts +1 -0
- package/features/pulumi/ApiPulumi/index.js +3 -0
- package/features/pulumi/ApiPulumi/index.js.map +1 -0
- package/features/pulumi/CorePulumi/CorePulumi.d.ts +7 -0
- package/features/pulumi/CorePulumi/CorePulumi.js +21 -0
- package/features/pulumi/CorePulumi/CorePulumi.js.map +1 -0
- package/features/pulumi/CorePulumi/index.d.ts +1 -0
- package/features/pulumi/CorePulumi/index.js +3 -0
- package/features/pulumi/CorePulumi/index.js.map +1 -0
- package/features/pulumi/index.d.ts +3 -0
- package/features/pulumi/index.js +5 -0
- package/features/pulumi/index.js.map +1 -0
- package/index.d.ts +15 -0
- package/index.js +20 -0
- package/index.js.map +1 -0
- package/models/AppModel.d.ts +9 -0
- package/models/AppModel.js +25 -0
- package/models/AppModel.js.map +1 -0
- package/models/AppPackageModel.d.ts +10 -0
- package/models/AppPackageModel.js +12 -0
- package/models/AppPackageModel.js.map +1 -0
- package/models/PathModel.d.ts +10 -0
- package/models/PathModel.js +33 -0
- package/models/PathModel.js.map +1 -0
- package/models/ProjectConfigModel.d.ts +10 -0
- package/models/ProjectConfigModel.js +20 -0
- package/models/ProjectConfigModel.js.map +1 -0
- package/models/ProjectModel.d.ts +14 -0
- package/models/ProjectModel.js +40 -0
- package/models/ProjectModel.js.map +1 -0
- package/models/UrlModel.d.ts +9 -0
- package/models/UrlModel.js +28 -0
- package/models/UrlModel.js.map +1 -0
- package/models/WcpEnvironmentModel.d.ts +21 -0
- package/models/WcpEnvironmentModel.js +25 -0
- package/models/WcpEnvironmentModel.js.map +1 -0
- package/models/WcpUserModel.d.ts +21 -0
- package/models/WcpUserModel.js +15 -0
- package/models/WcpUserModel.js.map +1 -0
- package/models/WcpUserPatModel.d.ts +12 -0
- package/models/WcpUserPatModel.js +14 -0
- package/models/WcpUserPatModel.js.map +1 -0
- package/models/index.d.ts +9 -0
- package/models/index.js +11 -0
- package/models/index.js.map +1 -0
- package/package.json +80 -0
- package/services/BuildAppWorkspaceService/BuildAppWorkspaceService.d.ts +9 -0
- package/services/BuildAppWorkspaceService/BuildAppWorkspaceService.js +82 -0
- package/services/BuildAppWorkspaceService/BuildAppWorkspaceService.js.map +1 -0
- package/services/BuildAppWorkspaceService/index.d.ts +1 -0
- package/services/BuildAppWorkspaceService/index.js +3 -0
- package/services/BuildAppWorkspaceService/index.js.map +1 -0
- package/services/BuildProjectWorkspaceService/BuildProjectWorkspaceService.d.ts +8 -0
- package/services/BuildProjectWorkspaceService/BuildProjectWorkspaceService.js +26 -0
- package/services/BuildProjectWorkspaceService/BuildProjectWorkspaceService.js.map +1 -0
- package/services/BuildProjectWorkspaceService/index.d.ts +1 -0
- package/services/BuildProjectWorkspaceService/index.js +3 -0
- package/services/BuildProjectWorkspaceService/index.js.map +1 -0
- package/services/GetAppPackagesService/GetAppPackagesService.d.ts +6 -0
- package/services/GetAppPackagesService/GetAppPackagesService.js +32 -0
- package/services/GetAppPackagesService/GetAppPackagesService.js.map +1 -0
- package/services/GetAppPackagesService/index.d.ts +1 -0
- package/services/GetAppPackagesService/index.js +3 -0
- package/services/GetAppPackagesService/index.js.map +1 -0
- package/services/GetAppService/GetAppService.d.ts +7 -0
- package/services/GetAppService/GetAppService.js +37 -0
- package/services/GetAppService/GetAppService.js.map +1 -0
- package/services/GetAppService/index.d.ts +1 -0
- package/services/GetAppService/index.js +3 -0
- package/services/GetAppService/index.js.map +1 -0
- package/services/GetCwdService/GetCwdService.d.ts +7 -0
- package/services/GetCwdService/GetCwdService.js +18 -0
- package/services/GetCwdService/GetCwdService.js.map +1 -0
- package/services/GetCwdService/index.d.ts +1 -0
- package/services/GetCwdService/index.js +3 -0
- package/services/GetCwdService/index.js.map +1 -0
- package/services/GetProjectConfigService/EnvContext.d.ts +13 -0
- package/services/GetProjectConfigService/EnvContext.js +46 -0
- package/services/GetProjectConfigService/EnvContext.js.map +1 -0
- package/services/GetProjectConfigService/GetProjectConfigService.d.ts +12 -0
- package/services/GetProjectConfigService/GetProjectConfigService.js +127 -0
- package/services/GetProjectConfigService/GetProjectConfigService.js.map +1 -0
- package/services/GetProjectConfigService/WcpProjectLicenseContext.d.ts +14 -0
- package/services/GetProjectConfigService/WcpProjectLicenseContext.js +42 -0
- package/services/GetProjectConfigService/WcpProjectLicenseContext.js.map +1 -0
- package/services/GetProjectConfigService/index.d.ts +1 -0
- package/services/GetProjectConfigService/index.js +3 -0
- package/services/GetProjectConfigService/index.js.map +1 -0
- package/services/GetProjectConfigService/renderConfig.d.ts +17 -0
- package/services/GetProjectConfigService/renderConfig.js +45 -0
- package/services/GetProjectConfigService/renderConfig.js.map +1 -0
- package/services/GetProjectConfigService/renderConfigWorker.d.ts +1 -0
- package/services/GetProjectConfigService/renderConfigWorker.js +58 -0
- package/services/GetProjectConfigService/renderConfigWorker.js.map +1 -0
- package/services/GetProjectIdService/GetProjectIdService.d.ts +9 -0
- package/services/GetProjectIdService/GetProjectIdService.js +32 -0
- package/services/GetProjectIdService/GetProjectIdService.js.map +1 -0
- package/services/GetProjectIdService/index.d.ts +1 -0
- package/services/GetProjectIdService/index.js +3 -0
- package/services/GetProjectIdService/index.js.map +1 -0
- package/services/GetProjectService/GetProjectService.d.ts +10 -0
- package/services/GetProjectService/GetProjectService.js +56 -0
- package/services/GetProjectService/GetProjectService.js.map +1 -0
- package/services/GetProjectService/index.d.ts +1 -0
- package/services/GetProjectService/index.js +3 -0
- package/services/GetProjectService/index.js.map +1 -0
- package/services/GetProjectVersionService/GetProjectVersionService.d.ts +7 -0
- package/services/GetProjectVersionService/GetProjectVersionService.js +34 -0
- package/services/GetProjectVersionService/GetProjectVersionService.js.map +1 -0
- package/services/GetProjectVersionService/index.d.ts +1 -0
- package/services/GetProjectVersionService/index.js +3 -0
- package/services/GetProjectVersionService/index.js.map +1 -0
- package/services/GetPulumiService/GetPulumiService.d.ts +9 -0
- package/services/GetPulumiService/GetPulumiService.js +49 -0
- package/services/GetPulumiService/GetPulumiService.js.map +1 -0
- package/services/GetPulumiService/index.d.ts +1 -0
- package/services/GetPulumiService/index.js +3 -0
- package/services/GetPulumiService/index.js.map +1 -0
- package/services/InitProjectSdkService/InitProjectSdkService.d.ts +9 -0
- package/services/InitProjectSdkService/InitProjectSdkService.js +63 -0
- package/services/InitProjectSdkService/InitProjectSdkService.js.map +1 -0
- package/services/InitProjectSdkService/applyEnvVars.d.ts +2 -0
- package/services/InitProjectSdkService/applyEnvVars.js +11 -0
- package/services/InitProjectSdkService/applyEnvVars.js.map +1 -0
- package/services/InitProjectSdkService/applyWcpEnvVars.d.ts +2 -0
- package/services/InitProjectSdkService/applyWcpEnvVars.js +144 -0
- package/services/InitProjectSdkService/applyWcpEnvVars.js.map +1 -0
- package/services/InitProjectSdkService/index.d.ts +1 -0
- package/services/InitProjectSdkService/index.js +3 -0
- package/services/InitProjectSdkService/index.js.map +1 -0
- package/services/InitProjectSdkService/registerDecorators.d.ts +4 -0
- package/services/InitProjectSdkService/registerDecorators.js +11 -0
- package/services/InitProjectSdkService/registerDecorators.js.map +1 -0
- package/services/InitProjectSdkService/registerHooks.d.ts +4 -0
- package/services/InitProjectSdkService/registerHooks.js +11 -0
- package/services/InitProjectSdkService/registerHooks.js.map +1 -0
- package/services/InitProjectSdkService/registerImplementations.d.ts +4 -0
- package/services/InitProjectSdkService/registerImplementations.js +16 -0
- package/services/InitProjectSdkService/registerImplementations.js.map +1 -0
- package/services/InitProjectSdkService/registerPulumiExtensions.d.ts +4 -0
- package/services/InitProjectSdkService/registerPulumiExtensions.js +11 -0
- package/services/InitProjectSdkService/registerPulumiExtensions.js.map +1 -0
- package/services/InstallExtensionService/InstallExtensionService.d.ts +9 -0
- package/services/InstallExtensionService/InstallExtensionService.js +143 -0
- package/services/InstallExtensionService/InstallExtensionService.js.map +1 -0
- package/services/InstallExtensionService/downloadFolderFromS3.d.ts +12 -0
- package/services/InstallExtensionService/downloadFolderFromS3.js +81 -0
- package/services/InstallExtensionService/downloadFolderFromS3.js.map +1 -0
- package/services/InstallExtensionService/index.d.ts +1 -0
- package/services/InstallExtensionService/index.js +3 -0
- package/services/InstallExtensionService/index.js.map +1 -0
- package/services/InstallExtensionService/mergePackageJson.d.ts +9 -0
- package/services/InstallExtensionService/mergePackageJson.js +31 -0
- package/services/InstallExtensionService/mergePackageJson.js.map +1 -0
- package/services/InstallExtensionService/types.d.ts +77 -0
- package/services/InstallExtensionService/types.js +3 -0
- package/services/InstallExtensionService/types.js.map +1 -0
- package/services/InstallExtensionService/updateWebinyConfig.d.ts +10 -0
- package/services/InstallExtensionService/updateWebinyConfig.js +120 -0
- package/services/InstallExtensionService/updateWebinyConfig.js.map +1 -0
- package/services/IsRemotePulumiBackendService/IsRemotePulumiBackendService.d.ts +13 -0
- package/services/IsRemotePulumiBackendService/IsRemotePulumiBackendService.js +23 -0
- package/services/IsRemotePulumiBackendService/IsRemotePulumiBackendService.js.map +1 -0
- package/services/IsRemotePulumiBackendService/index.d.ts +1 -0
- package/services/IsRemotePulumiBackendService/index.js +3 -0
- package/services/IsRemotePulumiBackendService/index.js.map +1 -0
- package/services/ListAppLambdaFunctionsService/ListAppLambdaFunctionsService.d.ts +18 -0
- package/services/ListAppLambdaFunctionsService/ListAppLambdaFunctionsService.js +84 -0
- package/services/ListAppLambdaFunctionsService/ListAppLambdaFunctionsService.js.map +1 -0
- package/services/ListAppLambdaFunctionsService/index.d.ts +1 -0
- package/services/ListAppLambdaFunctionsService/index.js +3 -0
- package/services/ListAppLambdaFunctionsService/index.js.map +1 -0
- package/services/ListDeployedEnvironmentsService/ListDeployedEnvironmentsService.d.ts +7 -0
- package/services/ListDeployedEnvironmentsService/ListDeployedEnvironmentsService.js +32 -0
- package/services/ListDeployedEnvironmentsService/ListDeployedEnvironmentsService.js.map +1 -0
- package/services/ListDeployedEnvironmentsService/index.d.ts +1 -0
- package/services/ListDeployedEnvironmentsService/index.js +3 -0
- package/services/ListDeployedEnvironmentsService/index.js.map +1 -0
- package/services/ListPackagesInAppWorkspaceService/ListPackagesInAppWorkspaceService.d.ts +15 -0
- package/services/ListPackagesInAppWorkspaceService/ListPackagesInAppWorkspaceService.js +36 -0
- package/services/ListPackagesInAppWorkspaceService/ListPackagesInAppWorkspaceService.js.map +1 -0
- package/services/ListPackagesInAppWorkspaceService/index.d.ts +1 -0
- package/services/ListPackagesInAppWorkspaceService/index.js +3 -0
- package/services/ListPackagesInAppWorkspaceService/index.js.map +1 -0
- package/services/ListPackagesService/ListPackagesService.d.ts +8 -0
- package/services/ListPackagesService/ListPackagesService.js +129 -0
- package/services/ListPackagesService/ListPackagesService.js.map +1 -0
- package/services/ListPackagesService/index.d.ts +1 -0
- package/services/ListPackagesService/index.js +3 -0
- package/services/ListPackagesService/index.js.map +1 -0
- package/services/LoadEnvVarsService/LoadEnvVarsService.d.ts +8 -0
- package/services/LoadEnvVarsService/LoadEnvVarsService.js +37 -0
- package/services/LoadEnvVarsService/LoadEnvVarsService.js.map +1 -0
- package/services/LoadEnvVarsService/index.d.ts +1 -0
- package/services/LoadEnvVarsService/index.js +3 -0
- package/services/LoadEnvVarsService/index.js.map +1 -0
- package/services/LocalStorageService/LocalStorageService.d.ts +11 -0
- package/services/LocalStorageService/LocalStorageService.js +56 -0
- package/services/LocalStorageService/LocalStorageService.js.map +1 -0
- package/services/LocalStorageService/index.d.ts +1 -0
- package/services/LocalStorageService/index.js +3 -0
- package/services/LocalStorageService/index.js.map +1 -0
- package/services/LoggerService/LoggerService.d.ts +20 -0
- package/services/LoggerService/LoggerService.js +95 -0
- package/services/LoggerService/LoggerService.js.map +1 -0
- package/services/LoggerService/index.d.ts +1 -0
- package/services/LoggerService/index.js +3 -0
- package/services/LoggerService/index.js.map +1 -0
- package/services/ProjectInfoService/GetIsCiService.d.ts +5 -0
- package/services/ProjectInfoService/GetIsCiService.js +15 -0
- package/services/ProjectInfoService/GetIsCiService.js.map +1 -0
- package/services/ProjectInfoService/GetNpmVersionService.d.ts +5 -0
- package/services/ProjectInfoService/GetNpmVersionService.js +15 -0
- package/services/ProjectInfoService/GetNpmVersionService.js.map +1 -0
- package/services/ProjectInfoService/GetNpxVersionService.d.ts +5 -0
- package/services/ProjectInfoService/GetNpxVersionService.js +15 -0
- package/services/ProjectInfoService/GetNpxVersionService.js.map +1 -0
- package/services/ProjectInfoService/GetPulumiVersionService.d.ts +5 -0
- package/services/ProjectInfoService/GetPulumiVersionService.js +38 -0
- package/services/ProjectInfoService/GetPulumiVersionService.js.map +1 -0
- package/services/ProjectInfoService/GetYarnVersionService.d.ts +5 -0
- package/services/ProjectInfoService/GetYarnVersionService.js +15 -0
- package/services/ProjectInfoService/GetYarnVersionService.js.map +1 -0
- package/services/ProjectInfoService/ProjectInfoService.d.ts +13 -0
- package/services/ProjectInfoService/ProjectInfoService.js +56 -0
- package/services/ProjectInfoService/ProjectInfoService.js.map +1 -0
- package/services/ProjectInfoService/index.d.ts +6 -0
- package/services/ProjectInfoService/index.js +8 -0
- package/services/ProjectInfoService/index.js.map +1 -0
- package/services/ProjectSdkParamsService/ProjectSdkParamsService.d.ts +8 -0
- package/services/ProjectSdkParamsService/ProjectSdkParamsService.js +40 -0
- package/services/ProjectSdkParamsService/ProjectSdkParamsService.js.map +1 -0
- package/services/ProjectSdkParamsService/index.d.ts +1 -0
- package/services/ProjectSdkParamsService/index.js +3 -0
- package/services/ProjectSdkParamsService/index.js.map +1 -0
- package/services/PulumiExportService/PulumiExportService.d.ts +13 -0
- package/services/PulumiExportService/PulumiExportService.js +43 -0
- package/services/PulumiExportService/PulumiExportService.js.map +1 -0
- package/services/PulumiExportService/index.d.ts +1 -0
- package/services/PulumiExportService/index.js +3 -0
- package/services/PulumiExportService/index.js.map +1 -0
- package/services/PulumiGetConfigPassphraseService/PulumiGetConfigPassphraseService.d.ts +5 -0
- package/services/PulumiGetConfigPassphraseService/PulumiGetConfigPassphraseService.js +14 -0
- package/services/PulumiGetConfigPassphraseService/PulumiGetConfigPassphraseService.js.map +1 -0
- package/services/PulumiGetConfigPassphraseService/index.d.ts +1 -0
- package/services/PulumiGetConfigPassphraseService/index.js +3 -0
- package/services/PulumiGetConfigPassphraseService/index.js.map +1 -0
- package/services/PulumiGetSecretsProviderService/PulumiGetSecretsProviderService.d.ts +5 -0
- package/services/PulumiGetSecretsProviderService/PulumiGetSecretsProviderService.js +14 -0
- package/services/PulumiGetSecretsProviderService/PulumiGetSecretsProviderService.js.map +1 -0
- package/services/PulumiGetSecretsProviderService/index.d.ts +1 -0
- package/services/PulumiGetSecretsProviderService/index.js +3 -0
- package/services/PulumiGetSecretsProviderService/index.js.map +1 -0
- package/services/PulumiGetStackOutputService/PulumiGetStackOutputService.d.ts +20 -0
- package/services/PulumiGetStackOutputService/PulumiGetStackOutputService.js +113 -0
- package/services/PulumiGetStackOutputService/PulumiGetStackOutputService.js.map +1 -0
- package/services/PulumiGetStackOutputService/index.d.ts +1 -0
- package/services/PulumiGetStackOutputService/index.js +3 -0
- package/services/PulumiGetStackOutputService/index.js.map +1 -0
- package/services/PulumiGetStackOutputService/mapStackOutput.d.ts +1 -0
- package/services/PulumiGetStackOutputService/mapStackOutput.js +34 -0
- package/services/PulumiGetStackOutputService/mapStackOutput.js.map +1 -0
- package/services/PulumiImportService/PulumiImportService.d.ts +10 -0
- package/services/PulumiImportService/PulumiImportService.js +57 -0
- package/services/PulumiImportService/PulumiImportService.js.map +1 -0
- package/services/PulumiImportService/index.d.ts +1 -0
- package/services/PulumiImportService/index.js +3 -0
- package/services/PulumiImportService/index.js.map +1 -0
- package/services/PulumiLoginService/PulumiLoginService.d.ts +10 -0
- package/services/PulumiLoginService/PulumiLoginService.js +51 -0
- package/services/PulumiLoginService/PulumiLoginService.js.map +1 -0
- package/services/PulumiLoginService/index.d.ts +1 -0
- package/services/PulumiLoginService/index.js +3 -0
- package/services/PulumiLoginService/index.js.map +1 -0
- package/services/PulumiSelectStackService/PulumiSelectStackService.d.ts +15 -0
- package/services/PulumiSelectStackService/PulumiSelectStackService.js +97 -0
- package/services/PulumiSelectStackService/PulumiSelectStackService.js.map +1 -0
- package/services/PulumiSelectStackService/index.d.ts +1 -0
- package/services/PulumiSelectStackService/index.js +3 -0
- package/services/PulumiSelectStackService/index.js.map +1 -0
- package/services/SetProjectIdService/SetProjectIdService.d.ts +8 -0
- package/services/SetProjectIdService/SetProjectIdService.js +66 -0
- package/services/SetProjectIdService/SetProjectIdService.js.map +1 -0
- package/services/SetProjectIdService/index.d.ts +1 -0
- package/services/SetProjectIdService/index.js +3 -0
- package/services/SetProjectIdService/index.js.map +1 -0
- package/services/StdioService/StdioService.d.ts +13 -0
- package/services/StdioService/StdioService.js +20 -0
- package/services/StdioService/StdioService.js.map +1 -0
- package/services/StdioService/index.d.ts +1 -0
- package/services/StdioService/index.js +3 -0
- package/services/StdioService/index.js.map +1 -0
- package/services/UiService/UiService.d.ts +17 -0
- package/services/UiService/UiService.js +70 -0
- package/services/UiService/UiService.js.map +1 -0
- package/services/UiService/index.d.ts +1 -0
- package/services/UiService/index.js +3 -0
- package/services/UiService/index.js.map +1 -0
- package/services/ValidateProjectConfigService/ValidateProjectConfigService.d.ts +5 -0
- package/services/ValidateProjectConfigService/ValidateProjectConfigService.js +28 -0
- package/services/ValidateProjectConfigService/ValidateProjectConfigService.js.map +1 -0
- package/services/ValidateProjectConfigService/index.d.ts +1 -0
- package/services/ValidateProjectConfigService/index.js +3 -0
- package/services/ValidateProjectConfigService/index.js.map +1 -0
- package/services/WatchedLambdaFunctionsService/WatchedLambdaFunctionsService.d.ts +13 -0
- package/services/WatchedLambdaFunctionsService/WatchedLambdaFunctionsService.js +61 -0
- package/services/WatchedLambdaFunctionsService/WatchedLambdaFunctionsService.js.map +1 -0
- package/services/WatchedLambdaFunctionsService/index.d.ts +1 -0
- package/services/WatchedLambdaFunctionsService/index.js +3 -0
- package/services/WatchedLambdaFunctionsService/index.js.map +1 -0
- package/services/WcpService/CreateUserPat.d.ts +16 -0
- package/services/WcpService/CreateUserPat.js +47 -0
- package/services/WcpService/CreateUserPat.js.map +1 -0
- package/services/WcpService/GenerateUserPat.d.ts +15 -0
- package/services/WcpService/GenerateUserPat.js +28 -0
- package/services/WcpService/GenerateUserPat.js.map +1 -0
- package/services/WcpService/GetPatFromLocalStorage.d.ts +9 -0
- package/services/WcpService/GetPatFromLocalStorage.js +13 -0
- package/services/WcpService/GetPatFromLocalStorage.js.map +1 -0
- package/services/WcpService/GetProjectEnvironment.d.ts +22 -0
- package/services/WcpService/GetProjectEnvironment.js +108 -0
- package/services/WcpService/GetProjectEnvironment.js.map +1 -0
- package/services/WcpService/GetProjectLicense.d.ts +11 -0
- package/services/WcpService/GetProjectLicense.js +43 -0
- package/services/WcpService/GetProjectLicense.js.map +1 -0
- package/services/WcpService/GetUser.d.ts +11 -0
- package/services/WcpService/GetUser.js +92 -0
- package/services/WcpService/GetUser.js.map +1 -0
- package/services/WcpService/GetUserPat.d.ts +10 -0
- package/services/WcpService/GetUserPat.js +41 -0
- package/services/WcpService/GetUserPat.js.map +1 -0
- package/services/WcpService/LogoutUser.d.ts +9 -0
- package/services/WcpService/LogoutUser.js +12 -0
- package/services/WcpService/LogoutUser.js.map +1 -0
- package/services/WcpService/StorePatToLocalStorage.d.ts +9 -0
- package/services/WcpService/StorePatToLocalStorage.js +13 -0
- package/services/WcpService/StorePatToLocalStorage.js.map +1 -0
- package/services/WcpService/UnsetPatFromLocalStorage.d.ts +9 -0
- package/services/WcpService/UnsetPatFromLocalStorage.js +13 -0
- package/services/WcpService/UnsetPatFromLocalStorage.js.map +1 -0
- package/services/WcpService/WcpGqlClient.d.ts +3 -0
- package/services/WcpService/WcpGqlClient.js +10 -0
- package/services/WcpService/WcpGqlClient.js.map +1 -0
- package/services/WcpService/WcpService.d.ts +22 -0
- package/services/WcpService/WcpService.js +91 -0
- package/services/WcpService/WcpService.js.map +1 -0
- package/services/WcpService/index.d.ts +1 -0
- package/services/WcpService/index.js +3 -0
- package/services/WcpService/index.js.map +1 -0
- package/services/index.d.ts +35 -0
- package/services/index.js +37 -0
- package/services/index.js.map +1 -0
- package/utils/ExtensionSrcResolver.d.ts +33 -0
- package/utils/ExtensionSrcResolver.js +119 -0
- package/utils/ExtensionSrcResolver.js.map +1 -0
- package/utils/constants.d.ts +8 -0
- package/utils/constants.js +10 -0
- package/utils/constants.js.map +1 -0
- package/utils/createPathResolver.d.ts +1 -0
- package/utils/createPathResolver.js +8 -0
- package/utils/createPathResolver.js.map +1 -0
- package/utils/env/configuration.d.ts +12 -0
- package/utils/env/configuration.js +28 -0
- package/utils/env/configuration.js.map +1 -0
- package/utils/env/index.d.ts +7 -0
- package/utils/env/index.js +8 -0
- package/utils/env/index.js.map +1 -0
- package/utils/env/types.d.ts +9 -0
- package/utils/env/types.js +3 -0
- package/utils/env/types.js.map +1 -0
- package/utils/env/withEnv.d.ts +4 -0
- package/utils/env/withEnv.js +10 -0
- package/utils/env/withEnv.js.map +1 -0
- package/utils/env/withEnvVariant.d.ts +4 -0
- package/utils/env/withEnvVariant.js +14 -0
- package/utils/env/withEnvVariant.js.map +1 -0
- package/utils/env/withProjectName.d.ts +5 -0
- package/utils/env/withProjectName.js +12 -0
- package/utils/env/withProjectName.js.map +1 -0
- package/utils/env/withPulumiConfigPassphrase.d.ts +1 -0
- package/utils/env/withPulumiConfigPassphrase.js +11 -0
- package/utils/env/withPulumiConfigPassphrase.js.map +1 -0
- package/utils/env/withRegion.d.ts +4 -0
- package/utils/env/withRegion.js +21 -0
- package/utils/env/withRegion.js.map +1 -0
- package/utils/getRandomColorForString.d.ts +1 -0
- package/utils/getRandomColorForString.js +11 -0
- package/utils/getRandomColorForString.js.map +1 -0
- package/utils/getStackName.d.ts +14 -0
- package/utils/getStackName.js +22 -0
- package/utils/getStackName.js.map +1 -0
- package/utils/getTemplatesFolderPath.d.ts +1 -0
- package/utils/getTemplatesFolderPath.js +13 -0
- package/utils/getTemplatesFolderPath.js.map +1 -0
- package/utils/index.d.ts +12 -0
- package/utils/index.js +14 -0
- package/utils/index.js.map +1 -0
- package/utils/isValidRegionName.d.ts +2 -0
- package/utils/isValidRegionName.js +17 -0
- package/utils/isValidRegionName.js.map +1 -0
- package/utils/isValidVariantName.d.ts +2 -0
- package/utils/isValidVariantName.js +13 -0
- package/utils/isValidVariantName.js.map +1 -0
- package/utils/measureDuration.d.ts +1 -0
- package/utils/measureDuration.js +11 -0
- package/utils/measureDuration.js.map +1 -0
- package/utils/projectSdkContext.d.ts +19 -0
- package/utils/projectSdkContext.js +44 -0
- package/utils/projectSdkContext.js.map +1 -0
- package/utils/regions.d.ts +5 -0
- package/utils/regions.js +65 -0
- package/utils/regions.js.map +1 -0
- package/utils/registerExtension.d.ts +6 -0
- package/utils/registerExtension.js +19 -0
- package/utils/registerExtension.js.map +1 -0
- package/utils/requireConfig.d.ts +18 -0
- package/utils/requireConfig.js +12 -0
- package/utils/requireConfig.js.map +1 -0
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
import React from "react";
|
|
2
|
+
import { z } from "zod";
|
|
3
|
+
import { BuildParam } from "./ApiBuildParam.js";
|
|
4
|
+
import { AdminBuildParam } from "./AdminBuildParam.js";
|
|
5
|
+
import { defineExtension } from "../defineExtension/index.js";
|
|
6
|
+
export const FeatureFlags = defineExtension({
|
|
7
|
+
type: "FeatureFlags",
|
|
8
|
+
tags: {
|
|
9
|
+
runtimeContext: "project"
|
|
10
|
+
},
|
|
11
|
+
description: "Enable or disable WCP features.",
|
|
12
|
+
paramsSchema: z.object({
|
|
13
|
+
// Follows `IFeatureFlagsDto` from `packages/feature-flags/src/types.ts`.
|
|
14
|
+
features: z.object({
|
|
15
|
+
multiTenancy: z.boolean().optional(),
|
|
16
|
+
advancedPublishingWorkflow: z.boolean().optional(),
|
|
17
|
+
advancedAccessControlLayer: z.union([z.boolean(), z.object({
|
|
18
|
+
teams: z.boolean().optional(),
|
|
19
|
+
privateFiles: z.boolean().optional(),
|
|
20
|
+
folderLevelPermissions: z.boolean().optional(),
|
|
21
|
+
hcmsFieldPermissions: z.boolean().optional()
|
|
22
|
+
})]).optional(),
|
|
23
|
+
auditLogs: z.boolean().optional(),
|
|
24
|
+
recordLocking: z.boolean().optional(),
|
|
25
|
+
fileManager: z.object({
|
|
26
|
+
threatDetection: z.boolean().optional()
|
|
27
|
+
}).optional()
|
|
28
|
+
})
|
|
29
|
+
}),
|
|
30
|
+
render: ({
|
|
31
|
+
features = {}
|
|
32
|
+
}) => {
|
|
33
|
+
return /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement(BuildParam, {
|
|
34
|
+
paramName: "FeatureFlags",
|
|
35
|
+
value: features
|
|
36
|
+
}), /*#__PURE__*/React.createElement(AdminBuildParam, {
|
|
37
|
+
paramName: "FeatureFlags",
|
|
38
|
+
value: features
|
|
39
|
+
}));
|
|
40
|
+
}
|
|
41
|
+
});
|
|
42
|
+
|
|
43
|
+
//# sourceMappingURL=FeatureFlags.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["React","z","BuildParam","AdminBuildParam","defineExtension","FeatureFlags","type","tags","runtimeContext","description","paramsSchema","object","features","multiTenancy","boolean","optional","advancedPublishingWorkflow","advancedAccessControlLayer","union","teams","privateFiles","folderLevelPermissions","hcmsFieldPermissions","auditLogs","recordLocking","fileManager","threatDetection","render","createElement","Fragment","paramName","value"],"sources":["FeatureFlags.tsx"],"sourcesContent":["import React from \"react\";\nimport { z } from \"zod\";\nimport { BuildParam } from \"./ApiBuildParam.js\";\nimport { AdminBuildParam } from \"./AdminBuildParam.js\";\nimport { defineExtension } from \"~/defineExtension/index.js\";\n\nexport const FeatureFlags = defineExtension({\n type: \"FeatureFlags\",\n tags: { runtimeContext: \"project\" },\n description: \"Enable or disable WCP features.\",\n paramsSchema: z.object({\n // Follows `IFeatureFlagsDto` from `packages/feature-flags/src/types.ts`.\n features: z.object({\n multiTenancy: z.boolean().optional(),\n advancedPublishingWorkflow: z.boolean().optional(),\n advancedAccessControlLayer: z\n .union([\n z.boolean(),\n z.object({\n teams: z.boolean().optional(),\n privateFiles: z.boolean().optional(),\n folderLevelPermissions: z.boolean().optional(),\n hcmsFieldPermissions: z.boolean().optional()\n })\n ])\n .optional(),\n auditLogs: z.boolean().optional(),\n recordLocking: z.boolean().optional(),\n fileManager: z\n .object({\n threatDetection: z.boolean().optional()\n })\n .optional()\n })\n }),\n render: ({ features = {} }) => {\n return (\n <>\n <BuildParam paramName=\"FeatureFlags\" value={features} />\n <AdminBuildParam paramName=\"FeatureFlags\" value={features} />\n </>\n );\n }\n});\n"],"mappings":"AAAA,OAAOA,KAAK,MAAM,OAAO;AACzB,SAASC,CAAC,QAAQ,KAAK;AACvB,SAASC,UAAU;AACnB,SAASC,eAAe;AACxB,SAASC,eAAe;AAExB,OAAO,MAAMC,YAAY,GAAGD,eAAe,CAAC;EACxCE,IAAI,EAAE,cAAc;EACpBC,IAAI,EAAE;IAAEC,cAAc,EAAE;EAAU,CAAC;EACnCC,WAAW,EAAE,iCAAiC;EAC9CC,YAAY,EAAET,CAAC,CAACU,MAAM,CAAC;IACnB;IACAC,QAAQ,EAAEX,CAAC,CAACU,MAAM,CAAC;MACfE,YAAY,EAAEZ,CAAC,CAACa,OAAO,CAAC,CAAC,CAACC,QAAQ,CAAC,CAAC;MACpCC,0BAA0B,EAAEf,CAAC,CAACa,OAAO,CAAC,CAAC,CAACC,QAAQ,CAAC,CAAC;MAClDE,0BAA0B,EAAEhB,CAAC,CACxBiB,KAAK,CAAC,CACHjB,CAAC,CAACa,OAAO,CAAC,CAAC,EACXb,CAAC,CAACU,MAAM,CAAC;QACLQ,KAAK,EAAElB,CAAC,CAACa,OAAO,CAAC,CAAC,CAACC,QAAQ,CAAC,CAAC;QAC7BK,YAAY,EAAEnB,CAAC,CAACa,OAAO,CAAC,CAAC,CAACC,QAAQ,CAAC,CAAC;QACpCM,sBAAsB,EAAEpB,CAAC,CAACa,OAAO,CAAC,CAAC,CAACC,QAAQ,CAAC,CAAC;QAC9CO,oBAAoB,EAAErB,CAAC,CAACa,OAAO,CAAC,CAAC,CAACC,QAAQ,CAAC;MAC/C,CAAC,CAAC,CACL,CAAC,CACDA,QAAQ,CAAC,CAAC;MACfQ,SAAS,EAAEtB,CAAC,CAACa,OAAO,CAAC,CAAC,CAACC,QAAQ,CAAC,CAAC;MACjCS,aAAa,EAAEvB,CAAC,CAACa,OAAO,CAAC,CAAC,CAACC,QAAQ,CAAC,CAAC;MACrCU,WAAW,EAAExB,CAAC,CACTU,MAAM,CAAC;QACJe,eAAe,EAAEzB,CAAC,CAACa,OAAO,CAAC,CAAC,CAACC,QAAQ,CAAC;MAC1C,CAAC,CAAC,CACDA,QAAQ,CAAC;IAClB,CAAC;EACL,CAAC,CAAC;EACFY,MAAM,EAAEA,CAAC;IAAEf,QAAQ,GAAG,CAAC;EAAE,CAAC,KAAK;IAC3B,oBACIZ,KAAA,CAAA4B,aAAA,CAAA5B,KAAA,CAAA6B,QAAA,qBACI7B,KAAA,CAAA4B,aAAA,CAAC1B,UAAU;MAAC4B,SAAS,EAAC,cAAc;MAACC,KAAK,EAAEnB;IAAS,CAAE,CAAC,eACxDZ,KAAA,CAAA4B,aAAA,CAACzB,eAAe;MAAC2B,SAAS,EAAC,cAAc;MAACC,KAAK,EAAEnB;IAAS,CAAE,CAC9D,CAAC;EAEX;AACJ,CAAC,CAAC","ignoreList":[]}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { AdminBeforeBuild, GetAppStackOutput, ProjectSdkParamsService } from "../../abstractions/index.js";
|
|
2
|
+
declare class EnsureApiDeployedBeforeAdminBuildImpl implements AdminBeforeBuild.Interface {
|
|
3
|
+
private getAppStackOutput;
|
|
4
|
+
private projectSdkParamsService;
|
|
5
|
+
constructor(getAppStackOutput: GetAppStackOutput.Interface, projectSdkParamsService: ProjectSdkParamsService.Interface);
|
|
6
|
+
execute(params: AdminBeforeBuild.Params): Promise<void>;
|
|
7
|
+
}
|
|
8
|
+
export declare const EnsureApiDeployedBeforeAdminBuild: typeof EnsureApiDeployedBeforeAdminBuildImpl & {
|
|
9
|
+
__abstraction: import("@webiny/di").Abstraction<import("~/abstractions/index.js").IAdminBeforeBuild>;
|
|
10
|
+
};
|
|
11
|
+
export {};
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
import { AdminBeforeBuild, GetAppStackOutput, ProjectSdkParamsService } from "../../abstractions/index.js";
|
|
2
|
+
import { GracefulError } from "@webiny/project";
|
|
3
|
+
const NO_DEPLOYMENT_CHECKS_FLAG_NAME = "--no-deployment-checks";
|
|
4
|
+
class EnsureApiDeployedBeforeAdminBuildImpl {
|
|
5
|
+
constructor(getAppStackOutput, projectSdkParamsService) {
|
|
6
|
+
this.getAppStackOutput = getAppStackOutput;
|
|
7
|
+
this.projectSdkParamsService = projectSdkParamsService;
|
|
8
|
+
}
|
|
9
|
+
async execute(params) {
|
|
10
|
+
// Just in case, we want to allow users to skip the system requirements check.
|
|
11
|
+
if (params.deploymentChecks === false) {
|
|
12
|
+
return;
|
|
13
|
+
}
|
|
14
|
+
const output = await this.getAppStackOutput.execute("api");
|
|
15
|
+
const apiDeployed = output && Object.keys(output).length > 0;
|
|
16
|
+
if (apiDeployed) {
|
|
17
|
+
return;
|
|
18
|
+
}
|
|
19
|
+
const sdkParams = this.projectSdkParamsService.get();
|
|
20
|
+
const cmd = `yarn webiny deploy api --env ${sdkParams.env}`;
|
|
21
|
+
const error = new Error("Cannot build Admin before deploying API.");
|
|
22
|
+
const message = [`Before building %s, please build %s first by running: %s.`, `If you think this is a mistake, you can also try skipping`, `deployment checks by appending the %s flag.`, `Learn more: https://webiny.link/deployment-checks`].join(" ");
|
|
23
|
+
throw GracefulError.from(error, message, "Admin", "API", cmd, NO_DEPLOYMENT_CHECKS_FLAG_NAME);
|
|
24
|
+
}
|
|
25
|
+
}
|
|
26
|
+
export const EnsureApiDeployedBeforeAdminBuild = AdminBeforeBuild.createImplementation({
|
|
27
|
+
implementation: EnsureApiDeployedBeforeAdminBuildImpl,
|
|
28
|
+
dependencies: [GetAppStackOutput, ProjectSdkParamsService]
|
|
29
|
+
});
|
|
30
|
+
|
|
31
|
+
//# sourceMappingURL=EnsureApiDeployedBeforeAdminBuild.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["AdminBeforeBuild","GetAppStackOutput","ProjectSdkParamsService","GracefulError","NO_DEPLOYMENT_CHECKS_FLAG_NAME","EnsureApiDeployedBeforeAdminBuildImpl","constructor","getAppStackOutput","projectSdkParamsService","execute","params","deploymentChecks","output","apiDeployed","Object","keys","length","sdkParams","get","cmd","env","error","Error","message","join","from","EnsureApiDeployedBeforeAdminBuild","createImplementation","implementation","dependencies"],"sources":["EnsureApiDeployedBeforeAdminBuild.ts"],"sourcesContent":["import {\n AdminBeforeBuild,\n GetAppStackOutput,\n ProjectSdkParamsService\n} from \"~/abstractions/index.js\";\nimport { GracefulError } from \"@webiny/project\";\n\nconst NO_DEPLOYMENT_CHECKS_FLAG_NAME = \"--no-deployment-checks\";\n\nclass EnsureApiDeployedBeforeAdminBuildImpl implements AdminBeforeBuild.Interface {\n constructor(\n private getAppStackOutput: GetAppStackOutput.Interface,\n private projectSdkParamsService: ProjectSdkParamsService.Interface\n ) {}\n\n async execute(params: AdminBeforeBuild.Params) {\n // Just in case, we want to allow users to skip the system requirements check.\n if (params.deploymentChecks === false) {\n return;\n }\n\n const output = await this.getAppStackOutput.execute(\"api\");\n const apiDeployed = output && Object.keys(output).length > 0;\n if (apiDeployed) {\n return;\n }\n\n const sdkParams = this.projectSdkParamsService.get();\n const cmd = `yarn webiny deploy api --env ${sdkParams.env}`;\n\n const error = new Error(\"Cannot build Admin before deploying API.\");\n const message = [\n `Before building %s, please build %s first by running: %s.`,\n `If you think this is a mistake, you can also try skipping`,\n `deployment checks by appending the %s flag.`,\n `Learn more: https://webiny.link/deployment-checks`\n ].join(\" \");\n\n throw GracefulError.from(\n error,\n message,\n \"Admin\",\n \"API\",\n cmd,\n NO_DEPLOYMENT_CHECKS_FLAG_NAME\n );\n }\n}\n\nexport const EnsureApiDeployedBeforeAdminBuild = AdminBeforeBuild.createImplementation({\n implementation: EnsureApiDeployedBeforeAdminBuildImpl,\n dependencies: [GetAppStackOutput, ProjectSdkParamsService]\n});\n"],"mappings":"AAAA,SACIA,gBAAgB,EAChBC,iBAAiB,EACjBC,uBAAuB;AAE3B,SAASC,aAAa,QAAQ,iBAAiB;AAE/C,MAAMC,8BAA8B,GAAG,wBAAwB;AAE/D,MAAMC,qCAAqC,CAAuC;EAC9EC,WAAWA,CACCC,iBAA8C,EAC9CC,uBAA0D,EACpE;IAAA,KAFUD,iBAA8C,GAA9CA,iBAA8C;IAAA,KAC9CC,uBAA0D,GAA1DA,uBAA0D;EACnE;EAEH,MAAMC,OAAOA,CAACC,MAA+B,EAAE;IAC3C;IACA,IAAIA,MAAM,CAACC,gBAAgB,KAAK,KAAK,EAAE;MACnC;IACJ;IAEA,MAAMC,MAAM,GAAG,MAAM,IAAI,CAACL,iBAAiB,CAACE,OAAO,CAAC,KAAK,CAAC;IAC1D,MAAMI,WAAW,GAAGD,MAAM,IAAIE,MAAM,CAACC,IAAI,CAACH,MAAM,CAAC,CAACI,MAAM,GAAG,CAAC;IAC5D,IAAIH,WAAW,EAAE;MACb;IACJ;IAEA,MAAMI,SAAS,GAAG,IAAI,CAACT,uBAAuB,CAACU,GAAG,CAAC,CAAC;IACpD,MAAMC,GAAG,GAAG,gCAAgCF,SAAS,CAACG,GAAG,EAAE;IAE3D,MAAMC,KAAK,GAAG,IAAIC,KAAK,CAAC,0CAA0C,CAAC;IACnE,MAAMC,OAAO,GAAG,CACZ,2DAA2D,EAC3D,2DAA2D,EAC3D,6CAA6C,EAC7C,mDAAmD,CACtD,CAACC,IAAI,CAAC,GAAG,CAAC;IAEX,MAAMrB,aAAa,CAACsB,IAAI,CACpBJ,KAAK,EACLE,OAAO,EACP,OAAO,EACP,KAAK,EACLJ,GAAG,EACHf,8BACJ,CAAC;EACL;AACJ;AAEA,OAAO,MAAMsB,iCAAiC,GAAG1B,gBAAgB,CAAC2B,oBAAoB,CAAC;EACnFC,cAAc,EAAEvB,qCAAqC;EACrDwB,YAAY,EAAE,CAAC5B,iBAAiB,EAAEC,uBAAuB;AAC7D,CAAC,CAAC","ignoreList":[]}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { AdminBeforeWatch, GetAppStackOutput, ProjectSdkParamsService } from "../../abstractions/index.js";
|
|
2
|
+
declare class EnsureApiDeployedBeforeAdminWatchImpl implements AdminBeforeWatch.Interface {
|
|
3
|
+
private getAppStackOutput;
|
|
4
|
+
private projectSdkParamsService;
|
|
5
|
+
constructor(getAppStackOutput: GetAppStackOutput.Interface, projectSdkParamsService: ProjectSdkParamsService.Interface);
|
|
6
|
+
execute(params: AdminBeforeWatch.Params): Promise<void>;
|
|
7
|
+
}
|
|
8
|
+
export declare const EnsureApiDeployedBeforeAdminWatch: typeof EnsureApiDeployedBeforeAdminWatchImpl & {
|
|
9
|
+
__abstraction: import("@webiny/di").Abstraction<import("~/abstractions/index.js").IAdminBeforeWatch>;
|
|
10
|
+
};
|
|
11
|
+
export {};
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
import { AdminBeforeWatch, GetAppStackOutput, ProjectSdkParamsService } from "../../abstractions/index.js";
|
|
2
|
+
import { GracefulError } from "@webiny/project";
|
|
3
|
+
const NO_DEPLOYMENT_CHECKS_FLAG_NAME = "--no-deployment-checks";
|
|
4
|
+
class EnsureApiDeployedBeforeAdminWatchImpl {
|
|
5
|
+
constructor(getAppStackOutput, projectSdkParamsService) {
|
|
6
|
+
this.getAppStackOutput = getAppStackOutput;
|
|
7
|
+
this.projectSdkParamsService = projectSdkParamsService;
|
|
8
|
+
}
|
|
9
|
+
async execute(params) {
|
|
10
|
+
// Just in case, we want to allow users to skip the system requirements check.
|
|
11
|
+
if (params.deploymentChecks === false) {
|
|
12
|
+
return;
|
|
13
|
+
}
|
|
14
|
+
const output = await this.getAppStackOutput.execute("api");
|
|
15
|
+
const apiDeployed = output && Object.keys(output).length > 0;
|
|
16
|
+
if (apiDeployed) {
|
|
17
|
+
return;
|
|
18
|
+
}
|
|
19
|
+
const sdkParams = this.projectSdkParamsService.get();
|
|
20
|
+
const cmd = `yarn webiny deploy api --env ${sdkParams.env}`;
|
|
21
|
+
const error = new Error(`Cannot watch Admin before deploying API.`);
|
|
22
|
+
const message = [`Before watching %s, please build %s first by running: %s.`, `If you think this is a mistake, you can also try skipping`, `deployment checks by appending the %s flag.`, `Learn more: https://webiny.link/deployment-checks`].join(" ");
|
|
23
|
+
throw GracefulError.from(error, message, "Admin", "API", cmd, NO_DEPLOYMENT_CHECKS_FLAG_NAME);
|
|
24
|
+
}
|
|
25
|
+
}
|
|
26
|
+
export const EnsureApiDeployedBeforeAdminWatch = AdminBeforeWatch.createImplementation({
|
|
27
|
+
implementation: EnsureApiDeployedBeforeAdminWatchImpl,
|
|
28
|
+
dependencies: [GetAppStackOutput, ProjectSdkParamsService]
|
|
29
|
+
});
|
|
30
|
+
|
|
31
|
+
//# sourceMappingURL=EnsureApiDeployedBeforeAdminWatch.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["AdminBeforeWatch","GetAppStackOutput","ProjectSdkParamsService","GracefulError","NO_DEPLOYMENT_CHECKS_FLAG_NAME","EnsureApiDeployedBeforeAdminWatchImpl","constructor","getAppStackOutput","projectSdkParamsService","execute","params","deploymentChecks","output","apiDeployed","Object","keys","length","sdkParams","get","cmd","env","error","Error","message","join","from","EnsureApiDeployedBeforeAdminWatch","createImplementation","implementation","dependencies"],"sources":["EnsureApiDeployedBeforeAdminWatch.ts"],"sourcesContent":["import {\n AdminBeforeWatch,\n GetAppStackOutput,\n ProjectSdkParamsService\n} from \"~/abstractions/index.js\";\nimport { GracefulError } from \"@webiny/project\";\n\nconst NO_DEPLOYMENT_CHECKS_FLAG_NAME = \"--no-deployment-checks\";\n\nclass EnsureApiDeployedBeforeAdminWatchImpl implements AdminBeforeWatch.Interface {\n constructor(\n private getAppStackOutput: GetAppStackOutput.Interface,\n private projectSdkParamsService: ProjectSdkParamsService.Interface\n ) {}\n\n async execute(params: AdminBeforeWatch.Params) {\n // Just in case, we want to allow users to skip the system requirements check.\n if (params.deploymentChecks === false) {\n return;\n }\n\n const output = await this.getAppStackOutput.execute(\"api\");\n const apiDeployed = output && Object.keys(output).length > 0;\n if (apiDeployed) {\n return;\n }\n\n const sdkParams = this.projectSdkParamsService.get();\n const cmd = `yarn webiny deploy api --env ${sdkParams.env}`;\n\n const error = new Error(`Cannot watch Admin before deploying API.`);\n const message = [\n `Before watching %s, please build %s first by running: %s.`,\n `If you think this is a mistake, you can also try skipping`,\n `deployment checks by appending the %s flag.`,\n `Learn more: https://webiny.link/deployment-checks`\n ].join(\" \");\n\n throw GracefulError.from(\n error,\n message,\n \"Admin\",\n \"API\",\n cmd,\n NO_DEPLOYMENT_CHECKS_FLAG_NAME\n );\n }\n}\n\nexport const EnsureApiDeployedBeforeAdminWatch = AdminBeforeWatch.createImplementation({\n implementation: EnsureApiDeployedBeforeAdminWatchImpl,\n dependencies: [GetAppStackOutput, ProjectSdkParamsService]\n});\n"],"mappings":"AAAA,SACIA,gBAAgB,EAChBC,iBAAiB,EACjBC,uBAAuB;AAE3B,SAASC,aAAa,QAAQ,iBAAiB;AAE/C,MAAMC,8BAA8B,GAAG,wBAAwB;AAE/D,MAAMC,qCAAqC,CAAuC;EAC9EC,WAAWA,CACCC,iBAA8C,EAC9CC,uBAA0D,EACpE;IAAA,KAFUD,iBAA8C,GAA9CA,iBAA8C;IAAA,KAC9CC,uBAA0D,GAA1DA,uBAA0D;EACnE;EAEH,MAAMC,OAAOA,CAACC,MAA+B,EAAE;IAC3C;IACA,IAAIA,MAAM,CAACC,gBAAgB,KAAK,KAAK,EAAE;MACnC;IACJ;IAEA,MAAMC,MAAM,GAAG,MAAM,IAAI,CAACL,iBAAiB,CAACE,OAAO,CAAC,KAAK,CAAC;IAC1D,MAAMI,WAAW,GAAGD,MAAM,IAAIE,MAAM,CAACC,IAAI,CAACH,MAAM,CAAC,CAACI,MAAM,GAAG,CAAC;IAC5D,IAAIH,WAAW,EAAE;MACb;IACJ;IAEA,MAAMI,SAAS,GAAG,IAAI,CAACT,uBAAuB,CAACU,GAAG,CAAC,CAAC;IACpD,MAAMC,GAAG,GAAG,gCAAgCF,SAAS,CAACG,GAAG,EAAE;IAE3D,MAAMC,KAAK,GAAG,IAAIC,KAAK,CAAC,0CAA0C,CAAC;IACnE,MAAMC,OAAO,GAAG,CACZ,2DAA2D,EAC3D,2DAA2D,EAC3D,6CAA6C,EAC7C,mDAAmD,CACtD,CAACC,IAAI,CAAC,GAAG,CAAC;IAEX,MAAMrB,aAAa,CAACsB,IAAI,CACpBJ,KAAK,EACLE,OAAO,EACP,OAAO,EACP,KAAK,EACLJ,GAAG,EACHf,8BACJ,CAAC;EACL;AACJ;AAEA,OAAO,MAAMsB,iCAAiC,GAAG1B,gBAAgB,CAAC2B,oBAAoB,CAAC;EACnFC,cAAc,EAAEvB,qCAAqC;EACrDwB,YAAY,EAAE,CAAC5B,iBAAiB,EAAEC,uBAAuB;AAC7D,CAAC,CAAC","ignoreList":[]}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { ApiBeforeWatch, GetAppStackOutput, ProjectSdkParamsService } from "../../abstractions/index.js";
|
|
2
|
+
declare class EnsureApiDeployedBeforeWatchImpl implements ApiBeforeWatch.Interface {
|
|
3
|
+
private getAppStackOutput;
|
|
4
|
+
private projectSdkParamsService;
|
|
5
|
+
constructor(getAppStackOutput: GetAppStackOutput.Interface, projectSdkParamsService: ProjectSdkParamsService.Interface);
|
|
6
|
+
execute(params: ApiBeforeWatch.Params): Promise<void>;
|
|
7
|
+
}
|
|
8
|
+
export declare const EnsureApiDeployedBeforeWatch: typeof EnsureApiDeployedBeforeWatchImpl & {
|
|
9
|
+
__abstraction: import("@webiny/di").Abstraction<import("~/abstractions/index.js").IApiBeforeWatch>;
|
|
10
|
+
};
|
|
11
|
+
export {};
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
import { ApiBeforeWatch, GetAppStackOutput, ProjectSdkParamsService } from "../../abstractions/index.js";
|
|
2
|
+
import { GracefulError } from "@webiny/project";
|
|
3
|
+
const NO_DEPLOYMENT_CHECKS_FLAG_NAME = "--no-deployment-checks";
|
|
4
|
+
class EnsureApiDeployedBeforeWatchImpl {
|
|
5
|
+
constructor(getAppStackOutput, projectSdkParamsService) {
|
|
6
|
+
this.getAppStackOutput = getAppStackOutput;
|
|
7
|
+
this.projectSdkParamsService = projectSdkParamsService;
|
|
8
|
+
}
|
|
9
|
+
async execute(params) {
|
|
10
|
+
// Just in case, we want to allow users to skip the system requirements check.
|
|
11
|
+
if (params.deploymentChecks === false) {
|
|
12
|
+
return;
|
|
13
|
+
}
|
|
14
|
+
const output = await this.getAppStackOutput.execute("api");
|
|
15
|
+
const apiDeployed = output && Object.keys(output).length > 0;
|
|
16
|
+
if (apiDeployed) {
|
|
17
|
+
return;
|
|
18
|
+
}
|
|
19
|
+
const error = new Error(`Cannot watch API before deploying it.`);
|
|
20
|
+
const sdkParams = this.projectSdkParamsService.get();
|
|
21
|
+
const cmd = `yarn webiny deploy api --env ${sdkParams.env}`;
|
|
22
|
+
const message = [`Before watching %s, please deploy it first by running: %s.`, `If you think this is a mistake, you can also try skipping`, `deployment checks by appending the %s flag.`, `Learn more: https://webiny.link/deployment-checks`].join(" ");
|
|
23
|
+
throw GracefulError.from(error, message, "API", cmd, NO_DEPLOYMENT_CHECKS_FLAG_NAME);
|
|
24
|
+
}
|
|
25
|
+
}
|
|
26
|
+
export const EnsureApiDeployedBeforeWatch = ApiBeforeWatch.createImplementation({
|
|
27
|
+
implementation: EnsureApiDeployedBeforeWatchImpl,
|
|
28
|
+
dependencies: [GetAppStackOutput, ProjectSdkParamsService]
|
|
29
|
+
});
|
|
30
|
+
|
|
31
|
+
//# sourceMappingURL=EnsureApiDeployedBeforeWatch.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["ApiBeforeWatch","GetAppStackOutput","ProjectSdkParamsService","GracefulError","NO_DEPLOYMENT_CHECKS_FLAG_NAME","EnsureApiDeployedBeforeWatchImpl","constructor","getAppStackOutput","projectSdkParamsService","execute","params","deploymentChecks","output","apiDeployed","Object","keys","length","error","Error","sdkParams","get","cmd","env","message","join","from","EnsureApiDeployedBeforeWatch","createImplementation","implementation","dependencies"],"sources":["EnsureApiDeployedBeforeWatch.ts"],"sourcesContent":["import {\n ApiBeforeWatch,\n GetAppStackOutput,\n ProjectSdkParamsService\n} from \"~/abstractions/index.js\";\nimport { GracefulError } from \"@webiny/project\";\n\nconst NO_DEPLOYMENT_CHECKS_FLAG_NAME = \"--no-deployment-checks\";\n\nclass EnsureApiDeployedBeforeWatchImpl implements ApiBeforeWatch.Interface {\n constructor(\n private getAppStackOutput: GetAppStackOutput.Interface,\n private projectSdkParamsService: ProjectSdkParamsService.Interface\n ) {}\n\n async execute(params: ApiBeforeWatch.Params) {\n // Just in case, we want to allow users to skip the system requirements check.\n if (params.deploymentChecks === false) {\n return;\n }\n\n const output = await this.getAppStackOutput.execute(\"api\");\n const apiDeployed = output && Object.keys(output).length > 0;\n if (apiDeployed) {\n return;\n }\n\n const error = new Error(`Cannot watch API before deploying it.`);\n const sdkParams = this.projectSdkParamsService.get();\n const cmd = `yarn webiny deploy api --env ${sdkParams.env}`;\n\n const message = [\n `Before watching %s, please deploy it first by running: %s.`,\n `If you think this is a mistake, you can also try skipping`,\n `deployment checks by appending the %s flag.`,\n `Learn more: https://webiny.link/deployment-checks`\n ].join(\" \");\n\n throw GracefulError.from(error, message, \"API\", cmd, NO_DEPLOYMENT_CHECKS_FLAG_NAME);\n }\n}\n\nexport const EnsureApiDeployedBeforeWatch = ApiBeforeWatch.createImplementation({\n implementation: EnsureApiDeployedBeforeWatchImpl,\n dependencies: [GetAppStackOutput, ProjectSdkParamsService]\n});\n"],"mappings":"AAAA,SACIA,cAAc,EACdC,iBAAiB,EACjBC,uBAAuB;AAE3B,SAASC,aAAa,QAAQ,iBAAiB;AAE/C,MAAMC,8BAA8B,GAAG,wBAAwB;AAE/D,MAAMC,gCAAgC,CAAqC;EACvEC,WAAWA,CACCC,iBAA8C,EAC9CC,uBAA0D,EACpE;IAAA,KAFUD,iBAA8C,GAA9CA,iBAA8C;IAAA,KAC9CC,uBAA0D,GAA1DA,uBAA0D;EACnE;EAEH,MAAMC,OAAOA,CAACC,MAA6B,EAAE;IACzC;IACA,IAAIA,MAAM,CAACC,gBAAgB,KAAK,KAAK,EAAE;MACnC;IACJ;IAEA,MAAMC,MAAM,GAAG,MAAM,IAAI,CAACL,iBAAiB,CAACE,OAAO,CAAC,KAAK,CAAC;IAC1D,MAAMI,WAAW,GAAGD,MAAM,IAAIE,MAAM,CAACC,IAAI,CAACH,MAAM,CAAC,CAACI,MAAM,GAAG,CAAC;IAC5D,IAAIH,WAAW,EAAE;MACb;IACJ;IAEA,MAAMI,KAAK,GAAG,IAAIC,KAAK,CAAC,uCAAuC,CAAC;IAChE,MAAMC,SAAS,GAAG,IAAI,CAACX,uBAAuB,CAACY,GAAG,CAAC,CAAC;IACpD,MAAMC,GAAG,GAAG,gCAAgCF,SAAS,CAACG,GAAG,EAAE;IAE3D,MAAMC,OAAO,GAAG,CACZ,4DAA4D,EAC5D,2DAA2D,EAC3D,6CAA6C,EAC7C,mDAAmD,CACtD,CAACC,IAAI,CAAC,GAAG,CAAC;IAEX,MAAMrB,aAAa,CAACsB,IAAI,CAACR,KAAK,EAAEM,OAAO,EAAE,KAAK,EAAEF,GAAG,EAAEjB,8BAA8B,CAAC;EACxF;AACJ;AAEA,OAAO,MAAMsB,4BAA4B,GAAG1B,cAAc,CAAC2B,oBAAoB,CAAC;EAC5EC,cAAc,EAAEvB,gCAAgC;EAChDwB,YAAY,EAAE,CAAC5B,iBAAiB,EAAEC,uBAAuB;AAC7D,CAAC,CAAC","ignoreList":[]}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { ApiBeforeDeploy, GetAppStackOutput, ProjectSdkParamsService } from "../../abstractions/index.js";
|
|
2
|
+
declare class EnsureCoreDeployedBeforeApiDeployImpl implements ApiBeforeDeploy.Interface {
|
|
3
|
+
private getAppStackOutput;
|
|
4
|
+
private projectSdkParamsService;
|
|
5
|
+
constructor(getAppStackOutput: GetAppStackOutput.Interface, projectSdkParamsService: ProjectSdkParamsService.Interface);
|
|
6
|
+
execute(): Promise<void>;
|
|
7
|
+
}
|
|
8
|
+
export declare const EnsureCoreDeployedBeforeApiDeploy: typeof EnsureCoreDeployedBeforeApiDeployImpl & {
|
|
9
|
+
__abstraction: import("@webiny/di").Abstraction<import("~/abstractions/index.js").IApiBeforeDeploy>;
|
|
10
|
+
};
|
|
11
|
+
export {};
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
import { ApiBeforeDeploy, GetAppStackOutput, ProjectSdkParamsService } from "../../abstractions/index.js";
|
|
2
|
+
import { GracefulError } from "@webiny/project";
|
|
3
|
+
class EnsureCoreDeployedBeforeApiDeployImpl {
|
|
4
|
+
constructor(getAppStackOutput, projectSdkParamsService) {
|
|
5
|
+
this.getAppStackOutput = getAppStackOutput;
|
|
6
|
+
this.projectSdkParamsService = projectSdkParamsService;
|
|
7
|
+
}
|
|
8
|
+
async execute() {
|
|
9
|
+
const output = await this.getAppStackOutput.execute("core");
|
|
10
|
+
const coreDeployed = output && Object.keys(output).length > 0;
|
|
11
|
+
if (coreDeployed) {
|
|
12
|
+
return;
|
|
13
|
+
}
|
|
14
|
+
const sdkParams = this.projectSdkParamsService.get();
|
|
15
|
+
const {
|
|
16
|
+
variant,
|
|
17
|
+
env
|
|
18
|
+
} = sdkParams;
|
|
19
|
+
let variantCmd = "";
|
|
20
|
+
if (variant) {
|
|
21
|
+
variantCmd = ` --variant ${variant}`;
|
|
22
|
+
}
|
|
23
|
+
const error = new Error(`Cannot deploy API before deploying Core.`);
|
|
24
|
+
const message = [`Before deploying %s, please`, `deploy %s first by running: %s.`].join(" ");
|
|
25
|
+
const cmd = `yarn webiny deploy core --env ${env}${variantCmd}`;
|
|
26
|
+
throw GracefulError.from(error, message, "API", "Core", cmd);
|
|
27
|
+
}
|
|
28
|
+
}
|
|
29
|
+
export const EnsureCoreDeployedBeforeApiDeploy = ApiBeforeDeploy.createImplementation({
|
|
30
|
+
implementation: EnsureCoreDeployedBeforeApiDeployImpl,
|
|
31
|
+
dependencies: [GetAppStackOutput, ProjectSdkParamsService]
|
|
32
|
+
});
|
|
33
|
+
|
|
34
|
+
//# sourceMappingURL=EnsureCoreDeployedBeforeApiDeploy.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["ApiBeforeDeploy","GetAppStackOutput","ProjectSdkParamsService","GracefulError","EnsureCoreDeployedBeforeApiDeployImpl","constructor","getAppStackOutput","projectSdkParamsService","execute","output","coreDeployed","Object","keys","length","sdkParams","get","variant","env","variantCmd","error","Error","message","join","cmd","from","EnsureCoreDeployedBeforeApiDeploy","createImplementation","implementation","dependencies"],"sources":["EnsureCoreDeployedBeforeApiDeploy.ts"],"sourcesContent":["import {\n ApiBeforeDeploy,\n GetAppStackOutput,\n ProjectSdkParamsService\n} from \"~/abstractions/index.js\";\nimport { GracefulError } from \"@webiny/project\";\n\nclass EnsureCoreDeployedBeforeApiDeployImpl implements ApiBeforeDeploy.Interface {\n constructor(\n private getAppStackOutput: GetAppStackOutput.Interface,\n private projectSdkParamsService: ProjectSdkParamsService.Interface\n ) {}\n\n async execute() {\n const output = await this.getAppStackOutput.execute(\"core\");\n\n const coreDeployed = output && Object.keys(output).length > 0;\n if (coreDeployed) {\n return;\n }\n\n const sdkParams = this.projectSdkParamsService.get();\n const { variant, env } = sdkParams;\n\n let variantCmd = \"\";\n if (variant) {\n variantCmd = ` --variant ${variant}`;\n }\n\n const error = new Error(`Cannot deploy API before deploying Core.`);\n\n const message = [`Before deploying %s, please`, `deploy %s first by running: %s.`].join(\n \" \"\n );\n\n const cmd = `yarn webiny deploy core --env ${env}${variantCmd}`;\n throw GracefulError.from(error, message, \"API\", \"Core\", cmd);\n }\n}\n\nexport const EnsureCoreDeployedBeforeApiDeploy = ApiBeforeDeploy.createImplementation({\n implementation: EnsureCoreDeployedBeforeApiDeployImpl,\n dependencies: [GetAppStackOutput, ProjectSdkParamsService]\n});\n"],"mappings":"AAAA,SACIA,eAAe,EACfC,iBAAiB,EACjBC,uBAAuB;AAE3B,SAASC,aAAa,QAAQ,iBAAiB;AAE/C,MAAMC,qCAAqC,CAAsC;EAC7EC,WAAWA,CACCC,iBAA8C,EAC9CC,uBAA0D,EACpE;IAAA,KAFUD,iBAA8C,GAA9CA,iBAA8C;IAAA,KAC9CC,uBAA0D,GAA1DA,uBAA0D;EACnE;EAEH,MAAMC,OAAOA,CAAA,EAAG;IACZ,MAAMC,MAAM,GAAG,MAAM,IAAI,CAACH,iBAAiB,CAACE,OAAO,CAAC,MAAM,CAAC;IAE3D,MAAME,YAAY,GAAGD,MAAM,IAAIE,MAAM,CAACC,IAAI,CAACH,MAAM,CAAC,CAACI,MAAM,GAAG,CAAC;IAC7D,IAAIH,YAAY,EAAE;MACd;IACJ;IAEA,MAAMI,SAAS,GAAG,IAAI,CAACP,uBAAuB,CAACQ,GAAG,CAAC,CAAC;IACpD,MAAM;MAAEC,OAAO;MAAEC;IAAI,CAAC,GAAGH,SAAS;IAElC,IAAII,UAAU,GAAG,EAAE;IACnB,IAAIF,OAAO,EAAE;MACTE,UAAU,GAAG,cAAcF,OAAO,EAAE;IACxC;IAEA,MAAMG,KAAK,GAAG,IAAIC,KAAK,CAAC,0CAA0C,CAAC;IAEnE,MAAMC,OAAO,GAAG,CAAC,6BAA6B,EAAE,iCAAiC,CAAC,CAACC,IAAI,CACnF,GACJ,CAAC;IAED,MAAMC,GAAG,GAAG,iCAAiCN,GAAG,GAAGC,UAAU,EAAE;IAC/D,MAAMf,aAAa,CAACqB,IAAI,CAACL,KAAK,EAAEE,OAAO,EAAE,KAAK,EAAE,MAAM,EAAEE,GAAG,CAAC;EAChE;AACJ;AAEA,OAAO,MAAME,iCAAiC,GAAGzB,eAAe,CAAC0B,oBAAoB,CAAC;EAClFC,cAAc,EAAEvB,qCAAqC;EACrDwB,YAAY,EAAE,CAAC3B,iBAAiB,EAAEC,uBAAuB;AAC7D,CAAC,CAAC","ignoreList":[]}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { BeforeDeploy, IsCi, IsTelemetryEnabled, IsWcpEnabled, IsWebinyJsRepo } from "../../abstractions/index.js";
|
|
2
|
+
declare class EnsureTelemetryEnabledForOssImpl implements BeforeDeploy.Interface {
|
|
3
|
+
private isTelemetryEnabled;
|
|
4
|
+
private isWcpEnabled;
|
|
5
|
+
private isWebinyJsRepo;
|
|
6
|
+
private isCi;
|
|
7
|
+
constructor(isTelemetryEnabled: IsTelemetryEnabled.Interface, isWcpEnabled: IsWcpEnabled.Interface, isWebinyJsRepo: IsWebinyJsRepo.Interface, isCi: IsCi.Interface);
|
|
8
|
+
execute(): Promise<void>;
|
|
9
|
+
}
|
|
10
|
+
export declare const EnsureTelemetryEnabledForOss: typeof EnsureTelemetryEnabledForOssImpl & {
|
|
11
|
+
__abstraction: import("@webiny/di").Abstraction<import("~/abstractions/index.js").IBeforeDeploy>;
|
|
12
|
+
};
|
|
13
|
+
export {};
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
import { BeforeDeploy, IsCi, IsTelemetryEnabled, IsWcpEnabled, IsWebinyJsRepo } from "../../abstractions/index.js";
|
|
2
|
+
import { GracefulError } from "@webiny/project";
|
|
3
|
+
class EnsureTelemetryEnabledForOssImpl {
|
|
4
|
+
constructor(isTelemetryEnabled, isWcpEnabled, isWebinyJsRepo, isCi) {
|
|
5
|
+
this.isTelemetryEnabled = isTelemetryEnabled;
|
|
6
|
+
this.isWcpEnabled = isWcpEnabled;
|
|
7
|
+
this.isWebinyJsRepo = isWebinyJsRepo;
|
|
8
|
+
this.isCi = isCi;
|
|
9
|
+
}
|
|
10
|
+
async execute() {
|
|
11
|
+
// Skip telemetry checks in CI environments
|
|
12
|
+
if (this.isCi.execute()) {
|
|
13
|
+
return;
|
|
14
|
+
}
|
|
15
|
+
|
|
16
|
+
// Don't enforce telemetry validation in the webiny-js development repository
|
|
17
|
+
const isDevRepo = this.isWebinyJsRepo.execute();
|
|
18
|
+
if (isDevRepo) {
|
|
19
|
+
return;
|
|
20
|
+
}
|
|
21
|
+
const telemetryEnabled = await this.isTelemetryEnabled.execute();
|
|
22
|
+
const wcpEnabled = await this.isWcpEnabled.execute();
|
|
23
|
+
|
|
24
|
+
// If telemetry is disabled and WCP is not connected, throw an error
|
|
25
|
+
if (!telemetryEnabled && !wcpEnabled) {
|
|
26
|
+
const message = [`You are trying to deploy your project, but telemetry is currently disabled.`, `The open-source edition of Webiny requires telemetry to be enabled.`, `Please re-enable telemetry to proceed with the deployment, or connect your project to Webiny Control Panel (WCP).`, `Learn more: https://webiny.link/telemetry-oss`].join(" ");
|
|
27
|
+
const error = new Error("Cannot deploy with telemetry disabled in OSS edition.");
|
|
28
|
+
throw GracefulError.from(error, message);
|
|
29
|
+
}
|
|
30
|
+
}
|
|
31
|
+
}
|
|
32
|
+
export const EnsureTelemetryEnabledForOss = BeforeDeploy.createImplementation({
|
|
33
|
+
implementation: EnsureTelemetryEnabledForOssImpl,
|
|
34
|
+
dependencies: [IsTelemetryEnabled, IsWcpEnabled, IsWebinyJsRepo, IsCi]
|
|
35
|
+
});
|
|
36
|
+
|
|
37
|
+
//# sourceMappingURL=EnsureTelemetryEnabledForOss.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["BeforeDeploy","IsCi","IsTelemetryEnabled","IsWcpEnabled","IsWebinyJsRepo","GracefulError","EnsureTelemetryEnabledForOssImpl","constructor","isTelemetryEnabled","isWcpEnabled","isWebinyJsRepo","isCi","execute","isDevRepo","telemetryEnabled","wcpEnabled","message","join","error","Error","from","EnsureTelemetryEnabledForOss","createImplementation","implementation","dependencies"],"sources":["EnsureTelemetryEnabledForOss.ts"],"sourcesContent":["import {\n BeforeDeploy,\n IsCi,\n IsTelemetryEnabled,\n IsWcpEnabled,\n IsWebinyJsRepo\n} from \"~/abstractions/index.js\";\nimport { GracefulError } from \"@webiny/project\";\n\nclass EnsureTelemetryEnabledForOssImpl implements BeforeDeploy.Interface {\n constructor(\n private isTelemetryEnabled: IsTelemetryEnabled.Interface,\n private isWcpEnabled: IsWcpEnabled.Interface,\n private isWebinyJsRepo: IsWebinyJsRepo.Interface,\n private isCi: IsCi.Interface\n ) {}\n\n async execute() {\n // Skip telemetry checks in CI environments\n if (this.isCi.execute()) {\n return;\n }\n\n // Don't enforce telemetry validation in the webiny-js development repository\n const isDevRepo = this.isWebinyJsRepo.execute();\n if (isDevRepo) {\n return;\n }\n\n const telemetryEnabled = await this.isTelemetryEnabled.execute();\n const wcpEnabled = await this.isWcpEnabled.execute();\n\n // If telemetry is disabled and WCP is not connected, throw an error\n if (!telemetryEnabled && !wcpEnabled) {\n const message = [\n `You are trying to deploy your project, but telemetry is currently disabled.`,\n `The open-source edition of Webiny requires telemetry to be enabled.`,\n `Please re-enable telemetry to proceed with the deployment, or connect your project to Webiny Control Panel (WCP).`,\n `Learn more: https://webiny.link/telemetry-oss`\n ].join(\" \");\n\n const error = new Error(\"Cannot deploy with telemetry disabled in OSS edition.\");\n\n throw GracefulError.from(error, message);\n }\n }\n}\n\nexport const EnsureTelemetryEnabledForOss = BeforeDeploy.createImplementation({\n implementation: EnsureTelemetryEnabledForOssImpl,\n dependencies: [IsTelemetryEnabled, IsWcpEnabled, IsWebinyJsRepo, IsCi]\n});\n"],"mappings":"AAAA,SACIA,YAAY,EACZC,IAAI,EACJC,kBAAkB,EAClBC,YAAY,EACZC,cAAc;AAElB,SAASC,aAAa,QAAQ,iBAAiB;AAE/C,MAAMC,gCAAgC,CAAmC;EACrEC,WAAWA,CACCC,kBAAgD,EAChDC,YAAoC,EACpCC,cAAwC,EACxCC,IAAoB,EAC9B;IAAA,KAJUH,kBAAgD,GAAhDA,kBAAgD;IAAA,KAChDC,YAAoC,GAApCA,YAAoC;IAAA,KACpCC,cAAwC,GAAxCA,cAAwC;IAAA,KACxCC,IAAoB,GAApBA,IAAoB;EAC7B;EAEH,MAAMC,OAAOA,CAAA,EAAG;IACZ;IACA,IAAI,IAAI,CAACD,IAAI,CAACC,OAAO,CAAC,CAAC,EAAE;MACrB;IACJ;;IAEA;IACA,MAAMC,SAAS,GAAG,IAAI,CAACH,cAAc,CAACE,OAAO,CAAC,CAAC;IAC/C,IAAIC,SAAS,EAAE;MACX;IACJ;IAEA,MAAMC,gBAAgB,GAAG,MAAM,IAAI,CAACN,kBAAkB,CAACI,OAAO,CAAC,CAAC;IAChE,MAAMG,UAAU,GAAG,MAAM,IAAI,CAACN,YAAY,CAACG,OAAO,CAAC,CAAC;;IAEpD;IACA,IAAI,CAACE,gBAAgB,IAAI,CAACC,UAAU,EAAE;MAClC,MAAMC,OAAO,GAAG,CACZ,6EAA6E,EAC7E,qEAAqE,EACrE,mHAAmH,EACnH,+CAA+C,CAClD,CAACC,IAAI,CAAC,GAAG,CAAC;MAEX,MAAMC,KAAK,GAAG,IAAIC,KAAK,CAAC,uDAAuD,CAAC;MAEhF,MAAMd,aAAa,CAACe,IAAI,CAACF,KAAK,EAAEF,OAAO,CAAC;IAC5C;EACJ;AACJ;AAEA,OAAO,MAAMK,4BAA4B,GAAGrB,YAAY,CAACsB,oBAAoB,CAAC;EAC1EC,cAAc,EAAEjB,gCAAgC;EAChDkB,YAAY,EAAE,CAACtB,kBAAkB,EAAEC,YAAY,EAAEC,cAAc,EAAEH,IAAI;AACzE,CAAC,CAAC","ignoreList":[]}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { AdminBeforeBuild, GetProjectIdService, GetProjectVersionService, IsTelemetryEnabled } from "../../abstractions/index.js";
|
|
2
|
+
declare class SetAdminAppEnvVarsBeforeBuildImpl implements AdminBeforeBuild.Interface {
|
|
3
|
+
private isTelemetryEnabled;
|
|
4
|
+
private getProjectIdService;
|
|
5
|
+
private getProjectVersionService;
|
|
6
|
+
constructor(isTelemetryEnabled: IsTelemetryEnabled.Interface, getProjectIdService: GetProjectIdService.Interface, getProjectVersionService: GetProjectVersionService.Interface);
|
|
7
|
+
execute(): Promise<void>;
|
|
8
|
+
}
|
|
9
|
+
export declare const SetAdminAppEnvVarsBeforeBuild: typeof SetAdminAppEnvVarsBeforeBuildImpl & {
|
|
10
|
+
__abstraction: import("@webiny/di").Abstraction<import("~/abstractions/index.js").IAdminBeforeBuild>;
|
|
11
|
+
};
|
|
12
|
+
export {};
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
import { AdminBeforeBuild, GetProjectIdService, GetProjectVersionService, IsTelemetryEnabled } from "../../abstractions/index.js";
|
|
2
|
+
import { globalConfig } from "@webiny/global-config";
|
|
3
|
+
import { isCI } from "ci-info";
|
|
4
|
+
class SetAdminAppEnvVarsBeforeBuildImpl {
|
|
5
|
+
constructor(isTelemetryEnabled, getProjectIdService, getProjectVersionService) {
|
|
6
|
+
this.isTelemetryEnabled = isTelemetryEnabled;
|
|
7
|
+
this.getProjectIdService = getProjectIdService;
|
|
8
|
+
this.getProjectVersionService = getProjectVersionService;
|
|
9
|
+
}
|
|
10
|
+
async execute() {
|
|
11
|
+
const projectId = await this.getProjectIdService.execute();
|
|
12
|
+
const projectVersion = this.getProjectVersionService.execute();
|
|
13
|
+
const telemetry = await this.isTelemetryEnabled.execute();
|
|
14
|
+
if (projectId) {
|
|
15
|
+
process.env.REACT_APP_WCP_PROJECT_ID = projectId;
|
|
16
|
+
}
|
|
17
|
+
if (!("REACT_APP_WEBINY_TELEMETRY" in process.env)) {
|
|
18
|
+
process.env.REACT_APP_WEBINY_TELEMETRY = String(telemetry);
|
|
19
|
+
}
|
|
20
|
+
if (!("REACT_APP_WEBINY_TELEMETRY_USER_ID" in process.env)) {
|
|
21
|
+
process.env.REACT_APP_WEBINY_TELEMETRY_USER_ID = globalConfig.get("id");
|
|
22
|
+
}
|
|
23
|
+
if (!("REACT_APP_WEBINY_TELEMETRY_NEW_USER" in process.env)) {
|
|
24
|
+
const newUser = Boolean(globalConfig.get("newUser")).toString();
|
|
25
|
+
process.env.REACT_APP_WEBINY_TELEMETRY_NEW_USER = newUser;
|
|
26
|
+
}
|
|
27
|
+
if (!("INLINE_RUNTIME_CHUNK" in process.env)) {
|
|
28
|
+
process.env.INLINE_RUNTIME_CHUNK = "true";
|
|
29
|
+
}
|
|
30
|
+
if (!("REACT_APP_IS_CI" in process.env)) {
|
|
31
|
+
process.env.REACT_APP_IS_CI = Boolean(isCI).toString();
|
|
32
|
+
}
|
|
33
|
+
if (!("REACT_APP_WEBINY_VERSION" in process.env)) {
|
|
34
|
+
process.env.REACT_APP_WEBINY_VERSION = projectVersion;
|
|
35
|
+
}
|
|
36
|
+
}
|
|
37
|
+
}
|
|
38
|
+
export const SetAdminAppEnvVarsBeforeBuild = AdminBeforeBuild.createImplementation({
|
|
39
|
+
implementation: SetAdminAppEnvVarsBeforeBuildImpl,
|
|
40
|
+
dependencies: [IsTelemetryEnabled, GetProjectIdService, GetProjectVersionService]
|
|
41
|
+
});
|
|
42
|
+
|
|
43
|
+
//# sourceMappingURL=SetAdminAppEnvVarsBeforeBuild.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["AdminBeforeBuild","GetProjectIdService","GetProjectVersionService","IsTelemetryEnabled","globalConfig","isCI","SetAdminAppEnvVarsBeforeBuildImpl","constructor","isTelemetryEnabled","getProjectIdService","getProjectVersionService","execute","projectId","projectVersion","telemetry","process","env","REACT_APP_WCP_PROJECT_ID","REACT_APP_WEBINY_TELEMETRY","String","REACT_APP_WEBINY_TELEMETRY_USER_ID","get","newUser","Boolean","toString","REACT_APP_WEBINY_TELEMETRY_NEW_USER","INLINE_RUNTIME_CHUNK","REACT_APP_IS_CI","REACT_APP_WEBINY_VERSION","SetAdminAppEnvVarsBeforeBuild","createImplementation","implementation","dependencies"],"sources":["SetAdminAppEnvVarsBeforeBuild.ts"],"sourcesContent":["import {\n AdminBeforeBuild,\n GetProjectIdService,\n GetProjectVersionService,\n IsTelemetryEnabled\n} from \"~/abstractions/index.js\";\nimport { globalConfig } from \"@webiny/global-config\";\nimport { isCI } from \"ci-info\";\n\nclass SetAdminAppEnvVarsBeforeBuildImpl implements AdminBeforeBuild.Interface {\n constructor(\n private isTelemetryEnabled: IsTelemetryEnabled.Interface,\n private getProjectIdService: GetProjectIdService.Interface,\n private getProjectVersionService: GetProjectVersionService.Interface\n ) {}\n\n async execute() {\n const projectId = await this.getProjectIdService.execute();\n const projectVersion = this.getProjectVersionService.execute();\n\n const telemetry = await this.isTelemetryEnabled.execute();\n\n if (projectId) {\n process.env.REACT_APP_WCP_PROJECT_ID = projectId;\n }\n\n if (!(\"REACT_APP_WEBINY_TELEMETRY\" in process.env)) {\n process.env.REACT_APP_WEBINY_TELEMETRY = String(telemetry);\n }\n\n if (!(\"REACT_APP_WEBINY_TELEMETRY_USER_ID\" in process.env)) {\n process.env.REACT_APP_WEBINY_TELEMETRY_USER_ID = globalConfig.get(\"id\");\n }\n\n if (!(\"REACT_APP_WEBINY_TELEMETRY_NEW_USER\" in process.env)) {\n const newUser = Boolean(globalConfig.get(\"newUser\")).toString();\n process.env.REACT_APP_WEBINY_TELEMETRY_NEW_USER = newUser;\n }\n\n if (!(\"INLINE_RUNTIME_CHUNK\" in process.env)) {\n process.env.INLINE_RUNTIME_CHUNK = \"true\";\n }\n\n if (!(\"REACT_APP_IS_CI\" in process.env)) {\n process.env.REACT_APP_IS_CI = Boolean(isCI).toString();\n }\n\n if (!(\"REACT_APP_WEBINY_VERSION\" in process.env)) {\n process.env.REACT_APP_WEBINY_VERSION = projectVersion;\n }\n }\n}\n\nexport const SetAdminAppEnvVarsBeforeBuild = AdminBeforeBuild.createImplementation({\n implementation: SetAdminAppEnvVarsBeforeBuildImpl,\n dependencies: [IsTelemetryEnabled, GetProjectIdService, GetProjectVersionService]\n});\n"],"mappings":"AAAA,SACIA,gBAAgB,EAChBC,mBAAmB,EACnBC,wBAAwB,EACxBC,kBAAkB;AAEtB,SAASC,YAAY,QAAQ,uBAAuB;AACpD,SAASC,IAAI,QAAQ,SAAS;AAE9B,MAAMC,iCAAiC,CAAuC;EAC1EC,WAAWA,CACCC,kBAAgD,EAChDC,mBAAkD,EAClDC,wBAA4D,EACtE;IAAA,KAHUF,kBAAgD,GAAhDA,kBAAgD;IAAA,KAChDC,mBAAkD,GAAlDA,mBAAkD;IAAA,KAClDC,wBAA4D,GAA5DA,wBAA4D;EACrE;EAEH,MAAMC,OAAOA,CAAA,EAAG;IACZ,MAAMC,SAAS,GAAG,MAAM,IAAI,CAACH,mBAAmB,CAACE,OAAO,CAAC,CAAC;IAC1D,MAAME,cAAc,GAAG,IAAI,CAACH,wBAAwB,CAACC,OAAO,CAAC,CAAC;IAE9D,MAAMG,SAAS,GAAG,MAAM,IAAI,CAACN,kBAAkB,CAACG,OAAO,CAAC,CAAC;IAEzD,IAAIC,SAAS,EAAE;MACXG,OAAO,CAACC,GAAG,CAACC,wBAAwB,GAAGL,SAAS;IACpD;IAEA,IAAI,EAAE,4BAA4B,IAAIG,OAAO,CAACC,GAAG,CAAC,EAAE;MAChDD,OAAO,CAACC,GAAG,CAACE,0BAA0B,GAAGC,MAAM,CAACL,SAAS,CAAC;IAC9D;IAEA,IAAI,EAAE,oCAAoC,IAAIC,OAAO,CAACC,GAAG,CAAC,EAAE;MACxDD,OAAO,CAACC,GAAG,CAACI,kCAAkC,GAAGhB,YAAY,CAACiB,GAAG,CAAC,IAAI,CAAC;IAC3E;IAEA,IAAI,EAAE,qCAAqC,IAAIN,OAAO,CAACC,GAAG,CAAC,EAAE;MACzD,MAAMM,OAAO,GAAGC,OAAO,CAACnB,YAAY,CAACiB,GAAG,CAAC,SAAS,CAAC,CAAC,CAACG,QAAQ,CAAC,CAAC;MAC/DT,OAAO,CAACC,GAAG,CAACS,mCAAmC,GAAGH,OAAO;IAC7D;IAEA,IAAI,EAAE,sBAAsB,IAAIP,OAAO,CAACC,GAAG,CAAC,EAAE;MAC1CD,OAAO,CAACC,GAAG,CAACU,oBAAoB,GAAG,MAAM;IAC7C;IAEA,IAAI,EAAE,iBAAiB,IAAIX,OAAO,CAACC,GAAG,CAAC,EAAE;MACrCD,OAAO,CAACC,GAAG,CAACW,eAAe,GAAGJ,OAAO,CAAClB,IAAI,CAAC,CAACmB,QAAQ,CAAC,CAAC;IAC1D;IAEA,IAAI,EAAE,0BAA0B,IAAIT,OAAO,CAACC,GAAG,CAAC,EAAE;MAC9CD,OAAO,CAACC,GAAG,CAACY,wBAAwB,GAAGf,cAAc;IACzD;EACJ;AACJ;AAEA,OAAO,MAAMgB,6BAA6B,GAAG7B,gBAAgB,CAAC8B,oBAAoB,CAAC;EAC/EC,cAAc,EAAEzB,iCAAiC;EACjD0B,YAAY,EAAE,CAAC7B,kBAAkB,EAAEF,mBAAmB,EAAEC,wBAAwB;AACpF,CAAC,CAAC","ignoreList":[]}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { AdminBeforeWatch, IsTelemetryEnabled, GetProjectIdService, GetProjectVersionService } from "../../abstractions/index.js";
|
|
2
|
+
declare class SetAdminAppEnvVarsBeforeWatchImpl implements AdminBeforeWatch.Interface {
|
|
3
|
+
private isTelemetryEnabled;
|
|
4
|
+
private getProjectIdService;
|
|
5
|
+
private getProjectVersionService;
|
|
6
|
+
constructor(isTelemetryEnabled: IsTelemetryEnabled.Interface, getProjectIdService: GetProjectIdService.Interface, getProjectVersionService: GetProjectVersionService.Interface);
|
|
7
|
+
execute(): Promise<void>;
|
|
8
|
+
}
|
|
9
|
+
export declare const SetAdminAppEnvVarsBeforeWatch: typeof SetAdminAppEnvVarsBeforeWatchImpl & {
|
|
10
|
+
__abstraction: import("@webiny/di").Abstraction<import("~/abstractions/index.js").IAdminBeforeWatch>;
|
|
11
|
+
};
|
|
12
|
+
export {};
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
import { AdminBeforeWatch, IsTelemetryEnabled, GetProjectIdService, GetProjectVersionService } from "../../abstractions/index.js";
|
|
2
|
+
import { globalConfig } from "@webiny/global-config";
|
|
3
|
+
import { isCI } from "ci-info";
|
|
4
|
+
class SetAdminAppEnvVarsBeforeWatchImpl {
|
|
5
|
+
constructor(isTelemetryEnabled, getProjectIdService, getProjectVersionService) {
|
|
6
|
+
this.isTelemetryEnabled = isTelemetryEnabled;
|
|
7
|
+
this.getProjectIdService = getProjectIdService;
|
|
8
|
+
this.getProjectVersionService = getProjectVersionService;
|
|
9
|
+
}
|
|
10
|
+
async execute() {
|
|
11
|
+
const projectId = await this.getProjectIdService.execute();
|
|
12
|
+
const projectVersion = this.getProjectVersionService.execute();
|
|
13
|
+
const telemetry = await this.isTelemetryEnabled.execute();
|
|
14
|
+
if (projectId) {
|
|
15
|
+
process.env.REACT_APP_WCP_PROJECT_ID = projectId;
|
|
16
|
+
}
|
|
17
|
+
if (!("REACT_APP_WEBINY_TELEMETRY" in process.env)) {
|
|
18
|
+
process.env.REACT_APP_WEBINY_TELEMETRY = String(telemetry);
|
|
19
|
+
}
|
|
20
|
+
if (!("REACT_APP_WEBINY_TELEMETRY_USER_ID" in process.env)) {
|
|
21
|
+
process.env.REACT_APP_WEBINY_TELEMETRY_USER_ID = globalConfig.get("id");
|
|
22
|
+
}
|
|
23
|
+
if (!("REACT_APP_WEBINY_TELEMETRY_NEW_USER" in process.env)) {
|
|
24
|
+
const newUser = Boolean(globalConfig.get("newUser")).toString();
|
|
25
|
+
process.env.REACT_APP_WEBINY_TELEMETRY_NEW_USER = newUser;
|
|
26
|
+
}
|
|
27
|
+
if (!("INLINE_RUNTIME_CHUNK" in process.env)) {
|
|
28
|
+
process.env.INLINE_RUNTIME_CHUNK = "true";
|
|
29
|
+
}
|
|
30
|
+
if (!("REACT_APP_IS_CI" in process.env)) {
|
|
31
|
+
process.env.REACT_APP_IS_CI = Boolean(isCI).toString();
|
|
32
|
+
}
|
|
33
|
+
if (!("REACT_APP_WEBINY_VERSION" in process.env)) {
|
|
34
|
+
process.env.REACT_APP_WEBINY_VERSION = projectVersion;
|
|
35
|
+
}
|
|
36
|
+
}
|
|
37
|
+
}
|
|
38
|
+
export const SetAdminAppEnvVarsBeforeWatch = AdminBeforeWatch.createImplementation({
|
|
39
|
+
implementation: SetAdminAppEnvVarsBeforeWatchImpl,
|
|
40
|
+
dependencies: [IsTelemetryEnabled, GetProjectIdService, GetProjectVersionService]
|
|
41
|
+
});
|
|
42
|
+
|
|
43
|
+
//# sourceMappingURL=SetAdminAppEnvVarsBeforeWatch.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["AdminBeforeWatch","IsTelemetryEnabled","GetProjectIdService","GetProjectVersionService","globalConfig","isCI","SetAdminAppEnvVarsBeforeWatchImpl","constructor","isTelemetryEnabled","getProjectIdService","getProjectVersionService","execute","projectId","projectVersion","telemetry","process","env","REACT_APP_WCP_PROJECT_ID","REACT_APP_WEBINY_TELEMETRY","String","REACT_APP_WEBINY_TELEMETRY_USER_ID","get","newUser","Boolean","toString","REACT_APP_WEBINY_TELEMETRY_NEW_USER","INLINE_RUNTIME_CHUNK","REACT_APP_IS_CI","REACT_APP_WEBINY_VERSION","SetAdminAppEnvVarsBeforeWatch","createImplementation","implementation","dependencies"],"sources":["SetAdminAppEnvVarsBeforeWatch.ts"],"sourcesContent":["import {\n AdminBeforeWatch,\n IsTelemetryEnabled,\n GetProjectIdService,\n GetProjectVersionService\n} from \"~/abstractions/index.js\";\nimport { globalConfig } from \"@webiny/global-config\";\nimport { isCI } from \"ci-info\";\n\nclass SetAdminAppEnvVarsBeforeWatchImpl implements AdminBeforeWatch.Interface {\n constructor(\n private isTelemetryEnabled: IsTelemetryEnabled.Interface,\n private getProjectIdService: GetProjectIdService.Interface,\n private getProjectVersionService: GetProjectVersionService.Interface\n ) {}\n\n async execute() {\n const projectId = await this.getProjectIdService.execute();\n const projectVersion = this.getProjectVersionService.execute();\n\n const telemetry = await this.isTelemetryEnabled.execute();\n\n if (projectId) {\n process.env.REACT_APP_WCP_PROJECT_ID = projectId;\n }\n\n if (!(\"REACT_APP_WEBINY_TELEMETRY\" in process.env)) {\n process.env.REACT_APP_WEBINY_TELEMETRY = String(telemetry);\n }\n\n if (!(\"REACT_APP_WEBINY_TELEMETRY_USER_ID\" in process.env)) {\n process.env.REACT_APP_WEBINY_TELEMETRY_USER_ID = globalConfig.get(\"id\");\n }\n\n if (!(\"REACT_APP_WEBINY_TELEMETRY_NEW_USER\" in process.env)) {\n const newUser = Boolean(globalConfig.get(\"newUser\")).toString();\n process.env.REACT_APP_WEBINY_TELEMETRY_NEW_USER = newUser;\n }\n\n if (!(\"INLINE_RUNTIME_CHUNK\" in process.env)) {\n process.env.INLINE_RUNTIME_CHUNK = \"true\";\n }\n\n if (!(\"REACT_APP_IS_CI\" in process.env)) {\n process.env.REACT_APP_IS_CI = Boolean(isCI).toString();\n }\n\n if (!(\"REACT_APP_WEBINY_VERSION\" in process.env)) {\n process.env.REACT_APP_WEBINY_VERSION = projectVersion;\n }\n }\n}\n\nexport const SetAdminAppEnvVarsBeforeWatch = AdminBeforeWatch.createImplementation({\n implementation: SetAdminAppEnvVarsBeforeWatchImpl,\n dependencies: [IsTelemetryEnabled, GetProjectIdService, GetProjectVersionService]\n});\n"],"mappings":"AAAA,SACIA,gBAAgB,EAChBC,kBAAkB,EAClBC,mBAAmB,EACnBC,wBAAwB;AAE5B,SAASC,YAAY,QAAQ,uBAAuB;AACpD,SAASC,IAAI,QAAQ,SAAS;AAE9B,MAAMC,iCAAiC,CAAuC;EAC1EC,WAAWA,CACCC,kBAAgD,EAChDC,mBAAkD,EAClDC,wBAA4D,EACtE;IAAA,KAHUF,kBAAgD,GAAhDA,kBAAgD;IAAA,KAChDC,mBAAkD,GAAlDA,mBAAkD;IAAA,KAClDC,wBAA4D,GAA5DA,wBAA4D;EACrE;EAEH,MAAMC,OAAOA,CAAA,EAAG;IACZ,MAAMC,SAAS,GAAG,MAAM,IAAI,CAACH,mBAAmB,CAACE,OAAO,CAAC,CAAC;IAC1D,MAAME,cAAc,GAAG,IAAI,CAACH,wBAAwB,CAACC,OAAO,CAAC,CAAC;IAE9D,MAAMG,SAAS,GAAG,MAAM,IAAI,CAACN,kBAAkB,CAACG,OAAO,CAAC,CAAC;IAEzD,IAAIC,SAAS,EAAE;MACXG,OAAO,CAACC,GAAG,CAACC,wBAAwB,GAAGL,SAAS;IACpD;IAEA,IAAI,EAAE,4BAA4B,IAAIG,OAAO,CAACC,GAAG,CAAC,EAAE;MAChDD,OAAO,CAACC,GAAG,CAACE,0BAA0B,GAAGC,MAAM,CAACL,SAAS,CAAC;IAC9D;IAEA,IAAI,EAAE,oCAAoC,IAAIC,OAAO,CAACC,GAAG,CAAC,EAAE;MACxDD,OAAO,CAACC,GAAG,CAACI,kCAAkC,GAAGhB,YAAY,CAACiB,GAAG,CAAC,IAAI,CAAC;IAC3E;IAEA,IAAI,EAAE,qCAAqC,IAAIN,OAAO,CAACC,GAAG,CAAC,EAAE;MACzD,MAAMM,OAAO,GAAGC,OAAO,CAACnB,YAAY,CAACiB,GAAG,CAAC,SAAS,CAAC,CAAC,CAACG,QAAQ,CAAC,CAAC;MAC/DT,OAAO,CAACC,GAAG,CAACS,mCAAmC,GAAGH,OAAO;IAC7D;IAEA,IAAI,EAAE,sBAAsB,IAAIP,OAAO,CAACC,GAAG,CAAC,EAAE;MAC1CD,OAAO,CAACC,GAAG,CAACU,oBAAoB,GAAG,MAAM;IAC7C;IAEA,IAAI,EAAE,iBAAiB,IAAIX,OAAO,CAACC,GAAG,CAAC,EAAE;MACrCD,OAAO,CAACC,GAAG,CAACW,eAAe,GAAGJ,OAAO,CAAClB,IAAI,CAAC,CAACmB,QAAQ,CAAC,CAAC;IAC1D;IAEA,IAAI,EAAE,0BAA0B,IAAIT,OAAO,CAACC,GAAG,CAAC,EAAE;MAC9CD,OAAO,CAACC,GAAG,CAACY,wBAAwB,GAAGf,cAAc;IACzD;EACJ;AACJ;AAEA,OAAO,MAAMgB,6BAA6B,GAAG7B,gBAAgB,CAAC8B,oBAAoB,CAAC;EAC/EC,cAAc,EAAEzB,iCAAiC;EACjD0B,YAAY,EAAE,CAAC/B,kBAAkB,EAAEC,mBAAmB,EAAEC,wBAAwB;AACpF,CAAC,CAAC","ignoreList":[]}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { AdminBeforeWatch, UiService } from "../../abstractions/index.js";
|
|
2
|
+
declare class ShowConfigChangeInfoBeforeAdminWatchImpl implements AdminBeforeWatch.Interface {
|
|
3
|
+
private ui;
|
|
4
|
+
constructor(ui: UiService.Interface);
|
|
5
|
+
execute(): Promise<void>;
|
|
6
|
+
}
|
|
7
|
+
export declare const ShowConfigChangeInfoBeforeAdminWatch: typeof ShowConfigChangeInfoBeforeAdminWatchImpl & {
|
|
8
|
+
__abstraction: import("@webiny/di").Abstraction<import("~/abstractions/index.js").IAdminBeforeWatch>;
|
|
9
|
+
};
|
|
10
|
+
export {};
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { AdminBeforeWatch, UiService } from "../../abstractions/index.js";
|
|
2
|
+
class ShowConfigChangeInfoBeforeAdminWatchImpl {
|
|
3
|
+
constructor(ui) {
|
|
4
|
+
this.ui = ui;
|
|
5
|
+
}
|
|
6
|
+
async execute() {
|
|
7
|
+
this.ui.info(["Changes done in %s are not reloaded automatically.", "You'll have to restart the watch command in order for your changes to take effect."].join(" "), "webiny.config.tsx");
|
|
8
|
+
}
|
|
9
|
+
}
|
|
10
|
+
export const ShowConfigChangeInfoBeforeAdminWatch = AdminBeforeWatch.createImplementation({
|
|
11
|
+
implementation: ShowConfigChangeInfoBeforeAdminWatchImpl,
|
|
12
|
+
dependencies: [UiService]
|
|
13
|
+
});
|
|
14
|
+
|
|
15
|
+
//# sourceMappingURL=ShowConfigChangeInfoBeforeAdminWatch.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["AdminBeforeWatch","UiService","ShowConfigChangeInfoBeforeAdminWatchImpl","constructor","ui","execute","info","join","ShowConfigChangeInfoBeforeAdminWatch","createImplementation","implementation","dependencies"],"sources":["ShowConfigChangeInfoBeforeAdminWatch.ts"],"sourcesContent":["import { AdminBeforeWatch, UiService } from \"~/abstractions/index.js\";\n\nclass ShowConfigChangeInfoBeforeAdminWatchImpl implements AdminBeforeWatch.Interface {\n constructor(private ui: UiService.Interface) {}\n\n async execute() {\n this.ui.info(\n [\n \"Changes done in %s are not reloaded automatically.\",\n \"You'll have to restart the watch command in order for your changes to take effect.\"\n ].join(\" \"),\n \"webiny.config.tsx\"\n );\n }\n}\n\nexport const ShowConfigChangeInfoBeforeAdminWatch = AdminBeforeWatch.createImplementation({\n implementation: ShowConfigChangeInfoBeforeAdminWatchImpl,\n dependencies: [UiService]\n});\n"],"mappings":"AAAA,SAASA,gBAAgB,EAAEC,SAAS;AAEpC,MAAMC,wCAAwC,CAAuC;EACjFC,WAAWA,CAASC,EAAuB,EAAE;IAAA,KAAzBA,EAAuB,GAAvBA,EAAuB;EAAG;EAE9C,MAAMC,OAAOA,CAAA,EAAG;IACZ,IAAI,CAACD,EAAE,CAACE,IAAI,CACR,CACI,oDAAoD,EACpD,oFAAoF,CACvF,CAACC,IAAI,CAAC,GAAG,CAAC,EACX,mBACJ,CAAC;EACL;AACJ;AAEA,OAAO,MAAMC,oCAAoC,GAAGR,gBAAgB,CAACS,oBAAoB,CAAC;EACtFC,cAAc,EAAER,wCAAwC;EACxDS,YAAY,EAAE,CAACV,SAAS;AAC5B,CAAC,CAAC","ignoreList":[]}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { ApiBeforeWatch, UiService } from "../../abstractions/index.js";
|
|
2
|
+
declare class ShowConfigChangeInfoBeforeApiWatchImpl implements ApiBeforeWatch.Interface {
|
|
3
|
+
private ui;
|
|
4
|
+
constructor(ui: UiService.Interface);
|
|
5
|
+
execute(): Promise<void>;
|
|
6
|
+
}
|
|
7
|
+
export declare const ShowConfigChangeInfoBeforeApiWatch: typeof ShowConfigChangeInfoBeforeApiWatchImpl & {
|
|
8
|
+
__abstraction: import("@webiny/di").Abstraction<import("~/abstractions/index.js").IApiBeforeWatch>;
|
|
9
|
+
};
|
|
10
|
+
export {};
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { ApiBeforeWatch, UiService } from "../../abstractions/index.js";
|
|
2
|
+
class ShowConfigChangeInfoBeforeApiWatchImpl {
|
|
3
|
+
constructor(ui) {
|
|
4
|
+
this.ui = ui;
|
|
5
|
+
}
|
|
6
|
+
async execute() {
|
|
7
|
+
this.ui.info(["Changes done in %s are not reloaded automatically.", "You'll have to restart the watch command in order for your changes to take effect."].join(" "), "webiny.config.tsx");
|
|
8
|
+
}
|
|
9
|
+
}
|
|
10
|
+
export const ShowConfigChangeInfoBeforeApiWatch = ApiBeforeWatch.createImplementation({
|
|
11
|
+
implementation: ShowConfigChangeInfoBeforeApiWatchImpl,
|
|
12
|
+
dependencies: [UiService]
|
|
13
|
+
});
|
|
14
|
+
|
|
15
|
+
//# sourceMappingURL=ShowConfigChangeInfoBeforeApiWatch.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["ApiBeforeWatch","UiService","ShowConfigChangeInfoBeforeApiWatchImpl","constructor","ui","execute","info","join","ShowConfigChangeInfoBeforeApiWatch","createImplementation","implementation","dependencies"],"sources":["ShowConfigChangeInfoBeforeApiWatch.ts"],"sourcesContent":["import { ApiBeforeWatch, UiService } from \"~/abstractions/index.js\";\n\nclass ShowConfigChangeInfoBeforeApiWatchImpl implements ApiBeforeWatch.Interface {\n constructor(private ui: UiService.Interface) {}\n\n async execute() {\n this.ui.info(\n [\n \"Changes done in %s are not reloaded automatically.\",\n \"You'll have to restart the watch command in order for your changes to take effect.\"\n ].join(\" \"),\n \"webiny.config.tsx\"\n );\n }\n}\n\nexport const ShowConfigChangeInfoBeforeApiWatch = ApiBeforeWatch.createImplementation({\n implementation: ShowConfigChangeInfoBeforeApiWatchImpl,\n dependencies: [UiService]\n});\n"],"mappings":"AAAA,SAASA,cAAc,EAAEC,SAAS;AAElC,MAAMC,sCAAsC,CAAqC;EAC7EC,WAAWA,CAASC,EAAuB,EAAE;IAAA,KAAzBA,EAAuB,GAAvBA,EAAuB;EAAG;EAE9C,MAAMC,OAAOA,CAAA,EAAG;IACZ,IAAI,CAACD,EAAE,CAACE,IAAI,CACR,CACI,oDAAoD,EACpD,oFAAoF,CACvF,CAACC,IAAI,CAAC,GAAG,CAAC,EACX,mBACJ,CAAC;EACL;AACJ;AAEA,OAAO,MAAMC,kCAAkC,GAAGR,cAAc,CAACS,oBAAoB,CAAC;EAClFC,cAAc,EAAER,sCAAsC;EACtDS,YAAY,EAAE,CAACV,SAAS;AAC5B,CAAC,CAAC","ignoreList":[]}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { AdminAfterDeploy } from "../../abstractions/index.js";
|
|
2
|
+
declare class TelemetryNoLongerNewUserImpl implements AdminAfterDeploy.Interface {
|
|
3
|
+
execute(): Promise<void>;
|
|
4
|
+
}
|
|
5
|
+
export declare const TelemetryNoLongerNewUser: typeof TelemetryNoLongerNewUserImpl & {
|
|
6
|
+
__abstraction: import("@webiny/di").Abstraction<import("~/abstractions/index.js").IAdminAfterDeploy>;
|
|
7
|
+
};
|
|
8
|
+
export {};
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { AdminAfterDeploy } from "../../abstractions/index.js";
|
|
2
|
+
import { globalConfig } from "@webiny/global-config";
|
|
3
|
+
class TelemetryNoLongerNewUserImpl {
|
|
4
|
+
async execute() {
|
|
5
|
+
// Mark the user as no longer new.
|
|
6
|
+
globalConfig.set("newUser", false);
|
|
7
|
+
}
|
|
8
|
+
}
|
|
9
|
+
export const TelemetryNoLongerNewUser = AdminAfterDeploy.createImplementation({
|
|
10
|
+
implementation: TelemetryNoLongerNewUserImpl,
|
|
11
|
+
dependencies: []
|
|
12
|
+
});
|
|
13
|
+
|
|
14
|
+
//# sourceMappingURL=TelemetryNoLongerNewUser.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["AdminAfterDeploy","globalConfig","TelemetryNoLongerNewUserImpl","execute","set","TelemetryNoLongerNewUser","createImplementation","implementation","dependencies"],"sources":["TelemetryNoLongerNewUser.ts"],"sourcesContent":["import { AdminAfterDeploy } from \"~/abstractions/index.js\";\nimport { globalConfig } from \"@webiny/global-config\";\n\nclass TelemetryNoLongerNewUserImpl implements AdminAfterDeploy.Interface {\n async execute() {\n // Mark the user as no longer new.\n globalConfig.set(\"newUser\", false);\n }\n}\n\nexport const TelemetryNoLongerNewUser = AdminAfterDeploy.createImplementation({\n implementation: TelemetryNoLongerNewUserImpl,\n dependencies: []\n});\n"],"mappings":"AAAA,SAASA,gBAAgB;AACzB,SAASC,YAAY,QAAQ,uBAAuB;AAEpD,MAAMC,4BAA4B,CAAuC;EACrE,MAAMC,OAAOA,CAAA,EAAG;IACZ;IACAF,YAAY,CAACG,GAAG,CAAC,SAAS,EAAE,KAAK,CAAC;EACtC;AACJ;AAEA,OAAO,MAAMC,wBAAwB,GAAGL,gBAAgB,CAACM,oBAAoB,CAAC;EAC1EC,cAAc,EAAEL,4BAA4B;EAC5CM,YAAY,EAAE;AAClB,CAAC,CAAC","ignoreList":[]}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { CoreBeforeDeploy, IsRemotePulumiBackendService, ProjectSdkParamsService } from "../../abstractions/index.js";
|
|
2
|
+
declare class ValidateProductionPulumiStateImpl implements CoreBeforeDeploy.Interface {
|
|
3
|
+
private isRemotePulumiBackendService;
|
|
4
|
+
private projectSdkParamsService;
|
|
5
|
+
constructor(isRemotePulumiBackendService: IsRemotePulumiBackendService.Interface, projectSdkParamsService: ProjectSdkParamsService.Interface);
|
|
6
|
+
execute(params: CoreBeforeDeploy.Params): Promise<void>;
|
|
7
|
+
}
|
|
8
|
+
export declare const ValidateProductionPulumiState: typeof ValidateProductionPulumiStateImpl & {
|
|
9
|
+
__abstraction: import("@webiny/di").Abstraction<import("~/abstractions/index.js").ICoreBeforeDeploy>;
|
|
10
|
+
};
|
|
11
|
+
export {};
|