token-injectable-docker-builder
Version:
The TokenInjectableDockerBuilder is a flexible AWS CDK construct that enables the usage of AWS CDK tokens in the building, pushing, and deployment of Docker images to Amazon Elastic Container Registry (ECR). It leverages AWS CodeBuild and Lambda custom re
170 lines (169 loc) • 5.77 kB
JSON
{
"name": "token-injectable-docker-builder",
"description": "The TokenInjectableDockerBuilder is a flexible AWS CDK construct that enables the usage of AWS CDK tokens in the building, pushing, and deployment of Docker images to Amazon Elastic Container Registry (ECR). It leverages AWS CodeBuild and Lambda custom resources.",
"repository": {
"type": "git",
"url": "https://github.com/AlexTech314/TokenInjectableDockerBuilder.git"
},
"scripts": {
"build": "npx projen build",
"bump": "npx projen bump",
"clobber": "npx projen clobber",
"compat": "npx projen compat",
"compile": "npx projen compile",
"default": "npx projen default",
"docgen": "npx projen docgen",
"eject": "npx projen eject",
"eslint": "npx projen eslint",
"package": "npx projen package",
"package-all": "npx projen package-all",
"package:js": "npx projen package:js",
"package:python": "npx projen package:python",
"post-compile": "npx projen post-compile",
"post-upgrade": "npx projen post-upgrade",
"pre-compile": "npx projen pre-compile",
"release": "npx projen release",
"test": "npx projen test",
"test:watch": "npx projen test:watch",
"unbump": "npx projen unbump",
"upgrade": "npx projen upgrade",
"watch": "npx projen watch",
"projen": "npx projen",
"local-deploy": "npx cdk deploy --all --app \"npx ts-node test/integ.default.ts\"",
"local-deploy-no-rollback": "npx cdk deploy --all --no-rollback --app \"npx ts-node test/integ.default.ts\"",
"local-destroy": "npx cdk destroy --all --app \"npx ts-node test/integ.default.ts\"",
"local-synth": "npx cdk synth --app \"npx ts-node test/integ.default.ts\"",
"integ": "npx integ-runner --update-on-failed --directory test",
"integ-migration": "npx cdk deploy TidbMigrationStack --app \"npx ts-node test/migration/before-v1.ts\" --require-approval=never && npx cdk deploy TidbMigrationStack --app \"npx ts-node test/migration/after-v2.ts\" --require-approval=never && npx cdk destroy TidbMigrationStack --app \"npx ts-node test/migration/after-v2.ts\" --force",
"integ-redeploy": "BUILDER_BUILD_ARG=v1 npx cdk deploy TidbRedeployStack TidbRedeployConsumerStack TidbRedeploySameRegionConsumerStack --app \"npx ts-node test/redeploy/redeploy.ts\" --require-approval=never && BUILDER_BUILD_ARG=v2 npx cdk deploy TidbRedeployStack TidbRedeployConsumerStack TidbRedeploySameRegionConsumerStack --app \"npx ts-node test/redeploy/redeploy.ts\" --require-approval=never && BUILDER_BUILD_ARG=v2 npx cdk destroy TidbRedeployStack TidbRedeployConsumerStack TidbRedeploySameRegionConsumerStack --app \"npx ts-node test/redeploy/redeploy.ts\" --force"
},
"author": {
"name": "AlexTech314",
"email": "alest314@gmail.com",
"organization": false
},
"devDependencies": {
"@aws-cdk/integ-runner": "^2.197.0",
"@aws-cdk/integ-tests-alpha": "2.238.0-alpha.0",
"@stylistic/eslint-plugin": "^2",
"@types/jest": "^29.5.14",
"@types/node": "^22.19.15",
"@typescript-eslint/eslint-plugin": "^8",
"@typescript-eslint/parser": "^8",
"aws-cdk-lib": "2.238.0",
"commit-and-tag-version": "^12",
"constructs": "10.5.1",
"eslint": "^9",
"eslint-import-resolver-typescript": "^3.10.1",
"eslint-plugin-import": "^2.32.0",
"jest": "^29.7.0",
"jest-junit": "^16",
"jsii": "~5.9.27",
"jsii-diff": "^1.127.0",
"jsii-docgen": "^10.11.0",
"jsii-pacmak": "^1.127.0",
"jsii-rosetta": "~5.9.27",
"projen": "^0.99.25",
"token-injectable-docker-builder-v1": "npm:token-injectable-docker-builder@^1.13.0",
"ts-jest": "^29.4.6",
"ts-node": "^10.9.2",
"typescript": "^5.9.3"
},
"peerDependencies": {
"aws-cdk-lib": "^2.238.0",
"constructs": "^10.5.1"
},
"keywords": [
"aws",
"aws-cdk",
"aws-cdk-lib",
"aws-ci-cd",
"aws-codebuild",
"aws-ecr",
"aws-lambda",
"awscdk",
"cdk",
"cdk-construct",
"ci-cd",
"cloud-development-kit",
"codebuild",
"container-image",
"custom-resource",
"docker",
"docker-build",
"docker-builder",
"docker-image",
"ecr",
"infrastructure-as-code",
"lambda",
"lambda-custom-resource",
"token-injection"
],
"main": "lib/index.js",
"license": "MIT",
"publishConfig": {
"access": "public"
},
"version": "2.0.4",
"jest": {
"coverageProvider": "v8",
"testMatch": [
"<rootDir>/@(src|test)/**/*(*.)@(spec|test).ts?(x)",
"<rootDir>/@(src|test)/**/__tests__/**/*.ts?(x)",
"<rootDir>/@(projenrc)/**/*(*.)@(spec|test).ts?(x)",
"<rootDir>/@(projenrc)/**/__tests__/**/*.ts?(x)"
],
"clearMocks": true,
"collectCoverage": true,
"coverageReporters": [
"json",
"lcov",
"clover",
"cobertura",
"text"
],
"coverageDirectory": "coverage",
"coveragePathIgnorePatterns": [
"/node_modules/"
],
"testPathIgnorePatterns": [
"/node_modules/"
],
"watchPathIgnorePatterns": [
"/node_modules/"
],
"reporters": [
"default",
[
"jest-junit",
{
"outputDirectory": "test-reports"
}
]
],
"transform": {
"^.+\\.[t]sx?$": [
"ts-jest",
{
"tsconfig": "tsconfig.dev.json"
}
]
}
},
"types": "lib/index.d.ts",
"stability": "stable",
"jsii": {
"outdir": "dist",
"targets": {
"python": {
"distName": "token-injectable-docker-builder",
"module": "token_injectable_docker_builder"
}
},
"tsc": {
"outDir": "lib",
"rootDir": "src"
}
},
"//": "~~ Generated by projen. To modify, edit .projenrc.ts and run \"npx projen\"."
}