@cfpb/cfpb-design-system 3.2.3 → 3.2.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/CHANGELOG.md CHANGED
@@ -1,5 +1,32 @@
1
1
  ## Changelog
2
2
 
3
+ ### [v3.2.4](https://github.com/cfpb/design-system/compare/v3.2.3...v3.2.4) -
4
+
5
+ ### [v3.2.3](https://github.com/cfpb/design-system/compare/v3.2.2...v3.2.3) - 16 October 2024
6
+
7
+ ### General Changes
8
+
9
+ - Rename `o-table-wrapper--scrolling` to `o-table--scrolling` (Ans - [#2068](https://github.com/cfpb/design-system/pull/2068))
10
+ - Lighthouse: Use envvar instead of set-output command (Ans - [#2067](https://github.com/cfpb/design-system/pull/2067))
11
+ - Update release-it, sass, stylelint (Ans - [#2066](https://github.com/cfpb/design-system/pull/2066))
12
+
13
+ ### [v3.2.2](https://github.com/cfpb/design-system/compare/v3.2.1...v3.2.2) - 27 September 2024
14
+
15
+ ### General Changes
16
+
17
+ - Adjust code comments (Ans - [#2064](https://github.com/cfpb/design-system/pull/2064))
18
+ - Add Cypress Cloud integration (Ans - [#2059](https://github.com/cfpb/design-system/pull/2059))
19
+
20
+ ### [v3.2.1](https://github.com/cfpb/design-system/compare/v3.2.0...v3.2.1) - 27 September 2024
21
+
22
+ ### General Changes
23
+
24
+ - Refresh npm cache (Ans - [#2063](https://github.com/cfpb/design-system/pull/2063))
25
+ - Further adjust release-it config (Ans - [#2062](https://github.com/cfpb/design-system/pull/2062))
26
+ - Adjust release-it config (Ans - [#2061](https://github.com/cfpb/design-system/pull/2061))
27
+ - Update types/react@18.3.9, cypress@13.15.0, esbuild@0.24.0, sass@1.79.3 (Ans - [#2060](https://github.com/cfpb/design-system/pull/2060))
28
+ - Swap lerna with release-it (Ans - [#2058](https://github.com/cfpb/design-system/pull/2058))
29
+
3
30
  ### [v3.2.0](https://github.com/cfpb/design-system/compare/v3.1.9...v3.2.0) - 25 September 2024
4
31
 
5
32
  ### General Changes
@@ -0,0 +1,142 @@
1
+ ## Changelog
2
+
3
+ {{!--
4
+ Introduction
5
+ • This template tries to follow conventional commits format https://www.conventionalcommits.org/en/v1.0.0/
6
+ • The template uses regex to filter commit types into their own headings (this is more than just fixes and features headings)
7
+ • It also uses the replaceText function in package.json to remove the commit type text from the message, because the headers are shown instead.
8
+
9
+ • The text 'Breaking:' or 'Breaking changes:' can be located anywhere in the commit.
10
+ • The types feat:, fix:, chore:, docs:, refactor:, test:, style:, perf: must be at the beginning of the commit subject with an : on end.
11
+ • They can optionally have a scope set to outline the module or component that is affected eg feat(bldAssess):
12
+ • There is a short hash on the end of every commit that is currently commented out so that change log did not grow too long (due to some system's file size limitations). You can uncomment if you wish [`{{shorthash}}`]({{href}})
13
+
14
+ Example Definitions
15
+ • feat: A new feature
16
+ • fix: A bug fix
17
+ • perf: A code change that improves performance
18
+ • refactor: A code change that neither fixes a bug nor adds a feature
19
+ • style: Changes that do not affect the meaning of the code (white-space, formatting, spelling mistakes, missing semi-colons, etc)
20
+ • test: Adding missing tests or correcting existing tests
21
+ • docs: Adding/updating documentation
22
+ • chore: Something like updating a library version, or moving files to be in a better location and updating all file refs
23
+ --}}
24
+
25
+
26
+ {{!-- In package.json need to add this to remove label text from the change log output (because the markdown headers are now used to group them).
27
+ NOTES • Individual brackets have been escaped twice to be Json compliant.
28
+ • For items that define a scope eg feat(bldAssess): We remove the 1st bracket and then re-add it so we can select the right piece of text
29
+ {
30
+ "name": "my-awesome-package",
31
+
32
+ "auto-changelog": {
33
+ "replaceText": {
34
+ "([bB]reaking:)": "",
35
+ "([bB]reaking change:)": "",
36
+ "(^[fF]eat:)": "",
37
+ "(^[fF]eat\\()": "\\(",
38
+ "(^[fF]ix:)": "",
39
+ "(^[fF]ix\\()": "\\(",
40
+ "(^[cC]hore:)": "",
41
+ "(^[cC]hore\\()": "\\(",
42
+ "(^[dD]ocs:)": "",
43
+ "(^[dD]ocs\\()": "\\(",
44
+ "(^[rR]efactor:)": "",
45
+ "(^[rR]efactor\\()": "\\(",
46
+ "(^[tT]est:)": "",
47
+ "(^[tT]est\\()": "\\(",
48
+ "(^[sS]tyle:)": "",
49
+ "(^[sS]tyle\\()": "\\(",
50
+ "(^[pP]erf:)": "",
51
+ "(^[pP]erf\\()": "\\("
52
+ }
53
+ }
54
+
55
+ }
56
+ --}}
57
+
58
+ {{!--
59
+ Regex reminders
60
+ ^ = starts with
61
+ \( = ( character (otherwise it is interpreted as a regex lookup group)
62
+ * = zero or more of the previous character
63
+ \s = whitespace
64
+ . = any character except newline
65
+ | = or
66
+ [aA] = character a or character A
67
+ --}}
68
+
69
+
70
+ {{#each releases}}
71
+ {{#if href}}
72
+ ##{{#unless major}}#{{/unless}} [{{title}}]({{href}}) - {{#if tag}} {{niceDate}} {{/if}}
73
+
74
+ {{else}}
75
+ ### {{title}}
76
+ {{/if}}
77
+
78
+
79
+ {{#if summary}}
80
+ {{summary}}
81
+ {{/if}}
82
+
83
+ {{#each fixes}}
84
+ - {{#if commit.breaking}}**Breaking change:** {{/if}}{{commit.subject}}{{#each fixes}}{{/each}}
85
+ {{/each}}
86
+
87
+ {{! List merge commits with 'breaking:' or 'Breaking change:' anywhere in the message under a heading}}
88
+ {{#commit-list merges heading='### Breaking Changes :warning:' message='[bB]reaking [cC]hange:|[bB]reaking:' exclude='\[skip-changelog\]'}}
89
+ - {{message}} @{{author}} [`#{{id}}`]({{href}})
90
+ {{/commit-list}}
91
+
92
+ {{! List commits organised under a heading, but not those already listed in the breaking section }}
93
+ {{#commit-list merges heading='### Build' message='^[bB]uild:|^[bB]uild\(' exclude='[bB]reaking [cC]hange:|[bB]reaking:|\[skip-changelog\]'}}
94
+ - {{message}} ({{author}}{{#if href}} - [#{{id}}]({{href}}){{/if}})
95
+ {{/commit-list}}
96
+
97
+ {{#commit-list merges heading='### Deprecated Features' message='^[dD]eprecate:|^[dD]eprecate\(' exclude='[bB]reaking [cC]hange:|[bB]reaking:|\[skip-changelog\]'}}
98
+ - {{message}} ({{author}}{{#if href}} - [#{{id}}]({{href}}){{/if}})
99
+ {{/commit-list}}
100
+
101
+ {{#commit-list merges heading='### New Features' message='^[fF]eat:|^[fF]eat\(' exclude='[bB]reaking [cC]hange:|[bB]reaking:|\[skip-changelog\]'}}
102
+ - {{message}} ({{author}}{{#if href}} - [#{{id}}]({{href}}){{/if}})
103
+ {{/commit-list}}
104
+
105
+ {{#commit-list merges heading='### Fixes' message='^[fF]ix:|^[fF]ix\(' exclude='[bB]reaking [cC]hange:|[bB]reaking:|\[skip-changelog\]'}}
106
+ - {{message}} ({{author}}{{#if href}} - [#{{id}}]({{href}}){{/if}})
107
+ {{/commit-list}}
108
+
109
+ {{#commit-list merges heading='### Chores And Housekeeping' message='^[cC]hore:|^[cC]hore\(' exclude='[bB]reaking [cC]hange:|[bB]reaking:|\[skip-changelog\]'}}
110
+ - {{message}} ({{author}}{{#if href}} - [#{{id}}]({{href}}){{/if}})
111
+ {{/commit-list}}
112
+
113
+ {{#commit-list merges heading='### Documentation Changes' message='^[dD]ocs:|^[dD]ocs\(' exclude='[bB]reaking [cC]hange:|[bB]reaking:|\[skip-changelog\]'}}
114
+ - {{message}} ({{author}}{{#if href}} - [#{{id}}]({{href}}){{/if}})
115
+ {{/commit-list}}
116
+
117
+ {{#commit-list merges heading='### Refactoring and Updates' message='^[rR]efactor:|^[rR]efactor\(' exclude='[bB]reaking [cC]hange:|[bB]reaking:|\[skip-changelog\]'}}
118
+ - {{message}} ({{author}}{{#if href}} - [#{{id}}]({{href}}){{/if}})
119
+ {{/commit-list}}
120
+
121
+ {{#commit-list merges heading='### Changes to Test Assests' message='^[tT]est:|^[tT]est\(' exclude='[bB]reaking [cC]hange:|[bB]reaking:|\[skip-changelog\]'}}
122
+ - {{message}} ({{author}}{{#if href}} - [#{{id}}]({{href}}){{/if}})
123
+ {{/commit-list}}
124
+
125
+ {{#commit-list merges heading='### Tidying of Code eg Whitespace' message='^[sS]tyle:|^[sS]tyle\(' exclude='[bB]reaking [cC]hange:|[bB]reaking:|\[skip-changelog\]'}}
126
+ - {{message}} ({{author}}{{#if href}} - [#{{id}}]({{href}}){{/if}})
127
+ {{/commit-list}}
128
+
129
+ {{#commit-list merges heading='### Performance Improvements' message='^[pP]erf:|^[pP]erf\(' exclude='[bB]reaking [cC]hange:|[bB]reaking:|\[skip-changelog\]'}}
130
+ - {{message}} ({{author}}{{#if href}} - [#{{id}}]({{href}}){{/if}})
131
+ {{/commit-list}}
132
+
133
+ {{#commit-list merges heading='### CI Improvements' message='^[cC][iI]:|^[cC][iI]\(' exclude='[bB]reaking [cC]hange:|[bB]reaking:|\[skip-changelog\]'}}
134
+ - {{message}} ({{author}}{{#if href}} - [#{{id}}]({{href}}){{/if}})
135
+ {{/commit-list}}
136
+
137
+ {{#commit-list merges heading='### General Changes' exclude='[bB]reaking [cC]hange:|[bB]reaking:|^[bB]uild:|^[bB]uild ?\(|^[dD]eprecate:|^[dD]eprecate ?\(|^[fF]eat:|^[fF]eat ?\(|^[fF]ix:|^[fF]ix ?\(|^[cC]hore:|^[cC]hore ?\(|^[cC][iI]:|^[cC][iI] ?\(|^[dD]ocs:|^[dD]ocs ?\(|^[rR]efactor:|^[rR]efactor ?\(|^[tT]est:|^[tT]est ?\(|^[sS]tyle:|^[sS]tyle ?\(|^[pP]erf:|^[pP]erf ?\(|\[skip-changelog\]'}}
138
+ - {{message}} ({{author}}{{#if href}} - [#{{id}}]({{href}}){{/if}})
139
+ {{/commit-list}}
140
+
141
+
142
+ {{/each}}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cfpb/cfpb-design-system",
3
- "version": "3.2.3",
3
+ "version": "3.2.4",
4
4
  "description": "CFPB's UI framework",
5
5
  "main": "src/index.js",
6
6
  "author": {
@@ -20,5 +20,16 @@
20
20
  "url": "https://github.com/cfpb/design-system/issues"
21
21
  },
22
22
  "gitHead": "d9b9862ef0a34a0ca6f4835347ac7f202ed50e3e",
23
- "type": "module"
23
+ "type": "module",
24
+ "devDependencies": {
25
+ "auto-changelog": "2.5.0"
26
+ },
27
+ "auto-changelog": {
28
+ "commitLimit": false,
29
+ "ignoreCommitPattern": "^Update \".+\" page",
30
+ "output": "./CHANGELOG.md",
31
+ "startingVersion": "v3",
32
+ "template": "./changelog-template.hbs",
33
+ "unreleased": true
34
+ }
24
35
  }