@byaga/cdk-patterns 1.0.0 → 1.1.0

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.
@@ -22,7 +22,10 @@ function staticWebSite(id, props) {
22
22
  const cwd = (0, build_1.getSourceDirectory)('web', id);
23
23
  (0, child_process_1.spawnSync)('npm i', { cwd });
24
24
  console.log('Building UI Source', id);
25
- (0, child_process_1.spawnSync)('npm run export', { cwd });
25
+ (0, child_process_1.spawnSync)('npm run export', {
26
+ cwd,
27
+ env: { ...props.env }
28
+ });
26
29
  console.log('Total Build Duration (ms)', done());
27
30
  const certificate = (0, route53_1.apiCertificate)(id + '-certificate', props.domain);
28
31
  const s3BucketSource = (0, s3_1.createBucket)(`${id}-content`, {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@byaga/cdk-patterns",
3
- "version": "1.0.0",
3
+ "version": "1.1.0",
4
4
  "description": "Collection of common patterns used when making AWS CloudFormation templates using CDK",
5
5
  "main": "./lib/index.js",
6
6
  "types": "./lib/index.d.ts",