Skip to content

Commit

Permalink
chore: add warning for upcoming removal of built-in language support …
Browse files Browse the repository at this point in the history
…in v0.1.13
  • Loading branch information
jikkai committed May 24, 2024
1 parent 3a7f97c commit c44dd3a
Show file tree
Hide file tree
Showing 15 changed files with 59 additions and 39 deletions.
2 changes: 1 addition & 1 deletion examples/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
"@univerjs/engine-render": "workspace:*",
"@univerjs/facade": "workspace:*",
"@univerjs/find-replace": "workspace:*",
"@univerjs/icons": "^0.1.47",
"@univerjs/icons": "^0.1.52",
"@univerjs/image": "workspace:*",
"@univerjs/rpc": "workspace:*",
"@univerjs/sheets": "workspace:*",
Expand Down
2 changes: 1 addition & 1 deletion packages/design/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@
"@rc-component/color-picker": "^1.5.3",
"@rc-component/trigger": "^1.18.3",
"@types/react-mentions": "^4.1.13",
"@univerjs/icons": "^0.1.46",
"@univerjs/icons": "^0.1.52",
"rc-dialog": "^9.4.0",
"rc-dropdown": "^4.2.0",
"rc-input": "^1.4.5",
Expand Down
2 changes: 1 addition & 1 deletion packages/find-replace/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@
"rxjs": ">=7.0.0"
},
"dependencies": {
"@univerjs/icons": "^0.1.47"
"@univerjs/icons": "^0.1.52"
},
"devDependencies": {
"@types/react": "^18.2.79",
Expand Down
2 changes: 1 addition & 1 deletion packages/image/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@
"rxjs": ">=7.0.0"
},
"dependencies": {
"@univerjs/icons": "^0.1.47"
"@univerjs/icons": "^0.1.52"
},
"devDependencies": {
"@univerjs/core": "workspace:*",
Expand Down
2 changes: 1 addition & 1 deletion packages/sheets-conditional-formatting-ui/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@
"rxjs": ">=7.0.0"
},
"dependencies": {
"@univerjs/icons": "^0.1.47",
"@univerjs/icons": "^0.1.52",
"@univerjs/sheets-conditional-formatting": "workspace:*",
"lodash.get": "^4.4.2",
"lodash.set": "^4.3.2",
Expand Down
2 changes: 1 addition & 1 deletion packages/sheets-data-validation/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@
"rxjs": ">=7.0.0"
},
"dependencies": {
"@univerjs/icons": "^0.1.47"
"@univerjs/icons": "^0.1.52"
},
"devDependencies": {
"@univerjs/core": "workspace:*",
Expand Down
2 changes: 1 addition & 1 deletion packages/sheets-filter-ui/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@
"rxjs": ">=7.0.0"
},
"dependencies": {
"@univerjs/icons": "^0.1.47",
"@univerjs/icons": "^0.1.52",
"rc-virtual-list": "^3.11.5"
},
"devDependencies": {
Expand Down
2 changes: 1 addition & 1 deletion packages/sheets-formula/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@
"rxjs": ">=7.0.0"
},
"dependencies": {
"@univerjs/icons": "^0.1.47"
"@univerjs/icons": "^0.1.52"
},
"devDependencies": {
"@types/react": "^18.2.79",
Expand Down
2 changes: 1 addition & 1 deletion packages/sheets-numfmt/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@
"rxjs": ">=7.0.0"
},
"dependencies": {
"@univerjs/icons": "^0.1.47"
"@univerjs/icons": "^0.1.52"
},
"devDependencies": {
"@types/react": "^18.2.79",
Expand Down
2 changes: 1 addition & 1 deletion packages/sheets-thread-comment/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@
"rxjs": ">=7.0.0"
},
"dependencies": {
"@univerjs/icons": "^0.1.47",
"@univerjs/icons": "^0.1.52",
"@univerjs/thread-comment": "workspace:*",
"@univerjs/thread-comment-ui": "workspace:*"
},
Expand Down
2 changes: 1 addition & 1 deletion packages/sheets-zen-editor/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@
"rxjs": ">=7.0.0"
},
"dependencies": {
"@univerjs/icons": "^0.1.47"
"@univerjs/icons": "^0.1.52"
},
"devDependencies": {
"@univerjs/core": "workspace:*",
Expand Down
2 changes: 1 addition & 1 deletion packages/thread-comment-ui/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@
"rxjs": ">=7.0.0"
},
"dependencies": {
"@univerjs/icons": "^0.1.47",
"@univerjs/icons": "^0.1.52",
"@univerjs/protocol": "^0.1.32",
"@univerjs/thread-comment": "workspace:*"
},
Expand Down
2 changes: 1 addition & 1 deletion packages/ui/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@
"rxjs": ">=7.0.0"
},
"dependencies": {
"@univerjs/icons": "^0.1.47",
"@univerjs/icons": "^0.1.52",
"localforage": "^1.10.0",
"rc-notification": "^5.5.0",
"rc-util": "^5.39.3"
Expand Down
9 changes: 9 additions & 0 deletions packages/ui/src/views/App.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,15 @@ export function App(props: IUniverAppProps) {

const [updateTrigger, setUpdateTrigger] = useState(false);

useEffect(() => {
console.warn(
'\x1B[33m%s\x1B[0m',
'[Univer Warning]',
'We will remove the built-in language support in the next version (v0.1.13), please add the language support manually.',
'Please refer to the release notes for more information: https://github.com/dream-num/univer/releases/tag/v0.1.12'
);
}, []);

useEffect(() => {
const updateSubscription = uiPartsService.componentRegistered$.subscribe(() => {
setUpdateTrigger((prev) => !prev);
Expand Down
63 changes: 37 additions & 26 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit c44dd3a

Please sign in to comment.