Skip to content

Commit a6d513a

Browse files
committed
released v2.0.4
1 parent bcb1b76 commit a6d513a

File tree

6 files changed

+17
-17
lines changed

6 files changed

+17
-17
lines changed

example/base/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@example/base",
3-
"version": "2.0.3",
3+
"version": "2.0.4",
44
"private": true,
55
"scripts": {
66
"android": "react-native run-android",
@@ -10,7 +10,7 @@
1010
"lint": "eslint ."
1111
},
1212
"dependencies": {
13-
"@uiw/react-native": "2.0.3",
13+
"@uiw/react-native": "^2.0.4",
1414
"react": "17.0.1",
1515
"react-native": "0.64.2",
1616
"react-native-svg": "12.1.1"

lerna.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"version": "2.0.3",
2+
"version": "2.0.4",
33
"packages": [
44
"example/*",
55
"packages/*",

packages/core/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@uiw/react-native",
3-
"version": "2.0.3",
3+
"version": "2.0.4",
44
"description": "UIW for React Native",
55
"homepage": "https://uiwjs.github.io/react-native-uiw/",
66
"main": "lib/index.js",

website/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "website",
3-
"version": "2.0.3",
3+
"version": "2.0.4",
44
"description": "Documentation site for React Native UIW.",
55
"private": true,
66
"scripts": {
@@ -17,7 +17,7 @@
1717
"@rematch/loading": "2.0.1",
1818
"@uiw/react-code-preview": "1.11.13",
1919
"@uiw/react-markdown-preview": "3.1.3",
20-
"@uiw/react-native": "^2.0.3",
20+
"@uiw/react-native": "^2.0.4",
2121
"@uiw/reset.css": "1.0.4",
2222
"react": "17.0.2",
2323
"react-dom": "17.0.2",

website/src/pages/docs/development/document/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
这里介绍,当前组件库开发和文档编写,方便您快速介入到文档/网站编辑开发中。
55

66
> ⚠️ 注意:文档网站发布是监听 master 分支的更新`自动`发布到 [`gh-pages`](https://github.com/uiwjs/react-native-uiw/tree/gh-pages) 分支。
7-
> 在 package.json 中的版本号请不要随意更改,组件发布是监听 [`package.json 中的版本号`](https://github.com/uiwjs/react-native-uiw/blob/4e4f55681a71b4813a5f5fe26f4b1a859bc85a7f/.github/workflows/ci.yml#L64-L66)变更`自动`发布到 npm 上。
7+
> `package.json` 中的版本号请不要随意更改,组件发布是监听 [`package.json 中的版本号`](https://github.com/uiwjs/react-native-uiw/blob/4e4f55681a71b4813a5f5fe26f4b1a859bc85a7f/.github/workflows/ci.yml#L64-L66)变更`自动`发布到 npm 上。
88
> 这些自动化得益于 [Github Actions](https://github.com/actions) 的强力驱动。
99
<!--rehype:style=border-left: 8px solid #ffe564;background-color: #ffe56440;padding: 12px 16px;-->
1010

website/src/pages/team/index.tsx

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -3,14 +3,14 @@ import { DefaultProps } from '../../';
33
import styles from './index.module.less';
44
import FooterTitle from '../../component/Footer';
55

6-
const data = [
6+
const data: { username: string; nickname?: string; }[] = [
77
{ username: 'yaochuxia' },
8-
{ username: 'xingyuefeng' },
9-
{ username: 'ChenlingasMx' },
10-
{ username: 'matuancc' },
11-
{ username: 'wj0990' },
8+
{ username: 'xingyuefeng', nickname: 'xyf' },
9+
{ username: 'ChenlingasMx', nickname: "Chenling" },
10+
{ username: 'matuancc', nickname: 'cc' },
11+
{ username: 'wj0990', nickname: 'wangjie' },
1212
{ username: 'yaob421123', nickname: 'yaobin' },
13-
{ username: 'jaywcjlove' },
13+
{ username: 'jaywcjlove', nickname: '小弟调调™' },
1414
];
1515

1616
export default function Team(props: DefaultProps) {
@@ -21,11 +21,11 @@ export default function Team(props: DefaultProps) {
2121
<h2>Development & Design team</h2>
2222
</header>
2323
<ul className={styles.team}>
24-
{data.map((item, idx) => (
24+
{data.map(({ username, nickname }, idx) => (
2525
<li key={idx}>
26-
<a href={`https://github.com/${item.username}`} target="__blank">
27-
<img src={`https://github.com/${item.username}.png?size=90`} alt={item.username} />
28-
<span>{item.username}</span>
26+
<a href={`https://github.com/${username}`} target="__blank">
27+
<img src={`https://github.com/${username}.png?size=90`} alt={nickname || username} />
28+
<span>{nickname || username}</span>
2929
</a>
3030
</li>
3131
))}

0 commit comments

Comments
 (0)