@bensandee/tooling 0.93.0 → 0.94.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 +20 -20
- package/dist/bin.mjs +624 -274
- package/package.json +9 -9
- package/tooling.schema.json +3 -3
package/README.md
CHANGED
|
@@ -15,14 +15,14 @@ pnpm dlx @bensandee/tooling repo:sync
|
|
|
15
15
|
|
|
16
16
|
The tool auto-detects project structure, CI platform, project type, and Docker packages from the filesystem. `.tooling.json` stores **overrides only** -- omitted fields use detected defaults. Runtime commands (`docker:build`, `checks:run`, `release:changesets`) work without running `repo:sync` first.
|
|
17
17
|
|
|
18
|
-
| Convention | Detection
|
|
19
|
-
| ----------------- |
|
|
20
|
-
| Project structure | `pnpm-workspace.yaml` present
|
|
21
|
-
| CI platform | `.github/workflows/` or `.forgejo/workflows/` dir
|
|
22
|
-
| Project type | Dependencies in `package.json` (react, node, library) | `default` | `projectType` in `.tooling.json` |
|
|
23
|
-
| Docker packages | `Dockerfile` or `docker/Dockerfile` in package dirs
|
|
24
|
-
| Formatter | Existing prettier config detected
|
|
25
|
-
| Release strategy | Existing release config detected
|
|
18
|
+
| Convention | Detection | Default | Override via |
|
|
19
|
+
| ----------------- | ------------------------------------------------------------------------------------------------------- | ---------------------------------------- | ------------------------------------ |
|
|
20
|
+
| Project structure | `pnpm-workspace.yaml` present | `single` | `structure` in `.tooling.json` |
|
|
21
|
+
| CI platform | `.github/workflows/` or `.forgejo/workflows/` dir | `none` | `ci` in `.tooling.json` |
|
|
22
|
+
| Project type | Dependencies in `package.json` (react, node, library), or `node` for a single package no builder builds | `default` | `projectType` in `.tooling.json` |
|
|
23
|
+
| Docker packages | `Dockerfile` or `docker/Dockerfile` in package dirs | -- | `docker` map in `.tooling.json` |
|
|
24
|
+
| Formatter | Existing prettier config detected | `oxfmt` | `formatter` in `.tooling.json` |
|
|
25
|
+
| Release strategy | Existing release config detected | monorepo: `changesets`, single: `simple` | `releaseStrategy` in `.tooling.json` |
|
|
26
26
|
|
|
27
27
|
## CLI commands
|
|
28
28
|
|
|
@@ -518,18 +518,18 @@ Registry-specific names keep one credential per registry, so a repo publishing t
|
|
|
518
518
|
|
|
519
519
|
Available override fields:
|
|
520
520
|
|
|
521
|
-
| Field | Type | Default (detected)
|
|
522
|
-
| -------------------- | ------- |
|
|
523
|
-
| `structure` | string | `"monorepo"` if `pnpm-workspace.yaml` present, else `"single"`
|
|
524
|
-
| `useEslintPlugin` | boolean | `true`
|
|
525
|
-
| `formatter` | string | `"prettier"` if config found, else `"oxfmt"`
|
|
526
|
-
| `setupVitest` | boolean | `true`
|
|
527
|
-
| `ci` | string | Detected from workflow dirs, else `"none"`
|
|
528
|
-
| `setupRenovate` | boolean | `true`
|
|
529
|
-
| `releaseStrategy` | string | Detected from existing config, else monorepo: `"changesets"`, single: `"simple"`
|
|
530
|
-
| `projectType` | string | Auto-detected from `package.json` deps
|
|
531
|
-
| `detectPackageTypes` | boolean | `true`
|
|
532
|
-
| `pnpmWorkspace` | `false` | Set to `false` to opt out of `pnpm-workspace.yaml` management
|
|
521
|
+
| Field | Type | Default (detected) |
|
|
522
|
+
| -------------------- | ------- | ------------------------------------------------------------------------------------------ |
|
|
523
|
+
| `structure` | string | `"monorepo"` if `pnpm-workspace.yaml` present, else `"single"` |
|
|
524
|
+
| `useEslintPlugin` | boolean | `true` |
|
|
525
|
+
| `formatter` | string | `"prettier"` if config found, else `"oxfmt"` |
|
|
526
|
+
| `setupVitest` | boolean | `true` |
|
|
527
|
+
| `ci` | string | Detected from workflow dirs, else `"none"` |
|
|
528
|
+
| `setupRenovate` | boolean | `true` |
|
|
529
|
+
| `releaseStrategy` | string | Detected from existing config, else monorepo: `"changesets"`, single: `"simple"` |
|
|
530
|
+
| `projectType` | string | Auto-detected from `package.json` deps, or `"node"` for a single package no builder builds |
|
|
531
|
+
| `detectPackageTypes` | boolean | `true` |
|
|
532
|
+
| `pnpmWorkspace` | `false` | Set to `false` to opt out of `pnpm-workspace.yaml` management |
|
|
533
533
|
|
|
534
534
|
## Environment file
|
|
535
535
|
|