Skip to content

Commit 393c6b6

Browse files
Merge branch 'main' into beta
2 parents c832f63 + 8c6d28f commit 393c6b6

File tree

4 files changed

+37
-6
lines changed

4 files changed

+37
-6
lines changed

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@ test-report.xml
2323
.env.test.local
2424
.env.production.local
2525
.parcel-cache
26+
example/.parcel-cache
2627

2728
npm-debug.log*
2829
yarn-debug.log*

.husky/_/husky.sh

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
#!/bin/sh
2+
if [ -z "$husky_skip_init" ]; then
3+
debug () {
4+
[ "$HUSKY_DEBUG" = "1" ] && echo "husky (debug) - $1"
5+
}
6+
7+
readonly hook_name="$(basename "$0")"
8+
debug "starting $hook_name..."
9+
10+
if [ "$HUSKY" = "0" ]; then
11+
debug "HUSKY env variable is set to 0, skipping hook"
12+
exit 0
13+
fi
14+
15+
if [ -f ~/.huskyrc ]; then
16+
debug "sourcing ~/.huskyrc"
17+
. ~/.huskyrc
18+
fi
19+
20+
export readonly husky_skip_init=1
21+
sh -e "$0" "$@"
22+
exitCode="$?"
23+
24+
if [ $exitCode != 0 ]; then
25+
echo "husky - $hook_name hook exited with code $exitCode (error)"
26+
exit $exitCode
27+
fi
28+
29+
exit 0
30+
fi

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# Committed Components
22

3-
[![Committed Badge](https://img.shields.io/endpoint?url=https%3A%2F%2Fcommitted.software%2Fbadge)](https://committed.io)
3+
[![Committed Badge](https://img.shields.io/endpoint?url=https%3A%2F%2Fcommitted.io%2Fbadge)](https://committed.io)
44
![Build Status](https://github.com/commitd/components/workflows/build/badge.svg?branch=main)
55
[![Quality Gate Status](https://sonarcloud.io/api/project_badges/measure?project=commitd_components&metric=alert_status&token=aa002ca75e2f3a6d028af9074bceeda1ffa2f9f7)](https://sonarcloud.io/dashboard?id=commitd_components)
66
[![Coverage](https://sonarcloud.io/api/project_badges/measure?project=commitd_components&metric=coverage&token=aa002ca75e2f3a6d028af9074bceeda1ffa2f9f7)](https://sonarcloud.io/dashboard?id=commitd_components)

package.json

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -144,6 +144,11 @@
144144
"@commitlint/config-conventional"
145145
]
146146
},
147+
"config": {
148+
"commitizen": {
149+
"path": "./node_modules/cz-conventional-changelog"
150+
}
151+
},
147152
"devDependencies": {
148153
"@commitlint/cli": "^12.1.4",
149154
"@commitlint/config-conventional": "^12.1.4",
@@ -216,10 +221,5 @@
216221
"@radix-ui/react-tabs": "0.0.15",
217222
"@radix-ui/react-tooltip": "0.0.20",
218223
"@stitches/react": "^0.2.2"
219-
},
220-
"config": {
221-
"commitizen": {
222-
"path": "./node_modules/cz-conventional-changelog"
223-
}
224224
}
225225
}

0 commit comments

Comments
 (0)