@theholocron/cli 4.11.0 → 4.12.1
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 +8 -0
- package/dist/cli.mjs +11 -1
- package/dist/cli.mjs.map +1 -1
- package/package.json +5 -5
package/README.md
CHANGED
|
@@ -148,6 +148,14 @@ sub-job whose tool isn't installed, or that has no local equivalent
|
|
|
148
148
|
a task with no sub-jobs the `job` slot is the first passthrough arg
|
|
149
149
|
(`holocron run build src/`).
|
|
150
150
|
|
|
151
|
+
**CI runs the identical command.** The reusable `typecheck` / `test` / `audit`
|
|
152
|
+
workflows call the `holocron` composite action
|
|
153
|
+
(`theholocron/.github/.github/actions/holocron@main`), whose body is
|
|
154
|
+
`holocron run <task> [job]`. So `holocron run test` locally and the `Test` CI
|
|
155
|
+
job execute the same thing — at a turbo root both are
|
|
156
|
+
`turbo run test -- --coverage` (the registry's org-default flags flow through
|
|
157
|
+
turbo's `--`).
|
|
158
|
+
|
|
151
159
|
### `holocron ci`
|
|
152
160
|
|
|
153
161
|
```bash
|
package/dist/cli.mjs
CHANGED
|
@@ -3451,7 +3451,6 @@ function createConfig$3() {
|
|
|
3451
3451
|
//#endregion
|
|
3452
3452
|
//#region src/templates/configs/editorconfig-checker/editorconfig-checker.json
|
|
3453
3453
|
var editorconfig_checker_default = {
|
|
3454
|
-
Version: "v3.7.0",
|
|
3455
3454
|
Verbose: false,
|
|
3456
3455
|
Format: "",
|
|
3457
3456
|
Debug: false,
|
|
@@ -3477,6 +3476,17 @@ var editorconfig_checker_default = {
|
|
|
3477
3476
|
};
|
|
3478
3477
|
//#endregion
|
|
3479
3478
|
//#region src/templates/configs/editorconfig-checker/create-config.ts
|
|
3479
|
+
/**
|
|
3480
|
+
* The generated `.editorconfig-checker.json`.
|
|
3481
|
+
*
|
|
3482
|
+
* Deliberately carries no `"Version"` key: editorconfig-checker treats it as a
|
|
3483
|
+
* hard gate and exits non-zero the moment the running binary's version differs
|
|
3484
|
+
* — which it does the instant a contributor's local install (Homebrew tracks
|
|
3485
|
+
* latest) drifts from the version super-linter bundles in CI, breaking
|
|
3486
|
+
* `holocron run lint` / the pre-push hook for everyone (#618). The config
|
|
3487
|
+
* options here (`Exclude`, `Disable`) are stable across releases, so pinning
|
|
3488
|
+
* buys nothing.
|
|
3489
|
+
*/
|
|
3480
3490
|
function createConfig$2() {
|
|
3481
3491
|
return JSON.stringify(editorconfig_checker_default, null, 2) + "\n";
|
|
3482
3492
|
}
|