@cfpb/ccdb5-ui 2.22.0 → 2.23.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/README.md +3 -11
- package/dist/ccdb5.css +1 -1
- package/dist/ccdb5.js +7 -7
- package/dist/ccdb5.js.LICENSE.txt +11 -1
- package/package.json +27 -35
package/README.md
CHANGED
|
@@ -7,15 +7,10 @@ This application allows consumers to search complaints submitted to the CFPB by
|
|
|
7
7
|
|
|
8
8
|
This application is written in JavaScript and [Sass](https://sass-lang.com/) within
|
|
9
9
|
the [React](https://facebook.github.io/react/) + [Redux](http://redux.js.org/)
|
|
10
|
-
framework. It uses [
|
|
11
|
-
manage module loading.
|
|
12
|
-
|
|
13
|
-
The code is written with the [ES6](http://es6-features.org/) feature set
|
|
14
|
-
of JavaScript. Backwards compatibility is achieved by compiling the script with
|
|
15
|
-
[Babel](https://babeljs.io/) prior to using it within the browser.
|
|
10
|
+
framework. It uses [Rsbuild](https://rsbuild.rs/) to bundle the app for the browser.
|
|
16
11
|
|
|
17
12
|
Unit testing of the application is performed within
|
|
18
|
-
[
|
|
13
|
+
[Rstest](https://rstest.rs/) with
|
|
19
14
|
[Testing Library](https://testing-library.com/) providing support for event testing.
|
|
20
15
|
|
|
21
16
|
[Yarn](https://yarnpkg.com/) (via Corepack) is used to manage the build/test/deploy cycle.
|
|
@@ -88,14 +83,12 @@ Enter `Control-C` to exit development mode
|
|
|
88
83
|
|
|
89
84
|
#### Unit testing
|
|
90
85
|
|
|
91
|
-
To
|
|
86
|
+
To run the JavaScript unit tests (including coverage for Coveralls):
|
|
92
87
|
|
|
93
88
|
```bash
|
|
94
89
|
yarn test
|
|
95
90
|
```
|
|
96
91
|
|
|
97
|
-
Enter `Control-C` to exit interactive watch mode
|
|
98
|
-
|
|
99
92
|
## Cypress integration tests
|
|
100
93
|
|
|
101
94
|
Our browser-based tests check base-line user operations for [consumer complaint search](https://www.consumerfinance.gov/data-research/consumer-complaints/search/). The tests are run against JSON fixtures from the [ccdb5-api](https://github.com/cfpb/ccdb5-api).
|
|
@@ -211,7 +204,6 @@ Ready to publish changes to npm?
|
|
|
211
204
|
- When running the project under CFGOV, you will need to index complaints to have a functioning app. The default docker setup of cfgov does not index any complaint data.
|
|
212
205
|
You will have to run the [CCDB Data Pipeline](https://github.com/cfpb/ccdb-data-pipeline/blob/main/INSTALL.md) and load complaints into Elasticsearch.
|
|
213
206
|
|
|
214
|
-
|
|
215
207
|
## Getting help
|
|
216
208
|
|
|
217
209
|
If you have questions, concerns, bug reports, etc, please file an issue in this
|