Skip to content

Commit

Permalink
feat: move Changed components: ... footer into an html comment
Browse files Browse the repository at this point in the history
  • Loading branch information
gr2m committed Jun 21, 2023
1 parent 5fe5508 commit 35aa14e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions patches/@changesets+cli+2.26.1.patch
@@ -1,5 +1,5 @@
diff --git a/node_modules/@changesets/cli/dist/cli.cjs.dev.js b/node_modules/@changesets/cli/dist/cli.cjs.dev.js
index 73ab02a..70bb64b 100644
index 73ab02a..a7068ea 100644
--- a/node_modules/@changesets/cli/dist/cli.cjs.dev.js
+++ b/node_modules/@changesets/cli/dist/cli.cjs.dev.js
@@ -101,7 +101,7 @@ function _objectSpread2(target) {
Expand Down Expand Up @@ -125,7 +125,7 @@ index 73ab02a..70bb64b 100644
+ const changesetPath = path__default['default'].resolve(changesetBase, `${changesetID}.md`);
+ let content = await fs__default['default'].readFile(changesetPath, 'utf8')
+
+ content += `\nChanged components: ${newChangeset.selectedPrimerPackages.join(", ") || "_none_"}\n`
+ content += `\n<!-- Changed components: ${newChangeset.selectedPrimerPackages.join(", ") || "_none_"} -->\n`
+
+ await fs__default['default'].writeFile(changesetPath, content)
+
Expand Down

0 comments on commit 35aa14e

Please sign in to comment.