spoko-design-system 1.9.3 → 1.10.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.husky/commit-msg +1 -0
- package/.husky/pre-commit +12 -0
- package/CHANGELOG.md +6 -0
- package/commitlint.config.js +3 -0
- package/package.json +3 -1
|
@@ -0,0 +1 @@
|
|
|
1
|
+
pnpm exec commitlint --edit $1
|
package/.husky/pre-commit
CHANGED
|
@@ -1,5 +1,17 @@
|
|
|
1
1
|
echo "🔍 Running pre-commit checks..."
|
|
2
2
|
|
|
3
|
+
# Check for merge conflict markers
|
|
4
|
+
if ! git diff --cached --check; then
|
|
5
|
+
echo "❌ Found merge conflict markers!"
|
|
6
|
+
exit 1
|
|
7
|
+
fi
|
|
8
|
+
|
|
9
|
+
# Check for console.log (optional warning)
|
|
10
|
+
if git diff --cached --name-only | xargs grep -n "console\\.log" 2>/dev/null; then
|
|
11
|
+
echo "⚠️ Warning: Found console.log statements"
|
|
12
|
+
echo " Consider removing them before committing to production"
|
|
13
|
+
fi
|
|
14
|
+
|
|
3
15
|
# Run format check
|
|
4
16
|
echo "🎨 Checking code formatting..."
|
|
5
17
|
pnpm run format:check
|
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,9 @@
|
|
|
1
|
+
## [1.10.0](https://github.com/polo-blue/sds/compare/v1.9.3...v1.10.0) (2025-10-30)
|
|
2
|
+
|
|
3
|
+
### Features
|
|
4
|
+
|
|
5
|
+
* add commitlint and common issue checks to pre-commit ([20a2378](https://github.com/polo-blue/sds/commit/20a237883bd45dac8d80682ac003c54d06177037))
|
|
6
|
+
|
|
1
7
|
## [1.9.3](https://github.com/polo-blue/sds/compare/v1.9.2...v1.9.3) (2025-10-30)
|
|
2
8
|
|
|
3
9
|
### Bug Fixes
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "spoko-design-system",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.10.0",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"private": false,
|
|
6
6
|
"main": "./index.ts",
|
|
@@ -115,6 +115,8 @@
|
|
|
115
115
|
"vue": "^3.5.22"
|
|
116
116
|
},
|
|
117
117
|
"devDependencies": {
|
|
118
|
+
"@commitlint/cli": "^20.1.0",
|
|
119
|
+
"@commitlint/config-conventional": "^20.0.0",
|
|
118
120
|
"@semantic-release/changelog": "^6.0.3",
|
|
119
121
|
"@semantic-release/git": "^10.0.1",
|
|
120
122
|
"@types/gtag.js": "^0.0.20",
|