Skip to content

Commit

Permalink
fix: set minimum supported SDK version
Browse files Browse the repository at this point in the history
  • Loading branch information
godu committed Apr 23, 2024
1 parent 355e427 commit 3c986e8
Show file tree
Hide file tree
Showing 49 changed files with 1,410 additions and 3,178 deletions.
13 changes: 7 additions & 6 deletions .projenrc.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ import { Changesets, Docgen, TypeScriptLibProject, Vitest } from "./projenrc";
const org = "floydspace";
const name = "effect-aws";
const repo = `${org}/${name}`;
const awsSdkVersion = "3.556.0";

const project = new monorepo.MonorepoTsProject({
name: name,
Expand Down Expand Up @@ -54,15 +55,15 @@ new TypeScriptLibProject({
new TypeScriptLibProject({
parent: project,
name: "client-api-gateway-management-api",
deps: [...commonDeps, "@aws-sdk/client-apigatewaymanagementapi@^3"],
deps: [...commonDeps, `@aws-sdk/client-apigatewaymanagementapi@^${awsSdkVersion}`],
devDeps: commonDevDeps,
peerDeps: commonPeerDeps,
});

const dynamodbClient = new TypeScriptLibProject({
parent: project,
name: "client-dynamodb",
deps: [...commonDeps, "@aws-sdk/client-dynamodb@^3"],
deps: [...commonDeps, `@aws-sdk/client-dynamodb@^${awsSdkVersion}`],
devDeps: commonDevDeps,
peerDeps: commonPeerDeps,
});
Expand All @@ -72,8 +73,8 @@ const dynamodbLib = new TypeScriptLibProject({
name: "lib-dynamodb",
deps: [
...commonDeps,
"@aws-sdk/client-dynamodb@^3",
"@aws-sdk/lib-dynamodb@^3",
`@aws-sdk/client-dynamodb@^${awsSdkVersion}`,
`@aws-sdk/lib-dynamodb@^${awsSdkVersion}`,
],
devDeps: commonDevDeps,
peerDeps: [...commonPeerDeps, dynamodbClient.package.packageName],
Expand All @@ -95,7 +96,7 @@ const clients = [
{name: 'opensearch'},
{name: 'opensearchserverless'},
{name: 'rds'},
{name: 's3', extraDeps: ['@aws-sdk/s3-request-presigner@^3']},
{name: 's3', extraDeps: [`@aws-sdk/s3-request-presigner@^${awsSdkVersion}`]},
{name: 'sfn'},
{name: 'sns'},
{name: 'sqs'},
Expand All @@ -105,7 +106,7 @@ for (const {name, extraDeps = []} of clients) {
new TypeScriptLibProject({
parent: project,
name: `client-${name}`,
deps: [...commonDeps, `@aws-sdk/client-${name}@^3`, ...extraDeps],
deps: [...commonDeps, `@aws-sdk/client-${name}@^${awsSdkVersion}`, ...extraDeps],
devDeps: commonDevDeps,
peerDeps: commonPeerDeps,
});
Expand Down

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion packages/client-api-gateway-management-api/package.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion packages/client-cloudtrail/.projen/deps.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion packages/client-cloudtrail/package.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion packages/client-cloudwatch-events/.projen/deps.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion packages/client-cloudwatch-events/package.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion packages/client-cloudwatch-logs/.projen/deps.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion packages/client-cloudwatch-logs/package.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion packages/client-cloudwatch/.projen/deps.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion packages/client-cloudwatch/package.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion packages/client-cognito-identity-provider/package.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion packages/client-dynamodb/.projen/deps.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion packages/client-dynamodb/package.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion packages/client-ec2/.projen/deps.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion packages/client-ec2/package.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit 3c986e8

Please sign in to comment.