@hublo/sentinel 1.2.0-alpha.33 → 1.2.0-alpha.34

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.
@@ -22,7 +22,7 @@ import {
22
22
  registerAdapters,
23
23
  resolve,
24
24
  resolveBin
25
- } from "../chunk-DJAN2UTQ.js";
25
+ } from "../chunk-XZLF7FBK.js";
26
26
 
27
27
  // bin/sentinel.ts
28
28
  import { program } from "commander";
@@ -5773,7 +5773,17 @@ function ownedTestDependencies(cwd, declared) {
5773
5773
  ["devDependencies", entry.name]
5774
5774
  ]).filter(([section]) => section !== void 0);
5775
5775
  }
5776
+ var DEFERRED = {
5777
+ svelte: `the svelte modules here carry no svelte test at all, so adopting them would prove nothing about svelte, and their owners have a framework migration under way that moves these versions anyway`
5778
+ };
5776
5779
  function plan3(context) {
5780
+ const deferred = DEFERRED[context.preset];
5781
+ if (deferred !== void 0) {
5782
+ return {
5783
+ operations: [],
5784
+ skipped: `the test role defers ${context.preset} for now. It defers because ${deferred}.`
5785
+ };
5786
+ }
5777
5787
  const configFile = testConfigFile(context.cwd);
5778
5788
  const adoption = readTestAdoption(context.cwd);
5779
5789
  if (configFile === void 0) {
@@ -6957,6 +6967,12 @@ async function dispatch(opts) {
6957
6967
  }
6958
6968
  const detected = resolveFlavour(opts);
6959
6969
  const resolutionPreset = opts.preset ?? declaredPresetFor(opts.target, opts.cwd) ?? detected;
6970
+ if (resolutionPreset === "tools") {
6971
+ const message = `tools modules are not adopted one at a time: they sometimes hold configuration shared with the workspace root, so they move WITH the root, as one reviewed change owned by the tooling team rather than by the module's team.`;
6972
+ process.stderr.write(` ${palette(process.stderr).dim(`${opts.target}: ${message}`)}
6973
+ `);
6974
+ return 0;
6975
+ }
6960
6976
  const adapter = resolve(opts.target, resolutionPreset, opts.runner);
6961
6977
  const preset = opts.preset ?? adapter.declaredPreset?.(opts.cwd) ?? detected;
6962
6978
  if (opts.preset !== void 0) {
@@ -7042,4 +7058,4 @@ export {
7042
7058
  detectFramework,
7043
7059
  dispatch
7044
7060
  };
7045
- //# sourceMappingURL=chunk-DJAN2UTQ.js.map
7061
+ //# sourceMappingURL=chunk-XZLF7FBK.js.map
package/dist/index.js CHANGED
@@ -7,7 +7,7 @@ import {
7
7
  registerAdapters,
8
8
  resolve,
9
9
  setDefaultRunner
10
- } from "./chunk-DJAN2UTQ.js";
10
+ } from "./chunk-XZLF7FBK.js";
11
11
  export {
12
12
  BaseAdapter,
13
13
  all,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@hublo/sentinel",
3
- "version": "1.2.0-alpha.33",
3
+ "version": "1.2.0-alpha.34",
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",