mirror of
https://github.com/RooVetGit/Roo-Code.git
synced 2026-08-28 05:27:24 +00:00
Adding changeset changelog format
This commit is contained in:
parent
58402f4654
commit
5359f823f2
5 changed files with 24 additions and 2 deletions
20
.changeset/changelog-config.ts
Normal file
20
.changeset/changelog-config.ts
Normal file
|
|
@ -0,0 +1,20 @@
|
|||
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;
|
||||
|
|
@ -1,6 +1,6 @@
|
|||
{
|
||||
"$schema": "https://unpkg.com/@changesets/config@3.0.4/schema.json",
|
||||
"changelog": "@changesets/cli/changelog",
|
||||
"changelog": "./changelog-config.ts",
|
||||
"commit": false,
|
||||
"fixed": [],
|
||||
"linked": [],
|
||||
|
|
|
|||
2
.gitignore
vendored
2
.gitignore
vendored
|
|
@ -10,4 +10,4 @@ bin/
|
|||
roo-cline-*.vsix
|
||||
|
||||
# Local prompts and rules
|
||||
local-prompts
|
||||
/local-prompts
|
||||
|
|
|
|||
1
package-lock.json
generated
1
package-lock.json
generated
|
|
@ -46,6 +46,7 @@
|
|||
},
|
||||
"devDependencies": {
|
||||
"@changesets/cli": "^2.27.10",
|
||||
"@changesets/types": "^6.0.0",
|
||||
"@types/diff": "^5.2.1",
|
||||
"@types/jest": "^29.5.14",
|
||||
"@types/mocha": "^10.0.7",
|
||||
|
|
|
|||
|
|
@ -172,6 +172,7 @@
|
|||
},
|
||||
"devDependencies": {
|
||||
"@changesets/cli": "^2.27.10",
|
||||
"@changesets/types": "^6.0.0",
|
||||
"@types/diff": "^5.2.1",
|
||||
"@types/jest": "^29.5.14",
|
||||
"@types/mocha": "^10.0.7",
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue