@easy-cms/plugin-nested-docs 0.21.0 → 0.22.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 (2) hide show
  1. package/README.md +16 -4
  2. package/package.json +5 -5
package/README.md CHANGED
@@ -1,8 +1,16 @@
1
1
  # @easy-cms/plugin-nested-docs
2
2
 
3
- Nested pages for [Easy CMS](https://maritonx.github.io/easy-cms/): a parent for each page, its
4
- breadcrumbs and full path (`/about/team`) kept up to date when a page above it moves, and a tree
5
- in the admin's list.
3
+ Nested pages for Easy CMS: a parent for each page, its full path (`/about/team`) and breadcrumbs kept up to date when a page above it moves, and a tree in the admin. Part of [Easy CMS](https://github.com/maritonx/easy-cms), the embedded, code-first headless CMS for Nuxt and Next.js.
4
+
5
+ ## Install
6
+
7
+ ```bash
8
+ npm install @easy-cms/plugin-nested-docs
9
+ ```
10
+
11
+ Or `pnpm add`, `yarn add` or `bun add`.
12
+
13
+ ## Usage
6
14
 
7
15
  ```ts
8
16
  import { nestedDocsPlugin } from '@easy-cms/plugin-nested-docs'
@@ -20,4 +28,8 @@ const page = await findByPath(cms, 'pages', '/about/team')
20
28
  const menu = await getTree(cms, 'pages', { depth: 2 })
21
29
  ```
22
30
 
23
- See [Nested pages](https://maritonx.github.io/easy-cms/guide/nested-docs).
31
+ ## Links
32
+
33
+ [Nested pages](https://maritonx.github.io/easy-cms/guide/nested-docs) · [Documentation](https://maritonx.github.io/easy-cms/) ([ภาษาไทย](https://maritonx.github.io/easy-cms/th/)) · [GitHub](https://github.com/maritonx/easy-cms)
34
+
35
+ MIT License
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@easy-cms/plugin-nested-docs",
3
- "version": "0.21.0",
3
+ "version": "0.22.1",
4
4
  "description": "Nested pages for Easy CMS: a parent for each page, breadcrumbs and full paths kept up to date, and a tree in the admin",
5
5
  "license": "MIT",
6
6
  "type": "module",
@@ -17,12 +17,12 @@
17
17
  "dist"
18
18
  ],
19
19
  "peerDependencies": {
20
- "@easy-cms/core": "^0.21.0"
20
+ "@easy-cms/core": "^0.22.1"
21
21
  },
22
22
  "devDependencies": {
23
- "@easy-cms/core": "^0.21.0",
24
- "@easy-cms/plugin-redirects": "^0.21.0",
25
- "@easy-cms/db-sqlite": "^0.21.0"
23
+ "@easy-cms/core": "^0.22.1",
24
+ "@easy-cms/db-sqlite": "^0.22.1",
25
+ "@easy-cms/plugin-redirects": "^0.22.1"
26
26
  },
27
27
  "engines": {
28
28
  "node": ">=22.12"