vitejs / vite

Next generation frontend tooling. It's fast!
http://vitejs.dev
MIT License
67.41k stars 6.07k forks source link

Licensing for boilerplate code #16228

Open nurse-the-code opened 6 months ago

nurse-the-code commented 6 months ago

Documentation is

Explain in Detail

I created my first vite project by running the create vite script. As I was adding a license to my project, I noticed that the boilerplate code created by the script did not have any listed license. I am assuming it would be licensed under the same license as vite itself (which is MIT). This creates somewhat of a problem, because the MIT license requires folks to attach the copyright notice:

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

But the license is not attached to the outputs of the create vite script.

Your Suggestion for Changes

Either:

  1. Explicitly wave the requirement to attach the copyright notice to the boilerplate code generated by create vite

OR

  1. Make the create vite script attach the license to the boilerplate code automatically, thus ensuring that people are less likely to be accidentally out of compliance with the license.

Reproduction

No response

Steps to reproduce

No response

bluwy commented 6 months ago

Related: https://github.com/vitejs/vite/issues/5034

I guess it would be nice to add a note like "this template is unlicensed, you're free to choose your own license" etc in the template readmes.