To have people successfully develop or use your package, you need to ensure that all the necessary files are checked into your source control system.
The following files must be checked into source control for anyone to be able to manage your package:
package.json: This has all the current dependencies for your package.
yarn.lock: This stores the exact versions of each dependency for your package.
Check out the Yarn Example Package for the minimum requirements necessary for a Yarn package.
© 2016–present Yarn Contributors
Licensed under the BSD License.