Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: update umi rc22 #332

Merged
merged 1 commit into from
Jun 14, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 9 additions & 0 deletions .changeset/chilled-dragons-bathe.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
---
'@examples/boilerplate': patch
'alita': patch
'create-alita': patch
'@alita/native': patch
'@alita/plugins': patch
---

feat: update umi rc 22
13 changes: 11 additions & 2 deletions examples/boilerplate/src/pages/index.tsx
Original file line number Diff line number Diff line change
@@ -1,4 +1,13 @@
import { history } from 'alita';
import React from 'react';
import styles from './index.less';

export default () => <div className={styles['adm-button']}>Hello Alita</div>;
export default () => (
<div
className={styles['adm-button']}
onClick={() => {
history.push('/users');
}}
>
Hello Alita
</div>
);
6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,9 +24,9 @@
"devDependencies": {
"@types/qrcode-terminal": "*",
"@types/rimraf": "3.0.2",
"umi": "4.0.0-rc.21",
"@umijs/utils": "4.0.0-rc.21",
"@umijs/plugin-docs": "4.0.0-rc.21",
"umi": "4.0.0-rc.22",
"@umijs/utils": "4.0.0-rc.22",
"@umijs/plugin-docs": "4.0.0-rc.22",
"@changesets/cli": "2.19.0",
"@changesets/changelog-github": "0.4.2",
"alita": "3.0.0-rc.6",
Expand Down
10 changes: 5 additions & 5 deletions packages/alita/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -33,12 +33,12 @@
"dependencies": {
"@alita/native": "3.0.0-rc.10",
"@alita/plugins": "3.0.0-rc.10",
"@umijs/bundler-utils": "4.0.0-rc.21",
"@umijs/core": "4.0.0-rc.21",
"@umijs/renderer-react": "4.0.0-rc.21",
"@umijs/utils": "4.0.0-rc.21",
"@umijs/bundler-utils": "4.0.0-rc.22",
"@umijs/core": "4.0.0-rc.22",
"@umijs/renderer-react": "4.0.0-rc.22",
"@umijs/utils": "4.0.0-rc.22",
"qrcode-terminal": "^0.12.0",
"umi": "4.0.0-rc.21",
"umi": "4.0.0-rc.22",
"v8-compile-cache": "^2.3.0"
}
}
2 changes: 1 addition & 1 deletion packages/create-alita/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,6 @@
"create-alita": "bin/create-alita.js"
},
"dependencies": {
"@umijs/utils": "4.0.0-rc.21"
"@umijs/utils": "4.0.0-rc.22"
}
}
2 changes: 1 addition & 1 deletion packages/native/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
},
"dependencies": {
"alita": "3.0.0-rc.10",
"@umijs/utils": "4.0.0-rc.21"
"@umijs/utils": "4.0.0-rc.22"
},
"license": "MIT"
}
6 changes: 3 additions & 3 deletions packages/plugins/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -31,9 +31,9 @@
"@alita/alita-layout": "^3.0.5",
"@alita/inspx": "0.0.2",
"@alita/request": "3.0.0-rc.2",
"@umijs/bundler-utils": "4.0.0-rc.21",
"@umijs/plugins": "4.0.0-rc.21",
"@umijs/utils": "4.0.0-rc.21",
"@umijs/bundler-utils": "4.0.0-rc.22",
"@umijs/plugins": "4.0.0-rc.22",
"@umijs/utils": "4.0.0-rc.22",
"ahooks": "^3.0.8",
"alita": "3.0.0-rc.10",
"antd-mobile-icons": "^0.2.2",
Expand Down
Loading