All files / utils versions.ts

100% Statements 18/18
100% Branches 0/0
100% Functions 1/1
100% Lines 17/17

Press n or j to go to the next uncovered block, b, p or k for the previous block.

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81                                                      5x   179x 179x 179x   179x 179x 179x   179x   179x 179x   179x   179x   179x 179x   179x   179x   179x                                                      
export interface Versions {
  // CDK dependencies
  'aws-cdk-lib': string;
  constructs: string;
  'source-map-support': string;
  // CDK development dependencies
  'aws-cdk': string;
  'tsconfig-paths': string;
  'ts-node': string;
  // Lambda dependencies
  '@aws-lambda-powertools/logger': string;
  // Lambda development dependencies
  '@types/aws-lambda': string;
  esbuild: string;
  // TypeScript dependencies
  tslib: string;
  // TypeScript development dependencies
  '@types/node': string;
  // E2E common
  '@aws-sdk/credential-providers': string;
  '@aws-sdk/client-ssm': string;
  // E2E generic dependencies
  '@aws-sdk/client-sqs': string;
  // E2E lambda dependencies
  '@aws-sdk/client-lambda': string;
}
 
export const getVersions = (): Versions => {
  // CDK dependencies
  const awsCdkLib = '^2.114.1';
  const constructs = '^10.3.0';
  const sourceMapSupport = '^0.5.21';
  // CDK development dependencies
  const awsCdk = '^2.114.1';
  const tsconfigPaths = '^4.2.0';
  const tsNode = '^10.9.2';
  // Lambda dependencies
  const powertoolsLogger = '^1.17.0';
  // Lambda development dependencies
  const typesAwsLambda = '^8.10.130';
  const esbuild = '^0.19.9';
  // TypeScript dependencies
  const tslib = '^2.6.2';
  // TypeScript development dependencies
  const typesNode = '^20.10.4';
  // E2E common
  const awsSdkCredentialProviders = '^3.470.0';
  const awsSdkClientSsm = '^3.470.0';
  // E2E generic dependencies
  const awsSdkClientSqs = '^3.470.0';
  // E2E lambda dependencies
  const awsSdkClientLambda = '^3.470.0';
 
  return {
    // CDK dependencies
    'aws-cdk-lib': awsCdkLib,
    constructs,
    'source-map-support': sourceMapSupport,
    // CDK development dependencies
    'aws-cdk': awsCdk,
    'tsconfig-paths': tsconfigPaths,
    'ts-node': tsNode,
    // Lambda dependencies
    '@aws-lambda-powertools/logger': powertoolsLogger,
    // Lambda development dependencies
    '@types/aws-lambda': typesAwsLambda,
    esbuild,
    // TypeScript dependencies
    tslib,
    // TypeScript development dependencies
    '@types/node': typesNode,
    // E2E common
    '@aws-sdk/credential-providers': awsSdkCredentialProviders,
    '@aws-sdk/client-ssm': awsSdkClientSsm,
    // E2E generic dependencies
    '@aws-sdk/client-sqs': awsSdkClientSqs,
    // E2E lambda dependencies
    '@aws-sdk/client-lambda': awsSdkClientLambda,
  };
};