@swisspost/design-system-changelog-github 1.0.1 → 1.0.3

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 CHANGED
@@ -1,5 +1,20 @@
1
1
  # @swisspost/design-system-changelog-github
2
2
 
3
+ ## 1.0.3
4
+
5
+ ### Patch Changes
6
+
7
+ - Clarified the deprecation of the `post-card-control` component. The web component will be removed in the next major release, while the standard HTML implementation will remain available under a new name. (by [@bucknatt](https://github.com/bucknatt) with [#7219](https://github.com/swisspost/design-system/pull/7219))
8
+
9
+ ## 1.0.2
10
+
11
+ ### Patch Changes
12
+
13
+ - The <sup> construct does not work as intended in most contexts, adding unnecessary and confusing spacing into changelogs. New intended format:
14
+ - This is a contribution. (by username with #111)
15
+ - This is a multiline contribution that needs
16
+ a lot of text (by username with #111) (by [@gfellerph](https://github.com/gfellerph) with [#795](https://github.com/swisspost/design-system/pull/795))
17
+
3
18
  ## 1.0.1
4
19
 
5
20
  ### Patch Changes
package/README.md CHANGED
@@ -1,6 +1,6 @@
1
1
  # Design System Styles
2
2
 
3
- ![Swiss Post Design System splash screen](https://user-images.githubusercontent.com/1659006/187683368-d3aa2534-84be-4580-846e-2cad3796b573.png)
3
+ ![Swiss Post Design System splash screen](https://github.com/swisspost/design-system/assets/1659006/e84f1fea-e666-4853-8c85-726a6bf22e6c)
4
4
 
5
5
  A changeset changelog message formatter used for generating custom changelog entries. The JavaScript file is used by changesets to fetch information about changesets from GitHub and add user as well as pull-request links.
6
6
 
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 ? '\n<br><sup>' : '',
61
+ hasUserOrPull ? ' (' : '',
62
62
  [userString, pullString].join(' '),
63
- hasUserOrPull ? '</sup>' : '',
63
+ hasUserOrPull ? ')' : '',
64
64
  ];
65
65
  return entry.join('');
66
66
  }),
package/package.json CHANGED
@@ -1,8 +1,8 @@
1
1
  {
2
2
  "name": "@swisspost/design-system-changelog-github",
3
- "version": "1.0.1",
3
+ "version": "1.0.3",
4
4
  "description": "A changelog entry generator for GitHub that links to PRs and users",
5
- "author": "Swiss Post <oss@post.ch>",
5
+ "author": "Swiss Post <design-system@post.ch>",
6
6
  "license": "Apache-2.0",
7
7
  "repository": {
8
8
  "type": "git",
@@ -17,13 +17,13 @@
17
17
  },
18
18
  "main": "./dist/index.js",
19
19
  "dependencies": {
20
- "@changesets/get-github-info": "^0.5.1",
21
- "@changesets/types": "^5.2.0",
22
- "dotenv": "^8.1.0"
20
+ "@changesets/get-github-info": "0.6.0",
21
+ "@changesets/types": "6.0.0",
22
+ "dotenv": "16.4.5"
23
23
  },
24
24
  "devDependencies": {
25
25
  "@changesets/parse": "*",
26
- "typescript": "4.8.4"
26
+ "typescript": "5.9.3"
27
27
  },
28
28
  "scripts": {
29
29
  "build": "tsc"