Skip to content

Commit

Permalink
feat(github): install talisman
Browse files Browse the repository at this point in the history
  • Loading branch information
pYassine committed Nov 15, 2023
1 parent c47a349 commit 92e08c3
Show file tree
Hide file tree
Showing 4 changed files with 50 additions and 1 deletion.
2 changes: 2 additions & 0 deletions .husky/pre-commit
Original file line number Diff line number Diff line change
Expand Up @@ -2,3 +2,5 @@
. "$(dirname -- "$0")/_/husky.sh"

npx lint-staged

if sh -c ': >/dev/tty' >/dev/null 2>/dev/null; then exec </dev/tty; yarn node-talisman --githook pre-commit -i; else yarn node-talisman --githook pre-commit; fi
4 changes: 4 additions & 0 deletions .talismanrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
fileignoreconfig:
- filename: yarn.lock
checksum: 4ac842f95592d194e65b208fdc4b9a78a0bb6470ad2d4950626c2ffcec831a33
version: "1.0"
4 changes: 3 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,10 @@
"@commitlint/config-conventional": "^18.1.0",
"@socialgouv/sre-secrets": "^1.14.5",
"husky": "^8.0.3",
"is-ci": "^3.0.1",
"lerna": "^6.0.0",
"lint-staged": "^15.0.0"
"lint-staged": "^15.0.0",
"node-talisman": "^1.29.10"
},
"workspaces": {
"packages": [
Expand Down
41 changes: 41 additions & 0 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -9229,6 +9229,13 @@ __metadata:
languageName: node
linkType: hard

"clogy@npm:^1.3.3":
version: 1.3.3
resolution: "clogy@npm:1.3.3"
checksum: c8c4ca013bb05bc03843997abee18e13732a83c85e117b2553e3c09c1f44e69433c905daab476e191059d02ed00673345e6bbc12a43be1661e77820562ac1e35
languageName: node
linkType: hard

"clone-deep@npm:4.0.1, clone-deep@npm:^4.0.1":
version: 4.0.1
resolution: "clone-deep@npm:4.0.1"
Expand Down Expand Up @@ -10772,8 +10779,10 @@ __metadata:
"@commitlint/config-conventional": ^18.1.0
"@socialgouv/sre-secrets": ^1.14.5
husky: ^8.0.3
is-ci: ^3.0.1
lerna: ^6.0.0
lint-staged: ^15.0.0
node-talisman: ^1.29.10
languageName: unknown
linkType: soft

Expand Down Expand Up @@ -11981,6 +11990,13 @@ __metadata:
languageName: node
linkType: hard

"exec-sh@npm:^0.3.4":
version: 0.3.6
resolution: "exec-sh@npm:0.3.6"
checksum: 0be4f06929c8e4834ea4812f29fe59e2dfcc1bc3fc4b4bb71acb38a500c3b394628a05ef7ba432520bc6c5ec4fadab00cc9c513c4ff6a32104965af302e998e0
languageName: node
linkType: hard

"execa@npm:5.0.0":
version: 5.0.0
resolution: "execa@npm:5.0.0"
Expand Down Expand Up @@ -14198,6 +14214,17 @@ __metadata:
languageName: node
linkType: hard

"is-ci@npm:^3.0.1":
version: 3.0.1
resolution: "is-ci@npm:3.0.1"
dependencies:
ci-info: ^3.2.0
bin:
is-ci: bin.js
checksum: 192c66dc7826d58f803ecae624860dccf1899fc1f3ac5505284c0a5cf5f889046ffeb958fa651e5725d5705c5bcb14f055b79150ea5fcad7456a9569de60260e
languageName: node
linkType: hard

"is-core-module@npm:^2.11.0, is-core-module@npm:^2.12.1, is-core-module@npm:^2.13.0, is-core-module@npm:^2.13.1, is-core-module@npm:^2.5.0, is-core-module@npm:^2.8.1, is-core-module@npm:^2.9.0":
version: 2.13.1
resolution: "is-core-module@npm:2.13.1"
Expand Down Expand Up @@ -17439,6 +17466,20 @@ __metadata:
languageName: node
linkType: hard

"node-talisman@npm:^1.29.10":
version: 1.29.10
resolution: "node-talisman@npm:1.29.10"
dependencies:
clogy: ^1.3.3
exec-sh: ^0.3.4
mkdirp: ^1.0.4
request: ^2.88.2
bin:
node-talisman: dist-node/index.bin.js
checksum: bc787209f460f813d53d082a01b816abbcf22283603797a84a6918247461ed9512241f52087605869d770cd3b050a0d3a0c2c4f74368ccf826366d8f1b99eae6
languageName: node
linkType: hard

"nodemailer@npm:6.9.1":
version: 6.9.1
resolution: "nodemailer@npm:6.9.1"
Expand Down

0 comments on commit 92e08c3

Please sign in to comment.