Merge pull request #139 from RooVetGit/chores/remove-ai-releases

Chores/remove ai releases
This commit is contained in:
Abel Trejo Pineda
2024-12-16 18:05:10 -06:00
committed by GitHub
4 changed files with 19 additions and 24 deletions

View File

@@ -0,0 +1,18 @@
const getReleaseLine = async (changeset) => {
const [firstLine] = changeset.summary
.split('\n')
.map(l => l.trim())
.filter(Boolean);
return `- ${firstLine}`;
};
const getDependencyReleaseLine = async () => {
return '';
};
const changelogFunctions = {
getReleaseLine,
getDependencyReleaseLine,
};
module.exports = changelogFunctions;

View File

@@ -1,20 +0,0 @@
import { ChangelogFunctions } from '@changesets/types';
const getReleaseLine: ChangelogFunctions['getReleaseLine'] = async (changeset) => {
const [firstLine] = changeset.summary
.split('\n')
.map(l => l.trim())
.filter(Boolean);
return `- ${firstLine}`;
};
const getDependencyReleaseLine: ChangelogFunctions['getDependencyReleaseLine'] = async () => {
return '';
};
const changelogFunctions: ChangelogFunctions = {
getReleaseLine,
getDependencyReleaseLine,
};
export default changelogFunctions;

View File

@@ -1,6 +1,6 @@
{
"$schema": "https://unpkg.com/@changesets/config@3.0.4/schema.json",
"changelog": "./changelog-config.ts",
"changelog": "./changelog-config.js",
"commit": false,
"fixed": [],
"linked": [],

View File

@@ -1,3 +0,0 @@
{
"type": "module"
}