Skip to content

Commit 2852495

Browse files
committed
bump to 0.3.1 in example
1 parent df65b1f commit 2852495

File tree

4 files changed

+78
-100
lines changed

4 files changed

+78
-100
lines changed

examples/cdk/package-lock.json

Lines changed: 68 additions & 92 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

examples/cdk/package.json

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,15 @@
11
{
22
"name": "cdk-app",
3-
"version": "0.2.0",
3+
"version": "0.3.1",
44
"bin": {
55
"cdk-app": "bin/cdk-app.js"
66
},
77
"scripts": {
88
"build": "tsc --skipLibCheck",
99
"watch": "tsc -w",
10-
"test": "npm run build && jest",
10+
"test": "npm run test:unit",
11+
"test:unit": "npm run build && jest",
12+
"test:e2e": "echo 'To be implemented ...'",
1113
"cdk": "cdk"
1214
},
1315
"devDependencies": {
@@ -21,10 +23,10 @@
2123
"typescript": "^4.1.3"
2224
},
2325
"dependencies": {
24-
"@aws-lambda-powertools/commons": "^0.2.0",
25-
"@aws-lambda-powertools/logger": "^0.2.0",
26-
"@aws-lambda-powertools/metrics": "^0.2.0",
27-
"@aws-lambda-powertools/tracer": "^0.2.0",
26+
"@aws-lambda-powertools/commons": "^0.3.1",
27+
"@aws-lambda-powertools/logger": "^0.3.1",
28+
"@aws-lambda-powertools/metrics": "^0.3.1",
29+
"@aws-lambda-powertools/tracer": "^0.3.1",
2830
"@aws-sdk/client-sts": "^3.43.0",
2931
"@middy/core": "^2.5.3",
3032
"@middy/http-error-handler": "^2.5.3",

examples/cdk/tests/__snapshots__/cdk-app.test.ts.snap

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
// Jest Snapshot v1, https://goo.gl/fbAQLP
22

3-
exports[`It Deploys 1`] = `
3+
exports[`CDK code synthesize 1`] = `
44
Object {
55
"Parameters": Object {
66
"BootstrapVersion": Object {

examples/cdk/tests/cdk-app.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ import * as cdk from 'aws-cdk-lib';
22
import { Template } from 'aws-cdk-lib/assertions';
33
import * as CdkApp from '../src/example-stack';
44

5-
test('It Deploys', () => {
5+
test('CDK code synthesize', () => {
66
const app = new cdk.App();
77
const stack = new CdkApp.CdkAppStack(app, 'MyTestStack');
88
expect(Template.fromStack(stack)).toMatchSnapshot();

0 commit comments

Comments
 (0)