@cxtms/cx-schema 1.3.0 → 1.3.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.
|
@@ -6,6 +6,23 @@ argument-hint: <entity name or question about fields>
|
|
|
6
6
|
|
|
7
7
|
Shared domain reference for CargoXplorer entities. Used by `cx-workflow` and `cx-module` skills for entity field names, types, navigation properties, enums, and customValues extension patterns.
|
|
8
8
|
|
|
9
|
+
## Feature File Layout
|
|
10
|
+
|
|
11
|
+
All modules and workflows are organized under feature directories:
|
|
12
|
+
|
|
13
|
+
```
|
|
14
|
+
features/
|
|
15
|
+
<feature_name>/
|
|
16
|
+
modules/ # UI module YAML files
|
|
17
|
+
workflows/ # Workflow YAML files
|
|
18
|
+
```
|
|
19
|
+
|
|
20
|
+
When creating new modules or workflows, always place them under the correct feature directory:
|
|
21
|
+
- `features/<feature_name>/modules/<name>-module.yaml`
|
|
22
|
+
- `features/<feature_name>/workflows/<name>.yaml`
|
|
23
|
+
|
|
24
|
+
Use `--feature <feature_name>` with `cx-cli create` to automatically place files in the correct location.
|
|
25
|
+
|
|
9
26
|
## Entity Field Reference
|
|
10
27
|
|
|
11
28
|
### Primary Entities
|
package/package.json
CHANGED
package/scripts/postinstall.js
CHANGED
|
@@ -150,7 +150,7 @@ function main() {
|
|
|
150
150
|
createValidationScript(projectRoot);
|
|
151
151
|
|
|
152
152
|
// Copy Claude Code skills
|
|
153
|
-
const skillNames = ['cx-module', 'cx-workflow'];
|
|
153
|
+
const skillNames = ['cx-core', 'cx-module', 'cx-workflow'];
|
|
154
154
|
for (const skillName of skillNames) {
|
|
155
155
|
const skillSource = path.join(__dirname, '..', '.claude', 'skills', skillName);
|
|
156
156
|
if (fs.existsSync(skillSource)) {
|