-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.projenrc.ts
39 lines (39 loc) · 1.32 KB
/
.projenrc.ts
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
import { awscdk, javascript } from 'projen';
const project = new awscdk.AwsCdkConstructLibrary({
author: 'yicr',
authorAddress: '[email protected]',
authorOrganization: true,
cdkVersion: '2.120.0',
typescriptVersion: '5.7.x',
jsiiVersion: '5.7.x',
defaultReleaseBranch: 'main',
name: '@gammarers/aws-ec2-instance-running-schedule-stack',
description: 'AWS EC2 Instance Running Scheduler',
keywords: ['aws', 'cdk', 'aws-cdk', 'auto', 'running', 'scheduler', 'ec2', 'instance'],
projenrcTs: true,
repositoryUrl: 'https://github.com/gammarers/aws-ec2-instance-running-schedule-stack.git',
releaseToNpm: true,
npmAccess: javascript.NpmAccess.PUBLIC,
majorVersion: 2,
minNodeVersion: '16.0.0',
workflowNodeVersion: '22.x',
depsUpgradeOptions: {
workflowOptions: {
labels: ['auto-approve', 'auto-merge'],
schedule: javascript.UpgradeDependenciesSchedule.expressions(['11 16 * * 3']),
},
},
autoApproveOptions: {
secret: 'GITHUB_TOKEN',
allowedUsernames: ['yicr'],
},
publishToPypi: {
distName: 'gammarers.aws-ec2-instance-running-schedule-stack',
module: 'gammarers.aws_ec2_instance_running_schedule_stack',
},
publishToNuget: {
dotNetNamespace: 'Gammarers.CDK.AWS',
packageId: 'Gammarers.CDK.AWS.EC2InstanceRunningScheduleStack',
},
});
project.synth();