release-note 0.0.5 → 0.0.6
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/bin.cjs +1 -1
- package/dist/bin.mjs +1 -1
- package/dist/{dist-DGil98Eq.cjs → dist-DRIR3fHo.cjs} +1 -1
- package/dist/{dist-BKDBZrkD.mjs → dist-DwW1fFke.mjs} +1 -1
- package/dist/{generate-CLz75nUt.mjs → generate-CSl3Pwtm.mjs} +5 -4
- package/dist/{generate-BvQfZAwr.cjs → generate-D2NQIyPO.cjs} +5 -4
- package/dist/index.cjs +1 -1
- package/dist/index.mjs +1 -1
- package/dist/{token-K-kJmAE8.cjs → token-Bz5RE7Gd.cjs} +1 -1
- package/dist/{token-BTkzJW-X.mjs → token-C91WYSPw.mjs} +1 -1
- package/package.json +1 -1
package/dist/bin.cjs
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
const require_chunk = require("./chunk-Cek0wNdY.cjs");
|
|
3
|
-
const require_generate = require("./generate-
|
|
3
|
+
const require_generate = require("./generate-D2NQIyPO.cjs");
|
|
4
4
|
let node_events = require("node:events");
|
|
5
5
|
let node_child_process = require("node:child_process");
|
|
6
6
|
node_child_process = require_chunk.__toESM(node_child_process, 1);
|
package/dist/bin.mjs
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
|
-
import { C as resolveConfig, t as generateReleaseNote } from "./generate-
|
|
2
|
+
import { C as resolveConfig, t as generateReleaseNote } from "./generate-CSl3Pwtm.mjs";
|
|
3
3
|
import { EventEmitter } from "node:events";
|
|
4
4
|
import childProcess from "node:child_process";
|
|
5
5
|
import path from "node:path";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
require("./chunk-Cek0wNdY.cjs");
|
|
2
|
-
const require_generate = require("./generate-
|
|
2
|
+
const require_generate = require("./generate-D2NQIyPO.cjs");
|
|
3
3
|
//#region node_modules/.pnpm/@ai-sdk+openai-compatible@2.0.48_zod@4.4.3/node_modules/@ai-sdk/openai-compatible/dist/index.mjs
|
|
4
4
|
function toCamelCase(str) {
|
|
5
5
|
return str.replace(/[_-]([a-z])/g, (g) => g[1].toUpperCase());
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { A as number, D as boolean, E as array, M as record, N as string, O as literal, P as union, S as UnsupportedFunctionalityError, T as any, _ as withUserAgentSuffix, a as convertBase64ToUint8Array, b as InvalidResponseDataError, c as createEventSourceResponseHandler, d as downloadBlob, f as generateId, g as postJsonToApi, h as postFormDataToApi, i as combineHeaders, j as object, k as looseObject, l as createJsonErrorResponseHandler, m as parseProviderOptions, o as convertToBase64, p as isParsableJson, s as convertToFormData, u as createJsonResponseHandler, v as withoutTrailingSlash, w as _enum, x as TooManyEmbeddingValuesForCallError, y as InvalidPromptError } from "./generate-
|
|
1
|
+
import { A as number, D as boolean, E as array, M as record, N as string, O as literal, P as union, S as UnsupportedFunctionalityError, T as any, _ as withUserAgentSuffix, a as convertBase64ToUint8Array, b as InvalidResponseDataError, c as createEventSourceResponseHandler, d as downloadBlob, f as generateId, g as postJsonToApi, h as postFormDataToApi, i as combineHeaders, j as object, k as looseObject, l as createJsonErrorResponseHandler, m as parseProviderOptions, o as convertToBase64, p as isParsableJson, s as convertToFormData, u as createJsonResponseHandler, v as withoutTrailingSlash, w as _enum, x as TooManyEmbeddingValuesForCallError, y as InvalidPromptError } from "./generate-CSl3Pwtm.mjs";
|
|
2
2
|
//#region node_modules/.pnpm/@ai-sdk+openai-compatible@2.0.48_zod@4.4.3/node_modules/@ai-sdk/openai-compatible/dist/index.mjs
|
|
3
3
|
function toCamelCase(str) {
|
|
4
4
|
return str.replace(/[_-]([a-z])/g, (g) => g[1].toUpperCase());
|
|
@@ -14019,7 +14019,7 @@ async function resolveProvider(name, options) {
|
|
|
14019
14019
|
if (name === "@ai-sdk/openai-compatible") {
|
|
14020
14020
|
if (!options.apiUrl) throw new Error("\"\"apiUrl\"\" is required for openai-compatible provider");
|
|
14021
14021
|
if (!resolvedApiKey) throw new Error("No API key found in the specified environment variables");
|
|
14022
|
-
const { createOpenAICompatible } = await import("./dist-
|
|
14022
|
+
const { createOpenAICompatible } = await import("./dist-DwW1fFke.mjs");
|
|
14023
14023
|
return createOpenAICompatible({
|
|
14024
14024
|
name,
|
|
14025
14025
|
apiKey: resolvedApiKey,
|
|
@@ -19910,7 +19910,7 @@ var require_get_vercel_oidc_token = /* @__PURE__ */ __commonJSMin(((exports, mod
|
|
|
19910
19910
|
err = error;
|
|
19911
19911
|
}
|
|
19912
19912
|
try {
|
|
19913
|
-
const [{ getTokenPayload, isExpired }, { refreshToken }] = await Promise.all([await Promise.resolve().then(() => /* @__PURE__ */ __toESM(require_token_util())), await import("./token-
|
|
19913
|
+
const [{ getTokenPayload, isExpired }, { refreshToken }] = await Promise.all([await Promise.resolve().then(() => /* @__PURE__ */ __toESM(require_token_util())), await import("./token-C91WYSPw.mjs").then((m) => /* @__PURE__ */ __toESM(m.default))]);
|
|
19914
19914
|
if (!token || isExpired(getTokenPayload(token), options?.expirationBufferMs)) {
|
|
19915
19915
|
await refreshToken(options);
|
|
19916
19916
|
token = getVercelOidcTokenSync();
|
|
@@ -30800,12 +30800,13 @@ The release notes should be concise, informative, and highlight the key changes,
|
|
|
30800
30800
|
|
|
30801
30801
|
|
|
30802
30802
|
## Output format:
|
|
30803
|
-
- Group related changes together under appropriate headings (e.g., "New Features", "Bug Fixes", "Improvements", "Breaking Changes").
|
|
30804
30803
|
- Use bullet points to list individual changes for better readability.
|
|
30804
|
+
- Group related changes together under appropriate headings (e.g., "New Features", "Bug Fixes", "Improvements", "Breaking Changes").
|
|
30805
30805
|
- If there are breaking changes, clearly indicate them in a separate section and provide guidance on how to adapt to these changes from a user perspective.
|
|
30806
|
+
- DO NOT start with "Here is the notes...", "Here are the changes...", "Let me generate..."; just directly write the content of the release note.
|
|
30806
30807
|
- DO NOT use a top-level title to wrap the content as "Release Note"; just directly write the sections.
|
|
30807
|
-
- DO NOT use --- to separate sections, use ## for headings instead.
|
|
30808
30808
|
- Output ONLY the release note content, with no preamble, explanation, or commentary.
|
|
30809
|
+
- DO NOT use --- to separate sections, use ## for headings instead.
|
|
30809
30810
|
`;
|
|
30810
30811
|
}
|
|
30811
30812
|
function buildUserPrompt(commits) {
|
|
@@ -14024,7 +14024,7 @@ async function resolveProvider(name, options) {
|
|
|
14024
14024
|
if (name === "@ai-sdk/openai-compatible") {
|
|
14025
14025
|
if (!options.apiUrl) throw new Error("\"\"apiUrl\"\" is required for openai-compatible provider");
|
|
14026
14026
|
if (!resolvedApiKey) throw new Error("No API key found in the specified environment variables");
|
|
14027
|
-
const { createOpenAICompatible } = await Promise.resolve().then(() => require("./dist-
|
|
14027
|
+
const { createOpenAICompatible } = await Promise.resolve().then(() => require("./dist-DRIR3fHo.cjs"));
|
|
14028
14028
|
return createOpenAICompatible({
|
|
14029
14029
|
name,
|
|
14030
14030
|
apiKey: resolvedApiKey,
|
|
@@ -19915,7 +19915,7 @@ var require_get_vercel_oidc_token = /* @__PURE__ */ require_chunk.__commonJSMin(
|
|
|
19915
19915
|
err = error;
|
|
19916
19916
|
}
|
|
19917
19917
|
try {
|
|
19918
|
-
const [{ getTokenPayload, isExpired }, { refreshToken }] = await Promise.all([await Promise.resolve().then(() => /* @__PURE__ */ require_chunk.__toESM(require_token_util())), await Promise.resolve().then(() => /* @__PURE__ */ require_chunk.__toESM(require("./token-
|
|
19918
|
+
const [{ getTokenPayload, isExpired }, { refreshToken }] = await Promise.all([await Promise.resolve().then(() => /* @__PURE__ */ require_chunk.__toESM(require_token_util())), await Promise.resolve().then(() => /* @__PURE__ */ require_chunk.__toESM(require("./token-Bz5RE7Gd.cjs").default))]);
|
|
19919
19919
|
if (!token || isExpired(getTokenPayload(token), options?.expirationBufferMs)) {
|
|
19920
19920
|
await refreshToken(options);
|
|
19921
19921
|
token = getVercelOidcTokenSync();
|
|
@@ -30805,12 +30805,13 @@ The release notes should be concise, informative, and highlight the key changes,
|
|
|
30805
30805
|
|
|
30806
30806
|
|
|
30807
30807
|
## Output format:
|
|
30808
|
-
- Group related changes together under appropriate headings (e.g., "New Features", "Bug Fixes", "Improvements", "Breaking Changes").
|
|
30809
30808
|
- Use bullet points to list individual changes for better readability.
|
|
30809
|
+
- Group related changes together under appropriate headings (e.g., "New Features", "Bug Fixes", "Improvements", "Breaking Changes").
|
|
30810
30810
|
- If there are breaking changes, clearly indicate them in a separate section and provide guidance on how to adapt to these changes from a user perspective.
|
|
30811
|
+
- DO NOT start with "Here is the notes...", "Here are the changes...", "Let me generate..."; just directly write the content of the release note.
|
|
30811
30812
|
- DO NOT use a top-level title to wrap the content as "Release Note"; just directly write the sections.
|
|
30812
|
-
- DO NOT use --- to separate sections, use ## for headings instead.
|
|
30813
30813
|
- Output ONLY the release note content, with no preamble, explanation, or commentary.
|
|
30814
|
+
- DO NOT use --- to separate sections, use ## for headings instead.
|
|
30814
30815
|
`;
|
|
30815
30816
|
}
|
|
30816
30817
|
function buildUserPrompt(commits) {
|
package/dist/index.cjs
CHANGED
|
@@ -3,7 +3,7 @@ Object.defineProperties(exports, {
|
|
|
3
3
|
[Symbol.toStringTag]: { value: "Module" }
|
|
4
4
|
});
|
|
5
5
|
require("./chunk-Cek0wNdY.cjs");
|
|
6
|
-
const require_generate = require("./generate-
|
|
6
|
+
const require_generate = require("./generate-D2NQIyPO.cjs");
|
|
7
7
|
//#region src/index.ts
|
|
8
8
|
var src_default = require_generate.generateReleaseNote;
|
|
9
9
|
const releaseNote = require_generate.generateReleaseNote;
|
package/dist/index.mjs
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
const require_chunk = require("./chunk-Cek0wNdY.cjs");
|
|
2
|
-
const require_generate = require("./generate-
|
|
2
|
+
const require_generate = require("./generate-D2NQIyPO.cjs");
|
|
3
3
|
//#region node_modules/.pnpm/@vercel+oidc@3.2.0/node_modules/@vercel/oidc/dist/token.js
|
|
4
4
|
var require_token = /* @__PURE__ */ require_chunk.__commonJSMin(((exports, module) => {
|
|
5
5
|
var __defProp = Object.defineProperty;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { t as __commonJSMin } from "./chunk-CNf5ZN-e.mjs";
|
|
2
|
-
import { n as require_token_util, r as require_token_error } from "./generate-
|
|
2
|
+
import { n as require_token_util, r as require_token_error } from "./generate-CSl3Pwtm.mjs";
|
|
3
3
|
//#region node_modules/.pnpm/@vercel+oidc@3.2.0/node_modules/@vercel/oidc/dist/token.js
|
|
4
4
|
var require_token = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
5
5
|
var __defProp = Object.defineProperty;
|