From d2ca8b4b422b2d264dba7c2c2a167ad6dcf08f3e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E0=A4=95=E0=A4=BE=E0=A4=B0=E0=A4=A4=E0=A5=8B=E0=A4=AB?= =?UTF-8?q?=E0=A5=8D=E0=A4=AB=E0=A5=87=E0=A4=B2=E0=A4=B8=E0=A5=8D=E0=A4=95?= =?UTF-8?q?=E0=A5=8D=E0=A4=B0=E0=A4=BF=E0=A4=AA=E0=A5=8D=E0=A4=9F=E2=84=A2?= Date: Wed, 10 Jul 2024 16:43:21 +0200 Subject: [PATCH] ci: Ensure that all published packages have consistent provenance data in package.json (#9994) --- .github/scripts/ensure-provenance-fields.mjs | 44 ++++++++++ .github/workflows/release-publish.yml | 1 + package.json | 1 - packages/@n8n/chat/LICENSE.md | 86 -------------------- packages/@n8n/chat/package.json | 12 +-- packages/@n8n/client-oauth2/package.json | 4 - packages/@n8n/imap/package.json | 4 - packages/@n8n/nodes-langchain/LICENSE.md | 86 -------------------- packages/@n8n/nodes-langchain/package.json | 6 -- packages/@n8n/permissions/package.json | 4 - packages/cli/LICENSE.md | 86 -------------------- packages/cli/LICENSE_EE.md | 27 ------ packages/cli/package.json | 10 --- packages/core/LICENSE.md | 86 -------------------- packages/core/LICENSE_EE.md | 27 ------ packages/core/package.json | 10 --- packages/design-system/LICENSE.md | 86 -------------------- packages/design-system/LICENSE_EE.md | 27 ------ packages/design-system/package.json | 10 --- packages/editor-ui/.npmignore | 2 + packages/editor-ui/LICENSE.md | 86 -------------------- packages/editor-ui/LICENSE_EE.md | 27 ------ packages/editor-ui/package.json | 10 --- packages/node-dev/LICENSE.md | 86 -------------------- packages/node-dev/LICENSE_EE.md | 27 ------ packages/node-dev/package.json | 10 --- packages/nodes-base/LICENSE.md | 86 -------------------- packages/nodes-base/LICENSE_EE.md | 27 ------ packages/nodes-base/package.json | 10 --- packages/workflow/LICENSE.md | 86 -------------------- packages/workflow/LICENSE_EE.md | 27 ------ packages/workflow/package.json | 10 --- 32 files changed, 49 insertions(+), 1062 deletions(-) create mode 100644 .github/scripts/ensure-provenance-fields.mjs delete mode 100644 packages/@n8n/chat/LICENSE.md delete mode 100644 packages/@n8n/nodes-langchain/LICENSE.md delete mode 100644 packages/cli/LICENSE.md delete mode 100644 packages/cli/LICENSE_EE.md delete mode 100644 packages/core/LICENSE.md delete mode 100644 packages/core/LICENSE_EE.md delete mode 100644 packages/design-system/LICENSE.md delete mode 100644 packages/design-system/LICENSE_EE.md delete mode 100644 packages/editor-ui/LICENSE.md delete mode 100644 packages/editor-ui/LICENSE_EE.md delete mode 100644 packages/node-dev/LICENSE.md delete mode 100644 packages/node-dev/LICENSE_EE.md delete mode 100644 packages/nodes-base/LICENSE.md delete mode 100644 packages/nodes-base/LICENSE_EE.md delete mode 100644 packages/workflow/LICENSE.md delete mode 100644 packages/workflow/LICENSE_EE.md diff --git a/.github/scripts/ensure-provenance-fields.mjs b/.github/scripts/ensure-provenance-fields.mjs new file mode 100644 index 0000000000..2fad319a62 --- /dev/null +++ b/.github/scripts/ensure-provenance-fields.mjs @@ -0,0 +1,44 @@ +import { writeFile, readFile, copyFile } from 'fs/promises'; +import { resolve, dirname } from 'path'; +import child_process from 'child_process'; +import { fileURLToPath } from 'url'; +import { promisify } from 'util'; + +const exec = promisify(child_process.exec); + +const commonFiles = ['LICENSE.md', 'LICENSE_EE.md']; + +const baseDir = resolve(dirname(fileURLToPath(import.meta.url)), '../..'); +const packages = JSON.parse((await exec('pnpm ls -r --only-projects --json')).stdout); + +for (let { name, path, version, private: isPrivate } of packages) { + if (isPrivate) continue; + + const packageFile = resolve(path, 'package.json'); + const packageJson = { + ...JSON.parse(await readFile(packageFile, 'utf-8')), + // Add these fields to all published package.json files to ensure provenance checks pass + license: 'SEE LICENSE IN LICENSE.md', + homepage: 'https://n8n.io', + author: { + name: 'Jan Oberhauser', + email: 'jan@n8n.io', + }, + repository: { + type: 'git', + url: 'git+https://github.com/n8n-io/n8n.git', + }, + }; + + // Copy over LICENSE.md and LICENSE_EE.md into every published package, and ensure they get included in the published package + await Promise.all( + commonFiles.map(async (file) => { + await copyFile(resolve(baseDir, file), resolve(path, file)); + if (packageJson.files && !packageJson.files.includes(file)) { + packageJson.files.push(file); + } + }), + ); + + await writeFile(packageFile, JSON.stringify(packageJson, null, 2) + '\n'); +} diff --git a/.github/workflows/release-publish.yml b/.github/workflows/release-publish.yml index d683642313..2faf889ea0 100644 --- a/.github/workflows/release-publish.yml +++ b/.github/workflows/release-publish.yml @@ -46,6 +46,7 @@ jobs: run: | echo "//registry.npmjs.org/:_authToken=${{ secrets.NPM_TOKEN }}" > ~/.npmrc node scripts/trim-fe-packageJson.js + node scripts/ensure-provenance-fields.mjs sed -i "s/default: 'dev'/default: 'stable'/g" packages/cli/dist/config/schema.js pnpm publish -r --publish-branch ${{github.event.pull_request.base.ref}} --access public --tag rc --no-git-checks npm dist-tag rm n8n rc diff --git a/package.json b/package.json index a71cefa540..2b3e9bb460 100644 --- a/package.json +++ b/package.json @@ -2,7 +2,6 @@ "name": "n8n-monorepo", "version": "1.49.0", "private": true, - "homepage": "https://n8n.io", "engines": { "node": ">=18.10", "pnpm": ">=9.1" diff --git a/packages/@n8n/chat/LICENSE.md b/packages/@n8n/chat/LICENSE.md deleted file mode 100644 index aab68b6d93..0000000000 --- a/packages/@n8n/chat/LICENSE.md +++ /dev/null @@ -1,86 +0,0 @@ -# License - -Portions of this software are licensed as follows: - -- Content of branches other than the main branch (i.e. "master") are not licensed. -- Source code files that contain ".ee." in their filename are NOT licensed under the Sustainable Use License. - To use source code files that contain ".ee." in their filename you must hold a valid n8n Enterprise License - specifically allowing you access to such source code files and as defined in "LICENSE_EE.md". -- All third party components incorporated into the n8n Software are licensed under the original license - provided by the owner of the applicable component. -- Content outside of the above mentioned files or restrictions is available under the "Sustainable Use - License" as defined below. - -## Sustainable Use License - -Version 1.0 - -### Acceptance - -By using the software, you agree to all of the terms and conditions below. - -### Copyright License - -The licensor grants you a non-exclusive, royalty-free, worldwide, non-sublicensable, non-transferable license -to use, copy, distribute, make available, and prepare derivative works of the software, in each case subject -to the limitations below. - -### Limitations - -You may use or modify the software only for your own internal business purposes or for non-commercial or -personal use. You may distribute the software or provide it to others only if you do so free of charge for -non-commercial purposes. You may not alter, remove, or obscure any licensing, copyright, or other notices of -the licensor in the software. Any use of the licensor’s trademarks is subject to applicable law. - -### Patents - -The licensor grants you a license, under any patent claims the licensor can license, or becomes able to -license, to make, have made, use, sell, offer for sale, import and have imported the software, in each case -subject to the limitations and conditions in this license. This license does not cover any patent claims that -you cause to be infringed by modifications or additions to the software. If you or your company make any -written claim that the software infringes or contributes to infringement of any patent, your patent license -for the software granted under these terms ends immediately. If your company makes such a claim, your patent -license ends immediately for work on behalf of your company. - -### Notices - -You must ensure that anyone who gets a copy of any part of the software from you also gets a copy of these -terms. If you modify the software, you must include in any modified copies of the software a prominent notice -stating that you have modified the software. - -### No Other Rights - -These terms do not imply any licenses other than those expressly granted in these terms. - -### Termination - -If you use the software in violation of these terms, such use is not licensed, and your license will -automatically terminate. If the licensor provides you with a notice of your violation, and you cease all -violation of this license no later than 30 days after you receive that notice, your license will be reinstated -retroactively. However, if you violate these terms after such reinstatement, any additional violation of these -terms will cause your license to terminate automatically and permanently. - -### No Liability - -As far as the law allows, the software comes as is, without any warranty or condition, and the licensor will -not be liable to you for any damages arising out of these terms or the use or nature of the software, under -any kind of legal claim. - -### Definitions - -The “licensor” is the entity offering these terms. - -The “software” is the software the licensor makes available under these terms, including any portion of it. - -“You” refers to the individual or entity agreeing to these terms. - -“Your company” is any legal entity, sole proprietorship, or other kind of organization that you work for, plus -all organizations that have control over, are under the control of, or are under common control with that -organization. Control means ownership of substantially all the assets of an entity, or the power to direct its -management and policies by vote, contract, or otherwise. Control can be direct or indirect. - -“Your license” is the license granted to you for the software under these terms. - -“Use” means anything you do with the software requiring your license. - -“Trademark” means trademarks, service marks, and similar rights. diff --git a/packages/@n8n/chat/package.json b/packages/@n8n/chat/package.json index 24d73fb227..8970022e38 100644 --- a/packages/@n8n/chat/package.json +++ b/packages/@n8n/chat/package.json @@ -14,8 +14,7 @@ "lintfix": "eslint . --ext .js,.ts,.vue --fix", "format": "prettier --write src/", "storybook": "storybook dev -p 6006 --no-open", - "build:storybook": "storybook build", - "release": "pnpm run build:full && cd dist && pnpm publish" + "build:storybook": "storybook build" }, "main": "./dist/chat.umd.js", "module": "./dist/chat.es.js", @@ -52,13 +51,6 @@ }, "files": [ "README.md", - "LICENSE.md", "dist" - ], - "repository": { - "type": "git", - "url": "git+https://github.com/n8n-io/n8n.git" - }, - "license": "SEE LICENSE IN LICENSE.md", - "homepage": "https://n8n.io" + ] } diff --git a/packages/@n8n/client-oauth2/package.json b/packages/@n8n/client-oauth2/package.json index 63a5d160a1..4482890d6b 100644 --- a/packages/@n8n/client-oauth2/package.json +++ b/packages/@n8n/client-oauth2/package.json @@ -1,10 +1,6 @@ { "name": "@n8n/client-oauth2", "version": "0.18.0", - "repository": { - "type": "git", - "url": "git+https://github.com/n8n-io/n8n.git" - }, "scripts": { "clean": "rimraf dist .turbo", "dev": "pnpm watch", diff --git a/packages/@n8n/imap/package.json b/packages/@n8n/imap/package.json index 36f19ca1b3..55145da4d1 100644 --- a/packages/@n8n/imap/package.json +++ b/packages/@n8n/imap/package.json @@ -1,10 +1,6 @@ { "name": "@n8n/imap", "version": "0.5.0", - "repository": { - "type": "git", - "url": "git+https://github.com/n8n-io/n8n.git" - }, "scripts": { "clean": "rimraf dist .turbo", "dev": "pnpm watch", diff --git a/packages/@n8n/nodes-langchain/LICENSE.md b/packages/@n8n/nodes-langchain/LICENSE.md deleted file mode 100644 index aab68b6d93..0000000000 --- a/packages/@n8n/nodes-langchain/LICENSE.md +++ /dev/null @@ -1,86 +0,0 @@ -# License - -Portions of this software are licensed as follows: - -- Content of branches other than the main branch (i.e. "master") are not licensed. -- Source code files that contain ".ee." in their filename are NOT licensed under the Sustainable Use License. - To use source code files that contain ".ee." in their filename you must hold a valid n8n Enterprise License - specifically allowing you access to such source code files and as defined in "LICENSE_EE.md". -- All third party components incorporated into the n8n Software are licensed under the original license - provided by the owner of the applicable component. -- Content outside of the above mentioned files or restrictions is available under the "Sustainable Use - License" as defined below. - -## Sustainable Use License - -Version 1.0 - -### Acceptance - -By using the software, you agree to all of the terms and conditions below. - -### Copyright License - -The licensor grants you a non-exclusive, royalty-free, worldwide, non-sublicensable, non-transferable license -to use, copy, distribute, make available, and prepare derivative works of the software, in each case subject -to the limitations below. - -### Limitations - -You may use or modify the software only for your own internal business purposes or for non-commercial or -personal use. You may distribute the software or provide it to others only if you do so free of charge for -non-commercial purposes. You may not alter, remove, or obscure any licensing, copyright, or other notices of -the licensor in the software. Any use of the licensor’s trademarks is subject to applicable law. - -### Patents - -The licensor grants you a license, under any patent claims the licensor can license, or becomes able to -license, to make, have made, use, sell, offer for sale, import and have imported the software, in each case -subject to the limitations and conditions in this license. This license does not cover any patent claims that -you cause to be infringed by modifications or additions to the software. If you or your company make any -written claim that the software infringes or contributes to infringement of any patent, your patent license -for the software granted under these terms ends immediately. If your company makes such a claim, your patent -license ends immediately for work on behalf of your company. - -### Notices - -You must ensure that anyone who gets a copy of any part of the software from you also gets a copy of these -terms. If you modify the software, you must include in any modified copies of the software a prominent notice -stating that you have modified the software. - -### No Other Rights - -These terms do not imply any licenses other than those expressly granted in these terms. - -### Termination - -If you use the software in violation of these terms, such use is not licensed, and your license will -automatically terminate. If the licensor provides you with a notice of your violation, and you cease all -violation of this license no later than 30 days after you receive that notice, your license will be reinstated -retroactively. However, if you violate these terms after such reinstatement, any additional violation of these -terms will cause your license to terminate automatically and permanently. - -### No Liability - -As far as the law allows, the software comes as is, without any warranty or condition, and the licensor will -not be liable to you for any damages arising out of these terms or the use or nature of the software, under -any kind of legal claim. - -### Definitions - -The “licensor” is the entity offering these terms. - -The “software” is the software the licensor makes available under these terms, including any portion of it. - -“You” refers to the individual or entity agreeing to these terms. - -“Your company” is any legal entity, sole proprietorship, or other kind of organization that you work for, plus -all organizations that have control over, are under the control of, or are under common control with that -organization. Control means ownership of substantially all the assets of an entity, or the power to direct its -management and policies by vote, contract, or otherwise. Control can be direct or indirect. - -“Your license” is the license granted to you for the software under these terms. - -“Use” means anything you do with the software requiring your license. - -“Trademark” means trademarks, service marks, and similar rights. diff --git a/packages/@n8n/nodes-langchain/package.json b/packages/@n8n/nodes-langchain/package.json index 680a6d49f2..0b5b9b8407 100644 --- a/packages/@n8n/nodes-langchain/package.json +++ b/packages/@n8n/nodes-langchain/package.json @@ -2,12 +2,6 @@ "name": "@n8n/n8n-nodes-langchain", "version": "1.49.0", "description": "", - "license": "SEE LICENSE IN LICENSE.md", - "homepage": "https://n8n.io", - "repository": { - "type": "git", - "url": "git+https://github.com/n8n-io/n8n.git" - }, "main": "index.js", "scripts": { "clean": "rimraf dist .turbo", diff --git a/packages/@n8n/permissions/package.json b/packages/@n8n/permissions/package.json index 4ba54f2d59..7bc76b26ec 100644 --- a/packages/@n8n/permissions/package.json +++ b/packages/@n8n/permissions/package.json @@ -1,10 +1,6 @@ { "name": "@n8n/permissions", "version": "0.10.0", - "repository": { - "type": "git", - "url": "git+https://github.com/n8n-io/n8n.git" - }, "scripts": { "clean": "rimraf dist .turbo", "dev": "pnpm watch", diff --git a/packages/cli/LICENSE.md b/packages/cli/LICENSE.md deleted file mode 100644 index aab68b6d93..0000000000 --- a/packages/cli/LICENSE.md +++ /dev/null @@ -1,86 +0,0 @@ -# License - -Portions of this software are licensed as follows: - -- Content of branches other than the main branch (i.e. "master") are not licensed. -- Source code files that contain ".ee." in their filename are NOT licensed under the Sustainable Use License. - To use source code files that contain ".ee." in their filename you must hold a valid n8n Enterprise License - specifically allowing you access to such source code files and as defined in "LICENSE_EE.md". -- All third party components incorporated into the n8n Software are licensed under the original license - provided by the owner of the applicable component. -- Content outside of the above mentioned files or restrictions is available under the "Sustainable Use - License" as defined below. - -## Sustainable Use License - -Version 1.0 - -### Acceptance - -By using the software, you agree to all of the terms and conditions below. - -### Copyright License - -The licensor grants you a non-exclusive, royalty-free, worldwide, non-sublicensable, non-transferable license -to use, copy, distribute, make available, and prepare derivative works of the software, in each case subject -to the limitations below. - -### Limitations - -You may use or modify the software only for your own internal business purposes or for non-commercial or -personal use. You may distribute the software or provide it to others only if you do so free of charge for -non-commercial purposes. You may not alter, remove, or obscure any licensing, copyright, or other notices of -the licensor in the software. Any use of the licensor’s trademarks is subject to applicable law. - -### Patents - -The licensor grants you a license, under any patent claims the licensor can license, or becomes able to -license, to make, have made, use, sell, offer for sale, import and have imported the software, in each case -subject to the limitations and conditions in this license. This license does not cover any patent claims that -you cause to be infringed by modifications or additions to the software. If you or your company make any -written claim that the software infringes or contributes to infringement of any patent, your patent license -for the software granted under these terms ends immediately. If your company makes such a claim, your patent -license ends immediately for work on behalf of your company. - -### Notices - -You must ensure that anyone who gets a copy of any part of the software from you also gets a copy of these -terms. If you modify the software, you must include in any modified copies of the software a prominent notice -stating that you have modified the software. - -### No Other Rights - -These terms do not imply any licenses other than those expressly granted in these terms. - -### Termination - -If you use the software in violation of these terms, such use is not licensed, and your license will -automatically terminate. If the licensor provides you with a notice of your violation, and you cease all -violation of this license no later than 30 days after you receive that notice, your license will be reinstated -retroactively. However, if you violate these terms after such reinstatement, any additional violation of these -terms will cause your license to terminate automatically and permanently. - -### No Liability - -As far as the law allows, the software comes as is, without any warranty or condition, and the licensor will -not be liable to you for any damages arising out of these terms or the use or nature of the software, under -any kind of legal claim. - -### Definitions - -The “licensor” is the entity offering these terms. - -The “software” is the software the licensor makes available under these terms, including any portion of it. - -“You” refers to the individual or entity agreeing to these terms. - -“Your company” is any legal entity, sole proprietorship, or other kind of organization that you work for, plus -all organizations that have control over, are under the control of, or are under common control with that -organization. Control means ownership of substantially all the assets of an entity, or the power to direct its -management and policies by vote, contract, or otherwise. Control can be direct or indirect. - -“Your license” is the license granted to you for the software under these terms. - -“Use” means anything you do with the software requiring your license. - -“Trademark” means trademarks, service marks, and similar rights. diff --git a/packages/cli/LICENSE_EE.md b/packages/cli/LICENSE_EE.md deleted file mode 100644 index b47966a6c0..0000000000 --- a/packages/cli/LICENSE_EE.md +++ /dev/null @@ -1,27 +0,0 @@ -# The n8n Enterprise License (the “Enterprise License”) - -Copyright (c) 2022-present n8n GmbH. - -With regard to the n8n Software: - -This software and associated documentation files (the "Software") may only be used in production, if -you (and any entity that you represent) hold a valid n8n Enterprise license corresponding to your -usage. Subject to the foregoing sentence, you are free to modify this Software and publish patches -to the Software. You agree that n8n and/or its licensors (as applicable) retain all right, title and -interest in and to all such modifications and/or patches, and all such modifications and/or patches -may only be used, copied, modified, displayed, distributed, or otherwise exploited with a valid n8n -Enterprise license for the corresponding usage. Notwithstanding the foregoing, you may copy and -modify the Software for development and testing purposes, without requiring a subscription. You -agree that n8n and/or its licensors (as applicable) retain all right, title and interest in and to -all such modifications. You are not granted any other rights beyond what is expressly stated herein. -Subject to the foregoing, it is forbidden to copy, merge, publish, distribute, sublicense, and/or -sell 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. - -For all third party components incorporated into the n8n Software, those components are licensed -under the original license provided by the owner of the applicable component. diff --git a/packages/cli/package.json b/packages/cli/package.json index 8cd7c9f6de..353103d091 100644 --- a/packages/cli/package.json +++ b/packages/cli/package.json @@ -2,16 +2,6 @@ "name": "n8n", "version": "1.49.0", "description": "n8n Workflow Automation Tool", - "license": "SEE LICENSE IN LICENSE.md", - "homepage": "https://n8n.io", - "author": { - "name": "Jan Oberhauser", - "email": "jan@n8n.io" - }, - "repository": { - "type": "git", - "url": "git+https://github.com/n8n-io/n8n.git" - }, "main": "dist/index", "types": "dist/index.d.ts", "oclif": { diff --git a/packages/core/LICENSE.md b/packages/core/LICENSE.md deleted file mode 100644 index aab68b6d93..0000000000 --- a/packages/core/LICENSE.md +++ /dev/null @@ -1,86 +0,0 @@ -# License - -Portions of this software are licensed as follows: - -- Content of branches other than the main branch (i.e. "master") are not licensed. -- Source code files that contain ".ee." in their filename are NOT licensed under the Sustainable Use License. - To use source code files that contain ".ee." in their filename you must hold a valid n8n Enterprise License - specifically allowing you access to such source code files and as defined in "LICENSE_EE.md". -- All third party components incorporated into the n8n Software are licensed under the original license - provided by the owner of the applicable component. -- Content outside of the above mentioned files or restrictions is available under the "Sustainable Use - License" as defined below. - -## Sustainable Use License - -Version 1.0 - -### Acceptance - -By using the software, you agree to all of the terms and conditions below. - -### Copyright License - -The licensor grants you a non-exclusive, royalty-free, worldwide, non-sublicensable, non-transferable license -to use, copy, distribute, make available, and prepare derivative works of the software, in each case subject -to the limitations below. - -### Limitations - -You may use or modify the software only for your own internal business purposes or for non-commercial or -personal use. You may distribute the software or provide it to others only if you do so free of charge for -non-commercial purposes. You may not alter, remove, or obscure any licensing, copyright, or other notices of -the licensor in the software. Any use of the licensor’s trademarks is subject to applicable law. - -### Patents - -The licensor grants you a license, under any patent claims the licensor can license, or becomes able to -license, to make, have made, use, sell, offer for sale, import and have imported the software, in each case -subject to the limitations and conditions in this license. This license does not cover any patent claims that -you cause to be infringed by modifications or additions to the software. If you or your company make any -written claim that the software infringes or contributes to infringement of any patent, your patent license -for the software granted under these terms ends immediately. If your company makes such a claim, your patent -license ends immediately for work on behalf of your company. - -### Notices - -You must ensure that anyone who gets a copy of any part of the software from you also gets a copy of these -terms. If you modify the software, you must include in any modified copies of the software a prominent notice -stating that you have modified the software. - -### No Other Rights - -These terms do not imply any licenses other than those expressly granted in these terms. - -### Termination - -If you use the software in violation of these terms, such use is not licensed, and your license will -automatically terminate. If the licensor provides you with a notice of your violation, and you cease all -violation of this license no later than 30 days after you receive that notice, your license will be reinstated -retroactively. However, if you violate these terms after such reinstatement, any additional violation of these -terms will cause your license to terminate automatically and permanently. - -### No Liability - -As far as the law allows, the software comes as is, without any warranty or condition, and the licensor will -not be liable to you for any damages arising out of these terms or the use or nature of the software, under -any kind of legal claim. - -### Definitions - -The “licensor” is the entity offering these terms. - -The “software” is the software the licensor makes available under these terms, including any portion of it. - -“You” refers to the individual or entity agreeing to these terms. - -“Your company” is any legal entity, sole proprietorship, or other kind of organization that you work for, plus -all organizations that have control over, are under the control of, or are under common control with that -organization. Control means ownership of substantially all the assets of an entity, or the power to direct its -management and policies by vote, contract, or otherwise. Control can be direct or indirect. - -“Your license” is the license granted to you for the software under these terms. - -“Use” means anything you do with the software requiring your license. - -“Trademark” means trademarks, service marks, and similar rights. diff --git a/packages/core/LICENSE_EE.md b/packages/core/LICENSE_EE.md deleted file mode 100644 index b47966a6c0..0000000000 --- a/packages/core/LICENSE_EE.md +++ /dev/null @@ -1,27 +0,0 @@ -# The n8n Enterprise License (the “Enterprise License”) - -Copyright (c) 2022-present n8n GmbH. - -With regard to the n8n Software: - -This software and associated documentation files (the "Software") may only be used in production, if -you (and any entity that you represent) hold a valid n8n Enterprise license corresponding to your -usage. Subject to the foregoing sentence, you are free to modify this Software and publish patches -to the Software. You agree that n8n and/or its licensors (as applicable) retain all right, title and -interest in and to all such modifications and/or patches, and all such modifications and/or patches -may only be used, copied, modified, displayed, distributed, or otherwise exploited with a valid n8n -Enterprise license for the corresponding usage. Notwithstanding the foregoing, you may copy and -modify the Software for development and testing purposes, without requiring a subscription. You -agree that n8n and/or its licensors (as applicable) retain all right, title and interest in and to -all such modifications. You are not granted any other rights beyond what is expressly stated herein. -Subject to the foregoing, it is forbidden to copy, merge, publish, distribute, sublicense, and/or -sell 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. - -For all third party components incorporated into the n8n Software, those components are licensed -under the original license provided by the owner of the applicable component. diff --git a/packages/core/package.json b/packages/core/package.json index 0325eb7be0..e95dddaa14 100644 --- a/packages/core/package.json +++ b/packages/core/package.json @@ -2,16 +2,6 @@ "name": "n8n-core", "version": "1.49.0", "description": "Core functionality of n8n", - "license": "SEE LICENSE IN LICENSE.md", - "homepage": "https://n8n.io", - "author": { - "name": "Jan Oberhauser", - "email": "jan@n8n.io" - }, - "repository": { - "type": "git", - "url": "git+https://github.com/n8n-io/n8n.git" - }, "main": "dist/index", "types": "dist/index.d.ts", "bin": { diff --git a/packages/design-system/LICENSE.md b/packages/design-system/LICENSE.md deleted file mode 100644 index aab68b6d93..0000000000 --- a/packages/design-system/LICENSE.md +++ /dev/null @@ -1,86 +0,0 @@ -# License - -Portions of this software are licensed as follows: - -- Content of branches other than the main branch (i.e. "master") are not licensed. -- Source code files that contain ".ee." in their filename are NOT licensed under the Sustainable Use License. - To use source code files that contain ".ee." in their filename you must hold a valid n8n Enterprise License - specifically allowing you access to such source code files and as defined in "LICENSE_EE.md". -- All third party components incorporated into the n8n Software are licensed under the original license - provided by the owner of the applicable component. -- Content outside of the above mentioned files or restrictions is available under the "Sustainable Use - License" as defined below. - -## Sustainable Use License - -Version 1.0 - -### Acceptance - -By using the software, you agree to all of the terms and conditions below. - -### Copyright License - -The licensor grants you a non-exclusive, royalty-free, worldwide, non-sublicensable, non-transferable license -to use, copy, distribute, make available, and prepare derivative works of the software, in each case subject -to the limitations below. - -### Limitations - -You may use or modify the software only for your own internal business purposes or for non-commercial or -personal use. You may distribute the software or provide it to others only if you do so free of charge for -non-commercial purposes. You may not alter, remove, or obscure any licensing, copyright, or other notices of -the licensor in the software. Any use of the licensor’s trademarks is subject to applicable law. - -### Patents - -The licensor grants you a license, under any patent claims the licensor can license, or becomes able to -license, to make, have made, use, sell, offer for sale, import and have imported the software, in each case -subject to the limitations and conditions in this license. This license does not cover any patent claims that -you cause to be infringed by modifications or additions to the software. If you or your company make any -written claim that the software infringes or contributes to infringement of any patent, your patent license -for the software granted under these terms ends immediately. If your company makes such a claim, your patent -license ends immediately for work on behalf of your company. - -### Notices - -You must ensure that anyone who gets a copy of any part of the software from you also gets a copy of these -terms. If you modify the software, you must include in any modified copies of the software a prominent notice -stating that you have modified the software. - -### No Other Rights - -These terms do not imply any licenses other than those expressly granted in these terms. - -### Termination - -If you use the software in violation of these terms, such use is not licensed, and your license will -automatically terminate. If the licensor provides you with a notice of your violation, and you cease all -violation of this license no later than 30 days after you receive that notice, your license will be reinstated -retroactively. However, if you violate these terms after such reinstatement, any additional violation of these -terms will cause your license to terminate automatically and permanently. - -### No Liability - -As far as the law allows, the software comes as is, without any warranty or condition, and the licensor will -not be liable to you for any damages arising out of these terms or the use or nature of the software, under -any kind of legal claim. - -### Definitions - -The “licensor” is the entity offering these terms. - -The “software” is the software the licensor makes available under these terms, including any portion of it. - -“You” refers to the individual or entity agreeing to these terms. - -“Your company” is any legal entity, sole proprietorship, or other kind of organization that you work for, plus -all organizations that have control over, are under the control of, or are under common control with that -organization. Control means ownership of substantially all the assets of an entity, or the power to direct its -management and policies by vote, contract, or otherwise. Control can be direct or indirect. - -“Your license” is the license granted to you for the software under these terms. - -“Use” means anything you do with the software requiring your license. - -“Trademark” means trademarks, service marks, and similar rights. diff --git a/packages/design-system/LICENSE_EE.md b/packages/design-system/LICENSE_EE.md deleted file mode 100644 index b47966a6c0..0000000000 --- a/packages/design-system/LICENSE_EE.md +++ /dev/null @@ -1,27 +0,0 @@ -# The n8n Enterprise License (the “Enterprise License”) - -Copyright (c) 2022-present n8n GmbH. - -With regard to the n8n Software: - -This software and associated documentation files (the "Software") may only be used in production, if -you (and any entity that you represent) hold a valid n8n Enterprise license corresponding to your -usage. Subject to the foregoing sentence, you are free to modify this Software and publish patches -to the Software. You agree that n8n and/or its licensors (as applicable) retain all right, title and -interest in and to all such modifications and/or patches, and all such modifications and/or patches -may only be used, copied, modified, displayed, distributed, or otherwise exploited with a valid n8n -Enterprise license for the corresponding usage. Notwithstanding the foregoing, you may copy and -modify the Software for development and testing purposes, without requiring a subscription. You -agree that n8n and/or its licensors (as applicable) retain all right, title and interest in and to -all such modifications. You are not granted any other rights beyond what is expressly stated herein. -Subject to the foregoing, it is forbidden to copy, merge, publish, distribute, sublicense, and/or -sell 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. - -For all third party components incorporated into the n8n Software, those components are licensed -under the original license provided by the owner of the applicable component. diff --git a/packages/design-system/package.json b/packages/design-system/package.json index 6cdce97489..4ecc39902f 100644 --- a/packages/design-system/package.json +++ b/packages/design-system/package.json @@ -1,18 +1,8 @@ { "name": "n8n-design-system", "version": "1.39.0", - "license": "SEE LICENSE IN LICENSE.md", - "homepage": "https://n8n.io", - "author": { - "name": "Mutasem Aldmour", - "email": "mutasem@n8n.io" - }, "main": "src/main.ts", "import": "src/main.ts", - "repository": { - "type": "git", - "url": "git+https://github.com/n8n-io/n8n.git" - }, "scripts": { "dev": "pnpm run storybook", "clean": "rimraf dist .turbo", diff --git a/packages/editor-ui/.npmignore b/packages/editor-ui/.npmignore index 4d43eb3f3a..926413639e 100644 --- a/packages/editor-ui/.npmignore +++ b/packages/editor-ui/.npmignore @@ -1,5 +1,6 @@ /src /tests +/.turbo !dist .browserslistrc @@ -8,3 +9,4 @@ postcss.config.js vue.config.js dist/report.html public/ +.eslintrc.js diff --git a/packages/editor-ui/LICENSE.md b/packages/editor-ui/LICENSE.md deleted file mode 100644 index aab68b6d93..0000000000 --- a/packages/editor-ui/LICENSE.md +++ /dev/null @@ -1,86 +0,0 @@ -# License - -Portions of this software are licensed as follows: - -- Content of branches other than the main branch (i.e. "master") are not licensed. -- Source code files that contain ".ee." in their filename are NOT licensed under the Sustainable Use License. - To use source code files that contain ".ee." in their filename you must hold a valid n8n Enterprise License - specifically allowing you access to such source code files and as defined in "LICENSE_EE.md". -- All third party components incorporated into the n8n Software are licensed under the original license - provided by the owner of the applicable component. -- Content outside of the above mentioned files or restrictions is available under the "Sustainable Use - License" as defined below. - -## Sustainable Use License - -Version 1.0 - -### Acceptance - -By using the software, you agree to all of the terms and conditions below. - -### Copyright License - -The licensor grants you a non-exclusive, royalty-free, worldwide, non-sublicensable, non-transferable license -to use, copy, distribute, make available, and prepare derivative works of the software, in each case subject -to the limitations below. - -### Limitations - -You may use or modify the software only for your own internal business purposes or for non-commercial or -personal use. You may distribute the software or provide it to others only if you do so free of charge for -non-commercial purposes. You may not alter, remove, or obscure any licensing, copyright, or other notices of -the licensor in the software. Any use of the licensor’s trademarks is subject to applicable law. - -### Patents - -The licensor grants you a license, under any patent claims the licensor can license, or becomes able to -license, to make, have made, use, sell, offer for sale, import and have imported the software, in each case -subject to the limitations and conditions in this license. This license does not cover any patent claims that -you cause to be infringed by modifications or additions to the software. If you or your company make any -written claim that the software infringes or contributes to infringement of any patent, your patent license -for the software granted under these terms ends immediately. If your company makes such a claim, your patent -license ends immediately for work on behalf of your company. - -### Notices - -You must ensure that anyone who gets a copy of any part of the software from you also gets a copy of these -terms. If you modify the software, you must include in any modified copies of the software a prominent notice -stating that you have modified the software. - -### No Other Rights - -These terms do not imply any licenses other than those expressly granted in these terms. - -### Termination - -If you use the software in violation of these terms, such use is not licensed, and your license will -automatically terminate. If the licensor provides you with a notice of your violation, and you cease all -violation of this license no later than 30 days after you receive that notice, your license will be reinstated -retroactively. However, if you violate these terms after such reinstatement, any additional violation of these -terms will cause your license to terminate automatically and permanently. - -### No Liability - -As far as the law allows, the software comes as is, without any warranty or condition, and the licensor will -not be liable to you for any damages arising out of these terms or the use or nature of the software, under -any kind of legal claim. - -### Definitions - -The “licensor” is the entity offering these terms. - -The “software” is the software the licensor makes available under these terms, including any portion of it. - -“You” refers to the individual or entity agreeing to these terms. - -“Your company” is any legal entity, sole proprietorship, or other kind of organization that you work for, plus -all organizations that have control over, are under the control of, or are under common control with that -organization. Control means ownership of substantially all the assets of an entity, or the power to direct its -management and policies by vote, contract, or otherwise. Control can be direct or indirect. - -“Your license” is the license granted to you for the software under these terms. - -“Use” means anything you do with the software requiring your license. - -“Trademark” means trademarks, service marks, and similar rights. diff --git a/packages/editor-ui/LICENSE_EE.md b/packages/editor-ui/LICENSE_EE.md deleted file mode 100644 index b47966a6c0..0000000000 --- a/packages/editor-ui/LICENSE_EE.md +++ /dev/null @@ -1,27 +0,0 @@ -# The n8n Enterprise License (the “Enterprise License”) - -Copyright (c) 2022-present n8n GmbH. - -With regard to the n8n Software: - -This software and associated documentation files (the "Software") may only be used in production, if -you (and any entity that you represent) hold a valid n8n Enterprise license corresponding to your -usage. Subject to the foregoing sentence, you are free to modify this Software and publish patches -to the Software. You agree that n8n and/or its licensors (as applicable) retain all right, title and -interest in and to all such modifications and/or patches, and all such modifications and/or patches -may only be used, copied, modified, displayed, distributed, or otherwise exploited with a valid n8n -Enterprise license for the corresponding usage. Notwithstanding the foregoing, you may copy and -modify the Software for development and testing purposes, without requiring a subscription. You -agree that n8n and/or its licensors (as applicable) retain all right, title and interest in and to -all such modifications. You are not granted any other rights beyond what is expressly stated herein. -Subject to the foregoing, it is forbidden to copy, merge, publish, distribute, sublicense, and/or -sell 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. - -For all third party components incorporated into the n8n Software, those components are licensed -under the original license provided by the owner of the applicable component. diff --git a/packages/editor-ui/package.json b/packages/editor-ui/package.json index e065ae005e..035542452c 100644 --- a/packages/editor-ui/package.json +++ b/packages/editor-ui/package.json @@ -2,17 +2,7 @@ "name": "n8n-editor-ui", "version": "1.49.0", "description": "Workflow Editor UI for n8n", - "license": "SEE LICENSE IN LICENSE.md", - "homepage": "https://n8n.io", - "author": { - "name": "Jan Oberhauser", - "email": "jan@n8n.io" - }, "main": "index.js", - "repository": { - "type": "git", - "url": "git+https://github.com/n8n-io/n8n.git" - }, "scripts": { "clean": "rimraf dist .turbo", "build": "cross-env VUE_APP_PUBLIC_PATH=\"/{{BASE_PATH}}/\" NODE_OPTIONS=\"--max-old-space-size=8192\" vite build", diff --git a/packages/node-dev/LICENSE.md b/packages/node-dev/LICENSE.md deleted file mode 100644 index aab68b6d93..0000000000 --- a/packages/node-dev/LICENSE.md +++ /dev/null @@ -1,86 +0,0 @@ -# License - -Portions of this software are licensed as follows: - -- Content of branches other than the main branch (i.e. "master") are not licensed. -- Source code files that contain ".ee." in their filename are NOT licensed under the Sustainable Use License. - To use source code files that contain ".ee." in their filename you must hold a valid n8n Enterprise License - specifically allowing you access to such source code files and as defined in "LICENSE_EE.md". -- All third party components incorporated into the n8n Software are licensed under the original license - provided by the owner of the applicable component. -- Content outside of the above mentioned files or restrictions is available under the "Sustainable Use - License" as defined below. - -## Sustainable Use License - -Version 1.0 - -### Acceptance - -By using the software, you agree to all of the terms and conditions below. - -### Copyright License - -The licensor grants you a non-exclusive, royalty-free, worldwide, non-sublicensable, non-transferable license -to use, copy, distribute, make available, and prepare derivative works of the software, in each case subject -to the limitations below. - -### Limitations - -You may use or modify the software only for your own internal business purposes or for non-commercial or -personal use. You may distribute the software or provide it to others only if you do so free of charge for -non-commercial purposes. You may not alter, remove, or obscure any licensing, copyright, or other notices of -the licensor in the software. Any use of the licensor’s trademarks is subject to applicable law. - -### Patents - -The licensor grants you a license, under any patent claims the licensor can license, or becomes able to -license, to make, have made, use, sell, offer for sale, import and have imported the software, in each case -subject to the limitations and conditions in this license. This license does not cover any patent claims that -you cause to be infringed by modifications or additions to the software. If you or your company make any -written claim that the software infringes or contributes to infringement of any patent, your patent license -for the software granted under these terms ends immediately. If your company makes such a claim, your patent -license ends immediately for work on behalf of your company. - -### Notices - -You must ensure that anyone who gets a copy of any part of the software from you also gets a copy of these -terms. If you modify the software, you must include in any modified copies of the software a prominent notice -stating that you have modified the software. - -### No Other Rights - -These terms do not imply any licenses other than those expressly granted in these terms. - -### Termination - -If you use the software in violation of these terms, such use is not licensed, and your license will -automatically terminate. If the licensor provides you with a notice of your violation, and you cease all -violation of this license no later than 30 days after you receive that notice, your license will be reinstated -retroactively. However, if you violate these terms after such reinstatement, any additional violation of these -terms will cause your license to terminate automatically and permanently. - -### No Liability - -As far as the law allows, the software comes as is, without any warranty or condition, and the licensor will -not be liable to you for any damages arising out of these terms or the use or nature of the software, under -any kind of legal claim. - -### Definitions - -The “licensor” is the entity offering these terms. - -The “software” is the software the licensor makes available under these terms, including any portion of it. - -“You” refers to the individual or entity agreeing to these terms. - -“Your company” is any legal entity, sole proprietorship, or other kind of organization that you work for, plus -all organizations that have control over, are under the control of, or are under common control with that -organization. Control means ownership of substantially all the assets of an entity, or the power to direct its -management and policies by vote, contract, or otherwise. Control can be direct or indirect. - -“Your license” is the license granted to you for the software under these terms. - -“Use” means anything you do with the software requiring your license. - -“Trademark” means trademarks, service marks, and similar rights. diff --git a/packages/node-dev/LICENSE_EE.md b/packages/node-dev/LICENSE_EE.md deleted file mode 100644 index b47966a6c0..0000000000 --- a/packages/node-dev/LICENSE_EE.md +++ /dev/null @@ -1,27 +0,0 @@ -# The n8n Enterprise License (the “Enterprise License”) - -Copyright (c) 2022-present n8n GmbH. - -With regard to the n8n Software: - -This software and associated documentation files (the "Software") may only be used in production, if -you (and any entity that you represent) hold a valid n8n Enterprise license corresponding to your -usage. Subject to the foregoing sentence, you are free to modify this Software and publish patches -to the Software. You agree that n8n and/or its licensors (as applicable) retain all right, title and -interest in and to all such modifications and/or patches, and all such modifications and/or patches -may only be used, copied, modified, displayed, distributed, or otherwise exploited with a valid n8n -Enterprise license for the corresponding usage. Notwithstanding the foregoing, you may copy and -modify the Software for development and testing purposes, without requiring a subscription. You -agree that n8n and/or its licensors (as applicable) retain all right, title and interest in and to -all such modifications. You are not granted any other rights beyond what is expressly stated herein. -Subject to the foregoing, it is forbidden to copy, merge, publish, distribute, sublicense, and/or -sell 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. - -For all third party components incorporated into the n8n Software, those components are licensed -under the original license provided by the owner of the applicable component. diff --git a/packages/node-dev/package.json b/packages/node-dev/package.json index 04236d0927..c50dfb039e 100644 --- a/packages/node-dev/package.json +++ b/packages/node-dev/package.json @@ -2,16 +2,6 @@ "name": "n8n-node-dev", "version": "1.49.0", "description": "CLI to simplify n8n credentials/node development", - "license": "SEE LICENSE IN LICENSE.md", - "homepage": "https://n8n.io", - "author": { - "name": "Jan Oberhauser", - "email": "jan@n8n.io" - }, - "repository": { - "type": "git", - "url": "git+https://github.com/n8n-io/n8n.git" - }, "main": "dist/src/index", "types": "dist/src/index.d.ts", "oclif": { diff --git a/packages/nodes-base/LICENSE.md b/packages/nodes-base/LICENSE.md deleted file mode 100644 index aab68b6d93..0000000000 --- a/packages/nodes-base/LICENSE.md +++ /dev/null @@ -1,86 +0,0 @@ -# License - -Portions of this software are licensed as follows: - -- Content of branches other than the main branch (i.e. "master") are not licensed. -- Source code files that contain ".ee." in their filename are NOT licensed under the Sustainable Use License. - To use source code files that contain ".ee." in their filename you must hold a valid n8n Enterprise License - specifically allowing you access to such source code files and as defined in "LICENSE_EE.md". -- All third party components incorporated into the n8n Software are licensed under the original license - provided by the owner of the applicable component. -- Content outside of the above mentioned files or restrictions is available under the "Sustainable Use - License" as defined below. - -## Sustainable Use License - -Version 1.0 - -### Acceptance - -By using the software, you agree to all of the terms and conditions below. - -### Copyright License - -The licensor grants you a non-exclusive, royalty-free, worldwide, non-sublicensable, non-transferable license -to use, copy, distribute, make available, and prepare derivative works of the software, in each case subject -to the limitations below. - -### Limitations - -You may use or modify the software only for your own internal business purposes or for non-commercial or -personal use. You may distribute the software or provide it to others only if you do so free of charge for -non-commercial purposes. You may not alter, remove, or obscure any licensing, copyright, or other notices of -the licensor in the software. Any use of the licensor’s trademarks is subject to applicable law. - -### Patents - -The licensor grants you a license, under any patent claims the licensor can license, or becomes able to -license, to make, have made, use, sell, offer for sale, import and have imported the software, in each case -subject to the limitations and conditions in this license. This license does not cover any patent claims that -you cause to be infringed by modifications or additions to the software. If you or your company make any -written claim that the software infringes or contributes to infringement of any patent, your patent license -for the software granted under these terms ends immediately. If your company makes such a claim, your patent -license ends immediately for work on behalf of your company. - -### Notices - -You must ensure that anyone who gets a copy of any part of the software from you also gets a copy of these -terms. If you modify the software, you must include in any modified copies of the software a prominent notice -stating that you have modified the software. - -### No Other Rights - -These terms do not imply any licenses other than those expressly granted in these terms. - -### Termination - -If you use the software in violation of these terms, such use is not licensed, and your license will -automatically terminate. If the licensor provides you with a notice of your violation, and you cease all -violation of this license no later than 30 days after you receive that notice, your license will be reinstated -retroactively. However, if you violate these terms after such reinstatement, any additional violation of these -terms will cause your license to terminate automatically and permanently. - -### No Liability - -As far as the law allows, the software comes as is, without any warranty or condition, and the licensor will -not be liable to you for any damages arising out of these terms or the use or nature of the software, under -any kind of legal claim. - -### Definitions - -The “licensor” is the entity offering these terms. - -The “software” is the software the licensor makes available under these terms, including any portion of it. - -“You” refers to the individual or entity agreeing to these terms. - -“Your company” is any legal entity, sole proprietorship, or other kind of organization that you work for, plus -all organizations that have control over, are under the control of, or are under common control with that -organization. Control means ownership of substantially all the assets of an entity, or the power to direct its -management and policies by vote, contract, or otherwise. Control can be direct or indirect. - -“Your license” is the license granted to you for the software under these terms. - -“Use” means anything you do with the software requiring your license. - -“Trademark” means trademarks, service marks, and similar rights. diff --git a/packages/nodes-base/LICENSE_EE.md b/packages/nodes-base/LICENSE_EE.md deleted file mode 100644 index b47966a6c0..0000000000 --- a/packages/nodes-base/LICENSE_EE.md +++ /dev/null @@ -1,27 +0,0 @@ -# The n8n Enterprise License (the “Enterprise License”) - -Copyright (c) 2022-present n8n GmbH. - -With regard to the n8n Software: - -This software and associated documentation files (the "Software") may only be used in production, if -you (and any entity that you represent) hold a valid n8n Enterprise license corresponding to your -usage. Subject to the foregoing sentence, you are free to modify this Software and publish patches -to the Software. You agree that n8n and/or its licensors (as applicable) retain all right, title and -interest in and to all such modifications and/or patches, and all such modifications and/or patches -may only be used, copied, modified, displayed, distributed, or otherwise exploited with a valid n8n -Enterprise license for the corresponding usage. Notwithstanding the foregoing, you may copy and -modify the Software for development and testing purposes, without requiring a subscription. You -agree that n8n and/or its licensors (as applicable) retain all right, title and interest in and to -all such modifications. You are not granted any other rights beyond what is expressly stated herein. -Subject to the foregoing, it is forbidden to copy, merge, publish, distribute, sublicense, and/or -sell 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. - -For all third party components incorporated into the n8n Software, those components are licensed -under the original license provided by the owner of the applicable component. diff --git a/packages/nodes-base/package.json b/packages/nodes-base/package.json index 1de5584c9e..793e673ff9 100644 --- a/packages/nodes-base/package.json +++ b/packages/nodes-base/package.json @@ -2,17 +2,7 @@ "name": "n8n-nodes-base", "version": "1.49.0", "description": "Base nodes of n8n", - "license": "SEE LICENSE IN LICENSE.md", - "homepage": "https://n8n.io", - "author": { - "name": "Jan Oberhauser", - "email": "jan@n8n.io" - }, "main": "index.js", - "repository": { - "type": "git", - "url": "git+https://github.com/n8n-io/n8n.git" - }, "scripts": { "clean": "rimraf dist .turbo", "dev": "pnpm watch", diff --git a/packages/workflow/LICENSE.md b/packages/workflow/LICENSE.md deleted file mode 100644 index aab68b6d93..0000000000 --- a/packages/workflow/LICENSE.md +++ /dev/null @@ -1,86 +0,0 @@ -# License - -Portions of this software are licensed as follows: - -- Content of branches other than the main branch (i.e. "master") are not licensed. -- Source code files that contain ".ee." in their filename are NOT licensed under the Sustainable Use License. - To use source code files that contain ".ee." in their filename you must hold a valid n8n Enterprise License - specifically allowing you access to such source code files and as defined in "LICENSE_EE.md". -- All third party components incorporated into the n8n Software are licensed under the original license - provided by the owner of the applicable component. -- Content outside of the above mentioned files or restrictions is available under the "Sustainable Use - License" as defined below. - -## Sustainable Use License - -Version 1.0 - -### Acceptance - -By using the software, you agree to all of the terms and conditions below. - -### Copyright License - -The licensor grants you a non-exclusive, royalty-free, worldwide, non-sublicensable, non-transferable license -to use, copy, distribute, make available, and prepare derivative works of the software, in each case subject -to the limitations below. - -### Limitations - -You may use or modify the software only for your own internal business purposes or for non-commercial or -personal use. You may distribute the software or provide it to others only if you do so free of charge for -non-commercial purposes. You may not alter, remove, or obscure any licensing, copyright, or other notices of -the licensor in the software. Any use of the licensor’s trademarks is subject to applicable law. - -### Patents - -The licensor grants you a license, under any patent claims the licensor can license, or becomes able to -license, to make, have made, use, sell, offer for sale, import and have imported the software, in each case -subject to the limitations and conditions in this license. This license does not cover any patent claims that -you cause to be infringed by modifications or additions to the software. If you or your company make any -written claim that the software infringes or contributes to infringement of any patent, your patent license -for the software granted under these terms ends immediately. If your company makes such a claim, your patent -license ends immediately for work on behalf of your company. - -### Notices - -You must ensure that anyone who gets a copy of any part of the software from you also gets a copy of these -terms. If you modify the software, you must include in any modified copies of the software a prominent notice -stating that you have modified the software. - -### No Other Rights - -These terms do not imply any licenses other than those expressly granted in these terms. - -### Termination - -If you use the software in violation of these terms, such use is not licensed, and your license will -automatically terminate. If the licensor provides you with a notice of your violation, and you cease all -violation of this license no later than 30 days after you receive that notice, your license will be reinstated -retroactively. However, if you violate these terms after such reinstatement, any additional violation of these -terms will cause your license to terminate automatically and permanently. - -### No Liability - -As far as the law allows, the software comes as is, without any warranty or condition, and the licensor will -not be liable to you for any damages arising out of these terms or the use or nature of the software, under -any kind of legal claim. - -### Definitions - -The “licensor” is the entity offering these terms. - -The “software” is the software the licensor makes available under these terms, including any portion of it. - -“You” refers to the individual or entity agreeing to these terms. - -“Your company” is any legal entity, sole proprietorship, or other kind of organization that you work for, plus -all organizations that have control over, are under the control of, or are under common control with that -organization. Control means ownership of substantially all the assets of an entity, or the power to direct its -management and policies by vote, contract, or otherwise. Control can be direct or indirect. - -“Your license” is the license granted to you for the software under these terms. - -“Use” means anything you do with the software requiring your license. - -“Trademark” means trademarks, service marks, and similar rights. diff --git a/packages/workflow/LICENSE_EE.md b/packages/workflow/LICENSE_EE.md deleted file mode 100644 index b47966a6c0..0000000000 --- a/packages/workflow/LICENSE_EE.md +++ /dev/null @@ -1,27 +0,0 @@ -# The n8n Enterprise License (the “Enterprise License”) - -Copyright (c) 2022-present n8n GmbH. - -With regard to the n8n Software: - -This software and associated documentation files (the "Software") may only be used in production, if -you (and any entity that you represent) hold a valid n8n Enterprise license corresponding to your -usage. Subject to the foregoing sentence, you are free to modify this Software and publish patches -to the Software. You agree that n8n and/or its licensors (as applicable) retain all right, title and -interest in and to all such modifications and/or patches, and all such modifications and/or patches -may only be used, copied, modified, displayed, distributed, or otherwise exploited with a valid n8n -Enterprise license for the corresponding usage. Notwithstanding the foregoing, you may copy and -modify the Software for development and testing purposes, without requiring a subscription. You -agree that n8n and/or its licensors (as applicable) retain all right, title and interest in and to -all such modifications. You are not granted any other rights beyond what is expressly stated herein. -Subject to the foregoing, it is forbidden to copy, merge, publish, distribute, sublicense, and/or -sell 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. - -For all third party components incorporated into the n8n Software, those components are licensed -under the original license provided by the owner of the applicable component. diff --git a/packages/workflow/package.json b/packages/workflow/package.json index 677046ae25..543f38bafa 100644 --- a/packages/workflow/package.json +++ b/packages/workflow/package.json @@ -2,16 +2,6 @@ "name": "n8n-workflow", "version": "1.48.0", "description": "Workflow base code of n8n", - "license": "SEE LICENSE IN LICENSE.md", - "homepage": "https://n8n.io", - "author": { - "name": "Jan Oberhauser", - "email": "jan@n8n.io" - }, - "repository": { - "type": "git", - "url": "git+https://github.com/n8n-io/n8n.git" - }, "main": "dist/index.js", "module": "src/index.ts", "types": "dist/index.d.ts",