@grexx/grexxlinter 0.2.1408 → 0.2.1429

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/cli.js CHANGED
@@ -15152,7 +15152,7 @@ function toJSOrError(doc) {
15152
15152
  // src/cli.ts
15153
15153
  var PARALLEL_THRESHOLD = 200;
15154
15154
  var MAX_WORKERS = 8;
15155
- var VERSION = "0.2.1408";
15155
+ var VERSION = "0.2.1429";
15156
15156
  function isNewer(latest, current) {
15157
15157
  const a = latest.split(".").map(Number);
15158
15158
  const b = current.split(".").map(Number);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@grexx/grexxlinter",
3
- "version": "0.2.1408",
3
+ "version": "0.2.1429",
4
4
  "description": "Lint Grexx Studio casetype YAML against the studio JSON Schemas.",
5
5
  "type": "module",
6
6
  "bin": {
@@ -15,7 +15,13 @@
15
15
  "type": "string"
16
16
  },
17
17
  "folderName": {
18
- "type": "string"
18
+ "type": "string",
19
+ "description": "Legacy echo of the folder's own path leaf, written by the studio's create-component action. Never read for display. Kept so existing repos stay valid; new presentation names belong in `displayName`."
20
+ },
21
+ "displayName": {
22
+ "type": "string",
23
+ "minLength": 1,
24
+ "description": "How the component is PRESENTED — its page heading, cards, filters, breadcrumbs. A component's REFERENCE is its folder PATH, which is how every file beneath it is addressed; renaming that is a git move of every blob and is deliberately not offered. This field is free to change instead: it lives only in this file, so editing it is one write that moves nothing. Omitted = fall back to `folderName`, then to the path leaf — which is what every component showed before this field existed."
19
25
  },
20
26
  "folderType": {
21
27
  "type": "string"
@@ -32,7 +32,12 @@
32
32
  "name": {
33
33
  "type": "string",
34
34
  "minLength": 1,
35
- "description": "Canonical label text, as written into each object's `_labels`."
35
+ "description": "The label's REFERENCE: the exact text written into each object's `_labels`, and what every carrying file is matched on. Treat it as an identifier, not a caption — changing it means rewriting every file that carries the label, so the studio does not offer that. Rename `displayName` instead."
36
+ },
37
+ "displayName": {
38
+ "type": "string",
39
+ "minLength": 1,
40
+ "description": "How the label is PRESENTED — pills, headings, pickers, filters. Free to change at any time: it lives only here, so editing it is one write to this file and touches no carrying file, breaks no `_labels` match and changes no URL. Omitted = fall back to `name`, which is what every label had before this field existed."
36
41
  },
37
42
  "color": {
38
43
  "enum": [