UNPKG

cdktf-sourcegraph-aws-executors

Version:
73 lines (69 loc) 2.03 kB
import { ArrowParens, TrailingComma } from 'projen/lib/javascript'; import { publishToRegistries, TerraformModule } from 'projen-cdktf-hybrid-construct'; const moduleVersion = '5.0.1'; const commonIgnore = ['.idea', '.vscode']; const name = 'cdktf-sourcegraph-aws-executors'; const project = new TerraformModule({ author: 'Bryan Galvin', authorAddress: 'bcgalvin@gmail.com', defaultReleaseBranch: 'main', devDeps: ['projen-cdktf-hybrid-construct'], name: name, repositoryUrl: 'https://github.com/bcgalvin/cdktf-sourcegraph-aws-executors.git', cdktfVersion: '0.17.0', typescriptVersion: '4.9.5', terraformModules: [ { name: 'executors', source: 'sourcegraph/executors/aws', version: `~> ${moduleVersion}`, }, { name: 'executors_credentials', source: 'sourcegraph/executors/aws//modules/credentials', version: `~> ${moduleVersion}`, }, { name: 'executors_networking', source: 'sourcegraph/executors/aws//modules/networking', version: `~> ${moduleVersion}`, }, { name: 'executors_docker-mirror', source: 'sourcegraph/executors/aws//modules/docker-mirror', version: `~> ${moduleVersion}`, }, { name: 'executors_executors', source: 'sourcegraph/executors/aws//modules/executors', version: `~> ${moduleVersion}`, }, ], prettier: true, prettierOptions: { settings: { printWidth: 120, trailingComma: TrailingComma.ALL, arrowParens: ArrowParens.ALWAYS, singleQuote: true, }, }, eslintOptions: { dirs: ['src'], ignorePatterns: ['src/terraformModules.ts'], // permissions issue w projen plugin }, // Ignore files gitignore: commonIgnore, // publishing projectId: 'cdktf-sourcegraph-aws-executors', ...publishToRegistries({ name: 'cdktf-sourcegraph-aws-executors', namespace: 'bcgalvin', registries: ['npm'], }), publishToPypi: { distName: name, module: name.replace(/-/g, '_'), }, }); project.synth();