Skip to content

Commit

Permalink
Upgrade to RN-0.74
Browse files Browse the repository at this point in the history
Upgrade to RN-0.74
  • Loading branch information
maotoumao authored Aug 5, 2024
2 parents 3e16969 + 5589cdf commit c68331a
Show file tree
Hide file tree
Showing 337 changed files with 24,142 additions and 37,309 deletions.
7 changes: 0 additions & 7 deletions .babelrc

This file was deleted.

6 changes: 0 additions & 6 deletions .buckconfig

This file was deleted.

40 changes: 20 additions & 20 deletions .commitlintrc.json
Original file line number Diff line number Diff line change
@@ -1,20 +1,20 @@
{
"extends": ["@commitlint/config-conventional"],
"rules": {
"type-enum": [
2,
"always",
[
"ci",
"chore",
"docs",
"feat",
"fix",
"perf",
"refactor",
"revert",
"style"
]
]
}
}
{
"extends": ["@commitlint/config-conventional"],
"rules": {
"type-enum": [
2,
"always",
[
"ci",
"chore",
"docs",
"feat",
"fix",
"perf",
"refactor",
"revert",
"style"
]
]
}
}
6 changes: 2 additions & 4 deletions .eslintrc.js
Original file line number Diff line number Diff line change
@@ -1,13 +1,11 @@
module.exports = {
root: true,
extends: ['@react-native-community', 'plugin:prettier/recommended'],
parser: '@typescript-eslint/parser',
plugins: ['@typescript-eslint', 'prettier'],
extends: '@react-native',
overrides: [
{
files: ['*.ts', '*.tsx'],
rules: {
'@typescript-eslint/no-shadow': ['warn'],
'@typescript-eslint/no-shadow': 'warn',
'no-shadow': 'off',
'no-undef': 'off',
'prettier/prettier': 'error',
Expand Down
46 changes: 23 additions & 23 deletions .github/ISSUE_TEMPLATE/新想法-需求点这里.md
Original file line number Diff line number Diff line change
@@ -1,23 +1,23 @@
---
name: 新想法/需求点这里
about: feature
title: "[FEATURE] xxxxx"
labels: ''
assignees: maotoumao

---

**注意事项**
- [ ] 确保已经阅读过ReadMe并*了解本软件的定位*
- [ ] 确保你的新需求/想法合理合法,且*不是因为无解决方案的众口难调导致的个例问题*

------

**需求描述**
请详细描述一下需求场景,以及可能导致的问题;以及你预期的解决方案或效果

**替代方案**
如果无法实现,请描述一下预期的替代方案或最低期望

**其他信息**
是否能提供一些其他的帮助,包括但不限于代码、UI、测试 ... 如果有的话,辛苦描述一下,感谢~
---
name: 新想法/需求点这里
about: feature
title: "[FEATURE] xxxxx"
labels: ''
assignees: maotoumao

---

**注意事项**
- [ ] 确保已经阅读过ReadMe并*了解本软件的定位*
- [ ] 确保你的新需求/想法合理合法,且*不是因为无解决方案的众口难调导致的个例问题*

------

**需求描述**
请详细描述一下需求场景,以及可能导致的问题;以及你预期的解决方案或效果

**替代方案**
如果无法实现,请描述一下预期的替代方案或最低期望

**其他信息**
是否能提供一些其他的帮助,包括但不限于代码、UI、测试 ... 如果有的话,辛苦描述一下,感谢~
60 changes: 30 additions & 30 deletions .github/ISSUE_TEMPLATE/遇到bug了点这里.md
Original file line number Diff line number Diff line change
@@ -1,30 +1,30 @@
---
name: 遇到bug了点这里
about: bug
title: "[BUG] xxxxxx"
labels: ''
assignees: maotoumao

---

**注意事项**
- [ ] 确保该bug可能是软件的本身问题,不是由于插件导致(如搜索结果不全,无法导入等都属于插件问题);如果是插件问题请去对应第三方插件仓库提issue。
- [ ] 确保已经搜索过issue区,并阅读过QA

---

**问题描述**
简要描述一下问题的现象(在xx场景下,进行xx操作,产生xx现象,而不是xx)

**详细的复现步骤**
按步骤详细描述一下触发bug的特定行为:

**预期行为**
描述一下预期正确的行为是什么样的

**截图**
附带一些截图/录屏吧,如果方便的话打开侧边栏-基本设置-记录详细日志,复现之后贴一下Android/data/fun.upup.musicfree/files/log/trace-log.log下的日志(完成之后记得删掉,不然时间长了会卡)

**其他信息:**
- OS: [e.g. Android12]
- 版本号 [e.g. v0.1.0-alpha.0]
---
name: 遇到bug了点这里
about: bug
title: "[BUG] xxxxxx"
labels: ''
assignees: maotoumao

---

**注意事项**
- [ ] 确保该bug可能是软件的本身问题,不是由于插件导致(如搜索结果不全,无法导入等都属于插件问题);如果是插件问题请去对应第三方插件仓库提issue。
- [ ] 确保已经搜索过issue区,并阅读过QA

---

**问题描述**
简要描述一下问题的现象(在xx场景下,进行xx操作,产生xx现象,而不是xx)

**详细的复现步骤**
按步骤详细描述一下触发bug的特定行为:

**预期行为**
描述一下预期正确的行为是什么样的

**截图**
附带一些截图/录屏吧,如果方便的话打开侧边栏-基本设置-记录详细日志,复现之后贴一下Android/data/fun.upup.musicfree/files/log/trace-log.log下的日志(完成之后记得删掉,不然时间长了会卡)

**其他信息:**
- OS: [e.g. Android12]
- 版本号 [e.g. v0.1.0-alpha.0]
114 changes: 57 additions & 57 deletions .github/workflows/autobuild.yml
Original file line number Diff line number Diff line change
@@ -1,57 +1,57 @@
name: 自动构建
on:
workflow_dispatch:
pull_request:
types:
- closed

jobs:
build-android:
if: "github.event.pull_request.merged == true && startsWith(github.event.pull_request.title, 'release: ')"
runs-on: ubuntu-latest
steps:
- env:
REQBODY: ${{github.event.pull_request.body}}
run: |
echo "${REQBODY}"
- name: Checkout
uses: actions/checkout@v3

- name: Setup Env
uses: actions/setup-node@v3
with:
node-version: 16
- name: Install Pkgs
run: npm ci
- name: Get Version
run: node -p -e '`VERSION=${require("./package.json").version}`' >> $GITHUB_ENV
- name: Build
run: |
cd ./android
./gradlew assembleRelease
- name: Generate Changelog
run: echo github.event_name
manual:
runs-on: ubuntu-latest
if: "github.event_name == 'workflow_dispatch'"
steps:
- env:
REQBODY: ${{github.event.pull_request.body}}
run: |
echo "${REQBODY}"
- name: Checkout
uses: actions/checkout@v3

- name: Setup Env
uses: actions/setup-node@v3
with:
node-version: 16
- name: Install Pkgs
run: npm ci
- name: Get Version
run: node -p -e '`VERSION=${require("./package.json").version}`' >> $GITHUB_ENV
- name: Build
run: |
cd ./android
./gradlew assembleRelease
name: 自动构建
on:
workflow_dispatch:
pull_request:
types:
- closed

jobs:
build-android:
if: "github.event.pull_request.merged == true && startsWith(github.event.pull_request.title, 'release: ')"
runs-on: ubuntu-latest
steps:
- env:
REQBODY: ${{github.event.pull_request.body}}
run: |
echo "${REQBODY}"
- name: Checkout
uses: actions/checkout@v3

- name: Setup Env
uses: actions/setup-node@v3
with:
node-version: 16
- name: Install Pkgs
run: npm ci
- name: Get Version
run: node -p -e '`VERSION=${require("./package.json").version}`' >> $GITHUB_ENV
- name: Build
run: |
cd ./android
./gradlew assembleRelease
- name: Generate Changelog
run: echo github.event_name
manual:
runs-on: ubuntu-latest
if: "github.event_name == 'workflow_dispatch'"
steps:
- env:
REQBODY: ${{github.event.pull_request.body}}
run: |
echo "${REQBODY}"
- name: Checkout
uses: actions/checkout@v3

- name: Setup Env
uses: actions/setup-node@v3
with:
node-version: 16
- name: Install Pkgs
run: npm ci
- name: Get Version
run: node -p -e '`VERSION=${require("./package.json").version}`' >> $GITHUB_ENV
- name: Build
run: |
cd ./android
./gradlew assembleRelease
Loading

0 comments on commit c68331a

Please sign in to comment.