Skip to content

Commit 921fac0

Browse files
Merge pull request #4 from majies/feature/pipeline-precommit
2 parents 286ad67 + df9e021 commit 921fac0

File tree

81 files changed

+776
-41
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

81 files changed

+776
-41
lines changed

.commitlintrc.js

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
module.exports = {
2+
extends: ['@commitlint/config-conventional'],
3+
};

.husky/commit-msg

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
#!/usr/bin/env sh
2+
. "$(dirname -- "$0")/_/husky.sh"
3+
4+
npx --no -- commitlint --edit

.husky/pre-commit

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
#!/usr/bin/env sh
2+
. "$(dirname -- "$0")/_/husky.sh"
3+
4+
nx affected --target lint
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.

.yarn/install-state.gz

93.6 KB
Binary file not shown.

package.json

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,8 @@
2929
"@angular/cli": "~15.2.0",
3030
"@angular/compiler-cli": "~15.2.0",
3131
"@angular/language-service": "~15.2.0",
32+
"@commitlint/cli": "^17.4.4",
33+
"@commitlint/config-conventional": "^17.4.4",
3234
"@nguniversal/builders": "~15.1.0",
3335
"@nrwl/cypress": "15.8.3",
3436
"@nrwl/eslint-plugin-nx": "15.8.3",
@@ -45,6 +47,7 @@
4547
"eslint": "~8.15.0",
4648
"eslint-config-prettier": "8.1.0",
4749
"eslint-plugin-cypress": "^2.10.3",
50+
"husky": "^8.0.3",
4851
"jest": "^29.4.1",
4952
"jest-environment-jsdom": "^29.4.1",
5053
"jest-preset-angular": "~13.0.0",
@@ -54,5 +57,8 @@
5457
"ts-node": "10.9.1",
5558
"typescript": "~4.9.5"
5659
},
57-
"packageManager": "[email protected]"
60+
"packageManager": "[email protected]",
61+
"scripts": {
62+
"prepare": "husky install"
63+
}
5864
}

0 commit comments

Comments
 (0)