joe-bell / cva

Class Variance Authority
https://cva.style
Apache License 2.0
5.46k stars 107 forks source link

Add LICENSE Comments #283

Closed joe-bell closed 2 months ago

joe-bell commented 2 months ago

Description

While I'm totally flattered by (and continue to encourage!) the number of projects extending cva and class-variance-authority, it's important to call out that this project is–and always has been–Apache 2.0 licensed

Personally, I've always preferred Apache 2.0 for cultivating a stronger culture of attribution within open-source

With Apache 2.0 comes specific obligations:

  1. You must release all the unmodified parts of the software under the same license (the Apache License)
  2. You must include copyright and attribution notices, disclaiming warranties, and provide a copy of the license with any distribution of the software.

Source

Hoping that these comments and an extra layer of clarity 🙏

Additional context

Recently spotted react-spectrum using these comment blocks, and thought it would be a nice idea to implement too!


What is the purpose of this pull request?

Before submitting the PR, please make sure you do the following

vercel[bot] commented 2 months ago

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Updated (UTC)
docs ✅ Ready (Inspect) Visit Preview Apr 21, 2024 3:12pm
docs-beta ✅ Ready (Inspect) Visit Preview Apr 21, 2024 3:12pm
github-actions[bot] commented 2 months ago

The latest updates to examples.

Name StackBlitz
astro-with-tailwindcss Visit StackBlitz
react-with-css-modules Visit StackBlitz
react-with-tailwindcss Visit StackBlitz
svelte Visit StackBlitz
vue Visit StackBlitz