@postman/sdk-config 0.13.0 → 0.14.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/dist/index.cjs +12 -3
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +12 -3
- package/dist/index.js.map +1 -1
- package/dist/sdk-config/index.cjs +8 -3
- package/dist/sdk-config/index.cjs.map +1 -1
- package/dist/sdk-config/index.js +8 -3
- package/dist/sdk-config/index.js.map +1 -1
- package/dist/sdk-config/v1/index.cjs +8 -3
- package/dist/sdk-config/v1/index.cjs.map +1 -1
- package/dist/sdk-config/v1/index.d.cts +29 -0
- package/dist/sdk-config/v1/index.d.ts +29 -0
- package/dist/sdk-config/v1/index.js +8 -3
- package/dist/sdk-config/v1/index.js.map +1 -1
- package/dist/sdk-config-ir/index.cjs +4 -0
- package/dist/sdk-config-ir/index.cjs.map +1 -1
- package/dist/sdk-config-ir/index.js +4 -0
- package/dist/sdk-config-ir/index.js.map +1 -1
- package/dist/sdk-config-ir/v1/index.cjs +4 -0
- package/dist/sdk-config-ir/v1/index.cjs.map +1 -1
- package/dist/sdk-config-ir/v1/index.d.cts +3 -0
- package/dist/sdk-config-ir/v1/index.d.ts +3 -0
- package/dist/sdk-config-ir/v1/index.js +4 -0
- package/dist/sdk-config-ir/v1/index.js.map +1 -1
- package/package.json +1 -1
- package/src/sdk-config/v1/README.md +3 -1
package/dist/sdk-config/index.js
CHANGED
|
@@ -1272,7 +1272,8 @@ function githubOutput(value, publishInfo, rawOutput, language, sourcePath, state
|
|
|
1272
1272
|
const reviewers = mapReviewers(value.reviewers, [...sourcePath, "reviewers"], state);
|
|
1273
1273
|
if (type) consume(state, [...sourcePath, "type"]);
|
|
1274
1274
|
if (typeof value.makePr === "boolean") consume(state, [...sourcePath, "makePr"]);
|
|
1275
|
-
|
|
1275
|
+
const workflows = typeof value.workflows === "boolean" ? value.workflows : void 0;
|
|
1276
|
+
if (workflows !== void 0) consume(state, [...sourcePath, "workflows"]);
|
|
1276
1277
|
if (stringValue(value.host)) consume(state, [...sourcePath, "host"]);
|
|
1277
1278
|
if (stringValue(value.branch)) consume(state, [...sourcePath, "branch"]);
|
|
1278
1279
|
consumeCredentialObject(value.credentials, [...sourcePath, "credentials"], state);
|
|
@@ -1292,7 +1293,8 @@ function githubOutput(value, publishInfo, rawOutput, language, sourcePath, state
|
|
|
1292
1293
|
...optional("host", stringValue(value.host)),
|
|
1293
1294
|
...optional("branch", stringValue(value.branch)),
|
|
1294
1295
|
mode: value.makePr === true || type === "pullRequest" ? "pull-request" : type === "push" ? "push" : "release",
|
|
1295
|
-
...optional("reviewers", reviewers)
|
|
1296
|
+
...optional("reviewers", reviewers),
|
|
1297
|
+
...workflows === false ? { workflows } : {}
|
|
1296
1298
|
},
|
|
1297
1299
|
...publication ? { publish: publication.publish } : {}
|
|
1298
1300
|
},
|
|
@@ -2402,7 +2404,10 @@ var githubOutputSchema = z.strictObject({
|
|
|
2402
2404
|
mode: z.enum(["release", "pull-request", "push", "commit", "commit-and-release"]).optional().describe("How generated changes are delivered to the repository."),
|
|
2403
2405
|
reviewers: reviewersSchema.optional().describe("Reviewers requested for generated pull requests."),
|
|
2404
2406
|
credentials: githubCredentialsSchema.optional().describe("Credentials used to authenticate GitHub delivery."),
|
|
2405
|
-
privateRepository: z.boolean().optional().describe("Whether the destination repository is private.")
|
|
2407
|
+
privateRepository: z.boolean().optional().describe("Whether the destination repository is private."),
|
|
2408
|
+
workflows: z.boolean().optional().describe(
|
|
2409
|
+
"Whether generated .github/workflows files are delivered. Defaults to true. When false, newly generated workflow files are skipped and existing ones in the repository are left untouched."
|
|
2410
|
+
)
|
|
2406
2411
|
});
|
|
2407
2412
|
var filesOutputSchema = z.strictObject({
|
|
2408
2413
|
delivery: z.literal("files").describe("Writes the generated SDK to a directory."),
|