Record build details of nodejs snaps

Hello!

This is one more step in our journey to record every detail of the build snap in the manifest. We are already recording details for python snaps, and now we will do the same for nodejs snaps.

Just as with python, this will record the list of installed nodejs packages. The new piece of information that this adds is the yarn.lock file, when we are using the yarn package manager instead of npm.

I have a branch almost ready for review.

1 Like

@ratliff @tyhicks, one more post for you to review.

This records the node packages installed:

https://github.com/snapcore/snapcraft/pull/1523

Next, record the lock file.

https://github.com/snapcore/snapcraft/pull/1524