Skip to content

Commit

Permalink
chore: re-added commitizen configuration to package.json via projen
Browse files Browse the repository at this point in the history
  • Loading branch information
flamingquaks committed Oct 28, 2024
1 parent 296b3a2 commit b25cad9
Show file tree
Hide file tree
Showing 3 changed files with 20 additions and 1 deletion.
3 changes: 3 additions & 0 deletions .gitignore

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

13 changes: 12 additions & 1 deletion .projenrc.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,10 @@ const project = new awscdk.AwsCdkTypeScriptApp({
sampleCode: false,
gitignore: [
'bin/config.json',
'pages/.vitepress/dist/*'
'pages/.vitepress/dist/*',
'misc/',
'.DS_Store',
'eslint-results.sarif',
],
appEntrypoint: 'bin/genai-newsletter-app.ts',
bin: {
Expand Down Expand Up @@ -85,6 +88,14 @@ const project = new awscdk.AwsCdkTypeScriptApp({
},
});

project.addFields({
"config": {
"commitizen": {
"path": "./node_modules/cz-conventional-changelog"
}
}
})

// Existing tasks
project.tasks.addTask('config', {
description: 'Run the CLI to configure the project',
Expand Down
5 changes: 5 additions & 0 deletions package.json

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

0 comments on commit b25cad9

Please sign in to comment.