@anvil-works/anvil-cli 0.7.0-canary.20 → 0.7.0-canary.21
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/cli.js +2 -2
- package/dist/formTemplateValidation.d.ts.map +1 -1
- package/dist/index.js +2 -2
- package/package.json +1 -1
package/dist/cli.js
CHANGED
|
@@ -16053,7 +16053,7 @@ Promise.resolve(executeGitCredentialOperation(process.argv[2] || "get", {
|
|
|
16053
16053
|
validatePropertiesObject(value.set_layout_properties, `${path}.set_layout_properties`, issues);
|
|
16054
16054
|
if (isPlainObject(value.target)) {
|
|
16055
16055
|
if ("container" !== value.target.type && "slot" !== value.target.type) formTemplateValidation_pushIssue(issues, `${path}.target.type`, "must be 'container' or 'slot'");
|
|
16056
|
-
validateIdentifier(value.target.name, `${path}.target.name`, issues);
|
|
16056
|
+
if ("container" !== value.target.type || "" !== value.target.name) validateIdentifier(value.target.name, `${path}.target.name`, issues);
|
|
16057
16057
|
} else formTemplateValidation_pushIssue(issues, `${path}.target`, "must be an object");
|
|
16058
16058
|
if (void 0 !== value.template) validateComponentNode(value.template, `${path}.template`, issues, seenNames);
|
|
16059
16059
|
}
|
|
@@ -16368,7 +16368,7 @@ print(json.dumps({"issues": issues}))
|
|
|
16368
16368
|
command: "uv",
|
|
16369
16369
|
args: [
|
|
16370
16370
|
"run",
|
|
16371
|
-
"--
|
|
16371
|
+
"--isolated",
|
|
16372
16372
|
"--no-python-downloads",
|
|
16373
16373
|
"python"
|
|
16374
16374
|
]
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"formTemplateValidation.d.ts","sourceRoot":"","sources":["../src/formTemplateValidation.ts"],"names":[],"mappings":"AAIA,KAAK,eAAe,GAAG;IACnB,IAAI,EAAE,MAAM,CAAC;IACb,OAAO,EAAE,MAAM,CAAC;CACnB,CAAC;
|
|
1
|
+
{"version":3,"file":"formTemplateValidation.d.ts","sourceRoot":"","sources":["../src/formTemplateValidation.ts"],"names":[],"mappings":"AAIA,KAAK,eAAe,GAAG;IACnB,IAAI,EAAE,MAAM,CAAC;IACb,OAAO,EAAE,MAAM,CAAC;CACnB,CAAC;AAuRF,KAAK,uBAAuB,GAAG,sBAAsB,GAAG,cAAc,CAAC;AAMvE,wBAAgB,4BAA4B,CACxC,KAAK,EAAE,OAAO,EACd,OAAO,GAAE;IACL,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,WAAW,CAAC,EAAE,uBAAuB,CAAC;IACtC,cAAc,CAAC,EAAE,GAAG,CAAC,MAAM,CAAC,CAAC;CAC3B,GACP,eAAe,EAAE,CAsInB;AAED,wBAAgB,wBAAwB,CAAC,KAAK,EAAE,OAAO,GAAG,eAAe,EAAE,CAmF1E"}
|
package/dist/index.js
CHANGED
|
@@ -16082,7 +16082,7 @@ Promise.resolve(executeGitCredentialOperation(process.argv[2] || "get", {
|
|
|
16082
16082
|
validatePropertiesObject(value.set_layout_properties, `${path}.set_layout_properties`, issues);
|
|
16083
16083
|
if (isPlainObject(value.target)) {
|
|
16084
16084
|
if ("container" !== value.target.type && "slot" !== value.target.type) formTemplateValidation_pushIssue(issues, `${path}.target.type`, "must be 'container' or 'slot'");
|
|
16085
|
-
validateIdentifier(value.target.name, `${path}.target.name`, issues);
|
|
16085
|
+
if ("container" !== value.target.type || "" !== value.target.name) validateIdentifier(value.target.name, `${path}.target.name`, issues);
|
|
16086
16086
|
} else formTemplateValidation_pushIssue(issues, `${path}.target`, "must be an object");
|
|
16087
16087
|
if (void 0 !== value.template) validateComponentNode(value.template, `${path}.template`, issues, seenNames);
|
|
16088
16088
|
}
|
|
@@ -16397,7 +16397,7 @@ print(json.dumps({"issues": issues}))
|
|
|
16397
16397
|
command: "uv",
|
|
16398
16398
|
args: [
|
|
16399
16399
|
"run",
|
|
16400
|
-
"--
|
|
16400
|
+
"--isolated",
|
|
16401
16401
|
"--no-python-downloads",
|
|
16402
16402
|
"python"
|
|
16403
16403
|
]
|