License Update (#1374)

* fix license badge and rename files

* update docs and configs for new license

* update builds with new license

* revert to uppercase file naming
This commit is contained in:
Waren Gonzaga 2021-10-08 18:58:59 +08:00 committed by GitHub
parent 177d732383
commit 847fdd268a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
10 changed files with 23 additions and 19 deletions

View File

@ -1,6 +1,6 @@
# Animate.css
[![GitHub Version](https://img.shields.io/github/release/animate-css/animate.css.svg?style=for-the-badge)](https://github.com/animate-css/animate.css/releases) [![Github Star](https://img.shields.io/github/stars/animate-css/animate.css.svg?style=for-the-badge)](https://github.com/animate-css/animate.css/stargazers) [![Github Fork](https://img.shields.io/github/forks/animate-css/animate.css.svg?style=for-the-badge)](https://github.com/animate-css/animate.css/network/members) [![License](https://img.shields.io/github/license/animate-css/animate.css.svg?style=for-the-badge)](https://github.com/animate-css/animate.css/blob/main/LICENSE)
[![GitHub Version](https://img.shields.io/github/release/animate-css/animate.css.svg?style=for-the-badge)](https://github.com/animate-css/animate.css/releases) [![Github Star](https://img.shields.io/github/stars/animate-css/animate.css.svg?style=for-the-badge)](https://github.com/animate-css/animate.css/stargazers) [![Github Fork](https://img.shields.io/github/forks/animate-css/animate.css.svg?style=for-the-badge)](https://github.com/animate-css/animate.css/network/members) [![License](https://img.shields.io/badge/license-hippocratic%20license-orange.svg?longCache=true&style=for-the-badge)](https://github.com/animate-css/animate.css/blob/main/LICENSE)
> If you need the old docs - v3.x.x and under - you can find it [here](https://github.com/animate-css/animate.css/tree/a8d92e585b1b302f7749809c3308d5e381f9cb17).
@ -28,7 +28,7 @@ You can find the Animate.css documentation on the [website](https://animate.styl
Animate.css supports the [`prefers-reduced-motion` media query](https://webkit.org/blog/7551/responsive-design-for-motion/) so that users with motion sensitivity can opt out of animations. On supported platforms (currently all the majors browsers and OS), users can select "reduce motion" on their operating system preferences and it will turn off CSS transitions for them without any further work required.
## Core team
## Core Team
| ![Daniel Eden](https://avatars2.githubusercontent.com/u/439365?s=460&u=512b4cc5324938ae40bbb8f3b7769d335953cd3a&v=4) | ![Elton Mesquita](https://avatars2.githubusercontent.com/u/5007208?s=460&u=418401ee605824272e5dcb955fd64ea24546a857&v=4) | ![Waren Gonzaga](https://avatars1.githubusercontent.com/u/15052701?s=460&u=9e58364978379536d3f26c4ce5cae1a2a449a0e4&v=4) |
| --- | --- | --- |

File diff suppressed because one or more lines are too long

6
animate.css vendored
View File

@ -1,7 +1,9 @@
@charset "UTF-8";/*!
@charset "UTF-8";
/*!
* animate.css - https://animate.style/
* Version - 4.1.1
* Licensed under the MIT license - https://opensource.org/licenses/MIT
* Licensed under the Hippocratic License 2.1 - http://firstdonoharm.dev
*
* Copyright (c) 2021 Animate.css
*/

7
animate.min.css vendored

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -891,7 +891,7 @@
<pre><code class="language-shell">$ yarn add animate.css
</code></pre>
<p>Import it into your file:</p>
<pre><code class="language-js">import &quot;animate.css&quot;
<pre><code class="language-js">import 'animate.css';
</code></pre>
<p>Or add it directly to your webpage using a CDN:</p>
<pre><code class="language-html">&lt;head&gt;
@ -1287,7 +1287,7 @@ $ npm install
<section class="docSection-license-contributing" id="license-contributing">
<h2>License and Contributing</h2>
<p>Animate.css is licensed under the MIT license. (<a href="https://opensource.org/licenses/MIT">https://opensource.org/licenses/MIT</a>)</p>
<p>Animate.css is licensed under the <a href="http://firstdonoharm.dev">Hippocratic License</a>.</p>
<h3>Contributing</h3>
<p>Pull requests are the way to go here. We only have two rules for submitting a pull request: match the naming convention (camelCase, categorized [fades, bounces, etc.]) and let us see a demo of submitted animations in a <a href="https://codepen.io">pen</a>. That <strong>last one is important</strong>.</p>
<h3>Code of Conduct</h3>

View File

@ -1,6 +1,6 @@
## License and Contributing
Animate.css is licensed under the MIT license. (https://opensource.org/licenses/MIT)
Animate.css is licensed under the [Hippocratic License](http://firstdonoharm.dev).
### Contributing

View File

@ -10,7 +10,7 @@
"name": "Animate.css"
},
"homepage": "https://animate.style/",
"license": "MIT",
"license": "HL-2.1",
"animateConfig": {
"prefix": "animate__"
},

View File

@ -1,18 +1,18 @@
const fs = require('fs');
const {homepage, version, author, animateConfig} = JSON.parse(fs.readFileSync('package.json'));
const header = `@charset "UTF-8";
const header = `
@charset "UTF-8";
/*!
* animate.css - ${homepage}
* Version - ${version}
* Licensed under the MIT license - https://opensource.org/licenses/MIT
* Licensed under the Hippocratic License 2.1 - http://firstdonoharm.dev
*
* Copyright (c) ${new Date().getFullYear()} ${author.name}
*/
`;
`;
module.exports = (ctx) => {
const prefix = ctx.env === 'compat' ? '' : animateConfig.prefix;