release-with-ease 2.0.0 → 2.0.1

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.
@@ -107,7 +107,8 @@ async function askClaudeForRelease(commits) {
107
107
  );
108
108
  }
109
109
  const data = await res.json();
110
- const content = (data.content?.[0]?.text || '').trim();
110
+ const raw = (data.content?.[0]?.text || '').trim();
111
+ const content = raw.replace(/^```(?:json)?\s*\n?/, '').replace(/\n?```\s*$/, '');
111
112
 
112
113
  const parsed = JSON.parse(content);
113
114
  if (!parsed.bump || !['major', 'minor', 'patch'].includes(parsed.bump)) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "release-with-ease",
3
- "version": "2.0.0",
3
+ "version": "2.0.1",
4
4
  "description": "A script to bump the version of an npm library and update release notes. Uses Claude to analyze commits.",
5
5
  "main": "index.js",
6
6
  "bin": {