@bensandee/tooling 0.33.0 → 0.35.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,7 +32,7 @@ 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, docker:build, typecheck, lint, test, format, knip, tooling:check, docker:check). Flags: `--skip`, `--add`, `--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`, `--verbose`. |
36
36
 
37
37
  **Flags:** `--yes` (accept all defaults), `--no-ci`, `--no-prompt`, `--eslint-plugin`
38
38
 
@@ -60,13 +60,13 @@ The generated `ci:check` script defaults to `pnpm check --skip 'docker:*'` since
60
60
 
61
61
  ### Release management
62
62
 
63
- | Command | Description |
64
- | -------------------------------- | ------------------------------------------------------------------------------------------------------------------------------- |
65
- | `tooling release:changesets` | Changesets version/publish for Forgejo CI. Flag: `--dry-run`. Env: `FORGEJO_SERVER_URL`, `FORGEJO_REPOSITORY`, `RELEASE_TOKEN`. |
66
- | `tooling release:simple` | Streamlined release using commit-and-tag-version. Flags: `--release-as`, `--first-release`, `--prerelease`. |
67
- | `tooling release:trigger` | Trigger a release workflow. |
68
- | `tooling forgejo:create-release` | Create a Forgejo release from a tag. |
69
- | `tooling changesets:merge` | Merge a changesets version PR. |
63
+ | Command | Description |
64
+ | -------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------- |
65
+ | `tooling release:changesets` | Changesets version/publish for Forgejo CI. Flags: `--dry-run`, `--verbose`. Env: `FORGEJO_SERVER_URL`, `FORGEJO_REPOSITORY`, `RELEASE_TOKEN`. |
66
+ | `tooling release:simple` | Streamlined release using commit-and-tag-version. Flags: `--release-as`, `--first-release`, `--prerelease`, `--verbose`. |
67
+ | `tooling release:trigger` | Trigger a release workflow. |
68
+ | `tooling forgejo:create-release` | Create a Forgejo release from a tag. |
69
+ | `tooling changesets:merge` | Merge a changesets version PR. |
70
70
 
71
71
  #### `release:simple`
72
72
 
@@ -147,7 +147,7 @@ To give individual packages a standalone `image:build` script for local testing:
147
147
  }
148
148
  ```
149
149
 
150
- **Flags:** `--package <dir>` (build a single package)
150
+ **Flags:** `--package <dir>` (build a single package), `--verbose`
151
151
 
152
152
  #### `docker:publish`
153
153
 
@@ -157,7 +157,7 @@ Tags generated per package: `latest`, `vX.Y.Z`, `vX.Y`, `vX`
157
157
 
158
158
  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.
159
159
 
160
- **Flags:** `--dry-run` (build and tag only, skip login/push/logout)
160
+ **Flags:** `--dry-run` (build and tag only, skip login/push/logout), `--verbose`
161
161
 
162
162
  **Required CI variables:**
163
163
 
@@ -188,6 +188,17 @@ Available override fields:
188
188
  | `projectType` | string | Auto-detected from `package.json` deps |
189
189
  | `detectPackageTypes` | boolean | `true` |
190
190
 
191
+ ## Debug logging
192
+
193
+ All CLI commands support a `--verbose` flag for detailed debug output. Alternatively, set `TOOLING_DEBUG=true` as an environment variable — useful in CI workflows:
194
+
195
+ ```yaml
196
+ env:
197
+ TOOLING_DEBUG: "true"
198
+ ```
199
+
200
+ Debug output is prefixed with `[debug]` and includes exec results (exit codes, stdout/stderr), compose configuration details, container health statuses, and retry attempts.
201
+
191
202
  ## Library API
192
203
 
193
204
  The `"."` export provides type-only exports for programmatic use: