garrytan / garrytan/gstack

Versioning Scheme

Open
#430 2 comments 1 reaction 0 assignees View on GitHub
Dominant language
TypeScript
Stars
133k
Forks
19.9k
Avg merge
18h 46m
Merged PRs (30d)
26

Description

Hi @garrytan ,

Thank you for this outstanding framework.

While using gstack for a green-field project, I've got an issue while running the generated code:

```sh
$ npx run-the-command
npm error Invalid Version: 0.1.0.0
npm error A complete log of this run can be found in: ...
```
Looks like npm only support [SemVer](https://docs.npmjs.com/about-semantic-versioning). I replaced all "0.1.0.0" with "0.1.0" and the command works.

My question is: why do we use a new version scheme (`x.y.z.t`) in this project? For example:

- [in our package.json](https://github.com/garrytan/gstack/blob/dc5e0538e5ab6b0208cb6b3d71d28b3f6d9aebf9/package.json#L3)
- [in our tests](https://github.com/search?q=repo%3Agarrytan%2Fgstack+0.1.0.0&type=code)

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.