OpenPanel is an open-source web and product analytics platform, an open-source alternative to Mixpanel with optional self-hosting.
fix: use MIT license for sdks
Carl-Gerhard Lindesvärdaaeb13148313
diff --git a/packages/sdks/astro/LICENSE b/packages/sdks/astro/LICENSEnew file mode 100644index 000000000..eb4d321c8--- /dev/null+++ b/packages/sdks/astro/LICENSE@@ -0,0 +1,21 @@+MIT License++Copyright (c) 2026 OpenPanel++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.++THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR+IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,+FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE+AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER+LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,+OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE+SOFTWARE.diff --git a/packages/sdks/astro/package.json b/packages/sdks/astro/package.jsonindex 095b08319..d1de6b8eb 100644--- a/packages/sdks/astro/package.json+++ b/packages/sdks/astro/package.json@@ -1,6 +1,7 @@{"name": "@openpanel/astro","version": "1.3.0-local",+ "license": "MIT","config": {"transformPackageJson": false,"transformEnvs": true,diff --git a/packages/sdks/express/LICENSE b/packages/sdks/express/LICENSEnew file mode 100644index 000000000..eb4d321c8--- /dev/null+++ b/packages/sdks/express/LICENSE@@ -0,0 +1,21 @@+MIT License++Copyright (c) 2026 OpenPanel++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.++THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR+IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,+FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE+AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER+LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,+OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE+SOFTWARE.diff --git a/packages/sdks/express/package.json b/packages/sdks/express/package.jsonindex dbfae5186..9bcd8f0bb 100644--- a/packages/sdks/express/package.json+++ b/packages/sdks/express/package.json@@ -1,6 +1,7 @@{"name": "@openpanel/express","version": "1.3.0-local",+ "license": "MIT","module": "index.ts","config": {"docPath": "apps/public/content/docs/(tracking)/sdks/express.mdx"diff --git a/packages/sdks/nextjs/LICENSE b/packages/sdks/nextjs/LICENSEnew file mode 100644index 000000000..eb4d321c8--- /dev/null+++ b/packages/sdks/nextjs/LICENSE@@ -0,0 +1,21 @@+MIT License++Copyright (c) 2026 OpenPanel++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.++THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR+IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,+FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE+AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER+LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,+OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE+SOFTWARE.diff --git a/packages/sdks/nextjs/package.json b/packages/sdks/nextjs/package.jsonindex 051d6c397..40e0045a9 100644--- a/packages/sdks/nextjs/package.json+++ b/packages/sdks/nextjs/package.json@@ -1,6 +1,7 @@{"name": "@openpanel/nextjs","version": "1.4.0-local",+ "license": "MIT","module": "index.ts","config": {"docPath": "apps/public/content/docs/(tracking)/sdks/nextjs.mdx"diff --git a/packages/sdks/nuxt/LICENSE b/packages/sdks/nuxt/LICENSEnew file mode 100644index 000000000..eb4d321c8--- /dev/null+++ b/packages/sdks/nuxt/LICENSE@@ -0,0 +1,21 @@+MIT License++Copyright (c) 2026 OpenPanel++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.++THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR+IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,+FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE+AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER+LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,+OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE+SOFTWARE.diff --git a/packages/sdks/nuxt/package.json b/packages/sdks/nuxt/package.jsonindex 208babd2d..d85b3f0f2 100644--- a/packages/sdks/nuxt/package.json+++ b/packages/sdks/nuxt/package.json@@ -1,6 +1,7 @@{"name": "@openpanel/nuxt","version": "0.3.0-local",+ "license": "MIT","type": "module","main": "./dist/module.mjs","exports": {diff --git a/packages/sdks/react-native/LICENSE b/packages/sdks/react-native/LICENSEnew file mode 100644index 000000000..eb4d321c8--- /dev/null+++ b/packages/sdks/react-native/LICENSE@@ -0,0 +1,21 @@+MIT License++Copyright (c) 2026 OpenPanel++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.++THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR+IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,+FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE+AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER+LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,+OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE+SOFTWARE.diff --git a/packages/sdks/react-native/package.json b/packages/sdks/react-native/package.jsonindex 2d8fb923b..59e4caf74 100644--- a/packages/sdks/react-native/package.json+++ b/packages/sdks/react-native/package.json@@ -1,6 +1,7 @@{"name": "@openpanel/react-native","version": "1.4.0-local",+ "license": "MIT","module": "index.ts","config": {"docPath": "apps/public/content/docs/(tracking)/sdks/react-native.mdx"diff --git a/packages/sdks/sdk/LICENSE b/packages/sdks/sdk/LICENSEnew file mode 100644index 000000000..eb4d321c8--- /dev/null+++ b/packages/sdks/sdk/LICENSE@@ -0,0 +1,21 @@+MIT License++Copyright (c) 2026 OpenPanel++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.++THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR+IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,+FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE+AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER+LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,+OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE+SOFTWARE.diff --git a/packages/sdks/sdk/package.json b/packages/sdks/sdk/package.jsonindex 9f9c28364..0421c866f 100644--- a/packages/sdks/sdk/package.json+++ b/packages/sdks/sdk/package.json@@ -1,6 +1,7 @@{"name": "@openpanel/sdk","version": "1.3.0-local",+ "license": "MIT","module": "index.ts","config": {"docPath": "apps/public/content/docs/(tracking)/sdks/javascript.mdx"diff --git a/packages/sdks/web/LICENSE b/packages/sdks/web/LICENSEnew file mode 100644index 000000000..eb4d321c8--- /dev/null+++ b/packages/sdks/web/LICENSE@@ -0,0 +1,21 @@+MIT License++Copyright (c) 2026 OpenPanel++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.++THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR+IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,+FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE+AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER+LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,+OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE+SOFTWARE.diff --git a/packages/sdks/web/package.json b/packages/sdks/web/package.jsonindex 1aa4b5b77..ab85321b8 100644--- a/packages/sdks/web/package.json+++ b/packages/sdks/web/package.json@@ -1,6 +1,7 @@{"name": "@openpanel/web","version": "1.3.0-local",+ "license": "MIT","module": "index.ts","config": {"docPath": "apps/public/content/docs/(tracking)/sdks/web.mdx"diff --git a/tooling/publish/publish.ts b/tooling/publish/publish.tsindex a1b211ce7..cd012b5e2 100644--- a/tooling/publish/publish.ts+++ b/tooling/publish/publish.ts@@ -153,7 +153,7 @@ const updatePackageJsonForRelease = (main: './dist/index.js',module: './dist/index.js',types: './dist/index.d.ts',- files: ['dist', 'README.md'],+ files: ['dist', 'README.md', 'LICENSE'],exports: restPkgJson.exports ?? {'.': {import: './dist/index.js',