@iabbb/bds-react 0.38.4 → 0.38.6
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 +8 -0
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -12,6 +12,14 @@ yarn add @iabbb/bds-react
|
|
|
12
12
|
|
|
13
13
|
`@iabbb/bds` is a peer dependency, and should be installed at the same version as `@iabbb/bds-react`.
|
|
14
14
|
|
|
15
|
+
## Usage with Jest
|
|
16
|
+
|
|
17
|
+
By default, Jest does not transpile external packages. You can fix this by adding
|
|
18
|
+
[transformIgnorePatterns](https://jestjs.io/docs/configuration#transformignorepatterns-arraystring) to your Jest
|
|
19
|
+
config, like so:
|
|
20
|
+
|
|
21
|
+
`transformIgnorePatterns: ['/node_modules/(?!@iabbb/bds-react)']`
|
|
22
|
+
|
|
15
23
|
## Documentation
|
|
16
24
|
|
|
17
25
|
[BDS Storybook](https://iabbb.github.io/bds/?path=/docs/bds-documentation--docs)
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@iabbb/bds-react",
|
|
3
|
-
"version": "0.38.
|
|
3
|
+
"version": "0.38.6",
|
|
4
4
|
"main": "src/index.js",
|
|
5
5
|
"exports": {
|
|
6
6
|
"./*": "./src/*",
|
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
"./README.md": "./README.md"
|
|
9
9
|
},
|
|
10
10
|
"devDependencies": {
|
|
11
|
-
"@babel/core": "7.22.
|
|
11
|
+
"@babel/core": "7.22.9",
|
|
12
12
|
"@babel/preset-env": "7.22.7",
|
|
13
13
|
"@babel/preset-react": "7.22.5",
|
|
14
14
|
"cross-env": "7.0.3",
|