From 5db9ad2585ab5c7441037e525233c9bb57969bc8 Mon Sep 17 00:00:00 2001 From: Ocasta Date: Tue, 4 Feb 2025 19:06:34 -0800 Subject: [PATCH] revert to older config --- .changeset/changelog-config.js | 20 -------------------- .changeset/config.json | 4 ++-- 2 files changed, 2 insertions(+), 22 deletions(-) delete mode 100644 .changeset/changelog-config.js diff --git a/.changeset/changelog-config.js b/.changeset/changelog-config.js deleted file mode 100644 index 1e64dbf093..0000000000 --- a/.changeset/changelog-config.js +++ /dev/null @@ -1,20 +0,0 @@ -// Half-works to simplify the format but needs 'overwrite_changeset_changelog.py' in GHA to finish formatting - -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 diff --git a/.changeset/config.json b/.changeset/config.json index bcd6eefa00..42efc1c834 100644 --- a/.changeset/config.json +++ b/.changeset/config.json @@ -1,6 +1,6 @@ { - "$schema": "https://unpkg.com/@changesets/config@3.0.4/schema.json", - "changelog": "./changelog-config.js", + "$schema": "https://unpkg.com/@changesets/config@3.0.5/schema.json", + "changelog": "@changesets/cli/changelog", "commit": false, "fixed": [], "linked": [],