repoctl 4.0.0 → 4.0.2

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.
Files changed (2) hide show
  1. package/README.md +7 -1
  2. package/package.json +2 -2
package/README.md CHANGED
@@ -40,7 +40,11 @@ pnpm check
40
40
  - `repo check`: run the recommended local verification flow.
41
41
  - `repo upgrade`: sync the latest standard assets and scripts from the template.
42
42
 
43
- `repo doctor` is intentionally lightweight. It checks root workspace files, Node version compatibility, CLI dependency presence, recommended root scripts, config conflicts, and whether Husky plus lint-staged are both wired. Use `repo doctor --json --out reports/doctor.json` when automation needs a persisted report.
43
+ `repo setup` is safe to run in an existing pnpm workspace. By default it creates missing root files, appends missing workspace patterns, and skips existing README/tooling files; use `--force` or `--overwrite` when you explicitly want managed files rewritten. Use `--yes` in CI.
44
+
45
+ `repo upgrade` is also CI-safe. In a non-TTY process it will not prompt; changed files are skipped unless you pass `--yes` or `--overwrite`. Use `--no-overwrite` when automation must preserve every changed file.
46
+
47
+ `repo doctor` is intentionally lightweight. It checks root workspace files, Node version compatibility, CLI dependency presence, recommended root scripts, config conflicts, workspace pattern coverage, legacy local tooling imports, and whether Husky plus lint-staged are both wired. Use `repo doctor --json --out reports/doctor.json` when automation needs a persisted report.
44
48
  Use `repo check --dry-run` or `repo check --json --out reports/check-plan.json` when automation needs to inspect the verification plan before running it.
45
49
 
46
50
  ## Common Commands
@@ -48,6 +52,8 @@ Use `repo check --dry-run` or `repo check --json --out reports/check-plan.json`
48
52
  ```sh
49
53
  # sync repo standards
50
54
  pnpm exec repo upgrade
55
+ pnpm exec repo upgrade --yes
56
+ pnpm exec repo upgrade --no-overwrite
51
57
 
52
58
  # create a specific template without extra prompts
53
59
  pnpm exec repo new dashboard --template vue-hono
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "repoctl",
3
3
  "type": "module",
4
- "version": "4.0.0",
4
+ "version": "4.0.2",
5
5
  "description": "Default task-first CLI for pnpm and Turbo monorepo setup and maintenance",
6
6
  "author": "ice breaker <hi@sonofmagic.top>",
7
7
  "license": "MIT",
@@ -60,7 +60,7 @@
60
60
  "node": ">=23.5.0 || ^22.13.0 || ^21.7.0 || ^20.12.0"
61
61
  },
62
62
  "dependencies": {
63
- "@icebreakers/monorepo": "4.0.0"
63
+ "@icebreakers/monorepo": "4.0.2"
64
64
  },
65
65
  "scripts": {
66
66
  "dev": "tsdown --watch --sourcemap",