@velora-cms/plugin-sdk 0.9.0 → 0.9.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.
- package/dist/built-ins.js +2 -2
- package/dist/manifest.d.ts +2 -2
- package/package.json +11 -4
package/dist/built-ins.js
CHANGED
|
@@ -32,8 +32,8 @@ function TextReadOnlyView() {
|
|
|
32
32
|
// settings-EDITING view, so it uses usePluginSettingsValue() (write path),
|
|
33
33
|
// not usePluginSettings() (read-only, used by the input/readOnly views
|
|
34
34
|
// above). Hardcoded English strings: this file has no access to
|
|
35
|
-
// admin-ui's react-i18next instance — plugin-sdk views' i18n is a
|
|
36
|
-
//
|
|
35
|
+
// admin-ui's react-i18next instance — plugin-sdk views' i18n is a known,
|
|
36
|
+
// deliberately deferred piece of SDK scope, not yet implemented,
|
|
37
37
|
// matching ImageInputView's existing "Remove"/"Loading…" precedent.
|
|
38
38
|
function TextSettingsView() {
|
|
39
39
|
const { value: settings, onChange } = usePluginSettingsValue();
|
package/dist/manifest.d.ts
CHANGED
|
@@ -6,8 +6,8 @@ import type { DataTypePlugin } from "./data-type-plugin.js";
|
|
|
6
6
|
import type { PluginApiRouteContext, PublishedContent, ScopedStructuredStorage } from "./structured-storage-types.js";
|
|
7
7
|
/**
|
|
8
8
|
* The seven plugin types. A plugin's type determines which contributions
|
|
9
|
-
* it may declare — see the contribution matrix
|
|
10
|
-
*
|
|
9
|
+
* it may declare — see the plugin type → contribution matrix, which the
|
|
10
|
+
* per-type manifest variants below encode
|
|
11
11
|
* structurally: TypeScript rejects a disallowed contribution at compile
|
|
12
12
|
* time, and the Zod manifest validation (Session 60) enforces the same
|
|
13
13
|
* matrix at runtime for non-TS authors.
|
package/package.json
CHANGED
|
@@ -1,7 +1,14 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@velora-cms/plugin-sdk",
|
|
3
|
-
"version": "0.9.
|
|
3
|
+
"version": "0.9.1",
|
|
4
4
|
"license": "Apache-2.0",
|
|
5
|
+
"description": "The SDK for building Velora plugins — manifest declaration, data type and admin section registries, storage-value providers, and shared UI components.",
|
|
6
|
+
"engines": {
|
|
7
|
+
"node": ">=22.12"
|
|
8
|
+
},
|
|
9
|
+
"bugs": {
|
|
10
|
+
"url": "https://github.com/velora-cms/velora/issues"
|
|
11
|
+
},
|
|
5
12
|
"type": "module",
|
|
6
13
|
"main": "dist/index.js",
|
|
7
14
|
"types": "dist/index.d.ts",
|
|
@@ -38,9 +45,9 @@
|
|
|
38
45
|
"@tiptap/react": "3.27.1",
|
|
39
46
|
"@tiptap/starter-kit": "3.27.1",
|
|
40
47
|
"zod": "4.4.3",
|
|
41
|
-
"@velora-cms/api-schemas": "0.9.
|
|
42
|
-
"@velora-cms/
|
|
43
|
-
"@velora-cms/
|
|
48
|
+
"@velora-cms/api-schemas": "0.9.1",
|
|
49
|
+
"@velora-cms/design-tokens": "0.9.1",
|
|
50
|
+
"@velora-cms/ui": "0.9.1"
|
|
44
51
|
},
|
|
45
52
|
"peerDependencies": {
|
|
46
53
|
"react": "^19.0.0"
|