forked from aws-samples/anthropic-on-aws
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.projenrc.js
More file actions
76 lines (71 loc) · 1.89 KB
/
Copy path.projenrc.js
File metadata and controls
76 lines (71 loc) · 1.89 KB
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
70
71
72
73
74
75
76
const {
NodeProject,
NodePackage,
NodePackageManager,
} = require('projen/lib/javascript');
const { UpgradeDependenciesSchedule } = require('projen/lib/javascript');
const metapromptGenerator = require('./subprojects/metaprompt-generator');
const claudeToolsChatbot = require('./subprojects/claude-tools-chat-bot');
const complexSchemaToolUseNextJS = require('./subprojects/complex-schema-tool-use-nextjs');
const classificationWithIntercom = require('./subprojects/classification-with-intercom');
const upgradeSubmodules = require('./workflows.ts');
const root = new NodeProject({
name: 'anthropic-on-aws',
defaultReleaseBranch: 'main',
license: 'MIT-0',
copyrightOwner: 'Amazon.com, Inc.',
gitpod: true,
jest: false,
authorAddress: 'https://aws.amazon.com',
depsUpgradeOptions: {
ignoreProjen: false,
workflowOptions: {
labels: ['auto-approve', 'auto-merge'],
schedule: UpgradeDependenciesSchedule.WEEKLY,
},
},
workflowNodeVersion: '18.x',
autoApproveOptions: {
secret: 'GITHUB_TOKEN',
allowedUsernames: ['schuettc'],
},
autoApproveUpgrades: true,
projenUpgradeSecret: 'PROJEN_GITHUB_TOKEN',
defaultReleaseBranch: 'main',
packageManager: NodePackageManager.YARN_CLASSIC,
prettierOptions: {
overrides: {
quoteProps: 'consistent',
},
},
});
metapromptGenerator(root);
claudeToolsChatbot(root);
complexSchemaToolUseNextJS(root);
classificationWithIntercom(root);
root.addUpgradeSubmodulesWorkflow();
const common_exclude = [
'.yalc',
'cdk.out',
'cdk.context.json',
'yarn-error.log',
'dependabot.yml',
'.DS_Store',
'.venv',
'cdk-nag-output.txt',
'**/bin/',
'**/lib/',
'**/node_modules/',
'**/test/',
'**/.next/',
'**/__pycache__/',
'mkdocs-env/*',
'.graphqlconfig.yml',
'**/share/',
'**/etc/',
'.env',
'docs/**/images/',
'!docs/images/',
];
root.gitignore.exclude(...common_exclude);
root.synth();