From 3f9775aa4934cc2d3748c7d42fe17c35dd586dc7 Mon Sep 17 00:00:00 2001 From: kongchuiyu Date: Mon, 16 Dec 2024 11:48:50 +0800 Subject: [PATCH] chore: add license header and format code style --- COMMITTERS.md | 11 ++++ OAT.xml | 66 +++++++++++++++++++++++ README.OpenSource | 11 ++++ src/helpers/systemDenseWeights.harmony.js | 5 ++ src/helpers/systemTallWeights.harmony.js | 6 +++ src/helpers/systemWeights.harmony.js | 5 ++ src/index.js | 6 +++ 7 files changed, 110 insertions(+) create mode 100644 COMMITTERS.md create mode 100644 OAT.xml create mode 100644 README.OpenSource diff --git a/COMMITTERS.md b/COMMITTERS.md new file mode 100644 index 0000000..aef6509 --- /dev/null +++ b/COMMITTERS.md @@ -0,0 +1,11 @@ +## Committers列表 + +### 以下是此项目的committer人员 + +不区分先后顺序 + +- [MaDiXin](https://gitee.com/MaDiXin) +- [xiafeng_xf_admin](https://gitee.com/xiafeng_xf_admin) +- [ChenLixi](https://gitee.com/Louis-C7) +- [LinJiacheng](https://gitee.com/LLLLLLin) +- [ZhengJinshou](https://gitee.com/longziz) \ No newline at end of file diff --git a/OAT.xml b/OAT.xml new file mode 100644 index 0000000..8dca867 --- /dev/null +++ b/OAT.xml @@ -0,0 +1,66 @@ + + + + + + LICENSE + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/README.OpenSource b/README.OpenSource new file mode 100644 index 0000000..8eba661 --- /dev/null +++ b/README.OpenSource @@ -0,0 +1,11 @@ +[ + { + "Name": "react-native-typography", + "License": "MIT License", + "License File": "https://github.com/hectahertz/react-native-typography/blob/main/LICENSE", + "Version Number": "1.4.1", + "Owner" : "xiafeng@huawei.com", + "Upstream URL": "https://github.com/hectahertz/react-native-typography", + "Description": "Pixel–perfect, native–looking typographic styles for React Native." + } +] \ No newline at end of file diff --git a/src/helpers/systemDenseWeights.harmony.js b/src/helpers/systemDenseWeights.harmony.js index dcc0de3..f7b691e 100644 --- a/src/helpers/systemDenseWeights.harmony.js +++ b/src/helpers/systemDenseWeights.harmony.js @@ -1,3 +1,8 @@ +/* + * Copyright (c) 2024 Huawei Device Co., Ltd. All rights reserved + * Use of this source code is governed by a MIT license that can be + * found in the LICENSE file. + */ import sanFranciscoWeights from "../helpers/sanFranciscoWeights"; const systemDenseWeights = { diff --git a/src/helpers/systemTallWeights.harmony.js b/src/helpers/systemTallWeights.harmony.js index cc0021f..1c5dfb1 100644 --- a/src/helpers/systemTallWeights.harmony.js +++ b/src/helpers/systemTallWeights.harmony.js @@ -1,3 +1,9 @@ +/* + * Copyright (c) 2024 Huawei Device Co., Ltd. All rights reserved + * Use of this source code is governed by a MIT license that can be + * found in the LICENSE file. + */ + import sanFranciscoWeights from "../helpers/sanFranciscoWeights"; const systemTallWeights = { diff --git a/src/helpers/systemWeights.harmony.js b/src/helpers/systemWeights.harmony.js index 6b05b0f..a83d80b 100644 --- a/src/helpers/systemWeights.harmony.js +++ b/src/helpers/systemWeights.harmony.js @@ -1,3 +1,8 @@ +/* + * Copyright (c) 2024 Huawei Device Co., Ltd. All rights reserved + * Use of this source code is governed by a MIT license that can be + * found in the LICENSE file. + */ import sanFranciscoWeights from "../helpers/sanFranciscoWeights"; const systemWeights = { diff --git a/src/index.js b/src/index.js index f25b760..d8d804f 100644 --- a/src/index.js +++ b/src/index.js @@ -1,3 +1,9 @@ +/* + * Copyright (c) 2024 Huawei Device Co., Ltd. All rights reserved + * Use of this source code is governed by a MIT license that can be + * found in the LICENSE file. + */ + export { human } from "react-native-typography"; export { humanDense } from "react-native-typography"; export { humanTall } from "react-native-typography";