@stacksjs/ts-cloud 0.7.5 → 0.7.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/aws/index.js +259 -0
- package/dist/bin/cli.js +124 -124
- package/dist/chunk-0wxyppza.js +146 -0
- package/dist/chunk-3knnr7wh.js +601 -0
- package/dist/chunk-3rsfns7x.js +10427 -0
- package/dist/chunk-93hjhs78.js +1752 -0
- package/dist/chunk-arsh1g5h.js +1749 -0
- package/dist/chunk-b82pbxyp.js +1572 -0
- package/dist/chunk-c6rgvg1j.js +46124 -0
- package/dist/chunk-d2p5n2aq.js +23 -0
- package/dist/chunk-d7p84vz5.js +1699 -0
- package/dist/chunk-dpkk640m.js +4392 -0
- package/dist/chunk-eq08r166.js +8 -0
- package/dist/chunk-hsk6fe6x.js +371 -0
- package/dist/chunk-mj1tmhte.js +13 -0
- package/dist/chunk-p6309384.js +12828 -0
- package/dist/chunk-pegd7rmf.js +10 -0
- package/dist/chunk-pqfzdg68.js +12 -0
- package/dist/chunk-qpj3edwz.js +601 -0
- package/dist/chunk-tjjgajbh.js +1032 -0
- package/dist/chunk-tnztxpcb.js +630 -0
- package/dist/chunk-tt4kxske.js +1788 -0
- package/dist/chunk-v0bahtg2.js +4 -0
- package/dist/chunk-vd87cpvn.js +1754 -0
- package/dist/chunk-zn0nxxa8.js +1779 -0
- package/dist/deploy/index.js +87 -0
- package/dist/dns/index.js +31 -0
- package/dist/drivers/index.js +98 -0
- package/dist/index.d.ts +1 -1
- package/dist/index.js +4383 -91358
- package/dist/push/index.js +509 -0
- package/dist/ui/index.html +3 -3
- package/dist/ui/server/actions.html +3 -3
- package/dist/ui/server/backups.html +3 -3
- package/dist/ui/server/database.html +3 -3
- package/dist/ui/server/deployments.html +3 -3
- package/dist/ui/server/firewall.html +3 -3
- package/dist/ui/server/logs.html +3 -3
- package/dist/ui/server/services.html +3 -3
- package/dist/ui/server/sites.html +3 -3
- package/dist/ui/server/ssh-keys.html +3 -3
- package/dist/ui/server/terminal.html +3 -3
- package/dist/ui/server/workers.html +3 -3
- package/dist/ui/serverless/alarms.html +3 -3
- package/dist/ui/serverless/assets.html +3 -3
- package/dist/ui/serverless/data.html +3 -3
- package/dist/ui/serverless/deployments.html +3 -3
- package/dist/ui/serverless/functions.html +3 -3
- package/dist/ui/serverless/logs.html +3 -3
- package/dist/ui/serverless/queues.html +3 -3
- package/dist/ui/serverless/scheduler.html +3 -3
- package/dist/ui/serverless/secrets.html +3 -3
- package/dist/ui/serverless/traces.html +3 -3
- package/dist/ui/serverless.html +3 -3
- package/package.json +3 -3
|
@@ -0,0 +1,87 @@
|
|
|
1
|
+
import {
|
|
2
|
+
buildFunctionEnv,
|
|
3
|
+
dashboardActions,
|
|
4
|
+
deployServerlessApp,
|
|
5
|
+
deploySite,
|
|
6
|
+
infraEnvFromOutputs,
|
|
7
|
+
redeployServerlessApp,
|
|
8
|
+
resolveDashboardAction,
|
|
9
|
+
resolveDashboardData,
|
|
10
|
+
rollbackServerlessApp,
|
|
11
|
+
runRemoteCommand,
|
|
12
|
+
sanitizeCloudConfig,
|
|
13
|
+
setMaintenance,
|
|
14
|
+
startLocalDashboardServer
|
|
15
|
+
} from "../chunk-p6309384.js";
|
|
16
|
+
import {
|
|
17
|
+
buildAndPushServerlessImage
|
|
18
|
+
} from "../chunk-0wxyppza.js";
|
|
19
|
+
import"../chunk-b82pbxyp.js";
|
|
20
|
+
import"../chunk-hsk6fe6x.js";
|
|
21
|
+
import {
|
|
22
|
+
DASHBOARD_CREDENTIALS_FILE,
|
|
23
|
+
MANAGEMENT_DASHBOARD_SITE,
|
|
24
|
+
buildManagementDashboardArtifact,
|
|
25
|
+
ensureManagementDashboard,
|
|
26
|
+
isPhpSite,
|
|
27
|
+
resolveDashboardAuth,
|
|
28
|
+
resolveSiteDeployTarget,
|
|
29
|
+
resolveSiteKind,
|
|
30
|
+
resolveUiSource,
|
|
31
|
+
validateDeploymentConfig
|
|
32
|
+
} from "../chunk-dpkk640m.js";
|
|
33
|
+
import"../chunk-c6rgvg1j.js";
|
|
34
|
+
import"../chunk-93hjhs78.js";
|
|
35
|
+
import {
|
|
36
|
+
deleteStaticSite,
|
|
37
|
+
deployStaticSite,
|
|
38
|
+
deployStaticSiteFull,
|
|
39
|
+
deployStaticSiteWithExternalDns,
|
|
40
|
+
deployStaticSiteWithExternalDnsFull,
|
|
41
|
+
generateExternalDnsStaticSiteTemplate,
|
|
42
|
+
generateStaticSiteTemplate,
|
|
43
|
+
invalidateCache,
|
|
44
|
+
uploadStaticFiles
|
|
45
|
+
} from "../chunk-d7p84vz5.js";
|
|
46
|
+
import"../chunk-tjjgajbh.js";
|
|
47
|
+
import"../chunk-tt4kxske.js";
|
|
48
|
+
import"../chunk-tnztxpcb.js";
|
|
49
|
+
import"../chunk-qpj3edwz.js";
|
|
50
|
+
import"../chunk-vd87cpvn.js";
|
|
51
|
+
import"../chunk-arsh1g5h.js";
|
|
52
|
+
import"../chunk-v0bahtg2.js";
|
|
53
|
+
export {
|
|
54
|
+
validateDeploymentConfig,
|
|
55
|
+
uploadStaticFiles,
|
|
56
|
+
startLocalDashboardServer,
|
|
57
|
+
setMaintenance,
|
|
58
|
+
sanitizeCloudConfig,
|
|
59
|
+
runRemoteCommand,
|
|
60
|
+
rollbackServerlessApp,
|
|
61
|
+
resolveUiSource,
|
|
62
|
+
resolveSiteKind,
|
|
63
|
+
resolveSiteDeployTarget,
|
|
64
|
+
resolveDashboardData,
|
|
65
|
+
resolveDashboardAuth,
|
|
66
|
+
resolveDashboardAction,
|
|
67
|
+
redeployServerlessApp,
|
|
68
|
+
isPhpSite,
|
|
69
|
+
invalidateCache,
|
|
70
|
+
infraEnvFromOutputs,
|
|
71
|
+
generateStaticSiteTemplate,
|
|
72
|
+
generateExternalDnsStaticSiteTemplate,
|
|
73
|
+
ensureManagementDashboard,
|
|
74
|
+
deployStaticSiteWithExternalDnsFull,
|
|
75
|
+
deployStaticSiteWithExternalDns,
|
|
76
|
+
deployStaticSiteFull,
|
|
77
|
+
deployStaticSite,
|
|
78
|
+
deploySite,
|
|
79
|
+
deployServerlessApp,
|
|
80
|
+
deleteStaticSite,
|
|
81
|
+
dashboardActions,
|
|
82
|
+
buildManagementDashboardArtifact,
|
|
83
|
+
buildFunctionEnv,
|
|
84
|
+
buildAndPushServerlessImage,
|
|
85
|
+
MANAGEMENT_DASHBOARD_SITE,
|
|
86
|
+
DASHBOARD_CREDENTIALS_FILE
|
|
87
|
+
};
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
import {
|
|
2
|
+
CloudflareProvider,
|
|
3
|
+
DnsProviderFactory,
|
|
4
|
+
GoDaddyProvider,
|
|
5
|
+
PorkbunProvider,
|
|
6
|
+
Route53Provider,
|
|
7
|
+
UnifiedDnsValidator,
|
|
8
|
+
createDnsProvider,
|
|
9
|
+
createGoDaddyValidator,
|
|
10
|
+
createPorkbunValidator,
|
|
11
|
+
createRoute53Validator,
|
|
12
|
+
detectDnsProvider,
|
|
13
|
+
dnsProviders
|
|
14
|
+
} from "../chunk-tt4kxske.js";
|
|
15
|
+
import"../chunk-tnztxpcb.js";
|
|
16
|
+
import"../chunk-arsh1g5h.js";
|
|
17
|
+
import"../chunk-v0bahtg2.js";
|
|
18
|
+
export {
|
|
19
|
+
dnsProviders,
|
|
20
|
+
detectDnsProvider,
|
|
21
|
+
createRoute53Validator,
|
|
22
|
+
createPorkbunValidator,
|
|
23
|
+
createGoDaddyValidator,
|
|
24
|
+
createDnsProvider,
|
|
25
|
+
UnifiedDnsValidator,
|
|
26
|
+
Route53Provider,
|
|
27
|
+
PorkbunProvider,
|
|
28
|
+
GoDaddyProvider,
|
|
29
|
+
DnsProviderFactory,
|
|
30
|
+
CloudflareProvider
|
|
31
|
+
};
|
|
@@ -0,0 +1,98 @@
|
|
|
1
|
+
import {
|
|
2
|
+
AwsDriver,
|
|
3
|
+
CloudDriverFactory,
|
|
4
|
+
DEFAULT_RPX_CERTS_DIR,
|
|
5
|
+
HetznerClient,
|
|
6
|
+
HetznerDriver,
|
|
7
|
+
LocalBoxDriver,
|
|
8
|
+
MANAGED_CACHE_POLICY_DISABLED,
|
|
9
|
+
MANAGED_CACHE_POLICY_OPTIMIZED,
|
|
10
|
+
MANAGED_ORIGIN_REQUEST_POLICY_ALL_VIEWER,
|
|
11
|
+
RPX_DIR,
|
|
12
|
+
RPX_LAUNCHER_PATH,
|
|
13
|
+
RPX_SERVICE_NAME,
|
|
14
|
+
buildAwsArtifactFetch,
|
|
15
|
+
buildCloudFrontOriginConfig,
|
|
16
|
+
buildLocalArtifactFetch,
|
|
17
|
+
buildRpxConfig,
|
|
18
|
+
buildRpxLbConfig,
|
|
19
|
+
buildRpxProvisionScript,
|
|
20
|
+
buildSiteDeployScript,
|
|
21
|
+
buildSshArgs,
|
|
22
|
+
buildStaticSiteDeployScript,
|
|
23
|
+
buildUbuntuBootstrapScript,
|
|
24
|
+
cloudDrivers,
|
|
25
|
+
createCloudDriver,
|
|
26
|
+
deployAllComputeSites,
|
|
27
|
+
deploySiteRelease,
|
|
28
|
+
deriveRouteId,
|
|
29
|
+
ensureFirewall,
|
|
30
|
+
ensureServer,
|
|
31
|
+
ensureSshKey,
|
|
32
|
+
isBoxMode,
|
|
33
|
+
normalizeRoutePath,
|
|
34
|
+
normalizeSshPublicKey,
|
|
35
|
+
reloadRpxGateway,
|
|
36
|
+
renderRpxLauncher,
|
|
37
|
+
resolveExecStart,
|
|
38
|
+
resolveHetznerApiToken,
|
|
39
|
+
scpUpload,
|
|
40
|
+
serverPublicIpv4,
|
|
41
|
+
sshExec,
|
|
42
|
+
sshExecOrThrow,
|
|
43
|
+
waitForCloudInit,
|
|
44
|
+
waitForSsh,
|
|
45
|
+
wrapCloudInitUserData
|
|
46
|
+
} from "../chunk-dpkk640m.js";
|
|
47
|
+
import"../chunk-c6rgvg1j.js";
|
|
48
|
+
import"../chunk-93hjhs78.js";
|
|
49
|
+
import"../chunk-qpj3edwz.js";
|
|
50
|
+
import"../chunk-vd87cpvn.js";
|
|
51
|
+
import"../chunk-arsh1g5h.js";
|
|
52
|
+
import"../chunk-v0bahtg2.js";
|
|
53
|
+
export {
|
|
54
|
+
wrapCloudInitUserData,
|
|
55
|
+
waitForSsh,
|
|
56
|
+
waitForCloudInit,
|
|
57
|
+
sshExecOrThrow,
|
|
58
|
+
sshExec,
|
|
59
|
+
serverPublicIpv4,
|
|
60
|
+
scpUpload,
|
|
61
|
+
resolveHetznerApiToken,
|
|
62
|
+
resolveExecStart,
|
|
63
|
+
renderRpxLauncher,
|
|
64
|
+
reloadRpxGateway,
|
|
65
|
+
normalizeSshPublicKey,
|
|
66
|
+
normalizeRoutePath,
|
|
67
|
+
isBoxMode,
|
|
68
|
+
buildUbuntuBootstrapScript as generateUbuntuAppCloudInit,
|
|
69
|
+
ensureSshKey,
|
|
70
|
+
ensureServer,
|
|
71
|
+
ensureFirewall,
|
|
72
|
+
deriveRouteId,
|
|
73
|
+
deploySiteRelease,
|
|
74
|
+
deployAllComputeSites,
|
|
75
|
+
createCloudDriver,
|
|
76
|
+
cloudDrivers,
|
|
77
|
+
buildStaticSiteDeployScript,
|
|
78
|
+
buildSshArgs,
|
|
79
|
+
buildSiteDeployScript,
|
|
80
|
+
buildRpxProvisionScript,
|
|
81
|
+
buildRpxLbConfig,
|
|
82
|
+
buildRpxConfig,
|
|
83
|
+
buildLocalArtifactFetch,
|
|
84
|
+
buildCloudFrontOriginConfig,
|
|
85
|
+
buildAwsArtifactFetch,
|
|
86
|
+
RPX_SERVICE_NAME,
|
|
87
|
+
RPX_LAUNCHER_PATH,
|
|
88
|
+
RPX_DIR,
|
|
89
|
+
MANAGED_ORIGIN_REQUEST_POLICY_ALL_VIEWER,
|
|
90
|
+
MANAGED_CACHE_POLICY_OPTIMIZED,
|
|
91
|
+
MANAGED_CACHE_POLICY_DISABLED,
|
|
92
|
+
LocalBoxDriver,
|
|
93
|
+
HetznerDriver,
|
|
94
|
+
HetznerClient,
|
|
95
|
+
DEFAULT_RPX_CERTS_DIR,
|
|
96
|
+
CloudDriverFactory,
|
|
97
|
+
AwsDriver
|
|
98
|
+
};
|
package/dist/index.d.ts
CHANGED
|
@@ -11,7 +11,7 @@ export type { MigrateEndpoint, MigrateError, MigrateOptions, MigratePlanItem, Mi
|
|
|
11
11
|
export * from './ssl';
|
|
12
12
|
export { deployStaticSite, deployStaticSiteFull, uploadStaticFiles, invalidateCache, deleteStaticSite, generateStaticSiteTemplate, deployStaticSiteWithExternalDns, deployStaticSiteWithExternalDnsFull, generateExternalDnsStaticSiteTemplate, deploySite, resolveSiteDeployTarget, resolveSiteKind, validateDeploymentConfig, buildAndPushServerlessImage, buildFunctionEnv, deployServerlessApp, infraEnvFromOutputs, redeployServerlessApp, rollbackServerlessApp, runRemoteCommand, setMaintenance, buildManagementDashboardArtifact, DASHBOARD_CREDENTIALS_FILE, ensureManagementDashboard, MANAGEMENT_DASHBOARD_SITE, resolveDashboardAuth, resolveUiSource, } from './deploy';
|
|
13
13
|
export type { EnsureDashboardLogger, ResolvedDashboardAuth, StaticSiteConfig, DeployResult, UploadOptions, ExternalDnsStaticSiteConfig, ExternalDnsDeployResult, DeploySiteConfig, DeploySiteResult, StaticSiteDnsProvider, SiteDeployKind, DeploymentValidationResult, BuildImageOptions, BuiltImage, CodeSource, DeployServerlessOptions, ResolvedContext, } from './deploy';
|
|
14
|
-
export { createCloudDriver, CloudDriverFactory, cloudDrivers, AwsDriver, HetznerDriver, HetznerClient, resolveHetznerApiToken, generateUbuntuAppCloudInit, wrapCloudInitUserData, buildSiteDeployScript, buildStaticSiteDeployScript, resolveExecStart, deployAllComputeSites, deploySiteRelease, } from './drivers';
|
|
14
|
+
export { createCloudDriver, CloudDriverFactory, cloudDrivers, AwsDriver, HetznerDriver, HetznerClient, resolveHetznerApiToken, normalizeSshPublicKey, ensureFirewall, ensureServer, ensureSshKey, serverPublicIpv4, sshExec, sshExecOrThrow, scpUpload, waitForSsh, waitForCloudInit, buildSshArgs, generateUbuntuAppCloudInit, wrapCloudInitUserData, buildSiteDeployScript, buildStaticSiteDeployScript, resolveExecStart, deployAllComputeSites, deploySiteRelease, } from './drivers';
|
|
15
15
|
export type { CreateCloudDriverOptions } from './drivers/factory';
|
|
16
16
|
export { dashboardActions, resolveDashboardAction, sanitizeCloudConfig, startLocalDashboardServer, } from './deploy/local-dashboard-server';
|
|
17
17
|
export type { DashboardAction, LocalDashboardServer, LocalDashboardServerOptions, } from './deploy/local-dashboard-server';
|