@stacksjs/cloud 0.59.6 → 0.59.8
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/helpers.d.ts
CHANGED
|
@@ -2,7 +2,7 @@ import { _InstanceType as InstanceType } from '@aws-sdk/client-ec2';
|
|
|
2
2
|
import type { CountryCode } from '@aws-sdk/client-route-53-domains';
|
|
3
3
|
import { ContactType } from '@aws-sdk/client-route-53-domains';
|
|
4
4
|
export { InstanceType };
|
|
5
|
-
export declare function getSecurityGroupId(securityGroupName: string): Promise<
|
|
5
|
+
export declare function getSecurityGroupId(securityGroupName: string): Promise<any>;
|
|
6
6
|
export interface PurchaseOptions {
|
|
7
7
|
domain: string;
|
|
8
8
|
years: number;
|
|
@@ -47,20 +47,20 @@ export interface PurchaseOptions {
|
|
|
47
47
|
contactType: ContactType;
|
|
48
48
|
verbose: boolean;
|
|
49
49
|
}
|
|
50
|
-
export declare function purchaseDomain(domain: string, options: PurchaseOptions):
|
|
50
|
+
export declare function purchaseDomain(domain: string, options: PurchaseOptions): any;
|
|
51
51
|
export declare function getJumpBoxInstanceId(name?: string): Promise<string | undefined>;
|
|
52
|
-
export declare function deleteEc2Instance(id: string, stackName?: string): Promise<
|
|
53
|
-
export declare function deleteJumpBox(stackName?: string): Promise<
|
|
54
|
-
export declare function deleteIamUsers(): Promise<
|
|
55
|
-
export declare function deleteStacksBuckets(): Promise<
|
|
56
|
-
export declare function deleteStacksFunctions(): Promise<
|
|
57
|
-
export declare function deleteLogGroups(): Promise<
|
|
58
|
-
export declare function deleteParameterStore(): Promise<
|
|
59
|
-
export declare function deleteCdkRemnants(): Promise<
|
|
60
|
-
export declare function hasBeenDeployed(): Promise<
|
|
61
|
-
export declare function getJumpBoxInstanceProfileName(): Promise<
|
|
62
|
-
export declare function addJumpBox(stackName?: string): Promise<
|
|
63
|
-
export declare function getJumpBoxSecurityGroupName(): Promise<
|
|
52
|
+
export declare function deleteEc2Instance(id: string, stackName?: string): Promise<any>;
|
|
53
|
+
export declare function deleteJumpBox(stackName?: string): Promise<any>;
|
|
54
|
+
export declare function deleteIamUsers(): Promise<any>;
|
|
55
|
+
export declare function deleteStacksBuckets(): Promise<any>;
|
|
56
|
+
export declare function deleteStacksFunctions(): Promise<any>;
|
|
57
|
+
export declare function deleteLogGroups(): Promise<any>;
|
|
58
|
+
export declare function deleteParameterStore(): Promise<any>;
|
|
59
|
+
export declare function deleteCdkRemnants(): Promise<any>;
|
|
60
|
+
export declare function hasBeenDeployed(): Promise<any>;
|
|
61
|
+
export declare function getJumpBoxInstanceProfileName(): Promise<any>;
|
|
62
|
+
export declare function addJumpBox(stackName?: string): Promise<any>;
|
|
63
|
+
export declare function getJumpBoxSecurityGroupName(): Promise<any>;
|
|
64
64
|
export declare function getSecurityGroupFromInstanceId(instanceId: string): Promise<string | undefined>;
|
|
65
65
|
export declare function isFirstDeployment(): Promise<boolean>;
|
|
66
66
|
export declare function isFailedState(): Promise<boolean>;
|
package/dist/index.js
CHANGED
|
@@ -1175,7 +1175,7 @@ class DeploymentStack {
|
|
|
1175
1175
|
this.websiteSource = config12.app.docMode === true ? this.docsSource : "../views/dist/";
|
|
1176
1176
|
new s3deploy.BucketDeployment(scope, "Website", {
|
|
1177
1177
|
sources: [s3deploy.Source.asset(this.websiteSource, {
|
|
1178
|
-
assetHash: websiteSourceHash,
|
|
1178
|
+
assetHash: websiteSourceHash(),
|
|
1179
1179
|
assetHashType: AssetHashType2.CUSTOM
|
|
1180
1180
|
})],
|
|
1181
1181
|
destinationBucket: props.publicBucket,
|
package/package.json
CHANGED
package/src/cloud/deployment.ts
CHANGED
|
@@ -25,7 +25,7 @@ export class DeploymentStack {
|
|
|
25
25
|
|
|
26
26
|
new s3deploy.BucketDeployment(scope, 'Website', {
|
|
27
27
|
sources: [s3deploy.Source.asset(this.websiteSource, {
|
|
28
|
-
assetHash: websiteSourceHash,
|
|
28
|
+
assetHash: websiteSourceHash(),
|
|
29
29
|
assetHashType: AssetHashType.CUSTOM,
|
|
30
30
|
})],
|
|
31
31
|
destinationBucket: props.publicBucket,
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "stacks-router-layer",
|
|
3
|
-
"version": "0.59.
|
|
3
|
+
"version": "0.59.8",
|
|
4
4
|
"description": "",
|
|
5
5
|
"author": "",
|
|
6
6
|
"license": "MIT",
|
|
@@ -10,6 +10,6 @@
|
|
|
10
10
|
"test": "echo \"Error: no test specified\" && exit 1"
|
|
11
11
|
},
|
|
12
12
|
"dependencies": {
|
|
13
|
-
"@stacksjs/router": "^0.59.
|
|
13
|
+
"@stacksjs/router": "^0.59.6"
|
|
14
14
|
}
|
|
15
15
|
}
|