@box/box-ai-content-answers 2.1.26 → 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.
Files changed (2) hide show
  1. package/README.md +2 -6
  2. package/package.json +3 -3
package/README.md CHANGED
@@ -39,8 +39,7 @@ All commands used with Nx can be found in `project.json` file within your packag
39
39
  - `nx storybook box-ai-content-answers` - launches development environment for UI component.
40
40
  - `nx build-storybook box-ai-content-answers` - build static version of storybook with all stories.
41
41
  - `nx build box-ai-content-answers` - build package using `shared-feature-builder` executor from `automation` package.
42
- - `nx build-locales box-ai-content-answers` - generate `i18n/*.js` and `i18n/*.properties` files out of `i18n/json/*.json` files to be imported by `react-intl`.
43
- - `nx lint box-ai-content-answers` - run linter over package files,
42
+ - `nx lint box-ai-content-answers` - runs linter over package files.
44
43
  - `nx test box-ai-content-answers` - runs storybook tests (visual/interactions) and jest unit tests, producing coverage report at the end.
45
44
  - `nx test-storybook box-ai-content-answers` - runs storybook tests. You need first to start storybook in separate terminal for this to work.
46
45
  - `nx test-storybook-local-coverage box-ai-content-answers` - runs storybook tests, and produces coverage report at the end. Requires running instance of storybook.
@@ -56,10 +55,7 @@ Code of the feature belongs to #ai-experiences. Responsibilities of owning team
56
55
 
57
56
  ## Translations
58
57
 
59
- 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]
60
-
61
- 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],
62
- see EUA's [webpack.base.config.js] and [i18n.config.js] for reference.
58
+ 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`.
63
59
 
64
60
  ## Development
65
61
 
package/package.json CHANGED
@@ -1,10 +1,10 @@
1
1
  {
2
2
  "name": "@box/box-ai-content-answers",
3
- "version": "2.1.26",
3
+ "version": "2.1.27",
4
4
  "peerDependencies": {
5
5
  "@box/blueprint-web": "^16.8.2",
6
6
  "@box/blueprint-web-assets": "^5.5.0",
7
- "@box/box-ai-agent-selector": "^2.1.25",
7
+ "@box/box-ai-agent-selector": "^2.1.26",
8
8
  "@box/item-icon": "^3.2.24",
9
9
  "formik": "^2.0.3",
10
10
  "highlight.js": "^11.9.0",
@@ -19,7 +19,7 @@
19
19
  "@box/babel-plugin-target-attributes": "2.1.10",
20
20
  "@box/blueprint-web": "^16.8.2",
21
21
  "@box/blueprint-web-assets": "^5.5.0",
22
- "@box/box-ai-agent-selector": "^2.1.25",
22
+ "@box/box-ai-agent-selector": "^2.1.26",
23
23
  "@box/item-icon": "^3.2.24",
24
24
  "@box/storybook-utils": "^1.1.24",
25
25
  "@testing-library/react": "^15.0.6",