@lexion-rte/extensions 0.1.0 → 0.1.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (3) hide show
  1. package/CHANGELOG.md +13 -0
  2. package/README.md +30 -0
  3. package/package.json +5 -5
package/CHANGELOG.md ADDED
@@ -0,0 +1,13 @@
1
+ # @lexion-rte/extensions
2
+
3
+ ## 0.1.1
4
+
5
+ ### Patch Changes
6
+
7
+ - Update package metadata and documentation for the `@lexion-rte` package set.
8
+
9
+ - Align repository/homepage/bugs metadata with the current GitHub repository owner.
10
+ - Add package-level README files with package purpose and usage examples.
11
+
12
+ - Updated dependencies
13
+ - @lexion-rte/core@0.1.1
package/README.md ADDED
@@ -0,0 +1,30 @@
1
+ # @lexion-rte/extensions
2
+
3
+ Feature extension set for Lexion.
4
+
5
+ ## What It Is
6
+
7
+ `@lexion-rte/extensions` ships starter-kit commands/schema plus optional AI and collaboration extension helpers.
8
+
9
+ ## Install
10
+
11
+ ```bash
12
+ pnpm add @lexion-rte/extensions @lexion-rte/core
13
+ ```
14
+
15
+ ## Usage
16
+
17
+ ```ts
18
+ import { LexionEditor } from "@lexion-rte/core";
19
+ import {
20
+ starterKitExtension,
21
+ starterKitCommandNames
22
+ } from "@lexion-rte/extensions";
23
+
24
+ const editor = new LexionEditor({
25
+ extensions: [starterKitExtension]
26
+ });
27
+
28
+ editor.execute(starterKitCommandNames.toggleHeading, { level: 2 });
29
+ ```
30
+
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lexion-rte/extensions",
3
- "version": "0.1.0",
3
+ "version": "0.1.1",
4
4
  "description": "Feature extensions for the Lexion editor platform.",
5
5
  "private": false,
6
6
  "type": "module",
@@ -15,12 +15,12 @@
15
15
  "license": "GPL-3.0-only",
16
16
  "repository": {
17
17
  "type": "git",
18
- "url": "https://github.com/lexion-rte/lexion.git",
18
+ "url": "https://github.com/dariusve/lexion.git",
19
19
  "directory": "packages/extensions"
20
20
  },
21
- "homepage": "https://github.com/lexion-rte/lexion/tree/main/packages/extensions",
21
+ "homepage": "https://github.com/dariusve/lexion/tree/main/packages/extensions",
22
22
  "bugs": {
23
- "url": "https://github.com/lexion-rte/lexion/issues"
23
+ "url": "https://github.com/dariusve/lexion/issues"
24
24
  },
25
25
  "keywords": [
26
26
  "lexion",
@@ -43,7 +43,7 @@
43
43
  "y-prosemirror": "^1.2.12",
44
44
  "y-protocols": "^1.0.6",
45
45
  "yjs": "^13.6.23",
46
- "@lexion-rte/core": "0.1.0"
46
+ "@lexion-rte/core": "0.1.1"
47
47
  },
48
48
  "scripts": {
49
49
  "build": "tsc -p tsconfig.json",