@stll/oxlint-config 1.6.2 → 1.8.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.
- package/README.md +4 -4
- package/dist/cloud-setup-cli.mjs +1 -1
- package/dist/consumer-compat-cli.cjs.map +1 -1
- package/dist/consumer-compat-cli.mjs.map +1 -1
- package/dist/consumer-node-support.mjs +1 -1
- package/dist/dependabot.d.cts +23 -7
- package/dist/dependabot.d.mts +23 -7
- package/dist/engine-support-cli.cjs.map +1 -1
- package/dist/engine-support-cli.mjs.map +1 -1
- package/dist/engine-support.d.cts +4 -5
- package/dist/engine-support.d.mts +4 -5
- package/dist/git-tracked-output.cjs.map +1 -1
- package/dist/git-tracked-output.mjs.map +1 -1
- package/dist/index.d.cts +11 -11
- package/dist/index.d.mts +11 -11
- package/dist/publish-artifact-syntax.cjs.map +1 -1
- package/dist/publish-artifact-syntax.mjs.map +1 -1
- package/dist/publish-build-target-nuxt-helper.d.cts +3 -4
- package/dist/publish-build-target-nuxt-helper.d.mts +3 -4
- package/dist/publish-build-target-vite-dts-helper.d.cts +2 -2
- package/dist/publish-build-target-vite-dts-helper.d.mts +2 -2
- package/dist/publish-build-target-vite-dts-helper2.cjs +47 -4
- package/dist/publish-build-target-vite-dts-helper2.cjs.map +1 -1
- package/dist/publish-build-target-vite-dts-helper2.mjs +47 -4
- package/dist/publish-build-target-vite-dts-helper2.mjs.map +1 -1
- package/dist/publish-contract-cli.cjs +2 -2
- package/dist/publish-contract-cli.cjs.map +1 -1
- package/dist/publish-contract-cli.mjs +2 -2
- package/dist/publish-contract-cli.mjs.map +1 -1
- package/dist/quarantine-policy.d.cts +9 -9
- package/dist/quarantine-policy.d.mts +9 -9
- package/dist/quarantine-policy2.cjs.map +1 -1
- package/dist/quarantine-policy2.mjs.map +1 -1
- package/dist/toolchain-changed.cjs +1 -3
- package/dist/toolchain-changed.cjs.map +1 -1
- package/dist/toolchain-changed.mjs +2 -4
- package/dist/toolchain-changed.mjs.map +1 -1
- package/dist/toolchain-dependabot.cjs +6 -3
- package/dist/toolchain-dependabot.cjs.map +1 -1
- package/dist/toolchain-dependabot.mjs +7 -4
- package/dist/toolchain-dependabot.mjs.map +1 -1
- package/dist/toolchain-guard.cjs +11 -4
- package/dist/toolchain-guard.cjs.map +1 -1
- package/dist/toolchain-guard.mjs +12 -5
- package/dist/toolchain-guard.mjs.map +1 -1
- package/dist/toolchain-inputs.cjs +159 -17
- package/dist/toolchain-inputs.cjs.map +1 -1
- package/dist/toolchain-inputs.mjs +148 -18
- package/dist/toolchain-inputs.mjs.map +1 -1
- package/dist/toolchain-schema.cjs +189 -1
- package/dist/toolchain-schema.cjs.map +1 -1
- package/dist/toolchain-schema.mjs +177 -3
- package/dist/toolchain-schema.mjs.map +1 -1
- package/dist/typecheck-parity.cjs.map +1 -1
- package/dist/typecheck-parity.mjs.map +1 -1
- package/dist/wasi-loader-normalizer-cli.cjs.map +1 -1
- package/dist/wasi-loader-normalizer-cli.mjs.map +1 -1
- package/package.json +6 -8
- package/toolchain.json +66 -19
package/dist/toolchain-guard.mjs
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { t as checkRepositoryQuarantine } from "./quarantine-policy2.mjs";
|
|
2
|
-
import {
|
|
2
|
+
import { C as cloudSetupPath, D as nodeSupportRangeMatches, E as nodeSelectorMatches, O as parseCloudSetup, _ as cloudAttributionFix, b as hasCloudAttribution, f as toolchainInputKind, g as workspaceContains, h as isKubernetesDefinitionPath, i as isDockerDefinitionPath, l as isShellScript, m as isComposeDefinitionPath, n as githubAutomationFileKind, p as containerDocumentImages, s as isMiseConfigPath, v as cloudClaudeSettingsPath, w as generateCloudSetup, x as hasCloudSessionStartHook, y as cloudSessionStartFix } from "./toolchain-inputs.mjs";
|
|
3
3
|
import { t as readGitTrackedOutput } from "./git-tracked-output.mjs";
|
|
4
4
|
import { a as assertConsumerFixtureSelection, g as parseConsumerFixtures, h as discoverConsumerPackages, m as discoverConsumerManifests, r as assertConsumerFixtureKind, t as assertConsumerNodeSupport, u as consumerPackageClosure } from "./consumer-node-support.mjs";
|
|
5
5
|
import { d as rustImageVersion, i as dependabotRules, n as declaredIgnoreConflicts, o as parseDependabotIgnores, t as checkDependabot, u as canonicalDockerRuntime } from "./toolchain-dependabot.mjs";
|
|
6
|
-
import "./toolchain-schema.mjs";
|
|
6
|
+
import { n as checkFormatter, r as formatterRule } from "./toolchain-schema.mjs";
|
|
7
7
|
import { createRequire } from "node:module";
|
|
8
8
|
import path, { extname } from "node:path";
|
|
9
9
|
import { closeSync, lstatSync, openSync, readFileSync, readSync, realpathSync } from "node:fs";
|
|
@@ -14,7 +14,7 @@ import { LineCounter, isAlias, isMap, isNode, isScalar, isSeq, parseAllDocuments
|
|
|
14
14
|
import picomatch from "picomatch";
|
|
15
15
|
//#endregion
|
|
16
16
|
//#region src/toolchain-consumer-checks.ts
|
|
17
|
-
const consumerRunnerVersion = "1.
|
|
17
|
+
const consumerRunnerVersion = "1.8.0";
|
|
18
18
|
const consumerCheckWorkflow = "stella/.github/.github/workflows/package-consumer-compat.yml";
|
|
19
19
|
const record$10 = (value) => typeof value === "object" && value !== null && !Array.isArray(value);
|
|
20
20
|
const repositoryDirectory = (value) => typeof value === "string" && value !== "" && !value.includes("\\") && !value.includes("${{") && !value.split("").some((character) => {
|
|
@@ -3884,6 +3884,7 @@ const toolchainRules = [.../* @__PURE__ */ new Set([
|
|
|
3884
3884
|
...runtimeRules,
|
|
3885
3885
|
...dependabotRules,
|
|
3886
3886
|
nodeProjectRule,
|
|
3887
|
+
formatterRule,
|
|
3887
3888
|
"cloud-setup-drift",
|
|
3888
3889
|
"quarantine-policy"
|
|
3889
3890
|
])];
|
|
@@ -4061,7 +4062,7 @@ const checkToolchain = ({ root, policy, onDelegated, onWarning, now }) => {
|
|
|
4061
4062
|
files,
|
|
4062
4063
|
policy
|
|
4063
4064
|
}));
|
|
4064
|
-
|
|
4065
|
+
const usesBun = Object.entries(files).some(([file, text]) => {
|
|
4065
4066
|
if (path.posix.basename(file) === "bun.lock") return true;
|
|
4066
4067
|
if (path.posix.basename(file) !== "package.json") return false;
|
|
4067
4068
|
try {
|
|
@@ -4070,7 +4071,13 @@ const checkToolchain = ({ root, policy, onDelegated, onWarning, now }) => {
|
|
|
4070
4071
|
} catch {
|
|
4071
4072
|
return false;
|
|
4072
4073
|
}
|
|
4073
|
-
})
|
|
4074
|
+
});
|
|
4075
|
+
diagnostics.push(...checkFormatter({
|
|
4076
|
+
files,
|
|
4077
|
+
policy: policy.formatter,
|
|
4078
|
+
usesBun
|
|
4079
|
+
}));
|
|
4080
|
+
if (usesBun || files["bunfig.toml"] !== void 0) try {
|
|
4074
4081
|
if (files["bunfig.toml"] === void 0) throw new Error("Bun repositories require a tracked root bunfig.toml with the five-day quarantine policy; use the documented pinned bunx stll-quarantine --sync bootstrap, then commit bunfig.toml");
|
|
4075
4082
|
const result = checkRepositoryQuarantine({
|
|
4076
4083
|
files,
|