yarnpkg/yarn

Standalone JS build (`yarn-0.14.0.js`) needs license file

Open

#549 创建于 2016年10月8日

在 GitHub 查看
 (0 评论) (2 反应) (0 负责人)JavaScript (41,514 star) (2,731 fork)batch import
cat-featuregood first issuehelp wantedtriaged

描述

For the standalone builds of Yarn (the single .js files that contain everything), we need to build a license file containing the licenses for all the dependencies in order for our usage of their source code to comply with the licenses.

For the regular tarball, we're complying by each dependency having a LICENSE file in its directory. For the standalone build, we're omitting the LICENSE files, so we need to combine them into one big license file.

It looks like yarn licenses generate-disclaimer is designed to do just that - We might need to run that as part of the build and save the generated file.

MIT license:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

BSD license:

  1. Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer.
  2. Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution.

贡献者指南

Standalone JS build (`yarn-0.14.0.js`) needs license file · yarnpkg/yarn#549 | Good First Issue