From 9dbc2dd9ad1e64b44746a17a2184c20884f8015f Mon Sep 17 00:00:00 2001 From: Jerem Date: Tue, 8 Oct 2024 22:45:55 +0200 Subject: [PATCH] doc: use conventional-changelog-cli --- CHANGELOG.md | 64 +++++++++++++++++++++++++++++++++--------- deno.json | 10 ++++++- generate/rss_parser.ts | 2 +- 3 files changed, 61 insertions(+), 15 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 3499979..0151847 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,15 +1,53 @@ -### v0.5.9 / 2024.10.07 - -- feat: cache generated TTS file -- feat: custom script and more #30 - - feat: add custom i18n in config - - feat: add "Use rss items subtitle as title" -- fix: use ttsCachePath - -### v0.5.7 / 2024.10.06 - -- fix: coqui-tts error on windows -- fix: the GUI config is not used by the backend +## [0.5.9](https://github.com/jersou/studio-pack-generator/compare/v0.5.7...v0.5.9) (2024-10-07) + +### Features + +- cache generated TTS file + ([4c669a8](https://github.com/jersou/studio-pack-generator/commit/4c669a8abe632f9b53ee4842edff05e5a36a0c05)) +- story.json export now uses metadata title instead of filename. Ensures all + characters are there. Also added audio duration (for players needing story + duration) + ([0919273](https://github.com/jersou/studio-pack-generator/commit/091927305dc1a5b72b3f0efb1b3eb0e30191d794)) +- update GUI with cache options + ([40750bc](https://github.com/jersou/studio-pack-generator/commit/40750bc305d767c403fa0d6b8ca87a0b35db91d1)) +- you can now customize i18n from command line / config + ([a04ddda](https://github.com/jersou/studio-pack-generator/commit/a04ddda533750aeda57de11c960aae7e8ebd96ed)) + +### Bug Fixes + +- all generateImage to have custom arguments + ([f7cc943](https://github.com/jersou/studio-pack-generator/commit/f7cc943de5125c59a87d0de4d565b4afd69057d4)) +- basic custom module support. For now only for image query + ([92ac916](https://github.com/jersou/studio-pack-generator/commit/92ac916cfc7b981839ac86c75cd94f2fe726aba3)) +- better handling of rss image + ([8fc4d7f](https://github.com/jersou/studio-pack-generator/commit/8fc4d7f25e2070e2e3a0c9c4c72a936771db3b70)) +- fix for when using `skipImageConvert` + ([b4f0134](https://github.com/jersou/studio-pack-generator/commit/b4f0134efc1f5aaa6cfce4443a38bd58384e32e3)) +- fix tests + ([d9ca768](https://github.com/jersou/studio-pack-generator/commit/d9ca76872750b97a1dcabbef800e0dc382151c9e)) +- if there is a itunes:subtitle use that as item title + ([b109177](https://github.com/jersou/studio-pack-generator/commit/b109177d82d54658ab04a83fe608ac62fa4a7107)) +- regression fix for generated images names (would trigger tts again and again) + ([3a3dbbb](https://github.com/jersou/studio-pack-generator/commit/3a3dbbb97ae473eb4b5440aa4d8fb86a810959fa)) +- remove i18n from cli, but keep in the config file + ([48e4861](https://github.com/jersou/studio-pack-generator/commit/48e48614739c61b301f8650e9e465e85bc552cac)) +- store rss items metadata and use that to get the text to tts. this ensure we + dont rely on file name for tts which will help tts with caracters which would + have been removed from file name + ([b3312a1](https://github.com/jersou/studio-pack-generator/commit/b3312a116f53eabe6ccab28165231c66ec86cf4c)) +- use ttsCachePath + ([041d209](https://github.com/jersou/studio-pack-generator/commit/041d2099c32a18a67803641c93f1ba445f658f14)) +- deno publish + ([066b18c](https://github.com/jersou/studio-pack-generator/commit/066b18cf4b140df8cb00b473fec6cdf414248171)) + +## [0.5.7](https://github.com/jersou/studio-pack-generator/compare/v0.5.6...v0.5.7) (2024-10-06) + +### Bug Fixes + +- coqui error on windows + ([2421902](https://github.com/jersou/studio-pack-generator/commit/242190256f9e12716cef06cfff7e184628c0f8b6)) +- **GUI:** the GUI config is not used by the backend + ([9a41b26](https://github.com/jersou/studio-pack-generator/commit/9a41b267b51645007197fd2c6a26e1d41611fa82)) ### v0.5.6 / 2024.10.06 @@ -171,7 +209,7 @@ as generated in the name for easier filtering (should not break anything). ### v0.1.10 / 2021.12.19 -- fix(rss/windows): remove Windows forbidden characters \:*?<>| +- fix(rss/windows): remove Windows forbidden characters \:\*?<>| ### v0.1.9 / 2021.12.19 diff --git a/deno.json b/deno.json index 886c4c2..1068ef3 100644 --- a/deno.json +++ b/deno.json @@ -9,9 +9,11 @@ "check": "deno check studio_pack_generator.ts", "lint": "deno lint --ignore=gui/assets_bundle.json,gui/frontend,tmp,dist,.cov_profile,vendor", "pre-commit": "deno task fmt --check && deno task lint && deno task test && deno task check", + "publish-dry-run": "deno publish --dry-run", "start": "deno run -A --unstable studio_pack_generator.ts", "test": "deno test -A --ignore=gui/assets_bundle.json,gui/frontend,tmp,dist,.cov_profile,vendor", "test-watch": "deno test -A --watch --unstable --ignore=gui/assets_bundle.json,gui/frontend,tmp,dist,.cov_profile,vendor", + "update-changelog": "conventional-changelog -p conventionalcommits --same-file -i CHANGELOG.md -k deno.json && deno task fmt", "update-frontend-assets": "cd gui/frontend && npm run build && ../gui.ts updateAssets" }, "imports": { @@ -33,5 +35,11 @@ "https://deno.land/std/": "./vendor/deno.land/std@0.216.0/" }, "exports": "./studio_pack_generator.ts", - "publish": { "exclude": ["tools", "gui/frontend/src", "test_data/"] } + "publish": { + "exclude": [ + "tools", + "gui/frontend/src", + "test_data/" + ] + } } diff --git a/generate/rss_parser.ts b/generate/rss_parser.ts index 4029eac..fd127de 100644 --- a/generate/rss_parser.ts +++ b/generate/rss_parser.ts @@ -76,7 +76,7 @@ async function getFolderWithUrlFromRssUrl( const metadata = { title: rss.title, description: rss.description, - podcast: true // can be used by players to know if that pack is a podcast + podcast: true, // can be used by players to know if that pack is a podcast } as Metadata; if (opt.rssMinDuration > 0) { rss.item = rss.item.filter((i) => {