@fy-stack/app-construct 0.0.147-alpha.3069 → 0.0.147-alpha.30691

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.
@@ -90,7 +90,7 @@ class NextAppRouterConstruct extends constructs_1.Construct {
90
90
  invokeMode: aws_lambda_1.InvokeMode.RESPONSE_STREAM,
91
91
  });
92
92
  if (this.files.staticFiles) {
93
- const staticFiles = s3Deploy.Source.bucket(this.static, this.files.staticFiles.key);
93
+ const staticFiles = s3Deploy.Source.bucket(this.files.artifactBucket, this.files.staticFiles.key);
94
94
  const deployment = new s3Deploy.BucketDeployment(this, `${strippedBasePath}StaticDeployment`, {
95
95
  destinationBucket: this.static,
96
96
  prune: false,
@@ -105,7 +105,7 @@ class NextAppRouterConstruct extends constructs_1.Construct {
105
105
  }
106
106
  }
107
107
  if (this.files.publicFiles) {
108
- const publicFiles = s3Deploy.Source.bucket(this.static, this.files.publicFiles.key);
108
+ const publicFiles = s3Deploy.Source.bucket(this.files.artifactBucket, this.files.publicFiles.key);
109
109
  const deployment = new s3Deploy.BucketDeployment(this, `${strippedBasePath}PublicDeployment`, {
110
110
  destinationBucket: this.static,
111
111
  prune: false,
@@ -11,7 +11,7 @@ function codeDeployment(scope, bucket, output, version) {
11
11
  destinationBucket: bucket,
12
12
  sources: [codeFiles],
13
13
  destinationKeyPrefix: codePrefix,
14
- retainOnDelete: false,
14
+ retainOnDelete: true,
15
15
  extract: false,
16
16
  });
17
17
  return cdk.Fn.join('/', [
package/package.json CHANGED
@@ -1,9 +1,9 @@
1
1
  {
2
2
  "name": "@fy-stack/app-construct",
3
- "version": "0.0.147-alpha.3069",
3
+ "version": "0.0.147-alpha.30691",
4
4
  "repository": "https://github.com/festusyuma/fy-stack",
5
5
  "dependencies": {
6
- "@fy-stack/types": "0.0.147-alpha.3069",
6
+ "@fy-stack/types": "0.0.147-alpha.30691",
7
7
  "tslib": "^2.3.0",
8
8
  "zod": "^4.3.6"
9
9
  },