Skip to content

Commit 743d3de

Browse files
walmslesm-walmsley
andauthored
fix(cdk-version): CDK Upgrade and update deprecated libraries (#8)
* feat(callabckUrl): Provide getter for the socket callabckUrl to enable re-use * fix(API doc): updated API.md from build pocess * Upgrade to latest CDK version, promote apigatewayv2 to aws-cdk-lib (alpha components deprecated) * Set Lambda runtime version centrally using constant and define universally across packaged lambda functions * fix(deps): update API.md and fix order of imports --------- Co-authored-by: Michael Walmsley <[email protected]>
1 parent 29eaa52 commit 743d3de

File tree

10 files changed

+201
-333
lines changed

10 files changed

+201
-333
lines changed

.gitignore

Lines changed: 1 addition & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.projen/deps.json

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

.projen/tasks.json

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.projenrc.ts

Lines changed: 3 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import { awscdk, javascript } from 'projen';
22

33
const packageManager = javascript.NodePackageManager.NPM;
4-
const cdkVersion = '2.104.0';
4+
const cdkVersion = '2.147.0';
55

66
const constructLib = new awscdk.AwsCdkConstructLibrary({
77
author: 'walmsles',
@@ -10,8 +10,8 @@ const constructLib = new awscdk.AwsCdkConstructLibrary({
1010
constructsVersion: '10.3.0',
1111
description: 'A collection of useful CDK constructs of known, repeatable patterns that are easily consumable.',
1212
defaultReleaseBranch: 'main',
13-
gitignore: ['.DS_Store', 'docs'],
14-
jsiiVersion: '~5.2.0',
13+
gitignore: ['.DS_Store', 'docs', '.idea'],
14+
jsiiVersion: '~5.4.0',
1515
majorVersion: 0,
1616
name: '@serverless-dna/constructs',
1717
packageManager,
@@ -23,14 +23,8 @@ const constructLib = new awscdk.AwsCdkConstructLibrary({
2323
'@aws-sdk/client-apigatewaymanagementapi',
2424
],
2525
devDeps: [
26-
'@aws-cdk/[email protected]',
27-
'@aws-cdk/[email protected]',
2826
'typedoc',
2927
],
30-
peerDeps: [
31-
'@aws-cdk/aws-apigatewayv2-alpha@^2.100.0-alpha.0',
32-
'@aws-cdk/aws-apigatewayv2-integrations-alpha@^2.100.0-alpha.0',
33-
],
3428
});
3529

3630
const typeDoc = 'type-doc';

API.md

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

0 commit comments

Comments
 (0)