@plutocms/core 0.39.1 → 0.39.2
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.
- package/CHANGELOG.md +7 -0
- package/README.md +1 -1
- package/app/components/Pluto/Markdown/PlutoMarkdownCodeEditor.vue +1 -1
- package/app/components/Pluto/Post/PlutoFieldPostCanvas.vue +1 -1
- package/app/pages/_pluto/post-preview.vue +1 -1
- package/layers.ts +1 -1
- package/package.json +1 -1
- package/shared/utils/preview-path.ts +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,6 +1,13 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
3
|
|
|
4
|
+
## [0.39.2](https://github.com/plutocms/pluto/compare/v0.39.1...v0.39.2) (2026-10-31)
|
|
5
|
+
|
|
6
|
+
|
|
7
|
+
### Bug Fixes
|
|
8
|
+
|
|
9
|
+
* plutoLayer finds the checkout of @plutocms/docs (the renamed nuxt-content layer) ([#306](https://github.com/plutocms/pluto/issues/306)) ([ef9707e](https://github.com/plutocms/pluto/commit/ef9707e551176973c00acd4102fe55a2e5d07c87))
|
|
10
|
+
|
|
4
11
|
## [0.39.1](https://github.com/plutocms/pluto/compare/v0.39.0...v0.39.1) (2026-10-31)
|
|
5
12
|
|
|
6
13
|
|
package/README.md
CHANGED
|
@@ -51,7 +51,7 @@ See [Public API](https://pluto.vulmix.dev/docs/core/public-api).
|
|
|
51
51
|
| Package | What it adds |
|
|
52
52
|
| ------------------------- | ----------------------------------------------------------- |
|
|
53
53
|
| `@plutocms/core` | The core: the admin, the content model, and the GitHub CMS. |
|
|
54
|
-
| `@plutocms/
|
|
54
|
+
| `@plutocms/docs` | A visual editor for the pages of a Nuxt Content site. |
|
|
55
55
|
| `@plutocms/supabase` | A Supabase backend: database, auth, users, and roles. |
|
|
56
56
|
| `@plutocms/supabase-blog` | Blog posts on Supabase. |
|
|
57
57
|
| `@plutocms/supabase-shop` | Products on Supabase. |
|
|
@@ -5,7 +5,7 @@ import type { Extension, Range } from '@codemirror/state'
|
|
|
5
5
|
// headings, links and code. The marks (`**`, `#`, `[`) stay, a little dimmed.
|
|
6
6
|
// The MDC lines get a color: the components (`::name`), the slots (`#title`)
|
|
7
7
|
// and the YAML props. A toolbar has the quick formats, with their shortcuts.
|
|
8
|
-
// The post editor and the page editor of the
|
|
8
|
+
// The post editor and the page editor of the docs layer use it.
|
|
9
9
|
//
|
|
10
10
|
// The model value is the Markdown text, as it is: the editor changes only what
|
|
11
11
|
// the author types. `insert`, `focus`, `reveal` and `goToLine` are exposed, and
|
|
@@ -5,7 +5,7 @@ import PlutoPostOutline from './PlutoPostOutline.vue'
|
|
|
5
5
|
import PlutoPostPreviewFrame from './PlutoPostPreviewFrame.vue'
|
|
6
6
|
|
|
7
7
|
// The `post-canvas` widget: the body of a post (a Markdown `richtext` field) in the
|
|
8
|
-
// canvas layout of the content form, like the page editor of the
|
|
8
|
+
// canvas layout of the content form, like the page editor of the docs layer.
|
|
9
9
|
//
|
|
10
10
|
// The canvas is a split: the compose panel on the left, the live preview of the site
|
|
11
11
|
// on the right. The compose panel shows one of two editors, and the switch in its
|
|
@@ -16,7 +16,7 @@ useHead({
|
|
|
16
16
|
{ textContent: 'a { pointer-events: none; }' },
|
|
17
17
|
{
|
|
18
18
|
// A thin scrollbar that fits the editor, in both color modes: a gray thumb on no track.
|
|
19
|
-
// The same as the page preview of the
|
|
19
|
+
// The same as the page preview of the docs layer.
|
|
20
20
|
textContent: [
|
|
21
21
|
'html { scrollbar-width: thin; scrollbar-color: rgb(128 128 128 / 0.45) transparent; }',
|
|
22
22
|
'html::-webkit-scrollbar { width: 10px; }',
|
package/layers.ts
CHANGED
|
@@ -33,7 +33,7 @@ export const PLUTO_LAYER_PATHS: Readonly<Record<string, string>> = {
|
|
|
33
33
|
supabase: 'supabase',
|
|
34
34
|
'supabase-shop': 'supabase-shop',
|
|
35
35
|
'supabase-blog': 'supabase-blog',
|
|
36
|
-
|
|
36
|
+
docs: 'docs',
|
|
37
37
|
'3d': 'pluto/packages/layers/addons/3d',
|
|
38
38
|
}
|
|
39
39
|
|
package/package.json
CHANGED
|
@@ -3,7 +3,7 @@ export const PLUTO_PREVIEW_PATH = '/_pluto/preview'
|
|
|
3
3
|
|
|
4
4
|
/**
|
|
5
5
|
* The path of the post preview that the post editor (`post-canvas`) shows in an iframe. It is not
|
|
6
|
-
* below `PLUTO_PREVIEW_PATH`: the
|
|
6
|
+
* below `PLUTO_PREVIEW_PATH`: the docs layer has a page there, and a page below it would
|
|
7
7
|
* be a child route of that page.
|
|
8
8
|
*/
|
|
9
9
|
export const PLUTO_POST_PREVIEW_PATH = '/_pluto/post-preview'
|