Skip to content

Commit 5565765

Browse files
feat: add responsive vertical monitor support and dark/light mode toggle
1 parent efbcffd commit 5565765

17 files changed

Lines changed: 656 additions & 252 deletions

.husky/pre-commit

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1,2 @@
1-
npm test
1+
#!/usr/bin/env sh
2+
# Pre-commit hook - tests are run only during release

package-lock.json

Lines changed: 85 additions & 103 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@
5353
"devDependencies": {
5454
"@commitlint/cli": "^20.2.0",
5555
"@commitlint/config-conventional": "^20.2.0",
56-
"@programinglive/commiter": "^1.1.8",
56+
"@programinglive/commiter": "^1.2.8",
5757
"autoprefixer": "^10.4.22",
5858
"husky": "^9.1.7",
5959
"postcss": "^8.5.6",

scripts/release.cjs

Lines changed: 0 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -185,26 +185,11 @@ function runRelease({
185185
const gitAddResult = spawnSync('git', ['add', releaseNotesPath], { stdio: 'inherit', cwd });
186186
if (!gitAddResult || typeof gitAddResult.status !== 'number' || gitAddResult.status !== 0) {
187187
console.warn('⚠️ Release notes updated but failed to stage. Please add manually: git add ' + releaseNotesPath);
188-
} else {
189-
// Amend the release commit to include release notes and move the tag
190-
const pkg = loadPackageJson(cwd);
191-
const version = pkg ? pkg.version : null;
192-
if (version) {
193-
const tagName = `v${version}`;
194-
// Delete the old tag
195-
spawnSync('git', ['tag', '-d', tagName], { stdio: 'inherit', cwd });
196-
// Amend the commit to include release notes
197-
spawnSync('git', ['commit', '--amend', '--no-edit'], { stdio: 'inherit', cwd });
198-
// Recreate the tag on the amended commit
199-
spawnSync('git', ['tag', tagName], { stdio: 'inherit', cwd });
200-
console.log(`✅ Added release notes entry for version ${version}.`);
201-
}
202188
}
203189
}
204190

205191
return releaseResult;
206192
}
207-
208193
if (require.main === module) {
209194
try {
210195
const result = runRelease();

0 commit comments

Comments
 (0)