@alis-build/design-system 0.44.0 → 0.45.0
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/README.md +3 -1
- package/check.mjs +12 -1
- package/package.json +1 -1
- package/words.json +34 -6
package/README.md
CHANGED
|
@@ -150,7 +150,9 @@ export default {
|
|
|
150
150
|
plain text a terminal app writes out of everything it says, in blocks headed
|
|
151
151
|
`== kind place · area`, then one `field<TAB>text` line per thing read.
|
|
152
152
|
`code` and `alias` lines, backticked spans (one a wrapped line carries on),
|
|
153
|
-
printf verbs (`%s`) and placeholders (`<id>`) are code.
|
|
153
|
+
printf verbs (`%s`) and placeholders (`<id>`) are code. A line that carries
|
|
154
|
+
on its field's line above joins it, so a name the wrap breaks still counts.
|
|
155
|
+
The baseline counts
|
|
154
156
|
each place, so the block that gains a retired name is the one that fails.
|
|
155
157
|
The file is generated, so there is no ignore: change the words at their source.
|
|
156
158
|
- In both, a retired name written with a capital ("Read only") is a label, and
|
package/check.mjs
CHANGED
|
@@ -398,9 +398,13 @@ function plain(text) {
|
|
|
398
398
|
let place = ''
|
|
399
399
|
let open = false
|
|
400
400
|
let at = 0
|
|
401
|
+
// The piece a wrapped line continues: same field, on the line above, read to its end.
|
|
402
|
+
let last = null
|
|
401
403
|
for (const line of text.split('\n')) {
|
|
402
404
|
const start = at
|
|
403
405
|
at += line.length + 1
|
|
406
|
+
const previous = last
|
|
407
|
+
last = null
|
|
404
408
|
const header = /^== +(\S+) +(.*?)(?: +hidden)? +· +\S+\s*$/.exec(line)
|
|
405
409
|
if (header) {
|
|
406
410
|
place = `${header[1]} ${header[2].replace(/\s+/g, ' ')}`
|
|
@@ -423,7 +427,14 @@ function plain(text) {
|
|
|
423
427
|
value = value.slice(0, tick)
|
|
424
428
|
open = true
|
|
425
429
|
}
|
|
426
|
-
if (
|
|
430
|
+
if (!/[A-Za-z]/.test(value)) continue
|
|
431
|
+
const field = line.slice(0, tab)
|
|
432
|
+
// The 80-column wrap can break a name ("an output / artifact"), so a wrapped
|
|
433
|
+
// line joins the one above; the newline and field become spaces, so offsets hold.
|
|
434
|
+
const wraps = previous?.field === field && previous.end === start - 1
|
|
435
|
+
if (wraps) previous.piece.value += ' '.repeat(tab + 2) + value
|
|
436
|
+
else pieces.push({ start: start + tab + 1, value, place })
|
|
437
|
+
if (tick < 0) last = { field, piece: wraps ? previous.piece : pieces.at(-1), end: start + line.length }
|
|
427
438
|
}
|
|
428
439
|
return pieces
|
|
429
440
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@alis-build/design-system",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.45.0",
|
|
4
4
|
"description": "The AlisX design system for coding agents: tokens, product CSS, component markup, capability marks, words and rules.",
|
|
5
5
|
"keywords": ["alisx", "design-system", "design-tokens", "css"],
|
|
6
6
|
"homepage": "https://alisx.com",
|
package/words.json
CHANGED
|
@@ -15,6 +15,34 @@
|
|
|
15
15
|
"retired": [],
|
|
16
16
|
"avoid": ["Ideate (as the one doing something)"]
|
|
17
17
|
},
|
|
18
|
+
{
|
|
19
|
+
"name": "Alis Build",
|
|
20
|
+
"product": "all",
|
|
21
|
+
"means": "The product: delivery, in secure build environments in your own Google Cloud. \"Build\" alone is its heading in the navigation. Its people are the Alis Build team; the ones you write to are build specialists.",
|
|
22
|
+
"retired": [],
|
|
23
|
+
"avoid": []
|
|
24
|
+
},
|
|
25
|
+
{
|
|
26
|
+
"name": "Skill store",
|
|
27
|
+
"product": "all",
|
|
28
|
+
"means": "The product where skills are found, installed and published, at four levels: you, your team, the community and the platform. Named in full, with a lower-case s, in the CLI as on the console: a skill is in the Skill store, and is published to it.",
|
|
29
|
+
"retired": ["skills catalogue", "skill catalogue", "skills catalog", "skill catalog", "skills registry", "skill registry", "the catalogue", "Alis Build skills"],
|
|
30
|
+
"avoid": ["catalogue", "registry (for skills: a package registry is something else)", "marketplace (for skills: the Google Cloud Marketplace is where an account subscribes)"]
|
|
31
|
+
},
|
|
32
|
+
{
|
|
33
|
+
"name": "AlisX Specialists",
|
|
34
|
+
"product": "all",
|
|
35
|
+
"means": "The product: vetted human expertise, inside the session.",
|
|
36
|
+
"retired": [],
|
|
37
|
+
"avoid": []
|
|
38
|
+
},
|
|
39
|
+
{
|
|
40
|
+
"name": "console",
|
|
41
|
+
"product": "all",
|
|
42
|
+
"means": "The web app at console.alisx.com, as the CLI, Alis and the docs name it when they send you there. Lower case, and never named after one product.",
|
|
43
|
+
"retired": ["Alis Build console", "Ideate console"],
|
|
44
|
+
"avoid": ["Console (capitalised, unless it opens a sentence)", "the dashboard", "the web app"]
|
|
45
|
+
},
|
|
18
46
|
{
|
|
19
47
|
"name": "account",
|
|
20
48
|
"plural": "accounts",
|
|
@@ -226,8 +254,8 @@
|
|
|
226
254
|
"name": "instructions for Alis",
|
|
227
255
|
"product": "ideate",
|
|
228
256
|
"means": "How Alis should run an interview: tone, areas to cover, what to avoid. Participants don't see them.",
|
|
229
|
-
"retired": [],
|
|
230
|
-
"avoid": [
|
|
257
|
+
"retired": ["interviewer instructions"],
|
|
258
|
+
"avoid": [],
|
|
231
259
|
"code": "plan.instructions"
|
|
232
260
|
},
|
|
233
261
|
{
|
|
@@ -404,9 +432,9 @@
|
|
|
404
432
|
"name": "operation",
|
|
405
433
|
"plural": "operations",
|
|
406
434
|
"product": "build",
|
|
407
|
-
"means": "A Define, Build or Deploy running on the platform. You wait on it, or you are told when it is done.",
|
|
435
|
+
"means": "A Define, Build or Deploy running on the platform. You wait on it, or you are told when it is done. The TUI lists them under Operations; the console's Activity is the team's sessions, not this.",
|
|
408
436
|
"retired": [],
|
|
409
|
-
"avoid": ["op (on screen)", "job"],
|
|
437
|
+
"avoid": ["op (on screen)", "job", "notifications (for the list of them: a notification is the alert that one is done)", "Activity (for the list of them)"],
|
|
410
438
|
"code": "operations/*"
|
|
411
439
|
},
|
|
412
440
|
{
|
|
@@ -457,8 +485,8 @@
|
|
|
457
485
|
"plural": "build specialists",
|
|
458
486
|
"product": "build",
|
|
459
487
|
"means": "Someone on the Alis Build team you can write to from the CLI or the console. Only them: a skill's or a code block's maintainer is its Owner.",
|
|
460
|
-
"retired": [],
|
|
461
|
-
"avoid": [
|
|
488
|
+
"retired": ["support staff"],
|
|
489
|
+
"avoid": []
|
|
462
490
|
},
|
|
463
491
|
{
|
|
464
492
|
"name": "teammate",
|