question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Ignore yarn.lock files

See original GitHub issue

Ignore yarn lockfile v1.

Currently an opened yarn.lock file looks like this:

image

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Comments:6 (4 by maintainers)

github_iconTop GitHub Comments

1reaction
JPinkneycommented, Jun 6, 2018

VSCode has now removed yarn.lock from the yaml language contribution so yarn.lock will no longer be associated with yaml. I’m closing this now because its fixed on both sides. All that is required is to upgrade to new VSCode version that doesn’t have that language contribution and the vscode-yaml release that will happen monday.

1reaction
JPinkneycommented, Jun 1, 2018

I’ve opened an issue on VSCode side. They were registering yarn.lock as yaml for some reason. Once that is fixed yarn.lock will on longer be associated with yaml.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Should I need to put yarn.lock in .gitignore? #1583 - GitHub
You should add yarn.lock to your git, don't ignore it. ... When you run either yarn or yarn add <package> , Yarn will...
Read more >
Should I commit the yarn.lock file and what is it for?
Don't .gitignore yarn.lock. It is there to ensure deterministic dependency resolution to avoid “works on my machine” bugs.
Read more >
yarn.lock
During install, Yarn will only use the top-level yarn.lock file and will ignore any yarn.lock files that exist within dependencies. The top-level yarn.lock...
Read more >
You should never, ever "gitignore" your lock files(package ...
The lock files are used to "lock" the versions of the dependencies used in the project and also of the dependencies used by...
Read more >
Yarn lock: how it works and what you risk without maintaining ...
lock file is respected. Lockfiles within your dependencies will be ignored. In short: When present in the project, yarn.lock is the main source ......
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found