@box/tree 2.1.25 → 2.1.27
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 +2 -6
- package/package.json +8 -8
package/README.md
CHANGED
|
@@ -36,8 +36,7 @@ All commands used with Nx can be found in `project.json` file within your packag
|
|
|
36
36
|
- `nx storybook tree` - launches development environment for UI component.
|
|
37
37
|
- `nx build-storybook tree` - build static version of storybook with all stories.
|
|
38
38
|
- `nx build tree` - build package using `shared-feature-builder` executor from `automation` package.
|
|
39
|
-
- `nx
|
|
40
|
-
- `nx lint tree` - run linter over package files,
|
|
39
|
+
- `nx lint tree` - runs linter over package files.
|
|
41
40
|
- `nx test tree` - runs storybook tests (visual/interactions) and jest unit tests, producing coverage report at the end.
|
|
42
41
|
- `nx test-storybook tree` - runs storybook tests. You need first to start storybook in separate terminal for this to work.
|
|
43
42
|
- `nx test-storybook-local-coverage tree` - runs storybook tests, and produces coverage report at the end. Requires running instance of storybook.
|
|
@@ -53,7 +52,4 @@ Code of the feature belongs to discover. Responsibilities of owning team include
|
|
|
53
52
|
|
|
54
53
|
## Translations
|
|
55
54
|
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
The `i18n/` dir is bundled with this package to enable the consuming app to use the translations included in this component it need to adjust its TranslationPlugin
|
|
59
|
-
see EUA's webpack.base.config.js and i18n.config.js for reference.
|
|
55
|
+
Per-locale `i18n/*.js` files are generated and committed by the Moji Jenkins pipeline. The shared-feature builder copies them into `dist/i18n/` during `build`. Consuming applications list this package in `i18n.config.js` under `translationDependencies`.
|
package/package.json
CHANGED
|
@@ -1,20 +1,20 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@box/tree",
|
|
3
|
-
"version": "2.1.
|
|
3
|
+
"version": "2.1.27",
|
|
4
4
|
"peerDependencies": {
|
|
5
|
-
"@box/blueprint-web": "^16.8.
|
|
6
|
-
"@box/blueprint-web-assets": "^5.
|
|
7
|
-
"@box/item-icon": "^3.2.
|
|
5
|
+
"@box/blueprint-web": "^16.8.3",
|
|
6
|
+
"@box/blueprint-web-assets": "^5.5.1",
|
|
7
|
+
"@box/item-icon": "^3.2.25",
|
|
8
8
|
"react": "^17.0.0 || ^18.0.0",
|
|
9
9
|
"react-accessible-treeview": "2.9.0",
|
|
10
10
|
"react-dom": "^17.0.0 || ^18.0.0",
|
|
11
11
|
"react-intl": "^6.4.2"
|
|
12
12
|
},
|
|
13
13
|
"devDependencies": {
|
|
14
|
-
"@box/blueprint-web": "^16.8.
|
|
15
|
-
"@box/blueprint-web-assets": "^5.
|
|
16
|
-
"@box/item-icon": "^3.2.
|
|
17
|
-
"@box/storybook-utils": "^1.1.
|
|
14
|
+
"@box/blueprint-web": "^16.8.3",
|
|
15
|
+
"@box/blueprint-web-assets": "^5.5.1",
|
|
16
|
+
"@box/item-icon": "^3.2.25",
|
|
17
|
+
"@box/storybook-utils": "^1.1.25",
|
|
18
18
|
"@faker-js/faker": "^8.4.1",
|
|
19
19
|
"react": "^18.3.0",
|
|
20
20
|
"react-dom": "^18.3.0",
|