Skip to content

Commit

Permalink
chore: added before_commit task
Browse files Browse the repository at this point in the history
  • Loading branch information
gyalai-aws committed May 8, 2024
1 parent 634b405 commit 31ccba7
Show file tree
Hide file tree
Showing 12 changed files with 25 additions and 36,389 deletions.
3 changes: 2 additions & 1 deletion .husky/pre-push
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,5 @@
. "$(dirname -- "$0")/_/husky.sh"

# Build runs the testing as well
npm run build
npm run build
npm run license
36,356 changes: 0 additions & 36,356 deletions NOTICE

Large diffs are not rendered by default.

14 changes: 0 additions & 14 deletions OSS_License_Summary.csv
Original file line number Diff line number Diff line change
@@ -1,18 +1,4 @@
#########################
# NPM module: development/project/package.json
#########################
"License","Count"
"(MIT OR CC0-1.0)","2"
"(MIT OR GPL-3.0-or-later)","1"
"0BSD","2"
"Apache-2.0","119"
"BSD-2-Clause","9"
"BSD-3-Clause","18"
"CC-BY-4.0","1"
"ISC","43"
"MIT","435"
"Python-2.0","1"
#########################
# NPM module: package.json
#########################
"License","Count"
Expand Down
2 changes: 1 addition & 1 deletion Taskfile.sample-app.yml
Original file line number Diff line number Diff line change
Expand Up @@ -219,6 +219,6 @@ tasks:

upgrade:
desc: Upgrade sample project
dir: '{{.DEVELOPMENT_DIR}}/{{.SAMPLE_APP}}'
dir: '{{.SAMPLES_APP_DIR}}/{{.SAMPLE_APP}}'
cmds:
- npm run upgrade
5 changes: 5 additions & 0 deletions Taskfile.yml
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,11 @@ tasks:
- npm run validate:fix
- npm run license -- --fix

before-commit:
desc: Commands to ensure good quality at commit
cmds:
- task: upgrade

audit:
desc: Run audit steps on the project
cmds:
Expand Down
3 changes: 2 additions & 1 deletion licensecheck.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,5 +15,6 @@
"python": {
"excluded": [],
"excludedSubProjects": []
}
},
"excludeFolders": ["development/**"]
}
13 changes: 6 additions & 7 deletions package-verification.json
Original file line number Diff line number Diff line change
@@ -1,12 +1,11 @@
{
"npm-lock-file": "dd929ebcc28c2fc0a3b2c6894c085ac9698d7409f86efac31fd9f6826a0a6b60",
"npm-lock-file": "3ed6de12056d4c8e4ca545573ff3297defab0bacd546b7d50c5b8405d9f3c97a",
"license": {
"package.json": "3bca11e65bf16e2c8fcae053447595e2516a57f2531be8f8b2df9128d160ef43",
"development/project/package.json": "4daa92b2e117c08005bff086eb79ee0f5a53dcdc4b1eac4ceb3957bc69baf9bf",
"package.json": "a44a4ea93bdc7755817018c0a34aa073efbb2989e6dafde8b30e476bfa372eda",
"samples/cdk-ts-example/package.json": "54e2441af495ddf02e1e232fdd1ed4edc697c31fe03671776290a254e52ba2a6",
"packages/@cdklabs/cdk-cicd-wrapper/package.json": "9af37548eab3ae1461e478a68654bb42b2637ffefcb44da37602b2f61adbf868",
"packages/@cdklabs/cdk-cicd-wrapper-cli/package.json": "c3cdc06d1b6ef27d1304203f4a1f666842131fe3432a23bc3e55132037d60fc1",
"packages/@cdklabs/cdk-cicd-wrapper-projen/package.json": "b87e5c5407f48dd8636929cb7a70205e25bddf85c3da9a16e26adb675542f587",
"projectList": "81f981b541670e41d5d4359bbc42dc41642c58a40d287a3465fd7312542becf5"
"packages/@cdklabs/cdk-cicd-wrapper/package.json": "9294b48bf68127cb7f139db0cbe1ec8b5c73480b003f42c03cbfe64fa4997093",
"packages/@cdklabs/cdk-cicd-wrapper-cli/package.json": "58eaa065f8ab1b726dfaf87ef300eab1fae080d41ecdd5bd443ef4108b15c74e",
"packages/@cdklabs/cdk-cicd-wrapper-projen/package.json": "d2c918d9c5094bdda80f36d001a7b076adcb381b14a8ceb3745ba62286a0d2df",
"projectList": "5790138ec76401840b75a0409a66d8e7e10445628567d18dbe5b2feedd20f463"
}
}
2 changes: 1 addition & 1 deletion package.json

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

2 changes: 1 addition & 1 deletion packages/@cdklabs/cdk-cicd-wrapper-cli/package.json

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

4 changes: 2 additions & 2 deletions packages/@cdklabs/cdk-cicd-wrapper-projen/package.json

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

2 changes: 1 addition & 1 deletion packages/@cdklabs/cdk-cicd-wrapper/package.json

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

8 changes: 4 additions & 4 deletions yarn.lock

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

0 comments on commit 31ccba7

Please sign in to comment.