generated from alex/base-template
Add support for packages.json #2
Labels
No labels
dependencies
No milestone
No project
No assignees
2 participants
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
alex/conventional-release#2
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Most JS/Typescript projects use that file to also keep track of version, it should be trivial to add an adapter to support that too
/pi new PR
Now add specs:PR created: #3
Summary — feat: add npm adapter for
package.json(#3, closes #2)ConventionalRelease::Adapter::Npm(src/conventional_release/adapter/npm.cr): manifestpackage.json,--lang npm.versionfield via a light regex instead of JSON parse + re-serialize, so formatting, key order, and trailing newline are preserved on rewrite.Errors for a missingversionfield or an invalid version.package.json+CHANGELOG.mdin the release commit.ADAPTERSbetweenversion-fileandcrystal, keeping the existing precedence model; auto-detection works by presence ofpackage.json.just checksgreen).View action run | Model: zai/glm-5.3-flash (thinking: low) | Time: 3m 45s | Tokens: 244.5K | Cost: $0.01 | Pi SDK v1.4.0 | Action v2.30.1-develop (develop @ 4ea2232)