@ndlib/ndlib-cdk2 1.0.42 → 1.0.44

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -354,29 +354,6 @@ new EC2withDatabase (app, 'StackName', {
354
354
  });
355
355
  ```
356
356
 
357
- ## RDS Build - Postgres
358
-
359
- Creates a Postgres Serverless V2 database cluster with one writer instance. Several pieces of information must be sent in to the build procedure. This first pass was created specifically for DEC and may change over time.
360
-
361
- new PostgresRDSConstruct(this, `rds-peered-postgres-dec-${props.namespace}`, {
362
- availabilityZones: vpc.availabilityZones, // Must be passed in; must align with subnets
363
- dbClusterIdentifier: 'whatever-you-want-the-name-to-be, // Name of the database cluster
364
- dbFullVersion: AuroraPostgresEngineVersion.VER_16_4, // Can be any valid version of Postgres
365
- pgVersion: AuroraPostgresEngineVersion.VER_16_4, // Gives option of parameter group to be different
366
- rdsPostgresSecret: `whatever-you-want-secret-name`, // Secret with Postgres user password created
367
- privateSubnetIds: this.vpc.privateSubnets.map(subnet => subnet.subnetId), // Must be passed in
368
- SGIngressRules: [ // Additional rules for database access; can be empty
369
- {
370
- "ipv4": "10.58.250.75/32",
371
- "port": 5432,
372
- "description": "Postgres access to conductor server"
373
- },
374
- ],
375
- useVpcId: this.vpc.vpcId,
376
- // env: props.env,
377
- })
378
- Tags.of(this.PostgresDatabase).add('Backup', 'True') // The RDS should be tagged for backup
379
-
380
357
  ## Slack Integration
381
358
 
382
359
  Allows pipelines to send a message to Slack to solicit pipeline approval. The message will include information such as the pipeline, the github repos included in the pipeline, a link to the github commits, a link to the test version that was deployed, as well as a link to the prod version that will be replaced. Finally there will be buttons to Approve or Reject the pipeline.
package/lib/index.d.ts CHANGED
@@ -9,7 +9,6 @@ export * from './metrics';
9
9
  export * from './newman-runner';
10
10
  export * from './pipeline-notifications';
11
11
  export * from './pipeline-s3-sync';
12
- export * from './rds/postgres-stack';
13
12
  export * from './slack-integration';
14
13
  export * from './slack-pipeline-status-notifications';
15
14
  export * from './slos/alarms';
package/lib/index.js CHANGED
@@ -25,7 +25,6 @@ __exportStar(require("./metrics"), exports);
25
25
  __exportStar(require("./newman-runner"), exports);
26
26
  __exportStar(require("./pipeline-notifications"), exports);
27
27
  __exportStar(require("./pipeline-s3-sync"), exports);
28
- __exportStar(require("./rds/postgres-stack"), exports);
29
28
  __exportStar(require("./slack-integration"), exports);
30
29
  __exportStar(require("./slack-pipeline-status-notifications"), exports);
31
30
  __exportStar(require("./slos/alarms"), exports);
@@ -1,5 +1,5 @@
1
- import { AuroraPostgresEngineVersion } from 'aws-cdk-lib/aws-rds';
2
- import { Construct } from 'constructs';
1
+ import { AuroraPostgresEngineVersion } from 'aws-cdk-lib/aws-rds'
2
+ import { Construct } from 'constructs'
3
3
  export interface PGIIngress_Rule {
4
4
  readonly ipv4: string;
5
5
  readonly port: number;
@@ -22,6 +22,6 @@ export interface PostgresServiceConstructProps {
22
22
  readonly useVpcId: string;
23
23
  }
24
24
  export declare class PostgresRDSConstruct extends Construct {
25
- readonly accessSGID: string;
26
- constructor(scope: Construct, id: string, props: PostgresServiceConstructProps);
25
+ readonly accessSGID: string
26
+ constructor(scope: Construct, id: string, props: PostgresServiceConstructProps);
27
27
  }
package/package.json CHANGED
@@ -1,11 +1,10 @@
1
1
  {
2
2
  "name": "@ndlib/ndlib-cdk2",
3
- "version": "1.0.42",
3
+ "version": "1.0.44",
4
4
  "description": "Reusable CDK2 modules used within Hesburgh Libraries of Notre Dame",
5
5
  "main": "lib/index.js",
6
6
  "types": "lib/index.d.ts",
7
7
  "scripts": {
8
- "generate-changelog": "auto-changelog -p",
9
8
  "test": "jest --config jestconfig.json",
10
9
  "coverage": "jest --config jestconfig.json --coverage",
11
10
  "build": "tsc && ./copy-lambda-files.sh",
@@ -42,29 +41,28 @@
42
41
  "devDependencies": {
43
42
  "@types/jest": "^30.0.0",
44
43
  "@types/node": "^24.5.2",
45
- "@typescript-eslint/eslint-plugin": "^8.44.1",
46
- "@typescript-eslint/parser": "^8.44.1",
47
- "auto-changelog": "^2.5.0",
44
+ "@typescript-eslint/eslint-plugin": "^8.49.0",
45
+ "@typescript-eslint/parser": "^8.49.0",
48
46
  "aws-sdk-client-mock": "^4.1.0",
49
- "eslint": "^9.36.0",
47
+ "eslint": "^9.39.1",
50
48
  "eslint-plugin-import": "^2.32.0",
51
- "eslint-plugin-jest": "^29.0.1",
49
+ "eslint-plugin-jest": "^29.2.1",
52
50
  "eslint-plugin-n": "^17.23.1",
53
51
  "eslint-plugin-node": "^11.1.0",
54
52
  "eslint-plugin-promise": "^7.2.1",
55
- "jest": "^30.1.3",
56
- "jest-mock": "^30.0.5",
57
- "prettier": "^3.6.2",
58
- "ts-jest": "^29.4.4",
59
- "tsc-watch": "^7.1.1",
60
- "typescript": "^5.9.2"
53
+ "jest": "^30.2.0",
54
+ "jest-mock": "^30.2.0",
55
+ "prettier": "^3.7.4",
56
+ "ts-jest": "^29.4.6",
57
+ "tsc-watch": "^7.2.0",
58
+ "typescript": "^5.9.3"
61
59
  },
62
60
  "files": [
63
61
  "lib/**/*"
64
62
  ],
65
63
  "dependencies": {
66
- "aws-cdk-lib": "^2.216.0",
67
- "constructs": "^10.4.2"
64
+ "aws-cdk-lib": "^2.232.1",
65
+ "constructs": "^10.4.4"
68
66
  },
69
67
  "engines": {
70
68
  "node": ">=22.0.0"