Skip to content

Commit

Permalink
chore: projen setting improvements (#29)
Browse files Browse the repository at this point in the history
Fixes #
  • Loading branch information
rajyan authored Aug 29, 2022
1 parent 1af9e6e commit 43bf54e
Show file tree
Hide file tree
Showing 6 changed files with 127 additions and 93 deletions.
3 changes: 0 additions & 3 deletions .github/workflows/build.yml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 4 additions & 4 deletions .gitignore

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 4 additions & 4 deletions .npmignore

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

41 changes: 14 additions & 27 deletions .projenrc.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
import { awscdk } from 'projen';
import { UpgradeDependenciesSchedule } from 'projen/lib/javascript';

const excludes = ['.idea/', 'cdk.out/', 'cdk.context.json', 'yarn-error.log'];
const project = new awscdk.AwsCdkConstructLibrary({
author: 'Yohta Kimura',
authorAddress: '[email protected]',
Expand All @@ -10,48 +11,34 @@ const project = new awscdk.AwsCdkConstructLibrary({
license: 'MIT',
cdkVersion: '2.37.0',
defaultReleaseBranch: 'main',

devDeps: [
'aws-cdk',
'ts-node',
],

keywords: [
'cdk',
'ecs',
'certbot',
'low-cost',
],
devDeps: [
'aws-cdk',
'ts-node',
],
stability: 'experimental',

buildWorkflowTriggers: {
pullRequest: {},
workflowDispatch: {},
push: {
branches: ['main'],
},
python: {
distName: 'easy-cerver',
module: 'eascy_cerver',
},

npmignore: excludes,
gitignore: excludes,
autoApproveOptions: {
allowedUsernames: ['rajyan'],
},
depsUpgradeOptions: {
workflowOptions: {
schedule: UpgradeDependenciesSchedule.WEEKLY,
},
},

stability: 'experimental',

autoApproveOptions: {
allowedUsernames: ['rajyan'],
},
python: {
distName: 'easy-cerver',
module: 'eascy_cerver',
},

projenrcTs: true,
});

const excludes = ['.idea/', 'cdk.out/', 'cdk.context.json', 'yarn-error.log'];
project.npmignore?.exclude(...excludes);
project.gitignore.exclude(...excludes);

project.synth();
140 changes: 95 additions & 45 deletions API.md

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit 43bf54e

Please sign in to comment.