@box/metadata-editor 2.2.29 → 2.2.31

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.
Files changed (2) hide show
  1. package/README.md +2 -6
  2. package/package.json +12 -12
package/README.md CHANGED
@@ -33,8 +33,7 @@ All commands used with Nx can be found in `project.json` file within your packag
33
33
  - `nx storybook metadata-editor` - launches development environment for UI component.
34
34
  - `nx build-storybook metadata-editor` - build static version of storybook with all stories.
35
35
  - `nx build metadata-editor` - build package using `shared-feature-builder` executor from `automation` package.
36
- - `nx build-locales metadata-editor` - generate `i18n/*.js` and `i18n/*.properties` files out of `i18n/json/*.json` files to be imported by `react-intl`.
37
- - `nx lint metadata-editor` - run linter over package files,
36
+ - `nx lint metadata-editor` - runs linter over package files.
38
37
  - `nx test metadata-editor` - runs storybook tests (visual/interactions) and jest unit tests, producing coverage report at the end.
39
38
  - `nx test-storybook metadata-editor` - runs storybook tests. You need first to start storybook in separate terminal for this to work.
40
39
  - `nx test-storybook-local-coverage metadata-editor` - runs storybook tests, and produces coverage report at the end. Requires running instance of storybook.
@@ -50,7 +49,4 @@ Code of the feature belongs to product-adoption. Responsibilities of owning team
50
49
 
51
50
  ## Translations
52
51
 
53
- For translations this package will be leveraging `@box/frontend` as it has the required scripts to do translations the Box way, for more information on this checkout their i18n docs [here].
54
-
55
- 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],
56
- see EUA's [webpack.base.config.js] and [i18n.config.js] for reference.
52
+ 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,14 +1,14 @@
1
1
  {
2
2
  "name": "@box/metadata-editor",
3
- "version": "2.2.29",
3
+ "version": "2.2.31",
4
4
  "peerDependencies": {
5
5
  "@ariakit/react": "0.4.21",
6
- "@box/blueprint-web": "^16.8.2",
7
- "@box/blueprint-web-assets": "^5.5.0",
8
- "@box/box-ai-agent-selector": "^2.1.25",
9
- "@box/combobox-with-api": "^2.1.26",
10
- "@box/metadata-taxonomy-picker": "^3.1.26",
11
- "@box/metadata-template-browser": "^2.1.25",
6
+ "@box/blueprint-web": "^16.8.3",
7
+ "@box/blueprint-web-assets": "^5.5.1",
8
+ "@box/box-ai-agent-selector": "^2.1.27",
9
+ "@box/combobox-with-api": "^2.1.27",
10
+ "@box/metadata-taxonomy-picker": "^3.1.27",
11
+ "@box/metadata-template-browser": "^2.1.26",
12
12
  "formik": "^2.0.3",
13
13
  "lodash": "^4.17.15",
14
14
  "react": "^17.0.0 || ^18.0.0",
@@ -18,11 +18,11 @@
18
18
  "devDependencies": {
19
19
  "@ariakit/react": "0.4.21",
20
20
  "@box/babel-plugin-target-attributes": "2.1.10",
21
- "@box/blueprint-web": "^16.8.2",
22
- "@box/blueprint-web-assets": "^5.5.0",
23
- "@box/box-ai-agent-selector": "^2.1.25",
24
- "@box/metadata-taxonomy-picker": "^3.1.26",
25
- "@box/storybook-utils": "^1.1.24",
21
+ "@box/blueprint-web": "^16.8.3",
22
+ "@box/blueprint-web-assets": "^5.5.1",
23
+ "@box/box-ai-agent-selector": "^2.1.27",
24
+ "@box/metadata-taxonomy-picker": "^3.1.27",
25
+ "@box/storybook-utils": "^1.1.25",
26
26
  "@testing-library/react": "^15.0.6",
27
27
  "react": "^18.3.0",
28
28
  "react-dom": "^18.3.0",