@rebilly/framepay-react 2.2.0 → 2.3.0

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,3 +1,10 @@
1
+ ## [2.3.0](https://github.com/Rebilly/rebilly/compare/framepay-react-v2.2.0...framepay-react-v2.3.0) (2023-05-05)
2
+
3
+
4
+ ### Features
5
+
6
+ * **instruments:** Use JSON schema to validate mount options ([#211](https://github.com/Rebilly/rebilly/issues/211)) ([f304128](https://github.com/Rebilly/rebilly/commit/f304128c4cfc85f367f64c952625d31d08f845f5))
7
+
1
8
  ## [2.2.0](https://github.com/Rebilly/rebilly/compare/framepay-react-v2.1.0...framepay-react-v2.2.0) (2023-04-19)
2
9
 
3
10
 
package/README.md CHANGED
@@ -35,8 +35,6 @@ This package is a wrapper for [FramePay](https://rebilly.github.io/framepay-docs
35
35
  - [Incorrect](#incorrect)
36
36
  - [Correct](#correct)
37
37
  - [Developer instructions](#developer-instructions)
38
- - [Prerequisites](#prerequisites)
39
- - [Project setup](#project-setup)
40
38
  - [Manual preview](#manual-preview)
41
39
  - [How to run unit tests?](#how-to-run-unit-tests)
42
40
  - [How to run E2E tests?](#how-to-run-e2e-tests)
@@ -321,21 +319,6 @@ class SomeComponent extends React.Component {
321
319
 
322
320
  ### Developer instructions
323
321
 
324
- #### Prerequisites
325
- Before proceeding further, [download and install Node.js](https://nodejs.org/en/download/) in case you have not already. Node.js v12 or higher is required.
326
-
327
- #### Project setup
328
- 1. Clone the repository
329
- 1. Install dependencies using [Yarn](https://yarnpkg.com/en/):
330
- ```
331
- yarn install
332
- ```
333
-
334
- Or using NPM:
335
- ```
336
- npm install
337
- ```
338
-
339
322
  #### Manual preview
340
323
  In order to manually preview the examples, use `serve:e2e` command. It builds the project and starts the local server on the port 8000.
341
324
 
@@ -343,7 +326,8 @@ In order to manually preview the examples, use `serve:e2e` command. It builds th
343
326
  Unit tests can be run using the `test:unit` command.
344
327
 
345
328
  #### How to run E2E tests?
346
- - Ensure you are running the preview examples, otherwise all E2E tests will fail
329
+ - Ensure you are running the preview examples, otherwise all E2E tests will fail.
347
330
  - Run one of the following commands:
348
- - `test:e2e:run` - runs all tests headlessly
349
- - `test:e2e:open` - opens GUI which allows you to interact with each test visually
331
+ - `test:e2e:pr` - runs a smaller subset of E2E tests tests headlessly.
332
+ - `test:e2e:post-merge` - runs the complete set of E2E tests tests headlessly.
333
+ - `test:e2e:open` - opens the cypress GUI, allowing you to interact with each test visually.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@rebilly/framepay-react",
3
- "version": "2.2.0",
3
+ "version": "2.3.0",
4
4
  "description": "A React wrapper for Rebilly's FramePay offering out-of-the-box support for Redux and other common React features",
5
5
  "main": "build/index.js",
6
6
  "author": "Rebilly",
@@ -72,7 +72,7 @@
72
72
  "@testing-library/cypress": "^9.0.0",
73
73
  "@testing-library/jest-dom": "^5.16.5",
74
74
  "@testing-library/react": "^13.4.0",
75
- "@types/jest": "^29.5.0",
75
+ "@types/jest": "^29.5.1",
76
76
  "@types/node": "^18.15.7",
77
77
  "core-js": "^3.23.3",
78
78
  "cross-env": "^5.2.0",
@@ -80,12 +80,12 @@
80
80
  "cypress-iframe": "^1.0.1",
81
81
  "dotenv": "^7.0.0",
82
82
  "express": "^4.16.4",
83
- "jest": "^29.3.1",
83
+ "jest": "^29.5.0",
84
84
  "jest-environment-jsdom": "^28.0.0",
85
85
  "npm-run-all": "^4.1.5",
86
86
  "parcel-bundler": "^1.12.5",
87
87
  "portfinder": "^1.0.20",
88
- "prettier": "^2.7.1",
88
+ "prettier": "^2.8.8",
89
89
  "prop-types": "^15.0.0",
90
90
  "react": "^18.2.0",
91
91
  "react-dom": "^18.2.0",