Skip to content

Commit

Permalink
Merge pull request #2 from mattiamatrix/create-construct
Browse files Browse the repository at this point in the history
fix: update projen and add release
  • Loading branch information
mattiamatrix committed Oct 23, 2022
2 parents 9dc0b1a + e3eb58e commit cd32211
Show file tree
Hide file tree
Showing 9 changed files with 137 additions and 33 deletions.
1 change: 1 addition & 0 deletions .gitattributes

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

107 changes: 107 additions & 0 deletions .github/workflows/release.yml

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

7 changes: 6 additions & 1 deletion .gitignore

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

5 changes: 5 additions & 0 deletions .npmignore

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

7 changes: 5 additions & 2 deletions .prettierignore

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

1 change: 1 addition & 0 deletions .projen/files.json

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

25 changes: 0 additions & 25 deletions .projen/tasks.json

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

11 changes: 8 additions & 3 deletions .projenrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,7 @@ const project = new awscdk.AwsCdkConstructLibrary({

stability: 'experimental',
defaultReleaseBranch: 'main',
releaseTrigger: release.ReleaseTrigger.manual(),
licensed: true,
keywords: ['aws', 'athena', 'kaggle'],

docgen: false,

Expand Down Expand Up @@ -45,7 +44,13 @@ const project = new awscdk.AwsCdkConstructLibrary({
// .eslintrc.json
project.eslint.addRules({ 'import/order': 'off' });

const common_exclude = ['cdk.out', 'cdk.context.json', 'yarn-error.log', 'coverage', 'venv'];

// .gitignore
project.gitignore.exclude(...common_exclude);
// .npmignore
project.npmignore.exclude(...common_exclude);
// .prettierignore
['node_modules', 'dist', 'coverage', 'out', 'cdk.out'].forEach((element) => project.prettier.addIgnorePattern(element));
[...common_exclude, 'node_modules', 'dist', 'out'].forEach((element) => project.prettier.addIgnorePattern(element));

project.synth();
6 changes: 4 additions & 2 deletions package.json

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

0 comments on commit cd32211

Please sign in to comment.