@zgeoff/chex 0.3.1 → 0.3.3

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 CHANGED
@@ -48,7 +48,7 @@ The docs checks read the repo's READMEs, its `docs/` tree and its skills:
48
48
  | `links` | a relative link or anchor that does not resolve | the paths |
49
49
  | `readmes` | a README of none of the [five kinds](https://github.com/zgeoff/skills/blob/main/skills/docs-writing/references/readmes.md#the-five-kinds) | none |
50
50
  | `vision` | a missing `docs/vision.md`, or one past 60 lines | none |
51
- | `skill` | a skill's frontmatter, its word limit, a link with a line anchor, and a coined term such as "lane" or "the unit run" | the skill dirs |
51
+ | `skill` | a skill's frontmatter, its word limit, a link with a line anchor, and a coined term such as "the unit limit" | the skill dirs |
52
52
 
53
53
  The repo checks read the branch, the pushed commits and the repo's config:
54
54
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@zgeoff/chex",
3
- "version": "0.3.1",
3
+ "version": "0.3.3",
4
4
  "description": "Run each shared docs and repo check as one subcommand, with the lefthook pre-push baseline that calls them",
5
5
  "keywords": [
6
6
  "checks",
@@ -36,7 +36,7 @@
36
36
  },
37
37
  "dependencies": {
38
38
  "@zgeoff/std": "0.4.3",
39
- "oxc-parser": "0.156.0",
39
+ "oxc-parser": "0.157.0",
40
40
  "ts-pattern": "5.9.2"
41
41
  },
42
42
  "devDependencies": {
@@ -1 +1,9 @@
1
- export const firstPartyScopes = ['@zgeoff/', '@impz/', '@wringer/', '@heynixie/'] as const;
1
+ export const firstPartyScopes = [
2
+ '@zgeoff/',
3
+ '@impz/',
4
+ '@wringer/',
5
+ '@heynixie/',
6
+ '@atcx/',
7
+ '@pepys/',
8
+ '@boxxy/',
9
+ ] as const;
@@ -9,7 +9,7 @@
9
9
  # Fails on: a missing name or description, a name that differs from the folder or breaks the name
10
10
  # format, a description over 1,024 characters, a plain description that holds a colon YAML reads as a
11
11
  # key, frontmatter that Bun.YAML.parse refuses (at the line it fails on), a link with a line anchor outside code, a
12
- # coined term outside code, such as "lane" or "the unit run", and a SKILL.md body over 1,700 words.
12
+ # coined term outside code, such as "the unit limit", and a SKILL.md body over 1,700 words.
13
13
  # Warns on: a SKILL.md body over 1,500 words, a SKILL.md over 500
14
14
  # lines, a reference that SKILL.md does not list under ## References, a reference over 100 lines
15
15
  # with two or more headings and no contents list near its top, a code-formatted span outside a table that names an existing repo file, and a bullet in
@@ -78,9 +78,9 @@ my ($errors, $warnings) = (0, 0);
78
78
 
79
79
  # Each coined term a skill may not use, with the plain wording that its error names. A term may
80
80
  # wrap onto the next line, so a space in it matches any run of white space.
81
+ # A term that the README of @zgeoff/rig defines, such as "lane" or "the unit run", is the plain name
82
+ # of a thing rig runs, so it never joins this list.
81
83
  my @coined_terms = (
82
- [qr/\blanes?\b/i, "write the command that runs those tests, such as `bun run test:e2e`, or the folder or file suffix that holds them"],
83
- [qr/(?<![\w-])unit(?:-|\s+)runs?\b/i, "write the command that runs the tests, `bun run test`"],
84
84
  [qr/\bunit\s+limit\b/i, "write the timeout and the command it applies to, such as \"the 5 s timeout of `bun run test`\""],
85
85
  );
86
86