@stll/oxlint-config 1.1.0 → 1.2.0

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.
@@ -1,4 +1,4 @@
1
- import { C as parseCloudSetup, S as nodeSupportRangeMatches, a as isPythonDependencyManifest, c as pythonDependencyManifestKind, d as isComposeDefinitionPath, f as isKubernetesDefinitionPath, g as hasCloudSessionStartHook, h as cloudSessionStartFix, i as isMiseConfigPath, l as toolchainInputKind, m as cloudClaudeSettingsPath, n as isDependabotGithubActionsPath, o as isShellScript, p as workspaceContains, r as isDockerDefinitionPath, s as javascriptDependencyLockfiles, t as githubAutomationFileKind, u as containerDocumentImages, v as cloudSetupPath, x as nodeSelectorMatches, y as generateCloudSetup } from "./toolchain-inputs.mjs";
1
+ import { C as nodeSelectorMatches, T as parseCloudSetup, _ as hasCloudAttribution, a as isPythonDependencyManifest, b as cloudSetupPath, c as pythonDependencyManifestKind, d as isComposeDefinitionPath, f as isKubernetesDefinitionPath, g as cloudSessionStartFix, h as cloudClaudeSettingsPath, i as isMiseConfigPath, l as toolchainInputKind, m as cloudAttributionFix, n as isDependabotGithubActionsPath, o as isShellScript, p as workspaceContains, r as isDockerDefinitionPath, s as javascriptDependencyLockfiles, t as githubAutomationFileKind, u as containerDocumentImages, v as hasCloudSessionStartHook, w as nodeSupportRangeMatches, x as generateCloudSetup } from "./toolchain-inputs.mjs";
2
2
  import { t as readGitTrackedOutput } from "./git-tracked-output.mjs";
3
3
  import { _ as parseConsumerFixtures, d as consumerPackageClosure, g as discoverConsumerPackages, i as assertConsumerFixtureKind, n as assertConsumerNodeSupport, o as assertConsumerFixtureSelection } from "./toolchain-schema.mjs";
4
4
  import { closeSync, lstatSync, openSync, readFileSync, readSync, realpathSync } from "node:fs";
@@ -10,7 +10,7 @@ import { LineCounter, isAlias, isMap, isNode, isScalar, isSeq, parseAllDocuments
10
10
  import picomatch from "picomatch";
11
11
  //#endregion
12
12
  //#region src/toolchain-consumer-checks.ts
13
- const consumerRunnerVersion = "1.1.0";
13
+ const consumerRunnerVersion = "1.2.0";
14
14
  const consumerCheckWorkflow = "stella/.github/.github/workflows/package-consumer-compat.yml";
15
15
  const record$7 = (value) => typeof value === "object" && value !== null && !Array.isArray(value);
16
16
  const repositoryDirectory = (value) => typeof value === "string" && value !== "" && !value.includes("\\") && !value.includes("${{") && !value.split("").some((character) => {
@@ -1873,7 +1873,9 @@ const checkRustReferences = (options) => {
1873
1873
  const version = tag === void 0 ? void 0 : rustImageVersion(tag);
1874
1874
  select(version, "Rust service image", lineOf(value));
1875
1875
  } else if (Array.isArray(value)) value.forEach(images);
1876
- else if (record$2(value)) Object.values(value).forEach(images);
1876
+ else if (record$2(value)) {
1877
+ for (const [key, entry] of Object.entries(value)) if (key !== "name") images(entry);
1878
+ }
1877
1879
  };
1878
1880
  try {
1879
1881
  images(JSON.parse(text));
@@ -3352,6 +3354,12 @@ const checkToolchain = ({ root, policy, onDelegated }) => {
3352
3354
  line: 1,
3353
3355
  message: `tracked Claude cloud SessionStart hook is missing, disabled or differs from shared policy; run stll-cloud-setup; if automatic merge is unsafe, ${cloudSessionStartFix}`
3354
3356
  });
3357
+ if (!hasCloudAttribution(files[".claude/settings.json"])) diagnostics.push({
3358
+ rule: "cloud-setup-drift",
3359
+ path: cloudClaudeSettingsPath,
3360
+ line: 1,
3361
+ message: `tracked Claude attribution is missing or differs from shared policy; run stll-cloud-setup; if automatic merge is unsafe, ${cloudAttributionFix}`
3362
+ });
3355
3363
  try {
3356
3364
  const nodeVersion = files[".node-version"];
3357
3365
  if (nodeVersion === void 0) throw new Error("cloud setup requires a tracked root .node-version with an exact stable release");