Some`yarn pack` Command Notes

Some issues I had with the yarn pack command. I'm using Yarn Berry v4.0.2

Notes

  • It reformats package.json:
    • Remove the EOF empty line
    • Converts indentation to 2 spaces
    • Changes the EOL to LF
  • Does not pack .yarnrc.yml
  • Does not pack .gitignore
0
Subscribe to my newsletter

Read articles from Shahab Movahhedi directly inside your inbox. Subscribe to the newsletter, and don't miss out.

Written by

Shahab Movahhedi
Shahab Movahhedi

Senior Developer, Designer, Technologist! ๐Ÿ‡ฎ๐Ÿ‡ท