import { cdk8s } from 'projen'; const project = new cdk8s.ConstructLibraryCdk8s({ name: 'cdk8s-pipelines-lib', description: 'Library of common Tekton pipeline patterns and Tekton hub tasks as cdk8s constructs.', repositoryUrl: 'https://github.com/cloud-native-toolkit/cdk8s-pipelines-lib.git', defaultReleaseBranch: 'main', author: 'Nathan Good', authorAddress: 'nathan.good@ibm.com', cdk8sVersion: '2.68.30', jsiiVersion: '~5.2.0', workflowNodeVersion: '18.x', projenrcTs: true, bundledDeps: [ 'octokit', 'axios', 'simple-git', 'handlebars', ], peerDeps: [ 'cdk8s', 'cdk8s-pipelines', 'constructs', ], devDeps: [ '@cdk8s/projen-common', ], keywords: [ 'cdk8s-pipelines', 'kubernetes', 'pipelines', 'tekton', ], gitignore: [ '.idea/', 'cache/', 'src/deployerTektonTasks/generatedDeployerTasks.ts', ], }); // Create the tekton hub tasks project.projectBuild.preCompileTask.exec('npx ts-node src/tektonHub/CreateTektonHubLink.ts'); project.projectBuild.preCompileTask.exec('npx ts-node src/deployerTektonTasks/CreateDeployerRepoLink.ts'); project.synth();