feat(ci): Introduce new CI workflows for Gitea and remove GitLab CI

This commit is contained in:
2025-01-23 14:35:06 +01:00
parent 5bfcb95c94
commit 29568c88c3
17 changed files with 9564 additions and 3023 deletions

8
ts/00_commitinfo_data.ts Normal file
View File

@@ -0,0 +1,8 @@
/**
* autocreated commitinfo by @push.rocks/commitinfo
*/
export const commitinfo = {
name: '@push.rocks/smartfm',
version: '2.1.0',
description: 'frontmatter done right'
}

View File

@@ -36,7 +36,7 @@ export class Smartfm {
parseFromComments(commentStart: string, stringToParse: string) {
const diffFunc = (diffMe, diffBy) => diffMe.split(diffBy).join('');
let lines = stringToParse.split('\n');
lines = lines.map(line => {
lines = lines.map((line) => {
return diffFunc(line, commentStart);
});
const cleanedString = lines.join('\n');