New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Use .yml as extension for the YAML files #1380
Comments
This would not only break previous pnpm versions, but also break tools that are used to detect pnpm files. Unless there're some big benefits of using ...Let's say that we ignore breaking changes, I would prefer.json over both because these files are generated by machine, not meant to be written by human.
|
We decided to rename By the way, yarn is also switching to the YAML format but they'll keep the old file name ( |
What about other existing files (such as It is common sense to avoid unnecessary breaking changes. I don't see "widespread convention" as a good enough reason. |
the only other file is so you'd recommend to name the file |
I do like Anyway, I only wish to not change the file extension from |
Due to lack of activity, I am closing this issue. We keep the |
pnpm currently deals with a few YAML files:
shrinkwrap.yaml
pnpm-workspace.yaml
node_modules/.modules.yaml
However, most toolings use the
.yml
extension for YAML files. (appveyor.yml
,
.travis.yml
,docker-compose.yml
, etc)I think it would be better to use this more widespread convention even though the official docs of yaml recommend using the
.yaml
extension (http://yaml.org/faq.html)Of course, this would be a breaking change, so we can discuss also renaming those config files
The text was updated successfully, but these errors were encountered: