@box/threaded-annotations 4.0.5 → 4.0.7
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 +11 -11
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 threaded-annotations` - launches development environment for UI component.
|
|
34
34
|
- `nx build-storybook threaded-annotations` - build static version of storybook with all stories.
|
|
35
35
|
- `nx build threaded-annotations` - build package using `shared-feature-builder` executor from `automation` package.
|
|
36
|
-
- `nx build threaded-annotations --watch` - build package with --watch flag enabled, which rebuilds `dist` content based on changes in `src
|
|
37
|
-
- `nx
|
|
38
|
-
- `nx lint threaded-annotations` - run linter over package files,
|
|
36
|
+
- `nx build threaded-annotations --watch` - build package with --watch flag enabled, which rebuilds `dist` content based on changes in `src`.
|
|
37
|
+
- `nx lint threaded-annotations` - runs linter over package files.
|
|
39
38
|
- `nx test threaded-annotations` - runs storybook tests (visual/interactions) and jest unit tests, producing coverage report at the end.
|
|
40
39
|
- `nx test-storybook threaded-annotations` - runs storybook tests. You need first to start storybook in separate terminal for this to work.
|
|
41
40
|
- `nx test-storybook-local-coverage threaded-annotations` - 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 box-notes. Responsibilities of owning team includ
|
|
|
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,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@box/threaded-annotations",
|
|
3
|
-
"version": "4.0.
|
|
3
|
+
"version": "4.0.7",
|
|
4
4
|
"license": "SEE LICENSE IN LICENSE",
|
|
5
5
|
"dependencies": {
|
|
6
6
|
"@floating-ui/dom": "^1.6.0",
|
|
@@ -17,23 +17,23 @@
|
|
|
17
17
|
"uuid": "^9.0.1"
|
|
18
18
|
},
|
|
19
19
|
"peerDependencies": {
|
|
20
|
-
"@box/blueprint-web": "^16.8.
|
|
21
|
-
"@box/blueprint-web-assets": "^5.5.
|
|
22
|
-
"@box/collaboration-popover": "^2.1.
|
|
23
|
-
"@box/readable-time": "^2.1.
|
|
24
|
-
"@box/user-selector": "^2.1.
|
|
20
|
+
"@box/blueprint-web": "^16.8.3",
|
|
21
|
+
"@box/blueprint-web-assets": "^5.5.1",
|
|
22
|
+
"@box/collaboration-popover": "^2.1.26",
|
|
23
|
+
"@box/readable-time": "^2.1.26",
|
|
24
|
+
"@box/user-selector": "^2.1.28",
|
|
25
25
|
"clsx": "^1.2.1",
|
|
26
26
|
"react": "^18.0.0",
|
|
27
27
|
"react-dom": "^18.0.0",
|
|
28
28
|
"react-intl": "^6.4.2"
|
|
29
29
|
},
|
|
30
30
|
"devDependencies": {
|
|
31
|
-
"@box/blueprint-web": "^16.8.
|
|
32
|
-
"@box/blueprint-web-assets": "^5.5.
|
|
31
|
+
"@box/blueprint-web": "^16.8.3",
|
|
32
|
+
"@box/blueprint-web-assets": "^5.5.1",
|
|
33
33
|
"@box/eslint-plugin-blueprint": "2.1.10",
|
|
34
|
-
"@box/readable-time": "^2.1.
|
|
35
|
-
"@box/storybook-utils": "^1.1.
|
|
36
|
-
"@box/user-selector": "^2.1.
|
|
34
|
+
"@box/readable-time": "^2.1.26",
|
|
35
|
+
"@box/storybook-utils": "^1.1.25",
|
|
36
|
+
"@box/user-selector": "^2.1.28",
|
|
37
37
|
"react": "^18.0.0",
|
|
38
38
|
"react-dom": "^18.0.0"
|
|
39
39
|
},
|