@bensandee/tooling 0.25.3 → 0.27.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 CHANGED
@@ -32,10 +32,32 @@ The tool auto-detects project structure, CI platform, project type, and Docker p
32
32
  | --------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
33
33
  | `tooling repo:sync [dir]` | Detect, generate, and sync project tooling (idempotent). First run prompts for release strategy, CI platform (if not detected), and formatter (if Prettier found). Subsequent runs are non-interactive. |
34
34
  | `tooling repo:sync --check [dir]` | Dry-run drift detection. Exits 1 if files would change. CI-friendly. |
35
- | `tooling checks:run` | Run project checks (build, typecheck, lint, knip, test). Flag: `--fail-fast`. |
35
+ | `tooling checks:run` | Run project checks (build, docker:build, typecheck, lint, test, format, knip, tooling:check, docker:check). Flags: `--skip`, `--add`, `--fail-fast`. |
36
36
 
37
37
  **Flags:** `--yes` (accept all defaults), `--no-ci`, `--no-prompt`, `--eslint-plugin`
38
38
 
39
+ #### `checks:run`
40
+
41
+ Runs checks in order: build, docker:build, typecheck, lint, test, format (--check), knip, tooling:check, docker:check. Checks without a matching script in `package.json` are silently skipped.
42
+
43
+ The `--skip` flag supports glob patterns via picomatch:
44
+
45
+ ```bash
46
+ # Skip all docker steps
47
+ tooling checks:run --skip 'docker:*'
48
+
49
+ # Skip specific checks
50
+ tooling checks:run --skip build,knip
51
+ ```
52
+
53
+ The `--add` flag appends extra checks (must be defined in `package.json`):
54
+
55
+ ```bash
56
+ tooling checks:run --add e2e
57
+ ```
58
+
59
+ The generated `ci:check` script defaults to `pnpm check --skip 'docker:*'` since CI environments typically lack Docker support.
60
+
39
61
  ### Release management
40
62
 
41
63
  | Command | Description |
@@ -99,7 +121,7 @@ To give individual packages a standalone `image:build` script for local testing:
99
121
  }
100
122
  ```
101
123
 
102
- **Flags:** `--package <dir>` (build a single package), `--verbose`
124
+ **Flags:** `--package <dir>` (build a single package)
103
125
 
104
126
  #### `docker:publish`
105
127
 
@@ -109,7 +131,7 @@ Tags generated per package: `latest`, `vX.Y.Z`, `vX.Y`, `vX`
109
131
 
110
132
  Each package is tagged independently using its own version, so packages in a monorepo can have different release cadences. Packages without a `version` field are rejected at publish time.
111
133
 
112
- **Flags:** `--dry-run` (build and tag only, skip login/push/logout), `--verbose`
134
+ **Flags:** `--dry-run` (build and tag only, skip login/push/logout)
113
135
 
114
136
  **Required environment variables:**
115
137