@box/content-field 2.1.25 → 2.1.26
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 -7
- package/package.json +6 -6
package/README.md
CHANGED
|
@@ -33,9 +33,8 @@ All commands used with Nx can be found in `project.json` file within your packag
|
|
|
33
33
|
- `nx storybook content-field` - launches development environment for UI component.
|
|
34
34
|
- `nx build-storybook content-field` - build static version of storybook with all stories.
|
|
35
35
|
- `nx build content-field` - build package using `shared-feature-builder` executor from `automation` package.
|
|
36
|
-
- `nx build content-field --watch` - build package with --watch flag enabled, which rebuilds `dist` content based on changes in `src
|
|
37
|
-
- `nx
|
|
38
|
-
- `nx lint content-field` - run linter over package files,
|
|
36
|
+
- `nx build content-field --watch` - build package with --watch flag enabled, which rebuilds `dist` content based on changes in `src`.
|
|
37
|
+
- `nx lint content-field` - runs linter over package files.
|
|
39
38
|
- `nx test content-field` - runs storybook tests (visual/interactions) and jest unit tests, producing coverage report at the end.
|
|
40
39
|
- `nx test-storybook content-field` - runs storybook tests. You need first to start storybook in separate terminal for this to work.
|
|
41
40
|
- `nx test-storybook-local-coverage content-field` - runs storybook tests, and produces coverage report at the end. Requires running instance of storybook.
|
|
@@ -51,7 +50,4 @@ Code of the feature belongs to relay. Responsibilities of owning team include co
|
|
|
51
50
|
|
|
52
51
|
## Translations
|
|
53
52
|
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
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 it's [TranslationsPlugin](https://git.dev.box.net/Box/frontend/blob/master/webpack/README.md#translationsplugin),
|
|
57
|
-
see EUA's [webpack.base.config.js](https://git.dev.box.net/Box/EndUserApp/blob/master/conf/webpack/webpack.base.js#L270-L273) and [i18n.config.js](https://git.dev.box.net/Box/EndUserApp/blob/master/i18n.config.js) for reference.
|
|
53
|
+
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/content-field",
|
|
3
|
-
"version": "2.1.
|
|
3
|
+
"version": "2.1.26",
|
|
4
4
|
"license": "SEE LICENSE IN LICENSE",
|
|
5
5
|
"peerDependencies": {
|
|
6
6
|
"@ariakit/react": "^0.4.21",
|
|
7
|
-
"@box/blueprint-web": "^16.8.
|
|
8
|
-
"@box/blueprint-web-assets": "^5.5.
|
|
7
|
+
"@box/blueprint-web": "^16.8.3",
|
|
8
|
+
"@box/blueprint-web-assets": "^5.5.1",
|
|
9
9
|
"react": "^18.0.0",
|
|
10
10
|
"react-dom": "^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.5.
|
|
14
|
+
"@box/blueprint-web": "^16.8.3",
|
|
15
|
+
"@box/blueprint-web-assets": "^5.5.1",
|
|
16
16
|
"@box/eslint-plugin-blueprint": "2.1.10",
|
|
17
|
-
"@box/storybook-utils": "1.1.
|
|
17
|
+
"@box/storybook-utils": "1.1.25",
|
|
18
18
|
"@testing-library/react": "^15.0.6",
|
|
19
19
|
"react-intl": "^6.4.2"
|
|
20
20
|
},
|