@livekit/changesets-changelog-github 0.0.2 → 0.0.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.js CHANGED
@@ -101,11 +101,11 @@ var changelogFunctions = {
101
101
  };
102
102
  })();
103
103
  const users = usersFromSummary.length ? usersFromSummary.map((userFromSummary) => `@${userFromSummary}`).join(", ") : links.user;
104
- const pullRequest = links.pull ? ` - ${links.pull}` : links.commit ? ` - ${links.commit}` : "";
104
+ const pullRequest = links.pull ? `- ${links.pull}` : links.commit ? `- ${links.commit}` : "";
105
105
  const suffix = users === null ? "" : `(${users})`;
106
106
  return `
107
107
 
108
- - ${firstLine} ${pullRequest} ${suffix}
108
+ - ${firstLine} ${pullRequest} ${suffix}
109
109
  ${futureLines.map((l) => ` ${l}`).join("\n")}`;
110
110
  }
111
111
  };
package/dist/index.mjs CHANGED
@@ -78,11 +78,11 @@ var changelogFunctions = {
78
78
  };
79
79
  })();
80
80
  const users = usersFromSummary.length ? usersFromSummary.map((userFromSummary) => `@${userFromSummary}`).join(", ") : links.user;
81
- const pullRequest = links.pull ? ` - ${links.pull}` : links.commit ? ` - ${links.commit}` : "";
81
+ const pullRequest = links.pull ? `- ${links.pull}` : links.commit ? `- ${links.commit}` : "";
82
82
  const suffix = users === null ? "" : `(${users})`;
83
83
  return `
84
84
 
85
- - ${firstLine} ${pullRequest} ${suffix}
85
+ - ${firstLine} ${pullRequest} ${suffix}
86
86
  ${futureLines.map((l) => ` ${l}`).join("\n")}`;
87
87
  }
88
88
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@livekit/changesets-changelog-github",
3
- "version": "0.0.2",
3
+ "version": "0.0.4",
4
4
  "description": "A compact changelog entry generator based on the official changesets changelog generator",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.mjs",
@@ -8,15 +8,16 @@
8
8
  "repository": "https://github.com/livekit/changesets-changelog-github",
9
9
  "scripts": {
10
10
  "build": "tsup-node",
11
+ "publish": "tsup-node --onSuccess \"npm publish\"",
11
12
  "test": "jest"
12
13
  },
13
14
  "dependencies": {
14
- "@changesets/get-github-info": "^0.5.1",
15
- "@changesets/types": "^5.2.0",
15
+ "@changesets/get-github-info": "^0.5.2",
16
+ "@changesets/types": "^5.2.1",
16
17
  "dotenv": "^8.1.0"
17
18
  },
18
19
  "devDependencies": {
19
- "@changesets/parse": "*",
20
+ "@changesets/parse": "0.3.16",
20
21
  "@types/jest": "29.1.1",
21
22
  "changesets": "^1.0.2",
22
23
  "changesets-cli": "^0.0.0",