From a0a55510d30a1a8dea0ade4908b5b13d51b5f9e6 Mon Sep 17 00:00:00 2001 From: Lubos Date: Sat, 12 Oct 2024 01:30:07 +0800 Subject: [PATCH] fix: update license field in package.json to match the license, revert client packages license to MIT --- .changeset/smart-files-wave.md | 7 ++ package.json | 10 ++- packages/client-axios/LICENSE.md | 105 +++-------------------------- packages/client-axios/package.json | 6 ++ packages/client-fetch/LICENSE.md | 105 +++-------------------------- packages/client-fetch/package.json | 6 ++ packages/openapi-ts/README.md | 2 +- packages/openapi-ts/package.json | 8 ++- 8 files changed, 51 insertions(+), 198 deletions(-) create mode 100644 .changeset/smart-files-wave.md diff --git a/.changeset/smart-files-wave.md b/.changeset/smart-files-wave.md new file mode 100644 index 000000000..ad0db3d4f --- /dev/null +++ b/.changeset/smart-files-wave.md @@ -0,0 +1,7 @@ +--- +'@hey-api/client-axios': patch +'@hey-api/client-fetch': patch +'@hey-api/openapi-ts': patch +--- + +fix: update license field in package.json to match the license, revert client packages license to MIT diff --git a/package.json b/package.json index 6341229d1..08d530f93 100644 --- a/package.json +++ b/package.json @@ -3,8 +3,6 @@ "version": "0.1.0", "description": "Public @hey-api monorepo", "private": true, - "type": "module", - "license": "MIT", "homepage": "https://heyapi.vercel.app", "repository": { "type": "git", @@ -13,6 +11,14 @@ "bugs": { "url": "https://github.com/hey-api/openapi-ts/issues" }, + "license": "FSL-1.1-MIT", + "author": { + "email": "lmenus@lmen.us", + "name": "Lubos Menus", + "url": "https://lmen.us" + }, + "funding": "https://github.com/sponsors/mrlubos", + "type": "module", "scripts": { "build": "pnpm --recursive build", "changeset": "changeset", diff --git a/packages/client-axios/LICENSE.md b/packages/client-axios/LICENSE.md index 1472b9493..6acd8004b 100644 --- a/packages/client-axios/LICENSE.md +++ b/packages/client-axios/LICENSE.md @@ -1,102 +1,13 @@ -# Functional Source License, Version 1.1, MIT Future License +MIT License -## Abbreviation +Copyright (c) Hey API -FSL-1.1-MIT - -## Notice - -Copyright 2024 Hey API - -## Terms and Conditions - -### Licensor ("We") - -The party offering the Software under these Terms and Conditions. - -### The Software - -The "Software" is each version of the software that we make available under -these Terms and Conditions, as indicated by our inclusion of these Terms and -Conditions with the Software. - -### License Grant - -Subject to your compliance with this License Grant and the Patents, -Redistribution and Trademark clauses below, we hereby grant you the right to -use, copy, modify, create derivative works, publicly perform, publicly display -and redistribute the Software for any Permitted Purpose identified below. - -### Permitted Purpose - -A Permitted Purpose is any purpose other than a Competing Use. A Competing Use -means making the Software available to others in a commercial product or -service that: - -1. substitutes for the Software; - -2. substitutes for any other product or service we offer using the Software - that exists as of the date we make the Software available; or - -3. offers the same or substantially similar functionality as the Software. - -Permitted Purposes specifically include using the Software: - -1. for your internal use and access; - -2. for non-commercial education; - -3. for non-commercial research; and - -4. in connection with professional services that you provide to a licensee - using the Software in accordance with these Terms and Conditions. - -### Patents - -To the extent your use for a Permitted Purpose would necessarily infringe our -patents, the license grant above includes a license under our patents. If you -make a claim against any party that the Software infringes or contributes to -the infringement of any patent, then your patent license to the Software ends -immediately. - -### Redistribution - -The Terms and Conditions apply to all copies, modifications and derivatives of -the Software. - -If you redistribute any copies, modifications or derivatives of the Software, -you must include a copy of or a link to these Terms and Conditions and not -remove any copyright notices provided in or with the Software. - -### Disclaimer - -THE SOFTWARE IS PROVIDED "AS IS" AND WITHOUT WARRANTIES OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING WITHOUT LIMITATION WARRANTIES OF FITNESS FOR A PARTICULAR -PURPOSE, MERCHANTABILITY, TITLE OR NON-INFRINGEMENT. - -IN NO EVENT WILL WE HAVE ANY LIABILITY TO YOU ARISING OUT OF OR RELATED TO THE -SOFTWARE, INCLUDING INDIRECT, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES, -EVEN IF WE HAVE BEEN INFORMED OF THEIR POSSIBILITY IN ADVANCE. - -### Trademarks - -Except for displaying the License Details and identifying us as the origin of -the Software, you have no right under these Terms and Conditions to use our -trademarks, trade names, service marks or product names. - -## Grant of Future License - -We hereby irrevocably grant you an additional license to use the Software under -the MIT license that is effective on the second anniversary of the date we make -the Software available. On or after that date, you may use the Software under -the MIT license, in which case the following will apply: - -Permission is hereby granted, free of charge, to any person obtaining a copy of -this software and associated documentation files (the "Software"), to deal in -the Software without restriction, including without limitation the rights to -use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies -of the Software, and to permit persons to whom the Software is furnished to do -so, subject to the following conditions: +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. diff --git a/packages/client-axios/package.json b/packages/client-axios/package.json index 3cee8a461..16a1d244f 100644 --- a/packages/client-axios/package.json +++ b/packages/client-axios/package.json @@ -11,6 +11,12 @@ "url": "https://github.com/hey-api/openapi-ts/issues" }, "license": "MIT", + "author": { + "email": "lmenus@lmen.us", + "name": "Lubos Menus", + "url": "https://lmen.us" + }, + "funding": "https://github.com/sponsors/mrlubos", "keywords": [ "axios", "client", diff --git a/packages/client-fetch/LICENSE.md b/packages/client-fetch/LICENSE.md index 1472b9493..6acd8004b 100644 --- a/packages/client-fetch/LICENSE.md +++ b/packages/client-fetch/LICENSE.md @@ -1,102 +1,13 @@ -# Functional Source License, Version 1.1, MIT Future License +MIT License -## Abbreviation +Copyright (c) Hey API -FSL-1.1-MIT - -## Notice - -Copyright 2024 Hey API - -## Terms and Conditions - -### Licensor ("We") - -The party offering the Software under these Terms and Conditions. - -### The Software - -The "Software" is each version of the software that we make available under -these Terms and Conditions, as indicated by our inclusion of these Terms and -Conditions with the Software. - -### License Grant - -Subject to your compliance with this License Grant and the Patents, -Redistribution and Trademark clauses below, we hereby grant you the right to -use, copy, modify, create derivative works, publicly perform, publicly display -and redistribute the Software for any Permitted Purpose identified below. - -### Permitted Purpose - -A Permitted Purpose is any purpose other than a Competing Use. A Competing Use -means making the Software available to others in a commercial product or -service that: - -1. substitutes for the Software; - -2. substitutes for any other product or service we offer using the Software - that exists as of the date we make the Software available; or - -3. offers the same or substantially similar functionality as the Software. - -Permitted Purposes specifically include using the Software: - -1. for your internal use and access; - -2. for non-commercial education; - -3. for non-commercial research; and - -4. in connection with professional services that you provide to a licensee - using the Software in accordance with these Terms and Conditions. - -### Patents - -To the extent your use for a Permitted Purpose would necessarily infringe our -patents, the license grant above includes a license under our patents. If you -make a claim against any party that the Software infringes or contributes to -the infringement of any patent, then your patent license to the Software ends -immediately. - -### Redistribution - -The Terms and Conditions apply to all copies, modifications and derivatives of -the Software. - -If you redistribute any copies, modifications or derivatives of the Software, -you must include a copy of or a link to these Terms and Conditions and not -remove any copyright notices provided in or with the Software. - -### Disclaimer - -THE SOFTWARE IS PROVIDED "AS IS" AND WITHOUT WARRANTIES OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING WITHOUT LIMITATION WARRANTIES OF FITNESS FOR A PARTICULAR -PURPOSE, MERCHANTABILITY, TITLE OR NON-INFRINGEMENT. - -IN NO EVENT WILL WE HAVE ANY LIABILITY TO YOU ARISING OUT OF OR RELATED TO THE -SOFTWARE, INCLUDING INDIRECT, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES, -EVEN IF WE HAVE BEEN INFORMED OF THEIR POSSIBILITY IN ADVANCE. - -### Trademarks - -Except for displaying the License Details and identifying us as the origin of -the Software, you have no right under these Terms and Conditions to use our -trademarks, trade names, service marks or product names. - -## Grant of Future License - -We hereby irrevocably grant you an additional license to use the Software under -the MIT license that is effective on the second anniversary of the date we make -the Software available. On or after that date, you may use the Software under -the MIT license, in which case the following will apply: - -Permission is hereby granted, free of charge, to any person obtaining a copy of -this software and associated documentation files (the "Software"), to deal in -the Software without restriction, including without limitation the rights to -use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies -of the Software, and to permit persons to whom the Software is furnished to do -so, subject to the following conditions: +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. diff --git a/packages/client-fetch/package.json b/packages/client-fetch/package.json index 775a00c81..111eebb22 100644 --- a/packages/client-fetch/package.json +++ b/packages/client-fetch/package.json @@ -11,6 +11,12 @@ "url": "https://github.com/hey-api/openapi-ts/issues" }, "license": "MIT", + "author": { + "email": "lmenus@lmen.us", + "name": "Lubos Menus", + "url": "https://lmen.us" + }, + "funding": "https://github.com/sponsors/mrlubos", "keywords": [ "client", "fetch", diff --git a/packages/openapi-ts/README.md b/packages/openapi-ts/README.md index b068c934c..471c9033b 100644 --- a/packages/openapi-ts/README.md +++ b/packages/openapi-ts/README.md @@ -1,6 +1,6 @@
Logo -

OpenAPI Typescript

+

OpenAPI TypeScript

✨ Turn your OpenAPI specification into a beautiful TypeScript client.

diff --git a/packages/openapi-ts/package.json b/packages/openapi-ts/package.json index 8d160b12b..b6cd50301 100644 --- a/packages/openapi-ts/package.json +++ b/packages/openapi-ts/package.json @@ -10,7 +10,13 @@ "bugs": { "url": "https://github.com/hey-api/openapi-ts/issues" }, - "license": "MIT", + "license": "FSL-1.1-MIT", + "author": { + "email": "lmenus@lmen.us", + "name": "Lubos Menus", + "url": "https://lmen.us" + }, + "funding": "https://github.com/sponsors/mrlubos", "keywords": [ "angular", "axios",