Skip to content

Commit 7b21aa0

Browse files
authored
chore(release): 1.34.1
See CHANGELOG
2 parents 33f8ec8 + 0aac64e commit 7b21aa0

8 files changed

Lines changed: 23 additions & 16 deletions

File tree

CHANGELOG.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,13 @@
22

33
All notable changes to this project will be documented in this file. See [standard-version](https://github.com/conventional-changelog/standard-version) for commit guidelines.
44

5+
## [1.34.1](https://github.com/aws/aws-cdk/compare/v1.34.0...v1.34.1) (2020-04-22)
6+
7+
8+
### Bug Fixes
9+
10+
* **cli:** Javascript init-templates cannot be synthesized ([ce4b8dd](https://github.com/aws/aws-cdk/commit/ce4b8dde205ca03891e0aee21b473b974d674154)), closes [#7356](https://github.com/aws/aws-cdk/issues/7356)
11+
512
## [1.34.0](https://github.com/aws/aws-cdk/compare/v1.33.1...v1.34.0) (2020-04-21)
613

714

lerna.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,5 +10,5 @@
1010
"tools/*"
1111
],
1212
"rejectCycles": "true",
13-
"version": "1.34.0"
13+
"version": "1.34.1"
1414
}
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
#!/usr/bin/env node
22

3-
import * as cdk from '@aws-cdk/core';
4-
import { %name.PascalCased%Stack } from '../lib/%name%-stack';
3+
const cdk = require('@aws-cdk/core');
4+
const { %name.PascalCased%Stack } = require('../lib/%name%-stack');
55

66
const app = new cdk.App();
77
new %name.PascalCased%Stack(app, '%name.PascalCased%Stack');

packages/aws-cdk/lib/init-templates/app/javascript/lib/%name%-stack.template.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import * as cdk from '@aws-cdk/core';
1+
const cdk = require('@aws-cdk/core');
22

33
class %name.PascalCased%Stack extends cdk.Stack {
44
/**

packages/aws-cdk/lib/init-templates/app/javascript/test/%name%.test.template.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
import { expect, matchTemplate, MatchStyle } from '@aws-cdk/assert';
2-
import * as cdk from '@aws-cdk/core';
3-
import * as %name.PascalCased% from '../lib/%name%-stack';
1+
const { expect, matchTemplate, MatchStyle } = require('@aws-cdk/assert');
2+
const cdk = require('@aws-cdk/core');
3+
const %name.PascalCased% = require('../lib/%name%-stack');
44

55
test('Empty Stack', () => {
66
const app = new cdk.App();
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
#!/usr/bin/env node
2-
import * as cdk from '@aws-cdk/core';
3-
import { %name.PascalCased%Stack } from '../lib/%name%-stack';
2+
const cdk = require('@aws-cdk/core');
3+
const { %name.PascalCased%Stack } = require('../lib/%name%-stack');
44

55
const app = new cdk.App();
66
new %name.PascalCased%Stack(app, '%name.PascalCased%Stack');

packages/aws-cdk/lib/init-templates/sample-app/javascript/lib/%name%-stack.template.js

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
1-
import * as sns from '@aws-cdk/aws-sns';
2-
import * as subs from '@aws-cdk/aws-sns-subscriptions';
3-
import * as sqs from '@aws-cdk/aws-sqs';
4-
import * as cdk from '@aws-cdk/core';
1+
const sns = require('@aws-cdk/aws-sns');
2+
const subs = require('@aws-cdk/aws-sns-subscriptions');
3+
const sqs = require('@aws-cdk/aws-sqs');
4+
const cdk = require('@aws-cdk/core');
55

66
class %name.PascalCased%Stack extends cdk.Stack {
77
/**

packages/aws-cdk/lib/init-templates/sample-app/javascript/test/%name%.test.template.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
import { expect, haveResource } from '@aws-cdk/assert';
2-
import * as cdk from '@aws-cdk/core';
3-
import * as %name.PascalCased% from '../lib/%name%-stack';
1+
const { expect, haveResource } = require('@aws-cdk/assert');
2+
const cdk = require('@aws-cdk/core');
3+
const %name.PascalCased% = require('../lib/%name%-stack');
44

55
test('SQS Queue Created', () => {
66
const app = new cdk.App();

0 commit comments

Comments
 (0)