@programinglive/commiter 1.1.10 β†’ 1.2.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/CHANGELOG.md CHANGED
@@ -2,6 +2,20 @@
2
2
 
3
3
  All notable changes to this project will be documented in this file. See [standard-version](https://github.com/conventional-changelog/standard-version) for commit guidelines.
4
4
 
5
+ ## [1.2.0](https://github.com/programinglive/commiter/compare/v1.1.11...v1.2.0) (2025-11-26)
6
+
7
+
8
+ ### 🧹 Chores
9
+
10
+ * **project:** update documentation and release scripts ([88d02c6](https://github.com/programinglive/commiter/commit/88d02c6f527cd4dc63bcecfca4538867fe8d5c96))
11
+
12
+ ### [1.1.11](https://github.com/programinglive/commiter/compare/v1.1.10...v1.1.11) (2025-11-26)
13
+
14
+
15
+ ### πŸ“ Documentation
16
+
17
+ * **website:** add open graph social media preview ([7a2f911](https://github.com/programinglive/commiter/commit/7a2f91156bcef6f351d4e914efc53776741baf69))
18
+
5
19
  ### [1.1.10](https://github.com/programinglive/commiter/compare/v1.1.9...v1.1.10) (2025-11-26)
6
20
 
7
21
 
package/PRD.md CHANGED
@@ -28,8 +28,13 @@ Growing teams often struggle to keep release processes consistent: commit messag
28
28
  - Detects release type from CLI args or npm context.
29
29
  - Runs project tests via detected package manager before releasing.
30
30
  - Invokes `standard-version` with additional flags (e.g., preload patch for deprecated APIs).
31
+ - **[NEW]** Automatically updates website version in `web/index.html`.
31
32
  - **Preload Patching (`scripts/preload/fs-f-ok.cjs`)**
32
33
  - Hooks Node’s module loader to transparently replace deprecated `fs.F_OK` usages in `standard-version` without altering `node_modules`.
34
+ - **Website & Documentation**
35
+ - Professional landing page in `web/` directory.
36
+ - Automated GitHub Releases generation.
37
+ - Open Graph social media preview support.
33
38
  - **Testing**
34
39
  - Suite executed via `node --test` covers setup utilities, release argument parsing, and the preload patch.
35
40
 
package/README.md CHANGED
@@ -186,7 +186,21 @@ To see what would happen without making changes:
186
186
  npm run release -- --dry-run
187
187
  ```
188
188
 
189
- ## Contributing
189
+ ## Website
190
+
191
+ The project includes a professional landing page in the `web/` directory.
192
+
193
+ ### Local Development
194
+
195
+ To run the website locally:
196
+
197
+ ```bash
198
+ npm run web
199
+ ```
200
+
201
+ This will serve the website at `http://localhost:3000`.
202
+
203
+ ## Contributing
190
204
 
191
205
  Contributions are welcome! Please read [CONTRIBUTING.md](CONTRIBUTING.md) for details on our code of conduct and the process for submitting pull requests.
192
206
 
@@ -4,6 +4,8 @@ This document summarizes every published version of `@programinglive/commiter`.
4
4
 
5
5
  | Version | Date | Highlights |
6
6
  |---------|------|------------|
7
+ | 1.2.0 | 2025-11-26 | See CHANGELOG for details. |
8
+ | 1.1.11 | 2025-11-26 | **website:** add open graph social media preview (7a2f911) |
7
9
  | 1.1.10 | 2025-11-26 | **website:** add professional landing page and release tools (ec53e2d) |
8
10
  | 1.1.9 | 2025-11-24 | convert release scripts to CJS to support ESM projects (842da02) |
9
11
  | 1.1.8 | 2025-11-22 | update installation script to copy missing files and update gitignore (5d56259) |
@@ -38,6 +40,20 @@ This document summarizes every published version of `@programinglive/commiter`.
38
40
 
39
41
 
40
42
 
43
+
44
+
45
+ ## 1.2.0
46
+
47
+ Released on **2025-11-26**.
48
+
49
+ - See CHANGELOG for details.
50
+
51
+ ## 1.1.11 – πŸ“ Documentation
52
+
53
+ Released on **2025-11-26**.
54
+
55
+ - **website:** add open graph social media preview (7a2f911)
56
+
41
57
  ## 1.1.10 – ✨ Features
42
58
 
43
59
  Released on **2025-11-26**.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@programinglive/commiter",
3
- "version": "1.1.10",
3
+ "version": "1.2.0",
4
4
  "description": "Commiter keeps repositories release-ready by enforcing conventional commits, generating icon-rich changelog entries, and orchestrating semantic version bumps without manual toil. It bootstraps Husky hooks, commitlint rules, and release scripts that inspect history, detect framework-specific test commands, run them automatically, tag git releases, coordinate npm publishing, surface release metrics, enforce project-specific checks, and give maintainers observability across distributed teams. Plus!",
5
5
  "main": "index.js",
6
6
  "bin": {
@@ -12,7 +12,9 @@
12
12
  "release": "node scripts/release.cjs",
13
13
  "release:major": "node scripts/release.cjs major",
14
14
  "release:minor": "node scripts/release.cjs minor",
15
- "release:patch": "node scripts/release.cjs patch"
15
+ "release:patch": "node scripts/release.cjs patch",
16
+ "web": "npx serve web",
17
+ "update:web": "node scripts/update-web-version.js"
16
18
  },
17
19
  "keywords": [
18
20
  "commit",
@@ -188,9 +188,21 @@ function runRelease({
188
188
  }
189
189
  }
190
190
 
191
+ // Update website version
192
+ try {
193
+ console.log('🌐 Updating website version...');
194
+ const updateWebResult = spawnSync('npm', ['run', 'update:web'], { stdio: 'inherit', cwd });
195
+ if (updateWebResult.status === 0) {
196
+ spawnSync('git', ['add', 'web/index.html'], { stdio: 'inherit', cwd });
197
+ } else {
198
+ console.warn('⚠️ Failed to update website version');
199
+ }
200
+ } catch (error) {
201
+ console.warn(`⚠️ Skipping website version update: ${error.message}`);
202
+ }
203
+
191
204
  return releaseResult;
192
205
  }
193
-
194
206
  if (require.main === module) {
195
207
  try {
196
208
  const result = runRelease();
@@ -0,0 +1,26 @@
1
+ const fs = require('fs');
2
+ const path = require('path');
3
+
4
+ // Get current version from package.json
5
+ const packageJson = require('../package.json');
6
+ const version = packageJson.version;
7
+
8
+ const indexPath = path.join(__dirname, '../web/index.html');
9
+ let content = fs.readFileSync(indexPath, 'utf8');
10
+
11
+ // Update version in the badge
12
+ // Matches: <span>v1.1.9 - Latest Release</span>
13
+ content = content.replace(
14
+ /<span>v\d+\.\d+\.\d+ - Latest Release<\/span>/,
15
+ `<span>v${version} - Latest Release</span>`
16
+ );
17
+
18
+ // Update version in the stats
19
+ // Matches: <div class="stat-value">1.1.9</div>
20
+ content = content.replace(
21
+ /<div class="stat-value">\d+\.\d+\.\d+<\/div>(\s*<div class="stat-label">Latest Version<\/div>)/,
22
+ `<div class="stat-value">${version}</div>$1`
23
+ );
24
+
25
+ fs.writeFileSync(indexPath, content);
26
+ console.log(`βœ… Updated website to version ${version}`);
package/web/index.html CHANGED
@@ -10,15 +10,21 @@
10
10
  content="commit, conventional commits, standard-version, changelog, versioning, semantic release, git hooks, husky, commitlint">
11
11
  <meta name="author" content="Programming Live">
12
12
 
13
- <!-- Open Graph / Social Media -->
13
+ <!-- Open Graph / Facebook / LinkedIn -->
14
14
  <meta property="og:type" content="website">
15
- <meta property="og:title" content="Commiter - Automated Release Management">
16
- <meta property="og:description"
17
- content="Enforce commit conventions, generate changelogs, and automate semantic versioning for your projects.">
18
- <meta property="og:url" content="https://github.com/programinglive/commiter">
15
+ <meta property="og:url" content="https://commiter.programinglive.com/">
16
+ <meta property="og:title" content="Commiter - Ship Code Faster">
17
+ <meta property="og:description" content="The best tool for developers to manage commits and deployments.">
18
+ <meta property="og:image" content="https://commiter.programinglive.com/og-image.png">
19
19
 
20
- <link rel="icon" type="image/svg+xml" href="favicon.svg">
20
+ <!-- Twitter -->
21
+ <meta property="twitter:card" content="summary_large_image">
22
+ <meta property="twitter:url" content="https://commiter.programinglive.com/">
23
+ <meta property="twitter:title" content="Commiter">
24
+ <meta property="twitter:description" content="The best tool for developers to manage commits and deployments.">
25
+ <meta property="twitter:image" content="https://commiter.programinglive.com/og-image.png">
21
26
 
27
+ <link rel="icon" type="image/svg+xml" href="favicon.svg">
22
28
  <title>Commiter - Automated Commit Conventions & Release Management</title>
23
29
 
24
30
  <link rel="stylesheet" href="css/style.css">
@@ -60,7 +66,7 @@
60
66
  <div class="hero-content">
61
67
  <div class="hero-badge">
62
68
  <span class="badge-dot"></span>
63
- <span>v1.1.9 - Latest Release</span>
69
+ <span>v1.2.0 - Latest Release</span>
64
70
  </div>
65
71
  <h1 class="hero-title">
66
72
  Ship Releases with <span class="gradient-text">Confidence</span>
@@ -84,7 +90,7 @@
84
90
  </div>
85
91
  <div class="hero-stats">
86
92
  <div class="stat-item">
87
- <div class="stat-value">1.1.9</div>
93
+ <div class="stat-value">1.2.0</div>
88
94
  <div class="stat-label">Latest Version</div>
89
95
  </div>
90
96
  <div class="stat-item">
Binary file
@@ -0,0 +1,24 @@
1
+ <svg width="1200" height="630" viewBox="0 0 1200 630" fill="none" xmlns="http://www.w3.org/2000/svg">
2
+ <!-- Background: Very Dark Grey (GitHub/Terminal Style) -->
3
+ <rect width="1200" height="630" fill="#0D1117"/>
4
+
5
+ <!-- Subtle Background Pattern (Optional Grid) -->
6
+ <path d="M0 630V0H1200V630" fill="url(#grid)" opacity="0.1"/>
7
+ <defs>
8
+ <pattern id="grid" width="40" height="40" patternUnits="userSpaceOnUse">
9
+ <path d="M 40 0 L 0 0 0 40" fill="none" stroke="white" stroke-width="1"/>
10
+ </pattern>
11
+ </defs>
12
+
13
+ <!-- Central Group -->
14
+ <g transform="translate(600, 315)" text-anchor="middle">
15
+ <!-- Rocket Emoji (Using text for consistent vibe) -->
16
+ <text x="0" y="-20" font-family="Arial, sans-serif" font-size="150" fill="white" text-anchor="middle">πŸš€</text>
17
+
18
+ <!-- Brand Name -->
19
+ <text x="0" y="130" font-family="-apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif" font-weight="800" font-size="120" fill="#FFFFFF" text-anchor="middle">Commiter</text>
20
+
21
+ <!-- Tagline -->
22
+ <text x="0" y="200" font-family="-apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif" font-size="32" fill="#8B949E" text-anchor="middle">Automated Commit Conventions &amp; Release Management</text>
23
+ </g>
24
+ </svg>