-
Notifications
You must be signed in to change notification settings - Fork 7
/
.projenrc.ts
69 lines (64 loc) · 1.64 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
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
69
import { cdk } from 'projen';
const project = new cdk.JsiiProject({
name: 'cdk-tweet-queue',
projenrcTs: true,
description: 'Defines an SQS queue with tweet stream from a search',
author: 'Elad Ben-Israel',
authorAddress: '[email protected]',
repositoryUrl: 'https://github.com/cdklabs/cdk-tweet-queue',
releaseToNpm: true,
publishToNuget: {
dotNetNamespace: 'Cdklabs.CdkTweetQueue',
packageId: 'Cdklabs.CdkTweetQueue',
},
publishToMaven: {
mavenGroupId: 'io.github.cdklabs',
mavenEndpoint: 'https://s01.oss.sonatype.org',
javaPackage: 'io.github.cdklabs.tweetqueue',
mavenArtifactId: 'cdk-tweet-queue',
},
publishToPypi: {
distName: 'cdk-tweet-queue',
module: 'cdk_tweet_queue',
},
defaultReleaseBranch: 'main',
deps: [
'aws-cdk-lib',
'constructs',
],
peerDeps: [
'aws-cdk-lib',
'constructs',
],
devDeps: [
'aws-cdk-lib',
'aws-cdk@^2.20.0',
'aws-sdk',
'twitter',
'@types/twitter',
'esbuild',
'constructs',
],
keywords: [
'cdk',
'aws-cdk@^2.20.0',
'twitter',
'constructs',
],
srcdir: 'lib',
testdir: 'lib/__tests__',
autoApproveOptions: {
allowedUsernames: ['cdklabs-automation'],
secret: 'GITHUB_TOKEN',
},
autoApproveUpgrades: true,
});
project.gitignore.exclude('cdk.out');
project.setScript('integ', "npx cdk -a 'node lib/__tests__/integ-test.js'");
const deploy = project.addTask('integ:deploy');
deploy.spawn(project.compileTask);
deploy.exec('yarn integ deploy');
const destroy = project.addTask('integ:destroy');
destroy.spawn(project.compileTask);
destroy.exec('yarn integ destroy');
project.synth();