@hublo/sentinel 1.7.0-alpha.34 → 1.7.0-alpha.35
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 +1 -1
- package/dist/bin/sentinel.js +2 -2
- package/dist/{chunk-Z2QRW7T4.js → chunk-IXXRITO5.js} +1465 -2334
- package/dist/{chunk-53HYHJTD.js → chunk-NGLEGAEN.js} +2 -3
- package/dist/chunk-NGLEGAEN.js.map +1 -0
- package/dist/index.js +2 -2
- package/dist/roles/sql/config.d.ts +0 -10
- package/dist/roles/sql/config.js +1 -1
- package/docs/env-adoption.md +35 -6
- package/docs/sql-adoption.md +27 -140
- package/docs/typescript-traces.md +72 -37
- package/package.json +1 -2
- package/dist/chunk-53HYHJTD.js.map +0 -1
package/README.md
CHANGED
|
@@ -176,7 +176,7 @@ throwaway run wants. Once a module has adopted, nothing is fetched any more: the
|
|
|
176
176
|
- [`docs/typescript-adoption.md`](docs/typescript-adoption.md) — the adoption cheat sheet: the two adoption steps, the command model (verb x type x location), options, reading a report, and troubleshooting.
|
|
177
177
|
- [`docs/test-adoption.md`](docs/test-adoption.md) — migrating a module from jest to Vitest: the two steps, what the migration rewrites and what it refuses BY NAME, how the baseline gate proves nothing was lost, and the failures worth recognising.
|
|
178
178
|
- [`docs/static-analysis-adoption.md`](docs/static-analysis-adoption.md) — running the static analysis role on a module: the two steps, the four output shapes, how to read each row and where its threshold comes from, declaring an entry point, and the two limits worth knowing before trusting a number.
|
|
179
|
-
- [`docs/sql-adoption.md`](docs/sql-adoption.md) — checking the migrations, the `Unsafe` calls
|
|
179
|
+
- [`docs/sql-adoption.md`](docs/sql-adoption.md) — checking the migrations, the `Unsafe` calls and the `Prisma.raw` calls a branch adds or changes: the two steps, the 52 rules on by default and the 26 opt-in ones, the three levels in `sql.config.mjs` with an example, sentinel's two notes, and what the role does not read yet.
|
|
180
180
|
- [`docs/code-churn-adoption.md`](docs/code-churn-adoption.md) — the code churn role: the share of a module's new lines rewritten or deleted within 21 days, read from main's git history; adopting it, what it reads, how to read the figure, what it does not say, and how it was validated against `git blame`.
|
|
181
181
|
- [`docs/env-adoption.md`](docs/env-adoption.md) — checking a whole repository's env files, contracts and Dockerfiles from its root: the ten rules and which block, the three levels of `SENTINEL_ENV_LEVEL`, the optional `env.config.mjs`, and what changed from the monorepo's `tools/repo-env`.
|
|
182
182
|
- [`docs/typescript-traces.md`](docs/typescript-traces.md) — a **generated, versioned** reference of live command + output traces (every verb, option, config result and edge case) against the mock monorepo. Regenerate after CLI changes with `pnpm docs:traces`.
|
package/dist/bin/sentinel.js
CHANGED
|
@@ -13,7 +13,7 @@ import {
|
|
|
13
13
|
presetNotInstalledYet,
|
|
14
14
|
registerAdapters,
|
|
15
15
|
resolve
|
|
16
|
-
} from "../chunk-
|
|
16
|
+
} from "../chunk-IXXRITO5.js";
|
|
17
17
|
import "../chunk-ZZMYV576.js";
|
|
18
18
|
import {
|
|
19
19
|
resolveContext,
|
|
@@ -42,7 +42,7 @@ import {
|
|
|
42
42
|
VERBS
|
|
43
43
|
} from "../chunk-APBEGLRI.js";
|
|
44
44
|
import "../chunk-TMVKYXZ3.js";
|
|
45
|
-
import "../chunk-
|
|
45
|
+
import "../chunk-NGLEGAEN.js";
|
|
46
46
|
import "../chunk-XYOIXC6A.js";
|
|
47
47
|
import "../chunk-PXTU5MPW.js";
|
|
48
48
|
import "../chunk-4EIY7TTR.js";
|