write the project's version to a version.ts file, and only if it exists
Nobody has claimed this yet.
- Dominant language
- JavaScript
- Stars
- 6
- Forks
- 2
- PR merge metrics
- No merged PRs in 30d
Description
At the moment `lume release*` command try to write the project version to the last line of `src/index.ts`, and it will fail if `src/index.ts` does not have this line.
This should be optional, and should be opted-into by making a `src/version.ts` file whose whole contents will be replaced. The initial file can be empty,to be populated by `lime` cli.
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by locating the implementation of the `lume release*` commands and the existing logic that writes to `src/index.ts`. Verify how the command detects `src/version.ts`, then ensure only that file is replaced when it exists and that projects without it no longer fail; confirm the release flow still completes in both cases.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- typescript
- Domain
- cli, release
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Clearly specified
- Newbie friendliness
- 45/100