@ossy/resource-templates 0.10.0 → 0.10.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.
Files changed (2) hide show
  1. package/README.md +34 -0
  2. package/package.json +2 -2
package/README.md ADDED
@@ -0,0 +1,34 @@
1
+ # @ossy/resource-templates
2
+
3
+ Resource template definitions for the Ossy CMS. Defines the structure of content types (fields, validation, and metadata) used across the Ossy ecosystem.
4
+
5
+ ## Installation
6
+
7
+ ```bash
8
+ npm install @ossy/resource-templates
9
+ ```
10
+
11
+ ## Usage
12
+
13
+ This package is typically used internally by `@ossy/sdk` and `@ossy/cli` when working with workspaces and resource templates. Import shared template definitions:
14
+
15
+ ```js
16
+ import { resume } from '@ossy/resource-templates'
17
+ ```
18
+
19
+ ## Integration
20
+
21
+ - **@ossy/cli** — Use `cms upload` to upload resource templates to your workspace
22
+ - **@ossy/sdk** — `workspaces.importResourceTemplates()` and `workspaces.getResourceTemplates()` work with these definitions
23
+
24
+ ## Development
25
+
26
+ Build the package:
27
+
28
+ ```bash
29
+ npm run build
30
+ ```
31
+
32
+ ## License
33
+
34
+ MIT
package/package.json CHANGED
@@ -5,7 +5,7 @@
5
5
  "url": "git+https://github.com/ossy-se/packages.git"
6
6
  },
7
7
  "description": "Resource Templates",
8
- "version": "0.10.0",
8
+ "version": "0.10.2",
9
9
  "type": "module",
10
10
  "source": "src/index.js",
11
11
  "module": "build/index.js",
@@ -42,5 +42,5 @@
42
42
  "/build",
43
43
  "README.md"
44
44
  ],
45
- "gitHead": "3019a8da590435ba6f10d7d861addeba011baf5d"
45
+ "gitHead": "5c689da5bbcfcdb39a81f7bed613a6559468464a"
46
46
  }