@cxtms/cx-schema 1.6.7 → 1.7.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/.claude/skills/cx-core/SKILL.md +18 -16
- package/.claude/skills/cx-module/SKILL.md +36 -33
- package/.claude/skills/cx-workflow/SKILL.md +37 -34
- package/README.md +34 -34
- package/dist/cli.js +108 -66
- package/dist/cli.js.map +1 -1
- package/package.json +3 -2
- package/scripts/postinstall.js +1 -1
- package/templates/module-configuration.yaml +1 -1
- package/templates/module-form.yaml +1 -1
- package/templates/module-grid.yaml +1 -1
- package/templates/module-select.yaml +1 -1
- package/templates/module.yaml +1 -1
- package/templates/workflow-api-tracking.yaml +1 -1
- package/templates/workflow-basic.yaml +1 -1
- package/templates/workflow-document.yaml +1 -1
- package/templates/workflow-entity-trigger.yaml +1 -1
- package/templates/workflow-ftp-edi.yaml +1 -1
- package/templates/workflow-ftp-tracking.yaml +1 -1
- package/templates/workflow-mcp-tool.yaml +1 -1
- package/templates/workflow-public-api.yaml +1 -1
- package/templates/workflow-scheduled.yaml +1 -1
- package/templates/workflow-utility.yaml +1 -1
- package/templates/workflow-webhook.yaml +1 -1
- package/templates/workflow.yaml +1 -1
package/package.json
CHANGED
|
@@ -1,11 +1,12 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@cxtms/cx-schema",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.7.1",
|
|
4
4
|
"description": "Schema validation package for CargoXplorer YAML modules",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"types": "dist/index.d.ts",
|
|
7
7
|
"bin": {
|
|
8
|
-
"cx-cli": "dist/cli.js"
|
|
8
|
+
"cx-cli": "dist/cli.js",
|
|
9
|
+
"cxtms": "dist/cli.js"
|
|
9
10
|
},
|
|
10
11
|
"scripts": {
|
|
11
12
|
"build": "tsc",
|
package/scripts/postinstall.js
CHANGED
|
@@ -182,7 +182,7 @@ function main() {
|
|
|
182
182
|
|
|
183
183
|
console.log('✓ CX Schema Validator installed successfully!');
|
|
184
184
|
console.log('\nUsage:');
|
|
185
|
-
console.log(' npx
|
|
185
|
+
console.log(' npx cxtms modules/your-module.yaml');
|
|
186
186
|
console.log(' node .cx-schema/validate.js modules/your-module.yaml');
|
|
187
187
|
console.log(' /cx-module <description> (Claude Code skill - UI modules)');
|
|
188
188
|
console.log(' /cx-workflow <description> (Claude Code skill - workflows)');
|
package/templates/module.yaml
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
# {{displayName}} Workflow
|
|
2
|
-
# Generated by
|
|
2
|
+
# Generated by cxtms create workflow --template public-api
|
|
3
3
|
#
|
|
4
4
|
# This workflow exposes a public REST API endpoint.
|
|
5
5
|
# The api section defines the route, method, authentication, and OpenAPI metadata.
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
# {{displayName}} Workflow
|
|
2
|
-
# Generated by
|
|
2
|
+
# Generated by cxtms create workflow --template webhook
|
|
3
3
|
#
|
|
4
4
|
# Endpoint: POST /api/v2/orgs/{organizationId}/webhooks/{workflowId}
|
|
5
5
|
# The endpoint is anonymous (no auth token required) and rate-limited (10/sec, 100/min per IP).
|
package/templates/workflow.yaml
CHANGED