-
Notifications
You must be signed in to change notification settings - Fork 0
/
.projenrc.js
54 lines (49 loc) · 1.89 KB
/
.projenrc.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
const { awscdk, DevEnvironmentDockerImage } = require('projen');
const { Stability } = require('projen/lib/cdk');
const { UpgradeDependenciesSchedule } = require('projen/lib/javascript');
const project = new awscdk.AwsCdkConstructLibrary({
author: 'Stefan Freitag',
authorAddress: 'stefan.freitag@udo.edu',
authorOrganization: false,
catalog: {
twitter: 'stefanfreitag',
announce: false,
},
cdkVersion: '2.147.0',
description: 'Archive Azure DevOps git repositories to AWS S3',
codeCov: true,
defaultReleaseBranch: 'main',
depsUpgradeOptions: {
workflowOptions: {
schedule: UpgradeDependenciesSchedule.MONTHLY,
},
},
minNodeVersion: '18.19.0',
devContainer: true,
devDeps: ['@aws-cdk/integ-tests-alpha@2.147.0-alpha.0', '@aws-cdk/integ-runner@2.147.0-alpha.0', 'ts-node'],
keywords: ['aws', 'azure-devops', 'cdk', 'backup', 's3'],
name: 'azure-devops-repository-archiver',
majorVersion: 1,
repositoryUrl: 'https://github.com/stefanfreitag/azure_s3_repository_archiver.git',
stability: Stability.STABLE,
publishToMaven: {
javaPackage: 'io.github.stefanfreitag.cdk.azures3repositoryarchiver',
mavenArtifactId: 'azureS3RepositoryArchiver',
mavenGroupId: 'io.github.stefanfreitag',
},
publishToNuget: {
dotNetNamespace: 'Io.Github.StefanFreitag',
packageId: 'Io.Github.StefanFreitag.AzureS3RepositoryArchiver',
},
publishToPypi: {
module: 'azure_devops_repository_archiver',
distName: 'azure-devops-repository-archiver',
},
});
project.devContainer.name='cdk-dev-environment';
project.devContainer.addDockerImage(DevEnvironmentDockerImage.fromFile('.gitpod.Dockerfile'));
project.devContainer.addVscodeExtensions('esbenp.prettier-vscode', 'dbaeumer.vscode-eslint');
const common_exclude = ['.history/', '.venv', '.idea'];
project.npmignore.exclude(...common_exclude);
project.gitignore.exclude(...common_exclude);
project.synth();