Skip to content

Commit

Permalink
fix() add missing dep of react-i18next
Browse files Browse the repository at this point in the history
  • Loading branch information
weareoutman committed Jan 12, 2025
1 parent 776523d commit d0601b0
Show file tree
Hide file tree
Showing 15 changed files with 22 additions and 22 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -46,9 +46,9 @@ jobs:
with:
save-always: true
path: .cache
key: ${{ runner.os }}-nx-${{ hashFiles('yarn.lock', 'package.json', 'shared/common-bricks/common-bricks.json') }}-${{ hashFiles('**/package.json') }}
key: ${{ runner.os }}-nx-${{ hashFiles('yarn.lock', 'package.json') }}-${{ hashFiles('**/package.json') }}
restore-keys: |
${{ runner.os }}-nx-${{ hashFiles('yarn.lock', 'package.json', 'shared/common-bricks/common-bricks.json') }}-
${{ runner.os }}-nx-${{ hashFiles('yarn.lock', 'package.json') }}-
# Fix `yarn install --frozen-lockfile` not working in monorepo.
# https://github.com/yarnpkg/yarn/issues/5840#issuecomment-468782288
Expand Down
3 changes: 2 additions & 1 deletion bricks/advanced/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,8 @@
"react-dnd": "^16.0.1",
"react-dnd-html5-backend": "^16.0.1",
"react-dom": "0.0.0-experimental-ee8509801-20230117",
"react-grid-layout": "^1.4.3"
"react-grid-layout": "^1.4.3",
"react-i18next": "^12.3.1"
},
"devDependencies": {
"@next-core/build-next-bricks": "^1.23.9",
Expand Down
3 changes: 2 additions & 1 deletion bricks/basic/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,8 @@
"classnames": "^2.3.2",
"dompurify": "^3.1.6",
"lodash": "^4.17.21",
"react": "0.0.0-experimental-ee8509801-20230117"
"react": "0.0.0-experimental-ee8509801-20230117",
"react-i18next": "^12.3.1"
},
"devDependencies": {
"@next-core/build-next-bricks": "^1.23.9",
Expand Down
1 change: 1 addition & 0 deletions bricks/data-view/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,7 @@
"d3-geo": "^3.1.1",
"d3-hierarchy": "^3.1.2",
"react": "0.0.0-experimental-ee8509801-20230117",
"react-i18next": "^12.3.1",
"resize-observer-polyfill": "^1.5.1",
"three": "^0.150.1"
},
Expand Down
2 changes: 1 addition & 1 deletion bricks/data-view/src/china-map/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -319,7 +319,7 @@ export function ChinaMapComponent({

// 标签
setLabels(
dataSource?.flatMap((label) => {
dataSource?.flatMap<Label>((label) => {
let lng: number;
let lat: number;
if (matchedProvince) {
Expand Down
3 changes: 2 additions & 1 deletion bricks/form-platform/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,8 @@
"@next-core/react-element": "^1.0.35",
"@next-core/theme": "^1.5.4",
"@next-shared/story": "^0.0.4",
"react": "0.0.0-experimental-ee8509801-20230117"
"react": "0.0.0-experimental-ee8509801-20230117",
"react-i18next": "^12.3.1"
},
"devDependencies": {
"@next-api-sdk/cmdb-sdk": "^1.1.1",
Expand Down
1 change: 1 addition & 0 deletions bricks/form/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,7 @@
"react-dnd": "^16.0.1",
"react-dnd-html5-backend": "^16.0.1",
"react-dom": "0.0.0-experimental-ee8509801-20230117",
"react-i18next": "^12.3.1",
"resize-observer-polyfill": "^1.5.1"
},
"devDependencies": {
Expand Down
1 change: 0 additions & 1 deletion bricks/icons/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,6 @@
"inputs": [
"prod",
"global",
"{workspaceRoot}/shared/common-bricks/common-bricks.json",
"{workspaceRoot}/shared/icons/src/**/*"
]
}
Expand Down
3 changes: 2 additions & 1 deletion bricks/mini-chart/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,8 @@
"@next-core/react-element": "^1.0.35",
"@next-core/theme": "^1.5.4",
"d3-shape": "^3.2.0",
"react": "0.0.0-experimental-ee8509801-20230117"
"react": "0.0.0-experimental-ee8509801-20230117",
"react-i18next": "^12.3.1"
},
"devDependencies": {
"@next-core/build-next-bricks": "^1.23.9",
Expand Down
1 change: 1 addition & 0 deletions bricks/nav/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,7 @@
"lodash": "^4.17.21",
"react": "0.0.0-experimental-ee8509801-20230117",
"react-dom": "0.0.0-experimental-ee8509801-20230117",
"react-i18next": "^12.3.1",
"react-transition-group": "^4.4.5"
},
"devDependencies": {
Expand Down
1 change: 1 addition & 0 deletions bricks/presentational/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,7 @@
"prism-react-renderer": "^2.0.6",
"prismjs": "^1.29.0",
"react": "0.0.0-experimental-ee8509801-20230117",
"react-i18next": "^12.3.1",
"resize-observer-polyfill": "^1.5.1"
},
"devDependencies": {
Expand Down
3 changes: 2 additions & 1 deletion bricks/recent-history/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,8 @@
"@next-core/theme": "^1.5.4",
"@next-shared/general": "^0.10.5",
"mnemonist": "^0.39.5",
"react": "0.0.0-experimental-ee8509801-20230117"
"react": "0.0.0-experimental-ee8509801-20230117",
"react-i18next": "^12.3.1"
},
"devDependencies": {
"@next-core/build-next-bricks": "^1.23.9",
Expand Down
3 changes: 2 additions & 1 deletion bricks/visual-builder/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,8 @@
"lodash": "^4.17.21",
"moment": "^2.29.4",
"path-to-regexp": "^6.2.2",
"react": "0.0.0-experimental-ee8509801-20230117"
"react": "0.0.0-experimental-ee8509801-20230117",
"react-i18next": "^12.3.1"
},
"devDependencies": {
"@next-core/build-next-bricks": "^1.23.9",
Expand Down
1 change: 1 addition & 0 deletions bricks/vs/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,7 @@
"monaco-editor": "^0.50.0",
"monaco-editor-webpack-plugin": "^7.1.0",
"react": "0.0.0-experimental-ee8509801-20230117",
"react-i18next": "^12.3.1",
"yaml": "^2.5.1"
},
"devDependencies": {
Expand Down
14 changes: 2 additions & 12 deletions nx.json
Original file line number Diff line number Diff line change
Expand Up @@ -34,12 +34,7 @@
"targetDefaults": {
"build": {
"dependsOn": ["^build"],
"inputs": [
"prod",
"^prod",
"global",
"{workspaceRoot}/shared/common-bricks/common-bricks.json"
],
"inputs": ["prod", "^prod", "global"],
"outputs": [
"{projectRoot}/dist",
"{projectRoot}/dist-types",
Expand All @@ -48,12 +43,7 @@
]
},
"build:main": {
"inputs": [
"prod",
"^prod",
"global",
"{workspaceRoot}/shared/common-bricks/common-bricks.json"
],
"inputs": ["prod", "^prod", "global"],
"outputs": [
"{projectRoot}/dist",
"{projectRoot}/.pkgbuild",
Expand Down

0 comments on commit d0601b0

Please sign in to comment.