@hublo/sentinel 1.7.0-alpha.34 → 1.7.0-alpha.36
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/dist/bin/sentinel.js +2 -2
- package/dist/{chunk-53HYHJTD.js → chunk-5KNSTZ7F.js} +6 -2
- package/dist/{chunk-53HYHJTD.js.map → chunk-5KNSTZ7F.js.map} +1 -1
- package/dist/{chunk-Z2QRW7T4.js → chunk-OCTWLMUW.js} +1033 -933
- package/dist/index.js +2 -2
- package/dist/roles/sql/config.d.ts +11 -1
- package/dist/roles/sql/config.js +5 -3
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -6,7 +6,7 @@ import {
|
|
|
6
6
|
registerAdapters,
|
|
7
7
|
resolve,
|
|
8
8
|
setDefaultRunner
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-OCTWLMUW.js";
|
|
10
10
|
import "./chunk-ZZMYV576.js";
|
|
11
11
|
import {
|
|
12
12
|
BaseAdapter
|
|
@@ -18,7 +18,7 @@ import "./chunk-QXFCZON7.js";
|
|
|
18
18
|
import "./chunk-YUZB4LRJ.js";
|
|
19
19
|
import "./chunk-APBEGLRI.js";
|
|
20
20
|
import "./chunk-TMVKYXZ3.js";
|
|
21
|
-
import "./chunk-
|
|
21
|
+
import "./chunk-5KNSTZ7F.js";
|
|
22
22
|
import "./chunk-XYOIXC6A.js";
|
|
23
23
|
import "./chunk-PXTU5MPW.js";
|
|
24
24
|
import "./chunk-4EIY7TTR.js";
|
|
@@ -74,5 +74,15 @@ interface ResolvedSqlConfig extends SqlDefaults {
|
|
|
74
74
|
}
|
|
75
75
|
/** Resolve a module's declaration against this role's defaults. */
|
|
76
76
|
declare function defineSql(input?: SqlInput): ResolvedSqlConfig;
|
|
77
|
+
/**
|
|
78
|
+
* A config another version of `defineSql` resolved, with this version's defaults under it.
|
|
79
|
+
*
|
|
80
|
+
* ⛔ A module's `sql.config.mjs` imports `defineSql` from the sentinel its own `node_modules` holds,
|
|
81
|
+
* which may be older than the one running: a setting added since (`migrations.indexesFrom`,
|
|
82
|
+
* 1.7.0-alpha.34) is then missing, and the rule reading it threw, its findings dropped with nothing
|
|
83
|
+
* said (found on the alpha.34 replay). Every value the module resolved is kept; only a missing
|
|
84
|
+
* setting takes the default.
|
|
85
|
+
*/
|
|
86
|
+
declare function withDefaults(resolved: ResolvedSqlConfig): ResolvedSqlConfig;
|
|
77
87
|
|
|
78
|
-
export { type ResolvedSqlConfig, type SqlInput, defineSql };
|
|
88
|
+
export { type ResolvedSqlConfig, type SqlInput, defineSql, withDefaults };
|
package/dist/roles/sql/config.js
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@hublo/sentinel",
|
|
3
|
-
"version": "1.7.0-alpha.
|
|
3
|
+
"version": "1.7.0-alpha.36",
|
|
4
4
|
"description": "One CLI that guards code health across Hublo repos: shared lint/typescript/build/test presets, static & dynamic analysis, and architecture checks.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"license": "MIT",
|