From 9c78ffdd39bae3a639baf29310faf0c77176a12e Mon Sep 17 00:00:00 2001 From: jackwener Date: Sun, 15 Mar 2026 19:54:34 +0800 Subject: [PATCH] chore: change license to BSD-3-Clause --- LICENSE | 28 ++++++++++++++++++++++++++++ README.md | 2 +- README.zh-CN.md | 2 +- package.json | 2 +- 4 files changed, 31 insertions(+), 3 deletions(-) create mode 100644 LICENSE diff --git a/LICENSE b/LICENSE new file mode 100644 index 0000000..a88c550 --- /dev/null +++ b/LICENSE @@ -0,0 +1,28 @@ +BSD 3-Clause License + +Copyright (c) 2025, jackwener + +Redistribution and use in source and binary forms, with or without +modification, are permitted provided that the following conditions are met: + +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. + +3. Neither the name of the copyright holder nor the names of its + contributors may be used to endorse or promote products derived from + this software without specific prior written permission. + +THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" +AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE +IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE +DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE +FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL +DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR +SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER +CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, +OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE +OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. diff --git a/README.md b/README.md index dfb5a90..7c87ef1 100644 --- a/README.md +++ b/README.md @@ -153,4 +153,4 @@ The CI will automatically build, create a GitHub release, and publish to npm. ## License -MIT +[BSD-3-Clause](./LICENSE) diff --git a/README.zh-CN.md b/README.zh-CN.md index c89eb4c..93c3c2e 100644 --- a/README.zh-CN.md +++ b/README.zh-CN.md @@ -152,4 +152,4 @@ git push --follow-tags ## License -MIT +[BSD-3-Clause](./LICENSE) diff --git a/package.json b/package.json index 24fe318..9ab3e6d 100644 --- a/package.json +++ b/package.json @@ -31,7 +31,7 @@ "playwright" ], "author": "jackwener", - "license": "MIT", + "license": "BSD-3-Clause", "repository": { "type": "git", "url": "git+https://github.com/jackwener/opencli.git"