@standards-kit/conform 0.3.0 → 0.3.2
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 +0 -9
- package/dist/{chunk-YKKWXHYS.js → chunk-AJIWBLUQ.js} +2 -5
- package/dist/chunk-AJIWBLUQ.js.map +1 -0
- package/dist/{chunk-DXIYZR62.js → chunk-G5AS4QBP.js} +1 -1
- package/dist/{chunk-RHM53NLG.js → chunk-HMNRMNEA.js} +1 -1
- package/dist/{chunk-RHM53NLG.js.map → chunk-HMNRMNEA.js.map} +1 -1
- package/dist/{chunk-M7G73Q6P.js → chunk-T2PWT2B5.js} +1 -1
- package/dist/chunk-T2PWT2B5.js.map +1 -0
- package/dist/{chunk-FJZMUGYW.js → chunk-UU6OT5O3.js} +32 -6
- package/dist/chunk-UU6OT5O3.js.map +1 -0
- package/dist/{chunk-J5S6GRGW.js → chunk-XZERDHOH.js} +2 -2
- package/dist/cli/index.d.ts +1 -1
- package/dist/cli/utils.d.ts +2 -4
- package/dist/cli.js +16 -16
- package/dist/cli.js.map +1 -1
- package/dist/constants.d.ts +0 -9
- package/dist/core/index.d.ts +0 -1
- package/dist/{core-LFX2BFLG.js → core-SAQ5O5IL.js} +6 -16
- package/dist/{generate-D4MFMOHP.js → generate-4EY6VETG.js} +3 -3
- package/dist/{iam-YXMHK2MV.js → iam-ZV3RA3JZ.js} +2 -2
- package/dist/index.d.ts +1 -1
- package/dist/index.js +9 -10
- package/dist/index.js.map +1 -1
- package/dist/infra/checkers/index.d.ts +0 -4
- package/dist/infra/schemas.d.ts +1 -1
- package/dist/{infra-RFEWGWPW.js → infra-OWKYLH3J.js} +10 -10
- package/dist/infra-OWKYLH3J.js.map +1 -0
- package/dist/{manifest-7AIL2FK2.js → manifest-CL4QMZT6.js} +2 -2
- package/dist/mcp/standards/matcher.d.ts +0 -9
- package/dist/mcp/standards/parser.d.ts +0 -4
- package/dist/{mcp-T2JFU4E2.js → mcp-6PRCC6P6.js} +6 -6
- package/dist/mcp-6PRCC6P6.js.map +1 -0
- package/dist/process/index.d.ts +1 -1
- package/dist/process/scan/remote-fetcher.d.ts +0 -2
- package/dist/process/tools/index.d.ts +0 -1
- package/dist/projects/templates.d.ts +0 -4
- package/dist/{registry-J2LVW3M2.js → registry-QYUYWBMY.js} +3 -3
- package/dist/{s3-S4GXNR7H.js → s3-3DJX6X5S.js} +4 -4
- package/dist/{s3-53UELUWT.js → s3-6YMTP5VV.js} +4 -4
- package/dist/{scan-BZH5IR3Z.js → scan-5QKYVHI6.js} +5 -5
- package/dist/scan-5QKYVHI6.js.map +1 -0
- package/dist/{standards-ALMA4VIU.js → standards-EGSQSDOD.js} +3 -9
- package/dist/{sync-EGJ2CSYK.js → sync-QMZDAV44.js} +4 -4
- package/dist/validate/guidelines.d.ts +0 -14
- package/dist/validate/index.d.ts +1 -2
- package/dist/{validate-X4K2SHYT.js → validate-OGNSVZO5.js} +5 -6
- package/dist/validate-OGNSVZO5.js.map +1 -0
- package/package.json +2 -2
- package/dist/chunk-FJZMUGYW.js.map +0 -1
- package/dist/chunk-M7G73Q6P.js.map +0 -1
- package/dist/chunk-YKKWXHYS.js.map +0 -1
- package/dist/infra-RFEWGWPW.js.map +0 -1
- package/dist/mcp-T2JFU4E2.js.map +0 -1
- package/dist/scan-BZH5IR3Z.js.map +0 -1
- package/dist/validate-X4K2SHYT.js.map +0 -1
- /package/dist/{chunk-DXIYZR62.js.map → chunk-G5AS4QBP.js.map} +0 -0
- /package/dist/{chunk-J5S6GRGW.js.map → chunk-XZERDHOH.js.map} +0 -0
- /package/dist/{core-LFX2BFLG.js.map → core-SAQ5O5IL.js.map} +0 -0
- /package/dist/{generate-D4MFMOHP.js.map → generate-4EY6VETG.js.map} +0 -0
- /package/dist/{iam-YXMHK2MV.js.map → iam-ZV3RA3JZ.js.map} +0 -0
- /package/dist/{manifest-7AIL2FK2.js.map → manifest-CL4QMZT6.js.map} +0 -0
- /package/dist/{registry-J2LVW3M2.js.map → registry-QYUYWBMY.js.map} +0 -0
- /package/dist/{s3-53UELUWT.js.map → s3-3DJX6X5S.js.map} +0 -0
- /package/dist/{s3-S4GXNR7H.js.map → s3-6YMTP5VV.js.map} +0 -0
- /package/dist/{standards-ALMA4VIU.js.map → standards-EGSQSDOD.js.map} +0 -0
- /package/dist/{sync-EGJ2CSYK.js.map → sync-QMZDAV44.js.map} +0 -0
package/dist/constants.d.ts
CHANGED
|
@@ -58,12 +58,3 @@ export declare const CONCURRENCY: {
|
|
|
58
58
|
/** Default concurrency for infrastructure resource checks */
|
|
59
59
|
readonly infraScan: 10;
|
|
60
60
|
};
|
|
61
|
-
/**
|
|
62
|
-
* Default threshold values
|
|
63
|
-
*/
|
|
64
|
-
export declare const DEFAULTS: {
|
|
65
|
-
/** Default backup max age in hours */
|
|
66
|
-
readonly backupMaxAgeHours: 24;
|
|
67
|
-
/** Default code coverage minimum threshold */
|
|
68
|
-
readonly coverageMinThreshold: 80;
|
|
69
|
-
};
|
package/dist/core/index.d.ts
CHANGED
|
@@ -4,4 +4,3 @@ export type { Config } from "./schema.js";
|
|
|
4
4
|
export { configSchema, defaultConfig, DEFAULT_FORBIDDEN_FILES_IGNORE } from "./schema.js";
|
|
5
5
|
export { CONFIG_FILE_NAME, ConfigError, findConfigFile, loadConfig, loadConfigAsync, loadConfigWithOverrides, getProjectRoot, } from "./loader.js";
|
|
6
6
|
export type { ConfigOverride } from "./loader.js";
|
|
7
|
-
export { parseRegistryUrl, fetchRegistry, loadRuleset, mergeConfigs, resolveExtends, } from "./registry.js";
|
|
@@ -3,25 +3,20 @@ import {
|
|
|
3
3
|
DomainResultBuilder,
|
|
4
4
|
ExitCode,
|
|
5
5
|
ViolationBuilder
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-G5AS4QBP.js";
|
|
7
7
|
import {
|
|
8
8
|
CONFIG_FILE_NAME,
|
|
9
9
|
ConfigError,
|
|
10
10
|
DEFAULT_FORBIDDEN_FILES_IGNORE,
|
|
11
11
|
configSchema,
|
|
12
12
|
defaultConfig,
|
|
13
|
-
fetchRegistry,
|
|
14
13
|
findConfigFile,
|
|
15
14
|
getProjectRoot,
|
|
16
15
|
loadConfig,
|
|
17
16
|
loadConfigAsync,
|
|
18
|
-
loadConfigWithOverrides
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
parseRegistryUrl,
|
|
22
|
-
resolveExtends
|
|
23
|
-
} from "./chunk-FJZMUGYW.js";
|
|
24
|
-
import "./chunk-RHM53NLG.js";
|
|
17
|
+
loadConfigWithOverrides
|
|
18
|
+
} from "./chunk-UU6OT5O3.js";
|
|
19
|
+
import "./chunk-HMNRMNEA.js";
|
|
25
20
|
export {
|
|
26
21
|
CONFIG_FILE_NAME,
|
|
27
22
|
CheckResultBuilder,
|
|
@@ -32,15 +27,10 @@ export {
|
|
|
32
27
|
ViolationBuilder,
|
|
33
28
|
configSchema,
|
|
34
29
|
defaultConfig,
|
|
35
|
-
fetchRegistry,
|
|
36
30
|
findConfigFile,
|
|
37
31
|
getProjectRoot,
|
|
38
32
|
loadConfig,
|
|
39
33
|
loadConfigAsync,
|
|
40
|
-
loadConfigWithOverrides
|
|
41
|
-
loadRuleset,
|
|
42
|
-
mergeConfigs,
|
|
43
|
-
parseRegistryUrl,
|
|
44
|
-
resolveExtends
|
|
34
|
+
loadConfigWithOverrides
|
|
45
35
|
};
|
|
46
|
-
//# sourceMappingURL=core-
|
|
36
|
+
//# sourceMappingURL=core-SAQ5O5IL.js.map
|
|
@@ -10,8 +10,8 @@ import {
|
|
|
10
10
|
parseStackExportMultiAccount,
|
|
11
11
|
readExistingManifest,
|
|
12
12
|
writeManifest
|
|
13
|
-
} from "./chunk-
|
|
14
|
-
import "./chunk-
|
|
13
|
+
} from "./chunk-XZERDHOH.js";
|
|
14
|
+
import "./chunk-T2PWT2B5.js";
|
|
15
15
|
export {
|
|
16
16
|
DEFAULT_MANIFEST_NAME,
|
|
17
17
|
generateManifestFromFile,
|
|
@@ -25,4 +25,4 @@ export {
|
|
|
25
25
|
readExistingManifest,
|
|
26
26
|
writeManifest
|
|
27
27
|
};
|
|
28
|
-
//# sourceMappingURL=generate-
|
|
28
|
+
//# sourceMappingURL=generate-4EY6VETG.js.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AWS_DEFAULTS
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-HMNRMNEA.js";
|
|
4
4
|
|
|
5
5
|
// src/infra/checkers/iam.ts
|
|
6
6
|
import { GetPolicyCommand, GetRoleCommand, IAMClient } from "@aws-sdk/client-iam";
|
|
@@ -97,4 +97,4 @@ async function checkPolicy(policyArn) {
|
|
|
97
97
|
export {
|
|
98
98
|
IAMChecker
|
|
99
99
|
};
|
|
100
|
-
//# sourceMappingURL=iam-
|
|
100
|
+
//# sourceMappingURL=iam-ZV3RA3JZ.js.map
|
package/dist/index.d.ts
CHANGED
|
@@ -5,7 +5,7 @@ export type { CheckResult, DomainResult, DomainStatus, ExitCodeType, FullResult,
|
|
|
5
5
|
export { CheckResultBuilder, DomainResultBuilder, ExitCode, ViolationBuilder, } from "./core/index.js";
|
|
6
6
|
export { type Config, ConfigError, configSchema, defaultConfig, findConfigFile, getProjectRoot, loadConfig, } from "./core/index.js";
|
|
7
7
|
export { auditCodeConfig, BaseToolRunner, ESLintRunner, KnipRunner, NamingRunner, RuffRunner, runCodeChecks, TscRunner, TyRunner, VultureRunner, } from "./code/index.js";
|
|
8
|
-
export { auditProcessConfig,
|
|
8
|
+
export { auditProcessConfig, HooksRunner, runProcessChecks, } from "./process/index.js";
|
|
9
9
|
export { type RemoteRepoInfo, type ScanOptions, scanRepository, type ScanResult, validateProcess, type ValidateProcessOptions, type ValidateProcessResult, } from "./process/scan/index.js";
|
|
10
10
|
export { formatJson, formatOutput, formatText, type OutputFormat } from "./output/index.js";
|
|
11
11
|
export { type DependenciesOptions, type DependenciesResult, getDependencies, } from "./dependencies/index.js";
|
package/dist/index.js
CHANGED
|
@@ -10,13 +10,13 @@ import {
|
|
|
10
10
|
parseStackExportMultiAccount,
|
|
11
11
|
readExistingManifest,
|
|
12
12
|
writeManifest
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-XZERDHOH.js";
|
|
14
14
|
import {
|
|
15
15
|
CheckResultBuilder,
|
|
16
16
|
DomainResultBuilder,
|
|
17
17
|
ExitCode,
|
|
18
18
|
ViolationBuilder
|
|
19
|
-
} from "./chunk-
|
|
19
|
+
} from "./chunk-G5AS4QBP.js";
|
|
20
20
|
import {
|
|
21
21
|
ConfigError,
|
|
22
22
|
DEFAULT_FORBIDDEN_FILES_IGNORE,
|
|
@@ -26,7 +26,7 @@ import {
|
|
|
26
26
|
getProjectRoot,
|
|
27
27
|
loadConfig,
|
|
28
28
|
loadConfigAsync
|
|
29
|
-
} from "./chunk-
|
|
29
|
+
} from "./chunk-UU6OT5O3.js";
|
|
30
30
|
import {
|
|
31
31
|
AccountIdSchema,
|
|
32
32
|
AccountKeySchema,
|
|
@@ -70,7 +70,7 @@ import {
|
|
|
70
70
|
validateManifest,
|
|
71
71
|
validateMultiAccountManifest,
|
|
72
72
|
validateStackExport
|
|
73
|
-
} from "./chunk-
|
|
73
|
+
} from "./chunk-T2PWT2B5.js";
|
|
74
74
|
import {
|
|
75
75
|
AWS_DEFAULTS,
|
|
76
76
|
CACHE,
|
|
@@ -78,7 +78,7 @@ import {
|
|
|
78
78
|
GITHUB_API,
|
|
79
79
|
STANDARDS_REPO,
|
|
80
80
|
TIMEOUTS
|
|
81
|
-
} from "./chunk-
|
|
81
|
+
} from "./chunk-HMNRMNEA.js";
|
|
82
82
|
|
|
83
83
|
// src/code/tools/base.ts
|
|
84
84
|
import * as fs from "fs";
|
|
@@ -6663,7 +6663,7 @@ async function scanRepository(repo, config) {
|
|
|
6663
6663
|
return aggregateResults(repoInfo, [rulesetsResult, filesResult]);
|
|
6664
6664
|
}
|
|
6665
6665
|
async function validateProcess(options) {
|
|
6666
|
-
const { loadConfigAsync: loadConfigAsync2 } = await import("./core-
|
|
6666
|
+
const { loadConfigAsync: loadConfigAsync2 } = await import("./core-SAQ5O5IL.js");
|
|
6667
6667
|
const { config } = await loadConfigAsync2(options.config);
|
|
6668
6668
|
const result = await scanRepository(options.repo, config);
|
|
6669
6669
|
const fs22 = await import("fs");
|
|
@@ -7575,7 +7575,7 @@ function createListGuidelinesHandler(source) {
|
|
|
7575
7575
|
// src/mcp/server.ts
|
|
7576
7576
|
function createServer(options = {}) {
|
|
7577
7577
|
const server = new McpServer({
|
|
7578
|
-
name: "
|
|
7578
|
+
name: "standards",
|
|
7579
7579
|
version: "1.0.0"
|
|
7580
7580
|
});
|
|
7581
7581
|
const { standardsSource } = options;
|
|
@@ -7636,12 +7636,12 @@ function isSupportedService(service) {
|
|
|
7636
7636
|
return SUPPORTED_SERVICES.includes(service);
|
|
7637
7637
|
}
|
|
7638
7638
|
var checkerFactories = {
|
|
7639
|
-
s3: async () => (await import("./s3-
|
|
7639
|
+
s3: async () => (await import("./s3-3DJX6X5S.js")).S3Checker,
|
|
7640
7640
|
lambda: async () => (await import("./lambda-YTJOCYV5.js")).LambdaChecker,
|
|
7641
7641
|
dynamodb: async () => (await import("./dynamodb-HQH3IMAI.js")).DynamoDBChecker,
|
|
7642
7642
|
sqs: async () => (await import("./sqs-MHBW6UFC.js")).SQSChecker,
|
|
7643
7643
|
sns: async () => (await import("./sns-RV64OMK2.js")).SNSChecker,
|
|
7644
|
-
iam: async () => (await import("./iam-
|
|
7644
|
+
iam: async () => (await import("./iam-ZV3RA3JZ.js")).IAMChecker,
|
|
7645
7645
|
secretsmanager: async () => (await import("./secretsmanager-FJKTPIXI.js")).SecretsManagerChecker,
|
|
7646
7646
|
logs: async () => (await import("./cloudwatch-3LTDYG6G.js")).CloudWatchLogsChecker,
|
|
7647
7647
|
ecs: async () => (await import("./ecs-UHKCH5A7.js")).ECSChecker,
|
|
@@ -7862,7 +7862,6 @@ export {
|
|
|
7862
7862
|
AccountIdSchema,
|
|
7863
7863
|
AccountKeySchema,
|
|
7864
7864
|
ArnSchema,
|
|
7865
|
-
BaseProcessToolRunner,
|
|
7866
7865
|
BaseToolRunner,
|
|
7867
7866
|
CheckResultBuilder,
|
|
7868
7867
|
CloudProviderSchema,
|