spoko-design-system 1.9.3 → 1.11.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 +12 -0
- package/commitlint.config.js +3 -0
- package/package.json +4 -1
- package/src/scripts/tooltips.ts +2 -0
|
@@ -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,15 @@
|
|
|
1
|
+
## [1.11.0](https://github.com/polo-blue/sds/compare/v1.10.0...v1.11.0) (2025-10-30)
|
|
2
|
+
|
|
3
|
+
### Features
|
|
4
|
+
|
|
5
|
+
* **tooltips:** export scripts and bundle CSS with tooltips ([57bdcf8](https://github.com/polo-blue/sds/commit/57bdcf8750bc763c9a7fb2f928aecfaa17cf4a34))
|
|
6
|
+
|
|
7
|
+
## [1.10.0](https://github.com/polo-blue/sds/compare/v1.9.3...v1.10.0) (2025-10-30)
|
|
8
|
+
|
|
9
|
+
### Features
|
|
10
|
+
|
|
11
|
+
* add commitlint and common issue checks to pre-commit ([20a2378](https://github.com/polo-blue/sds/commit/20a237883bd45dac8d80682ac003c54d06177037))
|
|
12
|
+
|
|
1
13
|
## [1.9.3](https://github.com/polo-blue/sds/compare/v1.9.2...v1.9.3) (2025-10-30)
|
|
2
14
|
|
|
3
15
|
### Bug Fixes
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "spoko-design-system",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.11.0",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"private": false,
|
|
6
6
|
"main": "./index.ts",
|
|
@@ -12,6 +12,7 @@
|
|
|
12
12
|
"require": "./index.ts"
|
|
13
13
|
},
|
|
14
14
|
"./styles/*": "./src/styles/*",
|
|
15
|
+
"./scripts/*": "./src/scripts/*",
|
|
15
16
|
"./icons": "./icon.config.ts",
|
|
16
17
|
"./icon-collections": "./icon.collections.ts",
|
|
17
18
|
"./uno-config": "./uno-config/index.ts"
|
|
@@ -115,6 +116,8 @@
|
|
|
115
116
|
"vue": "^3.5.22"
|
|
116
117
|
},
|
|
117
118
|
"devDependencies": {
|
|
119
|
+
"@commitlint/cli": "^20.1.0",
|
|
120
|
+
"@commitlint/config-conventional": "^20.0.0",
|
|
118
121
|
"@semantic-release/changelog": "^6.0.3",
|
|
119
122
|
"@semantic-release/git": "^10.0.1",
|
|
120
123
|
"@types/gtag.js": "^0.0.20",
|