UNPKG

cdk-rds-sql

Version:

A CDK construct that allows creating roles or users and databases on Aurora Serverless PostgreSQL or MySQL/MariaDB clusters, as well as AWS DSQL clusters.

73 lines (72 loc) 2.04 kB
default_stages: [pre-commit] default_language_version: node: system fail_fast: true repos: - repo: https://github.com/pre-commit/pre-commit-hooks rev: v4.6.0 hooks: - id: check-yaml - id: end-of-file-fixer exclude: (tsconfig.json|API.md|.mergify.yml|.projen/|.github|tsconfig.dev.json|.gitignore|LICENSE|.gitattributes|.eslintrc.json) - id: trailing-whitespace - id: check-json exclude: (tsconfig.json|.eslintrc.json|tsconfig.dev.json) - id: detect-aws-credentials - id: detect-private-key - repo: https://github.com/talos-systems/conform rev: v0.1.0-alpha.26 hooks: - id: conform stages: - commit-msg - repo: https://github.com/pre-commit/mirrors-prettier rev: "v2.7.1" hooks: - id: prettier exclude: (.mergify.yml|.projen/|.github|tsconfig.dev.json|.gitignore|LICENSE|.gitattributes|.eslintrc.json) stages: - pre-commit - repo: local hooks: - id: projen name: run-projen language: system entry: sh -c 'npx projen' files: \.ts$ pass_filenames: false - repo: local hooks: - id: build-typescript exclude: .projenrc.ts name: build-typescript language: system entry: sh -c 'npx tsc --noEmit' files: \.ts$ pass_filenames: false - repo: local hooks: - id: synth name: synth language: system entry: sh -c 'npx cdk synth --quiet --context vpc-id=$VPC_ID' files: src/.*\.ts$ pass_filenames: false - repo: local hooks: - id: compile-project exclude: .projenrc.ts name: compile-project language: system entry: sh -c 'npx projen compile' files: \.ts$ pass_filenames: false - repo: local hooks: - id: test exclude: .projenrc.ts name: test language: system entry: sh -c 'npx jest --coverage=false' files: \.ts$ pass_filenames: false