Skip to content
Open
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
11 changes: 11 additions & 0 deletions COMMITTERS.md
Original file line number Diff line number Diff line change
@@ -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)
66 changes: 66 additions & 0 deletions OAT.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,66 @@
<?xml version="1.0" encoding="UTF-8"?>
<!-- Copyright (c) 2021 Huawei Device Co., Ltd.

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.

This is the configuration file template for OpenHarmony OSS Audit Tool, please copy it to your project root dir and modify it refer to OpenHarmony/tools_oat/README.

-->

<configuration>
<oatconfig>
<licensefile>LICENSE</licensefile>
<policylist>
<policy name="projectPolicy" desc="">
<policyitem type="license" name="MIT" path=".*" desc="license under the MIT"/>
</policy>
<policy name="projectPolicy" desc="">
<policyitem type="compatibility" name="GPL-2.0+" path=".*" desc="Process that runs independently, invoked by the X process."/>
<policyitem type="compatibility" name="Apache-2.0" path=".*" desc="不影响兼容性"/>
<policyitem type="compatibility" name="BSDStyleLicense" path=".*" desc="不影响兼容性" />
<policyitem type="compatibility" name="MIT" path=".*" desc="不影响兼容性" />
<policyitem type="compatibility" name="GPLStyleLicense" path=".*" desc="不影响兼容性" />
</policy>
</policylist>
<filefilterlist>
<filefilter name="defaultFilter" desc="Files not to check">

</filefilter>
<filefilter name="defaultPolicyFilter" desc="Filters for compatibility,license header policies">
<filteritem type="filepath" name=".github/.*" desc="git库配置文件,非业务代码,不添加许可证头"/>
<filteritem type="filepath" name=".yarn/.*" desc="依赖生成文件,非业务代码,不添加许可证头"/>
<filteritem type="filepath" name="docs/.*" desc="指导文档文件,非业务代码,不添加许可证头"/>
<filteritem type="filepath" name="log/.*" desc="日志生成文件,不添加版权头"/>
<filteritem type="filename" name=".gitignore" desc="示例工程配置文件,不添加版权头"/>
<filteritem type="filename" name="LICENSE" desc="版权文件,不添加版权头"/>
<filteritem type="filename" name="metro.config.js" desc="示例工程配置文件,非业务代码,不添加许可证头"/>
<filteritem type="filename" name="package.json" desc="示例工程配置文件,不添加版权头"/>
<filteritem type="filename" name="README.md" desc="示例工程配置文件,不添加版权头"/>
<filteritem type="filename" name="README.OpenSource" desc="示例工程配置文件,不添加版权头"/>
<filteritem type="filename" name="tsconfig.build.json" desc="示例工程配置文件,不添加版权头"/>
<filteritem type="filename" name="tsconfig.json" desc="示例工程配置文件,不添加版权头"/>

<filteritem type="filename" name=".prettierignore" desc="示例工程配置文件,不添加版权头"/>
<filteritem type="filename" name="babel.config.js" desc="示例工程配置文件,非业务代码,不添加许可证头"/>
</filefilter>
<filefilter name="binaryFileTypePolicyFilter" desc="Filters for copyright header policies">
<filteritem type="filepath" name="docs/assets/.*" desc="指导文档文件,非业务代码,不添加许可证头"/>
</filefilter>

<filefilter name="copyrightPolicyFilter" desc="Filters for copyright header policies">
<filteritem type="filename" name=".prettierignore" desc="示例工程配置文件,不添加版权头"/>
<filteritem type="filename" name="babel.config.js" desc="示例工程配置文件,非业务代码,不添加许可证头"/>
</filefilter>
</filefilterlist>
</oatconfig>
</configuration>
11 changes: 11 additions & 0 deletions README.OpenSource
Original file line number Diff line number Diff line change
@@ -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."
}
]
5 changes: 5 additions & 0 deletions src/helpers/systemDenseWeights.harmony.js
Original file line number Diff line number Diff line change
@@ -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 = {
Expand Down
6 changes: 6 additions & 0 deletions src/helpers/systemTallWeights.harmony.js
Original file line number Diff line number Diff line change
@@ -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 = {
Expand Down
5 changes: 5 additions & 0 deletions src/helpers/systemWeights.harmony.js
Original file line number Diff line number Diff line change
@@ -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 = {
Expand Down
6 changes: 6 additions & 0 deletions src/index.js
Original file line number Diff line number Diff line change
@@ -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";
Expand Down