@scarn/sdk 0.0.0 → 0.8.1
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/{chunk-4361gxk0.js → chunk-0y2fy5en.js} +7 -7
- package/dist/{chunk-rq3q8vg7.js → chunk-102vfpw4.js} +74 -69
- package/dist/{chunk-91p9vzcs.js → chunk-3ctaaseb.js} +405 -402
- package/dist/{chunk-9s07v9r1.js → chunk-4ggr8af6.js} +8 -8
- package/dist/chunk-5zsavw98.js +91 -0
- package/dist/chunk-63f90zky.js +39 -0
- package/dist/{chunk-tfm5hjzm.js → chunk-700xe701.js} +9 -9
- package/dist/{chunk-njd6npf0.js → chunk-ar6hcj1r.js} +6 -6
- package/dist/chunk-cdanncng.js +74 -0
- package/dist/chunk-dp86pa6m.js +68 -0
- package/dist/chunk-e1h021kq.js +86 -0
- package/dist/{chunk-ny07ncb9.js → chunk-gds7w7zh.js} +35 -35
- package/dist/chunk-k4y5qt4y.js +14 -0
- package/dist/{chunk-eg1hcvhb.js → chunk-mz53r914.js} +16 -16
- package/dist/{chunk-631ffb6r.js → chunk-ngy1fdcx.js} +10 -10
- package/dist/chunk-p7yrcmqm.js +322 -0
- package/dist/{chunk-h9yxx0hd.js → chunk-rt9tq4j6.js} +7 -7
- package/dist/{chunk-dnn39qt4.js → chunk-skzxcba3.js} +2960 -2217
- package/dist/{chunk-ynk2bjae.js → chunk-vfeytkqx.js} +89 -88
- package/dist/{chunk-56e4kp0a.js → chunk-y2pv8d6a.js} +19 -19
- package/dist/chunk-y64skrwp.js +17 -0
- package/dist/{chunk-qpw5wt1p.js → chunk-zm72ksz0.js} +26 -27
- package/dist/client.js +53 -52
- package/dist/contracts/artifact-markers.js +12 -11
- package/dist/contracts/artifacts.js +23 -21
- package/dist/contracts/pipeline-document/index.js +94 -92
- package/dist/contracts/step-artifact-submissions.js +17 -20
- package/dist/defaults/index.js +140 -139
- package/dist/definitions/pipelines/index.js +22 -20
- package/dist/definitions/steps/index.js +70 -67
- package/dist/definitions/validation/index.js +15 -13
- package/dist/devcontainer-config-path.js +11 -9
- package/dist/env-vars.js +33 -31
- package/dist/eslint.js +2 -0
- package/dist/generated/types.gen.d.ts +7 -0
- package/dist/git-url/git-repo-identity.js +2 -0
- package/dist/health-checks.js +17 -15
- package/dist/index.js +280 -277
- package/dist/jsonc.js +8 -7
- package/dist/managed-runtimes.js +11 -9
- package/dist/opencode-mcp.js +27 -25
- package/dist/pipelines/index.js +78 -75
- package/dist/pipelines/nodes.d.ts +1 -0
- package/dist/push/code-step-lookup.js +8 -7
- package/dist/push/index.js +51 -52
- package/dist/repo-config.js +21 -19
- package/dist/scarn-config-parser.js +6 -5
- package/package.json +1 -1
- package/dist/chunk-4vehh3dq.js +0 -333
- package/dist/chunk-5mmj03ah.js +0 -1074
- package/dist/chunk-b21233rt.js +0 -78
- package/dist/chunk-g0rdnn0r.js +0 -95
- package/dist/chunk-p6kc9wq8.js +0 -97
- package/dist/chunk-s0gap8r8.js +0 -14
- package/dist/chunk-zpqyjgb4.js +0 -49
package/dist/pipelines/index.js
CHANGED
|
@@ -1,80 +1,83 @@
|
|
|
1
1
|
// @bun
|
|
2
2
|
import {
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
} from "../chunk-
|
|
38
|
-
import"../chunk-
|
|
3
|
+
after,
|
|
4
|
+
all,
|
|
5
|
+
any,
|
|
6
|
+
avg,
|
|
7
|
+
before,
|
|
8
|
+
contains,
|
|
9
|
+
count,
|
|
10
|
+
decision,
|
|
11
|
+
definePipeline,
|
|
12
|
+
each,
|
|
13
|
+
endsWith,
|
|
14
|
+
equal,
|
|
15
|
+
every,
|
|
16
|
+
exists,
|
|
17
|
+
fail,
|
|
18
|
+
greaterThan,
|
|
19
|
+
greaterThanInclusive,
|
|
20
|
+
isEmpty,
|
|
21
|
+
lessThan,
|
|
22
|
+
lessThanInclusive,
|
|
23
|
+
matches,
|
|
24
|
+
max,
|
|
25
|
+
min,
|
|
26
|
+
none,
|
|
27
|
+
not,
|
|
28
|
+
notEqual,
|
|
29
|
+
reply,
|
|
30
|
+
some,
|
|
31
|
+
startsWith,
|
|
32
|
+
stepRef,
|
|
33
|
+
succeed,
|
|
34
|
+
sum,
|
|
35
|
+
workItem,
|
|
36
|
+
workItemField
|
|
37
|
+
} from "../chunk-102vfpw4.js";
|
|
38
|
+
import"../chunk-p7yrcmqm.js";
|
|
39
39
|
import {
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
} from "../chunk-
|
|
40
|
+
PipelineBuildError,
|
|
41
|
+
formatIssue
|
|
42
|
+
} from "../chunk-mz53r914.js";
|
|
43
|
+
import"../chunk-dp86pa6m.js";
|
|
44
|
+
import"../chunk-skzxcba3.js";
|
|
45
|
+
import"../chunk-y64skrwp.js";
|
|
43
46
|
export {
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
47
|
+
PipelineBuildError,
|
|
48
|
+
after,
|
|
49
|
+
all,
|
|
50
|
+
any,
|
|
51
|
+
avg,
|
|
52
|
+
before,
|
|
53
|
+
contains,
|
|
54
|
+
count,
|
|
55
|
+
decision,
|
|
56
|
+
definePipeline,
|
|
57
|
+
each,
|
|
58
|
+
endsWith,
|
|
59
|
+
equal,
|
|
60
|
+
every,
|
|
61
|
+
exists,
|
|
62
|
+
fail,
|
|
63
|
+
formatIssue,
|
|
64
|
+
greaterThan,
|
|
65
|
+
greaterThanInclusive,
|
|
66
|
+
isEmpty,
|
|
67
|
+
lessThan,
|
|
68
|
+
lessThanInclusive,
|
|
69
|
+
matches,
|
|
70
|
+
max,
|
|
71
|
+
min,
|
|
72
|
+
none,
|
|
73
|
+
not,
|
|
74
|
+
notEqual,
|
|
75
|
+
reply,
|
|
76
|
+
some,
|
|
77
|
+
startsWith,
|
|
78
|
+
stepRef,
|
|
79
|
+
succeed,
|
|
80
|
+
sum,
|
|
81
|
+
workItem,
|
|
82
|
+
workItemField
|
|
80
83
|
};
|
|
@@ -45,6 +45,7 @@ export declare function stepRef<TInput = unknown, TResult = unknown, TErrors ext
|
|
|
45
45
|
/** Work-item data, readable anywhere. */
|
|
46
46
|
export declare const workItem: {
|
|
47
47
|
readonly title: Placeholder<string>;
|
|
48
|
+
readonly description: Placeholder<string | null>;
|
|
48
49
|
};
|
|
49
50
|
/**
|
|
50
51
|
* A work-item form field, as `workItem.fields.<alias>`. `label` is the form
|
|
@@ -1,11 +1,12 @@
|
|
|
1
1
|
// @bun
|
|
2
2
|
import {
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
} from "../chunk-
|
|
3
|
+
findCodeStepInModule,
|
|
4
|
+
isStepDefinitionSpec,
|
|
5
|
+
stepsInModule
|
|
6
|
+
} from "../chunk-ar6hcj1r.js";
|
|
7
|
+
import"../chunk-y64skrwp.js";
|
|
7
8
|
export {
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
9
|
+
findCodeStepInModule,
|
|
10
|
+
isStepDefinitionSpec,
|
|
11
|
+
stepsInModule
|
|
11
12
|
};
|
package/dist/push/index.js
CHANGED
|
@@ -1,41 +1,40 @@
|
|
|
1
1
|
// @bun
|
|
2
|
-
import"../chunk-eg1hcvhb.js";
|
|
3
2
|
import {
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
} from "../chunk-njd6npf0.js";
|
|
3
|
+
assertValidDefinitionSpecs
|
|
4
|
+
} from "../chunk-gds7w7zh.js";
|
|
7
5
|
import {
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
} from "../chunk-
|
|
6
|
+
isStepDefinitionSpec,
|
|
7
|
+
stepsInModule
|
|
8
|
+
} from "../chunk-ar6hcj1r.js";
|
|
11
9
|
import {
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
import"../chunk-
|
|
19
|
-
import"../chunk-
|
|
20
|
-
import"../chunk-
|
|
21
|
-
import"../chunk-
|
|
22
|
-
import"../chunk-
|
|
23
|
-
import"../chunk-
|
|
10
|
+
createStepDefinitionsClient,
|
|
11
|
+
toStepSpec
|
|
12
|
+
} from "../chunk-3ctaaseb.js";
|
|
13
|
+
import"../chunk-mz53r914.js";
|
|
14
|
+
import"../chunk-5zsavw98.js";
|
|
15
|
+
import"../chunk-4ggr8af6.js";
|
|
16
|
+
import"../chunk-k4y5qt4y.js";
|
|
17
|
+
import"../chunk-cdanncng.js";
|
|
18
|
+
import"../chunk-e1h021kq.js";
|
|
19
|
+
import"../chunk-63f90zky.js";
|
|
20
|
+
import"../chunk-ngy1fdcx.js";
|
|
21
|
+
import"../chunk-y2pv8d6a.js";
|
|
22
|
+
import"../chunk-dp86pa6m.js";
|
|
24
23
|
import {
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
24
|
+
DEFAULT_PIPELINE_ASSIGNMENT_FILENAME,
|
|
25
|
+
PipelineDefinitionsApiError,
|
|
26
|
+
createPipelineDefinitionsClient,
|
|
27
|
+
isDefaultPipelineAssignmentSpec,
|
|
28
|
+
serializeDefaultPipelineAssignment
|
|
29
|
+
} from "../chunk-zm72ksz0.js";
|
|
30
30
|
import {
|
|
31
|
-
|
|
32
|
-
|
|
31
|
+
Projects,
|
|
32
|
+
createClient
|
|
33
|
+
} from "../chunk-vfeytkqx.js";
|
|
33
34
|
import {
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
looseObject
|
|
38
|
-
} from "../chunk-dnn39qt4.js";
|
|
35
|
+
exports_external
|
|
36
|
+
} from "../chunk-skzxcba3.js";
|
|
37
|
+
import"../chunk-y64skrwp.js";
|
|
39
38
|
|
|
40
39
|
// src/push/collect-definitions.ts
|
|
41
40
|
import { existsSync, readdirSync } from "fs";
|
|
@@ -70,11 +69,11 @@ function registerCodeStep(state, spec, sourceFile) {
|
|
|
70
69
|
}
|
|
71
70
|
function resolveCodeStepEntrypoint(spec, absoluteFilePath, absDir) {
|
|
72
71
|
if (spec.kind !== "code")
|
|
73
|
-
return
|
|
72
|
+
return toStepSpec(spec);
|
|
74
73
|
if (!spec.entrypoint?.fn) {
|
|
75
74
|
throw new Error(`Code step "${spec.key}" (kind: "code") has no entrypoint.fn. ` + `Build it with codeStep({ fn, ... }) from "@scarn/sdk/definitions/steps".`);
|
|
76
75
|
}
|
|
77
|
-
const resolved =
|
|
76
|
+
const resolved = toStepSpec(spec);
|
|
78
77
|
delete resolved.entrypoint;
|
|
79
78
|
resolved.entrypointJson = {
|
|
80
79
|
sourceFile: join(PIPELINE_BUILDER_DIR, relative(absDir, absoluteFilePath))
|
|
@@ -86,18 +85,18 @@ async function importModule(path) {
|
|
|
86
85
|
}
|
|
87
86
|
function listSourceFiles(absDir) {
|
|
88
87
|
const allFiles = readdirSync(absDir).filter((file) => file.endsWith(".ts") || file.endsWith(".js"));
|
|
89
|
-
return allFiles.filter((file) => !INTERNAL_SCRIPT_NAMES.has(file) && file !==
|
|
88
|
+
return allFiles.filter((file) => !INTERNAL_SCRIPT_NAMES.has(file) && file !== DEFAULT_PIPELINE_ASSIGNMENT_FILENAME);
|
|
90
89
|
}
|
|
91
90
|
function fileNameWithoutExtension(file) {
|
|
92
91
|
return file.replace(/\.(ts|js)$/, "");
|
|
93
92
|
}
|
|
94
93
|
async function collectFile(absoluteFilePath, absDir, state) {
|
|
95
94
|
const mod = await importModule(absoluteFilePath);
|
|
96
|
-
for (const step of
|
|
95
|
+
for (const step of stepsInModule(mod)) {
|
|
97
96
|
registerCodeStep(state, step, absoluteFilePath);
|
|
98
97
|
}
|
|
99
98
|
for (const [exportName, value] of Object.entries(mod)) {
|
|
100
|
-
if (exportName === "default" || !
|
|
99
|
+
if (exportName === "default" || !isStepDefinitionSpec(value))
|
|
101
100
|
continue;
|
|
102
101
|
const resolved = resolveCodeStepEntrypoint(value, absoluteFilePath, absDir);
|
|
103
102
|
state.stepMap.set(`${resolved.key}@v${String(resolved.version)}`, resolved);
|
|
@@ -135,7 +134,7 @@ async function collectDefinitionsFromDirectoryTolerant(dir) {
|
|
|
135
134
|
defaultPipelineAssignment = await collectDefaultPipelineAssignment(absDir);
|
|
136
135
|
} catch (error) {
|
|
137
136
|
brokenPipelines.push({
|
|
138
|
-
key: fileNameWithoutExtension(
|
|
137
|
+
key: fileNameWithoutExtension(DEFAULT_PIPELINE_ASSIGNMENT_FILENAME),
|
|
139
138
|
message: error instanceof Error ? error.message : String(error)
|
|
140
139
|
});
|
|
141
140
|
}
|
|
@@ -146,13 +145,13 @@ async function collectDefinitionsFromDirectoryTolerant(dir) {
|
|
|
146
145
|
};
|
|
147
146
|
}
|
|
148
147
|
async function collectDefaultPipelineAssignment(absDir) {
|
|
149
|
-
const path = join(absDir,
|
|
148
|
+
const path = join(absDir, DEFAULT_PIPELINE_ASSIGNMENT_FILENAME);
|
|
150
149
|
if (!existsSync(path))
|
|
151
150
|
return null;
|
|
152
151
|
const mod = await importModule(path);
|
|
153
152
|
const spec = mod["default"];
|
|
154
|
-
if (!
|
|
155
|
-
throw new Error(`${
|
|
153
|
+
if (!isDefaultPipelineAssignmentSpec(spec)) {
|
|
154
|
+
throw new Error(`${DEFAULT_PIPELINE_ASSIGNMENT_FILENAME} must have a default export produced by defaultPipelineAssignment(({ assign, skip, ... }) => ({ default: ..., rules: [...] })). Got: ${typeof spec}`);
|
|
156
155
|
}
|
|
157
156
|
return spec;
|
|
158
157
|
}
|
|
@@ -166,10 +165,10 @@ var NON_PIPELINE_JSON = new Set([
|
|
|
166
165
|
"jsconfig.json",
|
|
167
166
|
"deno.json"
|
|
168
167
|
]);
|
|
169
|
-
var pipelineDocumentSchema = looseObject({ nodes: unknown() });
|
|
170
|
-
var documentHeaderSchema = object({
|
|
171
|
-
key: string().min(1),
|
|
172
|
-
title: string().optional()
|
|
168
|
+
var pipelineDocumentSchema = exports_external.looseObject({ nodes: exports_external.unknown() });
|
|
169
|
+
var documentHeaderSchema = exports_external.object({
|
|
170
|
+
key: exports_external.string().min(1),
|
|
171
|
+
title: exports_external.string().optional()
|
|
173
172
|
});
|
|
174
173
|
function collectPipelineDocuments(dir) {
|
|
175
174
|
const absDir = resolve2(dir);
|
|
@@ -210,13 +209,13 @@ async function pushFromDirectory(dir, opts) {
|
|
|
210
209
|
const { steps } = collected;
|
|
211
210
|
const documents = collectPipelineDocuments(dir);
|
|
212
211
|
log(`Found ${String(steps.length)} step(s) and ${String(documents.length)} pipeline document(s).`);
|
|
213
|
-
|
|
214
|
-
const stepsClient =
|
|
212
|
+
assertValidDefinitionSpecs(steps);
|
|
213
|
+
const stepsClient = createStepDefinitionsClient(opts.baseUrl);
|
|
215
214
|
for (const spec of steps) {
|
|
216
215
|
await stepsClient.upsertFromSpec(opts.projectId, spec, { headers });
|
|
217
216
|
log(`\u2713 step ${spec.key} v${String(spec.version)} \u2192 upserted`);
|
|
218
217
|
}
|
|
219
|
-
const pipelinesClient =
|
|
218
|
+
const pipelinesClient = createPipelineDefinitionsClient(opts.baseUrl);
|
|
220
219
|
const publishedPipelines = [];
|
|
221
220
|
const unchangedPipelines = [];
|
|
222
221
|
if (documents.length > 0) {
|
|
@@ -247,7 +246,7 @@ async function publishPipelineDocument({ file, key, title, document }, pipelineD
|
|
|
247
246
|
log(result.published ? `\u2713 pipeline ${key} v${version} \u2192 published (${file})` : `\u2713 pipeline ${key} v${version} \u2192 unchanged (${file})`);
|
|
248
247
|
return result.published;
|
|
249
248
|
} catch (error) {
|
|
250
|
-
if (error instanceof
|
|
249
|
+
if (error instanceof PipelineDefinitionsApiError) {
|
|
251
250
|
const issues = error.issues.map((issue) => issue.hint === undefined ? ` ${issue.path || "/"}: ${issue.message}` : ` ${issue.path || "/"}: ${issue.message}. ${issue.hint}`);
|
|
252
251
|
throw new Error([`Could not publish ${file}: ${error.message}`, ...issues].join(`
|
|
253
252
|
`), { cause: error });
|
|
@@ -256,7 +255,7 @@ async function publishPipelineDocument({ file, key, title, document }, pipelineD
|
|
|
256
255
|
}
|
|
257
256
|
}
|
|
258
257
|
async function syncDefaultPipelineAssignment(spec, opts, headers, pipelinesClient, log) {
|
|
259
|
-
const serialized =
|
|
258
|
+
const serialized = serializeDefaultPipelineAssignment(spec);
|
|
260
259
|
const serverPipelines = await pipelinesClient.listByProjectId(opts.projectId, {
|
|
261
260
|
headers
|
|
262
261
|
});
|
|
@@ -270,7 +269,7 @@ async function syncDefaultPipelineAssignment(spec, opts, headers, pipelinesClien
|
|
|
270
269
|
}
|
|
271
270
|
for (const key of referencedKeys) {
|
|
272
271
|
if (!pipelineKeyToId.has(key)) {
|
|
273
|
-
throw new Error(`${
|
|
272
|
+
throw new Error(`${DEFAULT_PIPELINE_ASSIGNMENT_FILENAME} references pipeline "${key}", ` + `but no pipeline with that key was found on the server. ` + `Run \`scarn pipelines build\` to write ${key}.json next to its source, then push again.`);
|
|
274
273
|
}
|
|
275
274
|
}
|
|
276
275
|
const pipelineDefinitionId = pipelineKeyToId.get(serialized.pipelineDefinitionKey);
|
|
@@ -282,7 +281,7 @@ async function syncDefaultPipelineAssignment(spec, opts, headers, pipelinesClien
|
|
|
282
281
|
const pKey = rule.event.params["pipelineKey"];
|
|
283
282
|
const pId = pipelineKeyToId.get(pKey);
|
|
284
283
|
if (!pId) {
|
|
285
|
-
throw new Error(`${
|
|
284
|
+
throw new Error(`${DEFAULT_PIPELINE_ASSIGNMENT_FILENAME} assign() references pipeline "${pKey}" ` + `which was not found on the server.`);
|
|
286
285
|
}
|
|
287
286
|
return {
|
|
288
287
|
...rule,
|
|
@@ -297,7 +296,7 @@ async function syncDefaultPipelineAssignment(spec, opts, headers, pipelinesClien
|
|
|
297
296
|
}
|
|
298
297
|
return rule;
|
|
299
298
|
});
|
|
300
|
-
const projectsClient = new
|
|
299
|
+
const projectsClient = new Projects({
|
|
301
300
|
client: createClient({ baseUrl: opts.baseUrl })
|
|
302
301
|
});
|
|
303
302
|
const result = await projectsClient.updateProjectDefaultPipelineAssignment({
|
package/dist/repo-config.js
CHANGED
|
@@ -1,23 +1,25 @@
|
|
|
1
1
|
// @bun
|
|
2
2
|
import {
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
} from "./chunk-
|
|
3
|
+
MAX_REPO_COMMIT_MESSAGE_LENGTH,
|
|
4
|
+
REPO_COMMIT_MESSAGE_TOKEN_ROOTS,
|
|
5
|
+
REPO_RUNTIME_SUPPORT,
|
|
6
|
+
findDisallowedCommitMessageTokenRoots,
|
|
7
|
+
repoCommitMessageSchema,
|
|
8
|
+
repoConfigInputSchema,
|
|
9
|
+
repoConfigSchema,
|
|
10
|
+
repoRuntimeMismatch,
|
|
11
|
+
resolveRepoConfig
|
|
12
|
+
} from "./chunk-cdanncng.js";
|
|
13
|
+
import"./chunk-skzxcba3.js";
|
|
14
|
+
import"./chunk-y64skrwp.js";
|
|
13
15
|
export {
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
16
|
+
MAX_REPO_COMMIT_MESSAGE_LENGTH,
|
|
17
|
+
REPO_COMMIT_MESSAGE_TOKEN_ROOTS,
|
|
18
|
+
REPO_RUNTIME_SUPPORT,
|
|
19
|
+
findDisallowedCommitMessageTokenRoots,
|
|
20
|
+
repoCommitMessageSchema,
|
|
21
|
+
repoConfigInputSchema,
|
|
22
|
+
repoConfigSchema,
|
|
23
|
+
repoRuntimeMismatch,
|
|
24
|
+
resolveRepoConfig
|
|
23
25
|
};
|
|
@@ -1,9 +1,10 @@
|
|
|
1
1
|
// @bun
|
|
2
2
|
import {
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
} from "./chunk-
|
|
3
|
+
SCARN_CONFIG_RELATIVE_PATH,
|
|
4
|
+
parseScarnConfig
|
|
5
|
+
} from "./chunk-0y2fy5en.js";
|
|
6
|
+
import"./chunk-y64skrwp.js";
|
|
6
7
|
export {
|
|
7
|
-
|
|
8
|
-
|
|
8
|
+
SCARN_CONFIG_RELATIVE_PATH,
|
|
9
|
+
parseScarnConfig
|
|
9
10
|
};
|