From 4fe03486eb127cf1aa9c32e667f2c483ff1f2ecc Mon Sep 17 00:00:00 2001 From: b12f Date: Wed, 9 Oct 2024 16:49:49 +0200 Subject: [PATCH] license: Update license to AGPLv3 --- package.json | 2 +- packages/heading/package.json | 2 +- packages/image/package.json | 2 +- packages/layout/package.json | 2 +- packages/paragraph/package.json | 2 +- packages/rich-text/README.md | 14 ++++++-------- packages/rich-text/package.json | 2 +- packages/standalone/package.json | 2 +- 8 files changed, 13 insertions(+), 15 deletions(-) diff --git a/package.json b/package.json index aa1512d..9f0caa9 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "schlechtenburg", "version": "0.0.0", - "license": "GPL-3.0-or-later", + "license": "AGPL-3.0-or-later", "scripts": { "docs:type:build": "npx typedoc --json ./docs/api.json --entryPointStrategy packages --readme none packages/core packages/heading packages/standalone packages/paragraph packages/layout packages/image", "typecheck": "lerna run --stream typecheck", diff --git a/packages/heading/package.json b/packages/heading/package.json index 030cde2..a4bb41b 100644 --- a/packages/heading/package.json +++ b/packages/heading/package.json @@ -4,7 +4,7 @@ "description": "> TODO: description", "author": "Benjamin Bädorf ", "homepage": "", - "license": "GPL-3.0-or-later", + "license": "AGPL-3.0-or-later", "main": "lib/index.ts", "directories": { "doc": "docs", diff --git a/packages/image/package.json b/packages/image/package.json index c178a05..3b6d2b5 100644 --- a/packages/image/package.json +++ b/packages/image/package.json @@ -4,7 +4,7 @@ "description": "> TODO: description", "author": "Benjamin Bädorf ", "homepage": "", - "license": "GPL-3.0-or-later", + "license": "AGPL-3.0-or-later", "main": "lib/index.ts", "directories": { "doc": "docs", diff --git a/packages/layout/package.json b/packages/layout/package.json index 7b84716..f529df8 100644 --- a/packages/layout/package.json +++ b/packages/layout/package.json @@ -4,7 +4,7 @@ "description": "> TODO: description", "author": "Benjamin Bädorf ", "homepage": "", - "license": "GPL-3.0-or-later", + "license": "AGPL-3.0-or-later", "main": "lib/index.ts", "directories": { "doc": "docs", diff --git a/packages/paragraph/package.json b/packages/paragraph/package.json index 56a4f38..d864226 100644 --- a/packages/paragraph/package.json +++ b/packages/paragraph/package.json @@ -4,7 +4,7 @@ "description": "> TODO: description", "author": "Benjamin Bädorf ", "homepage": "", - "license": "GPL-3.0-or-later", + "license": "AGPL-3.0-or-later", "main": "lib/index.ts", "directories": { "doc": "docs", diff --git a/packages/rich-text/README.md b/packages/rich-text/README.md index 033a4f2..06f3bb0 100644 --- a/packages/rich-text/README.md +++ b/packages/rich-text/README.md @@ -7,7 +7,7 @@ This module contains helper functions to convert HTML or a DOM tree into a rich Install the module ```bash -npm install @wordpress/rich-text +npm install @schlechtenburg/rich-text ``` _This package assumes that your code will run in an **ES2015+** environment. If you're using an environment that has limited or no support for such language features and APIs, you should include [the polyfill shipped in `@wordpress/babel-preset-default`](https://github.com/WordPress/gutenberg/tree/HEAD/packages/babel-preset-default#polyfill) in your code._ @@ -299,7 +299,7 @@ _Returns_ - `RichTextValue`: A new combined value. -### registerFormatType +### registerFormatTypes Registers a new format provided a unique name and an object defining its behavior. @@ -438,7 +438,7 @@ _Returns_ - `string`: HTML string. -### unregisterFormatType +### unregisterFormatTypes Unregisters a format. @@ -481,10 +481,8 @@ _Returns_ -## Contributing to this package +## License -This is an individual package that's part of the Gutenberg project. The project is organized as a monorepo. It's made up of multiple self-contained software packages, each with a specific purpose. The packages in this monorepo are published to [npm](https://www.npmjs.com/) and used by [WordPress](https://make.wordpress.org/core/) as well as other software projects. +This package is a fork of the wordpress gutenberg rich-text package (`@wordpress/rich-text` on npm). At the point of forking, the project was dual-licensed under the GPLv2 and the MPLv2. -To find out more about contributing to this package or Gutenberg as a whole, please read the project's main [contributor guide](https://github.com/WordPress/gutenberg/tree/HEAD/CONTRIBUTING.md). - -

Code is Poetry.

+All subsequent changes are licensed under the AGPLv3. diff --git a/packages/rich-text/package.json b/packages/rich-text/package.json index 670780d..27b3205 100644 --- a/packages/rich-text/package.json +++ b/packages/rich-text/package.json @@ -4,7 +4,7 @@ "description": "> TODO: description", "author": "Benjamin Bädorf ", "homepage": "", - "license": "GPL-3.0-or-later", + "license": "AGPL-3.0-or-later", "main": "lib/index.ts", "directories": { "lib": "lib" diff --git a/packages/standalone/package.json b/packages/standalone/package.json index a68e63f..213d719 100644 --- a/packages/standalone/package.json +++ b/packages/standalone/package.json @@ -4,7 +4,7 @@ "description": "> TODO: description", "author": "Benjamin Bädorf ", "homepage": "", - "license": "GPL-3.0-or-later", + "license": "AGPL-3.0-or-later", "main": "lib/index.ts", "scripts": { "dev": "npm run json-to-md:watch",