This repository has been archived by the owner on May 17, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 20
/
.projenrc.js
68 lines (68 loc) · 2.2 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
55
56
57
58
59
60
61
62
63
64
65
66
67
68
const { awscdk } = require('projen');
const project = new awscdk.AwsCdkTypeScriptApp({
cdkVersion: '2.37.1',
defaultReleaseBranch: 'master',
name: 'sonatype-nexus3',
appEntrypoint: 'sonatype-nexus3.ts',
cdkVersionPinning: true,
deps: [
'js-yaml@^3.14.1',
'sync-request@^6.1.0',
'@aws-cdk/aws-lambda-python-alpha',
], /* Runtime dependencies of this module. */
// description: undefined, /* The description is just a string that helps people understand the purpose of the package. */
devDeps: [
'lodash@>=4.17.21',
], /* Build dependencies for this module. */
typescriptVersion: '~4.6.0', /* TypeScript version to use. */
// packageName: undefined, /* The "name" in package.json. */
// projectType: ProjectType.UNKNOWN, /* Which type of project this is (library/app). */
// releaseWorkflow: undefined, /* Define a GitHub workflow for releasing from "main" when new versions are bumped. */
pullRequestTemplate: true /* Include a GitHub pull request template. */,
pullRequestTemplateContents: [
'*Issue #, if available:*',
'',
'*Description of changes:*',
'',
'',
'By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.',
],
license: 'MIT-0' /* License's SPDX identifier. */,
licensed: false /* Indicates if a license should be added. */,
gitignore: [
'.idea/',
'.vscode/',
'cdk.context.json',
'.DS_Store',
],
keywords: [
'aws',
'sonatype',
'nexus3',
'aws-cdk',
'aws-eks',
'eks',
],
depsUpgradeOptions: {
ignoreProjen: false,
workflowOptions: {
labels: ['auto-approve', 'auto-merge'],
secret: 'PROJEN_GITHUB_TOKEN',
},
},
});
// tricky to override the default synth task
project.tasks._tasks.synth._steps[0] = {
exec: 'cdk synth -c createNewVpc=true',
};
// project.package.addField('resolutions',
// Object.assign({}, project.package.manifest.resolutions ? project.package.manifest.resolutions : {}, {
// 'pac-resolver': '^5.0.0',
// 'set-value': '^4.0.1',
// 'ansi-regex': '^5.0.1',
// })
// );
project.addFields({
version: '1.3.0-mainline',
});
project.synth();