@swisspost/design-system-changelog-github 1.0.1 → 1.0.2
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/CHANGELOG.md +9 -0
- package/dist/index.js +2 -2
- package/package.json +2 -2
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,14 @@
|
|
|
1
1
|
# @swisspost/design-system-changelog-github
|
|
2
2
|
|
|
3
|
+
## 1.0.2
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- The <sup> construct does not work as intended in most contexts, adding unnecessary and confusing spacing into changelogs. New intended format:
|
|
8
|
+
- This is a contribution. (by username with #111)
|
|
9
|
+
- This is a multiline contribution that needs
|
|
10
|
+
a lot of text (by username with #111) (by [@gfellerph](https://github.com/gfellerph) with [#795](https://github.com/swisspost/design-system/pull/795))
|
|
11
|
+
|
|
3
12
|
## 1.0.1
|
|
4
13
|
|
|
5
14
|
### Patch Changes
|
package/dist/index.js
CHANGED
|
@@ -58,9 +58,9 @@ const changelogFunctions = {
|
|
|
58
58
|
'\n\n- ',
|
|
59
59
|
firstLine,
|
|
60
60
|
futureLines.map(l => ` ${l}`).join('\n'),
|
|
61
|
-
hasUserOrPull ? '
|
|
61
|
+
hasUserOrPull ? ' (' : '',
|
|
62
62
|
[userString, pullString].join(' '),
|
|
63
|
-
hasUserOrPull ? '
|
|
63
|
+
hasUserOrPull ? ')' : '',
|
|
64
64
|
];
|
|
65
65
|
return entry.join('');
|
|
66
66
|
}),
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@swisspost/design-system-changelog-github",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.2",
|
|
4
4
|
"description": "A changelog entry generator for GitHub that links to PRs and users",
|
|
5
5
|
"author": "Swiss Post <oss@post.ch>",
|
|
6
6
|
"license": "Apache-2.0",
|
|
@@ -19,7 +19,7 @@
|
|
|
19
19
|
"dependencies": {
|
|
20
20
|
"@changesets/get-github-info": "^0.5.1",
|
|
21
21
|
"@changesets/types": "^5.2.0",
|
|
22
|
-
"dotenv": "^
|
|
22
|
+
"dotenv": "^16.0.0"
|
|
23
23
|
},
|
|
24
24
|
"devDependencies": {
|
|
25
25
|
"@changesets/parse": "*",
|