@programinglive/dev-workflow-mcp-server 1.5.3 โ†’ 1.5.4

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.
@@ -0,0 +1,56 @@
1
+ name: Create GitHub Release
2
+
3
+ on:
4
+ push:
5
+ tags:
6
+ - "v*"
7
+ workflow_dispatch:
8
+ inputs:
9
+ tag:
10
+ description: "Existing tag (e.g., v1.5.3) to create/update the release for"
11
+ required: true
12
+
13
+ permissions:
14
+ contents: write
15
+
16
+ jobs:
17
+ release:
18
+ runs-on: ubuntu-latest
19
+
20
+ steps:
21
+ - name: Checkout repository
22
+ uses: actions/checkout@v4
23
+
24
+ - name: Setup Node.js
25
+ uses: actions/setup-node@v4
26
+ with:
27
+ node-version: "20"
28
+
29
+ - name: Determine version
30
+ id: version
31
+ run: |
32
+ if [ -n "${{ github.event.inputs.tag }}" ]; then
33
+ TAG="${{ github.event.inputs.tag }}"
34
+ else
35
+ TAG="${GITHUB_REF_NAME}"
36
+ fi
37
+
38
+ if [ -z "$TAG" ]; then
39
+ echo "Unable to determine tag name"
40
+ exit 1
41
+ fi
42
+
43
+ VERSION="${TAG#v}"
44
+ echo "tag=$TAG" >> "$GITHUB_OUTPUT"
45
+ echo "version=$VERSION" >> "$GITHUB_OUTPUT"
46
+
47
+ - name: Generate release notes
48
+ run: |
49
+ node scripts/extract-release-notes.cjs "${{ steps.version.outputs.version }}" > release-notes.md
50
+
51
+ - name: Create GitHub release
52
+ uses: softprops/action-gh-release@v2
53
+ with:
54
+ tag_name: ${{ steps.version.outputs.tag }}
55
+ name: Release ${{ steps.version.outputs.tag }}
56
+ body_path: release-notes.md
package/CHANGELOG.md CHANGED
@@ -2,6 +2,17 @@
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.5.4](https://github.com/programinglive/dev-workflow-mcp-server/compare/v1.5.3...v1.5.4) (2025-12-05)
6
+
7
+
8
+ ### ๐Ÿงน Chores
9
+
10
+ * **ci:** add github release automation workflow ([80d5ded](https://github.com/programinglive/dev-workflow-mcp-server/commit/80d5ded7e2be8f45c02d65c5564934c73262bc4c))
11
+ * **release:** version 1.5.3 changes and changelog ([c2698a7](https://github.com/programinglive/dev-workflow-mcp-server/commit/c2698a7cf55acf5251b423f512621de5802ba09a))
12
+ * run release scripts via cjs ([bc241c8](https://github.com/programinglive/dev-workflow-mcp-server/commit/bc241c80bc1ec7d9ffa4c7f2982d6cecf19853c1))
13
+ * **web:** update version display to 1.5.3 in docs page ([25e37f3](https://github.com/programinglive/dev-workflow-mcp-server/commit/25e37f3c7dab550de37f79d5c31bd0395251489c))
14
+ * **web:** update version display to 1.5.3 in Hero component ([b478449](https://github.com/programinglive/dev-workflow-mcp-server/commit/b478449b334beedafb13fa0bec4b3cf6e9739f81))
15
+
5
16
  ### [1.5.3](https://github.com/programinglive/dev-workflow-mcp-server/compare/v1.5.2...v1.5.3) (2025-12-05)
6
17
 
7
18
 
@@ -4,6 +4,13 @@ Authoritative history of user-visible changes for the Development Workflow MCP S
4
4
 
5
5
  ## Unreleased
6
6
 
7
+ ## 1.5.3 โ€” 2025-12-05 โ€” ๐Ÿ› Bug Fixes
8
+ - correct package.json version from null to 1.5.2 for npm publish (be60c99)
9
+ - **news:** improve error handling and form accessibility (5e0a1a8)
10
+ - switch to static export for Netlify deployment (acddfd7)
11
+ - **release:** null ๐Ÿš€ (55d7f99)
12
+ - **release:** prepare patch release 1.5.3 (5b92c42)
13
+
7
14
  ## 1.5.0 โ€” 2025-12-02
8
15
  - See CHANGELOG for details.
9
16
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@programinglive/dev-workflow-mcp-server",
3
- "version": "1.5.3",
3
+ "version": "1.5.4",
4
4
  "description": "MCP server to enforce development workflow discipline",
5
5
  "homepage": "https://devworkflow.programinglive.com/",
6
6
  "mcpName": "io.github.programinglive/dev-workflow-mcp-server",
@@ -22,10 +22,10 @@
22
22
  "check": "node --check index.js",
23
23
  "prepare": "husky",
24
24
  "postinstall": "node install.js",
25
- "release": "node scripts/release.js",
26
- "release:major": "node scripts/release.js major",
27
- "release:minor": "node scripts/release.js minor",
28
- "release:patch": "node scripts/release.js patch",
25
+ "release": "node scripts/release.cjs",
26
+ "release:major": "node scripts/release.cjs major",
27
+ "release:minor": "node scripts/release.cjs minor",
28
+ "release:patch": "node scripts/release.cjs patch",
29
29
  "web": "npm start --prefix web"
30
30
  },
31
31
  "keywords": [
@@ -0,0 +1,78 @@
1
+ #!/usr/bin/env node
2
+
3
+ const fs = require('fs');
4
+ const path = require('path');
5
+
6
+ function escapeRegExp(value) {
7
+ return value.replace(/[.*+?^${}()|[\]\\]/g, '\\$&');
8
+ }
9
+
10
+ function findReleaseSection(content, version) {
11
+ const headingPattern = new RegExp(`^##\\s+${escapeRegExp(version)}(?:\\s+โ€”[^\\n]*)?`, 'm');
12
+ const headingMatch = content.match(headingPattern);
13
+ if (!headingMatch) {
14
+ return null;
15
+ }
16
+
17
+ const startIndex = headingMatch.index;
18
+ const afterHeadingIndex = startIndex + headingMatch[0].length;
19
+ const rest = content.slice(afterHeadingIndex);
20
+
21
+ const nextHeadingPattern = /^##\s+/m;
22
+ const nextHeadingMatch = nextHeadingPattern.exec(rest);
23
+ const sectionEnd = nextHeadingMatch ? afterHeadingIndex + nextHeadingMatch.index : content.length;
24
+
25
+ const section = content.slice(startIndex, sectionEnd).trim();
26
+ return section || null;
27
+ }
28
+
29
+ function main() {
30
+ const rawVersionArg = process.argv[2];
31
+ let version = rawVersionArg;
32
+
33
+ if (!version) {
34
+ try {
35
+ const pkg = JSON.parse(fs.readFileSync(path.join(process.cwd(), 'package.json'), 'utf8'));
36
+ version = pkg.version;
37
+ } catch {
38
+ // ignore
39
+ }
40
+ }
41
+
42
+ if (!version) {
43
+ console.error('Unable to determine version. Provide one explicitly, e.g., node scripts/extract-release-notes.cjs 1.5.3');
44
+ process.exit(1);
45
+ }
46
+
47
+ version = version.replace(/^v/i, '');
48
+
49
+ const releaseNotesPath = path.join(process.cwd(), 'docs', 'release-notes', 'RELEASE_NOTES.md');
50
+ if (!fs.existsSync(releaseNotesPath)) {
51
+ console.error(`Release notes file not found at ${releaseNotesPath}`);
52
+ process.exit(1);
53
+ }
54
+
55
+ const content = fs.readFileSync(releaseNotesPath, 'utf8');
56
+ const section = findReleaseSection(content, version);
57
+
58
+ if (!section) {
59
+ console.warn(`No release notes section found for version ${version}.`);
60
+ process.stdout.write(`## ${version}\n\nNo detailed release notes were found. Please refer to the CHANGELOG.\n`);
61
+ return;
62
+ }
63
+
64
+ process.stdout.write(`${section.trim()}\n`);
65
+ }
66
+
67
+ if (require.main === module) {
68
+ try {
69
+ main();
70
+ } catch (error) {
71
+ console.error(`Failed to extract release notes: ${error.message}`);
72
+ process.exit(1);
73
+ }
74
+ }
75
+
76
+ module.exports = {
77
+ findReleaseSection,
78
+ };
@@ -3,5 +3,5 @@ import { strict as assert } from 'node:assert'
3
3
 
4
4
  test('patch release preparation', () => {
5
5
  // Verify we can prepare a patch release
6
- assert.ok(true, 'Patch release 1.5.3 preparation test')
6
+ assert.ok(true, 'Patch release 1.5.3 preparation completed')
7
7
  })
@@ -22,7 +22,7 @@ export default function DocsPage() {
22
22
  </p>
23
23
 
24
24
  <div className="bg-emerald-500/10 border border-emerald-500/20 rounded-lg p-4 mb-8">
25
- <p className="text-emerald-400 font-semibold">Version: 1.3.12</p>
25
+ <p className="text-emerald-400 font-semibold">Version: 1.5.3</p>
26
26
  </div>
27
27
 
28
28
  <h2 className="text-3xl font-bold mt-12 mb-6">Features</h2>
@@ -17,7 +17,7 @@ export default function Hero() {
17
17
  .catch(() => setDownloads(null));
18
18
 
19
19
  // Version is hardcoded for static export
20
- setVersion("1.5.1");
20
+ setVersion("1.5.3");
21
21
  }, []);
22
22
 
23
23
  const formatDownloads = (num: number) => {