mirror of
https://github.com/Nikolay-Shirokov/cc-1c-skills.git
synced 2026-07-17 16:25:16 +03:00
fix: resolve FINDINGS — synonyms, path resolution, exit codes
Skill fixes (all ps1+py, version bumped to v1.1): - role-compile: accept "rights" as synonym for "objects" - subsystem-compile: accept "objects" as synonym for "content" - form-add: resolve directory path to .xml (like meta-validate) - form-info: resolve directory path to Ext/Form.xml (like form-validate) - mxl-compile: support absolute OutputPath (IsPathRooted check) - meta-remove: exit 1 when object not found; v1.1 - cfe-patch-method: accept plural type names (Catalogs → Catalog) Test fixes: - basic-role.json: use canonical "objects" key - basic.json (subsystem): use canonical "content" key - catalog-form.json: fix outdated DSL format - New synonym test cases for role-compile and subsystem-compile - error-not-found.json: expect error (exit 1) Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
@@ -0,0 +1,18 @@
|
||||
{
|
||||
"name": "Синоним: objects вместо content",
|
||||
"preRun": [
|
||||
{
|
||||
"script": "meta-compile/scripts/meta-compile",
|
||||
"input": { "type": "Catalog", "name": "Товары" },
|
||||
"args": { "-JsonPath": "{inputFile}", "-OutputDir": "{workDir}" }
|
||||
}
|
||||
],
|
||||
"input": {
|
||||
"name": "Склад",
|
||||
"synonym": "Склад",
|
||||
"objects": ["Catalogs.Товары"]
|
||||
},
|
||||
"expect": {
|
||||
"files": ["Subsystems/Склад.xml"]
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user