Compare commits
28 Commits
a4d2c0d325
...
master
| Author | SHA1 | Date | |
|---|---|---|---|
| a78a51e843 | |||
| e7ecb527ba | |||
| c7c467d1bb | |||
| 7b789daceb | |||
| d3defff092 | |||
| b8cf58854e | |||
| 6433e699a9 | |||
| 840be42171 | |||
| 158ec78bef | |||
| d05d050024 | |||
| 552d33e358 | |||
| aea78f2f79 | |||
| 038789a50e | |||
| 59e923d8bd | |||
| f9b5ed5faa | |||
| 2f1bf1e8f8 | |||
| 30898970bb | |||
| e3fff05532 | |||
| 65018c1d57 | |||
| 6fa31f0621 | |||
| 5b0307d8fa | |||
| e26d43b352 | |||
| 2dc1034daf | |||
| c724705a43 | |||
| 70a1697f1d | |||
| ec1dd3fa54 | |||
| d6983349a6 | |||
| 926ce415eb |
@@ -1,36 +1,39 @@
|
|||||||
name: Expo Local Build APK
|
|
||||||
|
|
||||||
on:
|
on:
|
||||||
push:
|
push:
|
||||||
branches:
|
branches:
|
||||||
- main
|
- master
|
||||||
workflow_dispatch:
|
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
build-apk:
|
update:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout code
|
- name: 🏗 Setup repo
|
||||||
uses: actions/checkout@v3
|
uses: actions/checkout@v3
|
||||||
|
|
||||||
- name: Setup Node.js
|
- name: 🏗 Setup Node
|
||||||
uses: actions/setup-node@v4
|
uses: actions/setup-node@v3
|
||||||
with:
|
with:
|
||||||
node-version: '18'
|
node-version: 18.x
|
||||||
|
cache: pnpm
|
||||||
|
|
||||||
- name: Install Expo CLI & EAS CLI
|
- name: 🏗 Setup pnpm
|
||||||
run: npm install -g expo-cli eas-cli
|
uses: pnpm/action-setup@v2
|
||||||
|
|
||||||
- name: Install dependencies
|
|
||||||
run: npm ci
|
|
||||||
|
|
||||||
# 本地打包
|
|
||||||
- name: EAS Local Build APK
|
|
||||||
run: eas build -p android --local --output=dist/app.apk
|
|
||||||
|
|
||||||
# 上传产物
|
|
||||||
- name: Upload APK to Release
|
|
||||||
uses: actions/upload-artifact@v3
|
|
||||||
with:
|
with:
|
||||||
name: app-apk
|
version: latest
|
||||||
path: dist/app.apk
|
|
||||||
|
- name: 🏗 Setup EAS
|
||||||
|
uses: expo/expo-github-action@v8
|
||||||
|
with:
|
||||||
|
eas-version: latest
|
||||||
|
token: ${{ secrets.EXPO_TOKEN }}
|
||||||
|
|
||||||
|
- name: 📦 Install dependencies
|
||||||
|
run: pnpm install
|
||||||
|
|
||||||
|
- name: <EFBFBD> Install expo-updates
|
||||||
|
run: pnpm add -w expo-updates
|
||||||
|
|
||||||
|
- name: <EFBFBD>🚀 Create update
|
||||||
|
run: eas update --platform android --auto --non-interactive
|
||||||
|
|
||||||
|
- name: 🏗 Build Android APK
|
||||||
|
run: eas build --platform android --auto --non-interactive
|
||||||
11
app.json
11
app.json
@@ -1,8 +1,9 @@
|
|||||||
{
|
{
|
||||||
"expo": {
|
"expo": {
|
||||||
"name": "flexlark-template",
|
"name": "灵动云雀模板",
|
||||||
"slug": "flexlark-template",
|
"slug": "flexlark-template",
|
||||||
"version": "1.0.0",
|
"version": "1.0.0",
|
||||||
|
"platforms": ["android"],
|
||||||
"orientation": "portrait",
|
"orientation": "portrait",
|
||||||
"icon": "./assets/images/icon.png",
|
"icon": "./assets/images/icon.png",
|
||||||
"scheme": "flexlarktemplate",
|
"scheme": "flexlarktemplate",
|
||||||
@@ -17,6 +18,7 @@
|
|||||||
"backgroundColor": "#ffffff"
|
"backgroundColor": "#ffffff"
|
||||||
},
|
},
|
||||||
"edgeToEdgeEnabled": true
|
"edgeToEdgeEnabled": true
|
||||||
|
,"package": "com.flexlark.template"
|
||||||
},
|
},
|
||||||
"web": {
|
"web": {
|
||||||
"bundler": "metro",
|
"bundler": "metro",
|
||||||
@@ -37,6 +39,13 @@
|
|||||||
],
|
],
|
||||||
"experiments": {
|
"experiments": {
|
||||||
"typedRoutes": true
|
"typedRoutes": true
|
||||||
|
},
|
||||||
|
"extra": {
|
||||||
|
"router": {},
|
||||||
|
"eas": {
|
||||||
|
"projectId": "73103ac6-99c4-4323-b701-33a6dd258344"
|
||||||
}
|
}
|
||||||
|
},
|
||||||
|
"owner": "eeymoo"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
9
eas.json
Normal file
9
eas.json
Normal file
@@ -0,0 +1,9 @@
|
|||||||
|
{
|
||||||
|
"build": {
|
||||||
|
"production": {
|
||||||
|
"android": {
|
||||||
|
"buildType": "apk"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
@@ -35,7 +35,7 @@
|
|||||||
"react-native-reanimated": "~3.17.5",
|
"react-native-reanimated": "~3.17.5",
|
||||||
"react-native-safe-area-context": "5.4.0",
|
"react-native-safe-area-context": "5.4.0",
|
||||||
"react-native-screens": "~4.11.1",
|
"react-native-screens": "~4.11.1",
|
||||||
"react-native-svg": "^15.12.1",
|
"react-native-svg": "^15.11.2",
|
||||||
"react-native-web": "~0.20.0",
|
"react-native-web": "~0.20.0",
|
||||||
"react-native-webview": "13.13.5",
|
"react-native-webview": "13.13.5",
|
||||||
"tamagui": "^1.132.18"
|
"tamagui": "^1.132.18"
|
||||||
|
|||||||
30
pnpm-lock.yaml
generated
30
pnpm-lock.yaml
generated
@@ -43,7 +43,7 @@ importers:
|
|||||||
version: 7.1.7(expo@53.0.20(@babel/core@7.28.0)(@expo/metro-runtime@5.0.4(react-native@0.79.5(@babel/core@7.28.0)(@types/react@19.0.14)(react@19.0.0)))(react-native-webview@13.13.5(react-native@0.79.5(@babel/core@7.28.0)(@types/react@19.0.14)(react@19.0.0))(react@19.0.0))(react-native@0.79.5(@babel/core@7.28.0)(@types/react@19.0.14)(react@19.0.0))(react@19.0.0))(react-native@0.79.5(@babel/core@7.28.0)(@types/react@19.0.14)(react@19.0.0))(react@19.0.0)
|
version: 7.1.7(expo@53.0.20(@babel/core@7.28.0)(@expo/metro-runtime@5.0.4(react-native@0.79.5(@babel/core@7.28.0)(@types/react@19.0.14)(react@19.0.0)))(react-native-webview@13.13.5(react-native@0.79.5(@babel/core@7.28.0)(@types/react@19.0.14)(react@19.0.0))(react@19.0.0))(react-native@0.79.5(@babel/core@7.28.0)(@types/react@19.0.14)(react@19.0.0))(react@19.0.0))(react-native@0.79.5(@babel/core@7.28.0)(@types/react@19.0.14)(react@19.0.0))(react@19.0.0)
|
||||||
expo-router:
|
expo-router:
|
||||||
specifier: ~5.1.4
|
specifier: ~5.1.4
|
||||||
version: 5.1.4(e1c8eefe113e01b6d50ed7cbca38deea)
|
version: 5.1.4(4dxweeftez7bzpvimyjvn3mn6i)
|
||||||
expo-splash-screen:
|
expo-splash-screen:
|
||||||
specifier: ~0.30.10
|
specifier: ~0.30.10
|
||||||
version: 0.30.10(expo@53.0.20(@babel/core@7.28.0)(@expo/metro-runtime@5.0.4(react-native@0.79.5(@babel/core@7.28.0)(@types/react@19.0.14)(react@19.0.0)))(react-native-webview@13.13.5(react-native@0.79.5(@babel/core@7.28.0)(@types/react@19.0.14)(react@19.0.0))(react@19.0.0))(react-native@0.79.5(@babel/core@7.28.0)(@types/react@19.0.14)(react@19.0.0))(react@19.0.0))
|
version: 0.30.10(expo@53.0.20(@babel/core@7.28.0)(@expo/metro-runtime@5.0.4(react-native@0.79.5(@babel/core@7.28.0)(@types/react@19.0.14)(react@19.0.0)))(react-native-webview@13.13.5(react-native@0.79.5(@babel/core@7.28.0)(@types/react@19.0.14)(react@19.0.0))(react@19.0.0))(react-native@0.79.5(@babel/core@7.28.0)(@types/react@19.0.14)(react@19.0.0))(react@19.0.0))
|
||||||
@@ -81,8 +81,8 @@ importers:
|
|||||||
specifier: ~4.11.1
|
specifier: ~4.11.1
|
||||||
version: 4.11.1(react-native@0.79.5(@babel/core@7.28.0)(@types/react@19.0.14)(react@19.0.0))(react@19.0.0)
|
version: 4.11.1(react-native@0.79.5(@babel/core@7.28.0)(@types/react@19.0.14)(react@19.0.0))(react@19.0.0)
|
||||||
react-native-svg:
|
react-native-svg:
|
||||||
specifier: ^15.12.1
|
specifier: ^15.11.2
|
||||||
version: 15.12.1(react-native@0.79.5(@babel/core@7.28.0)(@types/react@19.0.14)(react@19.0.0))(react@19.0.0)
|
version: 15.11.2(react-native@0.79.5(@babel/core@7.28.0)(@types/react@19.0.14)(react@19.0.0))(react@19.0.0)
|
||||||
react-native-web:
|
react-native-web:
|
||||||
specifier: ~0.20.0
|
specifier: ~0.20.0
|
||||||
version: 0.20.0(react-dom@19.0.0(react@19.0.0))(react@19.0.0)
|
version: 0.20.0(react-dom@19.0.0(react@19.0.0))(react@19.0.0)
|
||||||
@@ -3740,8 +3740,8 @@ packages:
|
|||||||
react: '*'
|
react: '*'
|
||||||
react-native: '*'
|
react-native: '*'
|
||||||
|
|
||||||
react-native-svg@15.12.1:
|
react-native-svg@15.11.2:
|
||||||
resolution: {integrity: sha512-vCuZJDf8a5aNC2dlMovEv4Z0jjEUET53lm/iILFnFewa15b4atjVxU6Wirm6O9y6dEsdjDZVD7Q3QM4T1wlI8g==}
|
resolution: {integrity: sha512-+YfF72IbWQUKzCIydlijV1fLuBsQNGMT6Da2kFlo1sh+LE3BIm/2Q7AR1zAAR6L0BFLi1WaQPLfFUC9bNZpOmw==}
|
||||||
peerDependencies:
|
peerDependencies:
|
||||||
react: '*'
|
react: '*'
|
||||||
react-native: '*'
|
react-native: '*'
|
||||||
@@ -7716,9 +7716,9 @@ snapshots:
|
|||||||
'@typescript-eslint/eslint-plugin': 8.39.1(@typescript-eslint/parser@8.39.1(eslint@9.33.0)(typescript@5.8.3))(eslint@9.33.0)(typescript@5.8.3)
|
'@typescript-eslint/eslint-plugin': 8.39.1(@typescript-eslint/parser@8.39.1(eslint@9.33.0)(typescript@5.8.3))(eslint@9.33.0)(typescript@5.8.3)
|
||||||
'@typescript-eslint/parser': 8.39.1(eslint@9.33.0)(typescript@5.8.3)
|
'@typescript-eslint/parser': 8.39.1(eslint@9.33.0)(typescript@5.8.3)
|
||||||
eslint: 9.33.0
|
eslint: 9.33.0
|
||||||
eslint-import-resolver-typescript: 3.10.1(eslint-plugin-import@2.32.0)(eslint@9.33.0)
|
eslint-import-resolver-typescript: 3.10.1(eslint-plugin-import@2.32.0(@typescript-eslint/parser@8.39.1(eslint@9.33.0)(typescript@5.8.3))(eslint@9.33.0))(eslint@9.33.0)
|
||||||
eslint-plugin-expo: 0.1.4(eslint@9.33.0)(typescript@5.8.3)
|
eslint-plugin-expo: 0.1.4(eslint@9.33.0)(typescript@5.8.3)
|
||||||
eslint-plugin-import: 2.32.0(@typescript-eslint/parser@8.39.1(eslint@9.33.0)(typescript@5.8.3))(eslint-import-resolver-typescript@3.10.1)(eslint@9.33.0)
|
eslint-plugin-import: 2.32.0(@typescript-eslint/parser@8.39.1(eslint@9.33.0)(typescript@5.8.3))(eslint-import-resolver-typescript@3.10.1(eslint-plugin-import@2.32.0(@typescript-eslint/parser@8.39.1(eslint@9.33.0)(typescript@5.8.3))(eslint@9.33.0))(eslint@9.33.0))(eslint@9.33.0)
|
||||||
eslint-plugin-react: 7.37.5(eslint@9.33.0)
|
eslint-plugin-react: 7.37.5(eslint@9.33.0)
|
||||||
eslint-plugin-react-hooks: 5.2.0(eslint@9.33.0)
|
eslint-plugin-react-hooks: 5.2.0(eslint@9.33.0)
|
||||||
globals: 16.3.0
|
globals: 16.3.0
|
||||||
@@ -7736,7 +7736,7 @@ snapshots:
|
|||||||
transitivePeerDependencies:
|
transitivePeerDependencies:
|
||||||
- supports-color
|
- supports-color
|
||||||
|
|
||||||
eslint-import-resolver-typescript@3.10.1(eslint-plugin-import@2.32.0)(eslint@9.33.0):
|
eslint-import-resolver-typescript@3.10.1(eslint-plugin-import@2.32.0(@typescript-eslint/parser@8.39.1(eslint@9.33.0)(typescript@5.8.3))(eslint@9.33.0))(eslint@9.33.0):
|
||||||
dependencies:
|
dependencies:
|
||||||
'@nolyfill/is-core-module': 1.0.39
|
'@nolyfill/is-core-module': 1.0.39
|
||||||
debug: 4.4.1
|
debug: 4.4.1
|
||||||
@@ -7747,18 +7747,18 @@ snapshots:
|
|||||||
tinyglobby: 0.2.14
|
tinyglobby: 0.2.14
|
||||||
unrs-resolver: 1.11.1
|
unrs-resolver: 1.11.1
|
||||||
optionalDependencies:
|
optionalDependencies:
|
||||||
eslint-plugin-import: 2.32.0(@typescript-eslint/parser@8.39.1(eslint@9.33.0)(typescript@5.8.3))(eslint-import-resolver-typescript@3.10.1)(eslint@9.33.0)
|
eslint-plugin-import: 2.32.0(@typescript-eslint/parser@8.39.1(eslint@9.33.0)(typescript@5.8.3))(eslint-import-resolver-typescript@3.10.1(eslint-plugin-import@2.32.0(@typescript-eslint/parser@8.39.1(eslint@9.33.0)(typescript@5.8.3))(eslint@9.33.0))(eslint@9.33.0))(eslint@9.33.0)
|
||||||
transitivePeerDependencies:
|
transitivePeerDependencies:
|
||||||
- supports-color
|
- supports-color
|
||||||
|
|
||||||
eslint-module-utils@2.12.1(@typescript-eslint/parser@8.39.1(eslint@9.33.0)(typescript@5.8.3))(eslint-import-resolver-node@0.3.9)(eslint-import-resolver-typescript@3.10.1)(eslint@9.33.0):
|
eslint-module-utils@2.12.1(@typescript-eslint/parser@8.39.1(eslint@9.33.0)(typescript@5.8.3))(eslint-import-resolver-node@0.3.9)(eslint-import-resolver-typescript@3.10.1(eslint-plugin-import@2.32.0(@typescript-eslint/parser@8.39.1(eslint@9.33.0)(typescript@5.8.3))(eslint@9.33.0))(eslint@9.33.0))(eslint@9.33.0):
|
||||||
dependencies:
|
dependencies:
|
||||||
debug: 3.2.7
|
debug: 3.2.7
|
||||||
optionalDependencies:
|
optionalDependencies:
|
||||||
'@typescript-eslint/parser': 8.39.1(eslint@9.33.0)(typescript@5.8.3)
|
'@typescript-eslint/parser': 8.39.1(eslint@9.33.0)(typescript@5.8.3)
|
||||||
eslint: 9.33.0
|
eslint: 9.33.0
|
||||||
eslint-import-resolver-node: 0.3.9
|
eslint-import-resolver-node: 0.3.9
|
||||||
eslint-import-resolver-typescript: 3.10.1(eslint-plugin-import@2.32.0)(eslint@9.33.0)
|
eslint-import-resolver-typescript: 3.10.1(eslint-plugin-import@2.32.0(@typescript-eslint/parser@8.39.1(eslint@9.33.0)(typescript@5.8.3))(eslint@9.33.0))(eslint@9.33.0)
|
||||||
transitivePeerDependencies:
|
transitivePeerDependencies:
|
||||||
- supports-color
|
- supports-color
|
||||||
|
|
||||||
@@ -7771,7 +7771,7 @@ snapshots:
|
|||||||
- supports-color
|
- supports-color
|
||||||
- typescript
|
- typescript
|
||||||
|
|
||||||
eslint-plugin-import@2.32.0(@typescript-eslint/parser@8.39.1(eslint@9.33.0)(typescript@5.8.3))(eslint-import-resolver-typescript@3.10.1)(eslint@9.33.0):
|
eslint-plugin-import@2.32.0(@typescript-eslint/parser@8.39.1(eslint@9.33.0)(typescript@5.8.3))(eslint-import-resolver-typescript@3.10.1(eslint-plugin-import@2.32.0(@typescript-eslint/parser@8.39.1(eslint@9.33.0)(typescript@5.8.3))(eslint@9.33.0))(eslint@9.33.0))(eslint@9.33.0):
|
||||||
dependencies:
|
dependencies:
|
||||||
'@rtsao/scc': 1.1.0
|
'@rtsao/scc': 1.1.0
|
||||||
array-includes: 3.1.9
|
array-includes: 3.1.9
|
||||||
@@ -7782,7 +7782,7 @@ snapshots:
|
|||||||
doctrine: 2.1.0
|
doctrine: 2.1.0
|
||||||
eslint: 9.33.0
|
eslint: 9.33.0
|
||||||
eslint-import-resolver-node: 0.3.9
|
eslint-import-resolver-node: 0.3.9
|
||||||
eslint-module-utils: 2.12.1(@typescript-eslint/parser@8.39.1(eslint@9.33.0)(typescript@5.8.3))(eslint-import-resolver-node@0.3.9)(eslint-import-resolver-typescript@3.10.1)(eslint@9.33.0)
|
eslint-module-utils: 2.12.1(@typescript-eslint/parser@8.39.1(eslint@9.33.0)(typescript@5.8.3))(eslint-import-resolver-node@0.3.9)(eslint-import-resolver-typescript@3.10.1(eslint-plugin-import@2.32.0(@typescript-eslint/parser@8.39.1(eslint@9.33.0)(typescript@5.8.3))(eslint@9.33.0))(eslint@9.33.0))(eslint@9.33.0)
|
||||||
hasown: 2.0.2
|
hasown: 2.0.2
|
||||||
is-core-module: 2.16.1
|
is-core-module: 2.16.1
|
||||||
is-glob: 4.0.3
|
is-glob: 4.0.3
|
||||||
@@ -7978,7 +7978,7 @@ snapshots:
|
|||||||
dependencies:
|
dependencies:
|
||||||
invariant: 2.2.4
|
invariant: 2.2.4
|
||||||
|
|
||||||
expo-router@5.1.4(e1c8eefe113e01b6d50ed7cbca38deea):
|
expo-router@5.1.4(4dxweeftez7bzpvimyjvn3mn6i):
|
||||||
dependencies:
|
dependencies:
|
||||||
'@expo/metro-runtime': 5.0.4(react-native@0.79.5(@babel/core@7.28.0)(@types/react@19.0.14)(react@19.0.0))
|
'@expo/metro-runtime': 5.0.4(react-native@0.79.5(@babel/core@7.28.0)(@types/react@19.0.14)(react@19.0.0))
|
||||||
'@expo/server': 0.6.3
|
'@expo/server': 0.6.3
|
||||||
@@ -9336,7 +9336,7 @@ snapshots:
|
|||||||
react-native-is-edge-to-edge: 1.2.1(react-native@0.79.5(@babel/core@7.28.0)(@types/react@19.0.14)(react@19.0.0))(react@19.0.0)
|
react-native-is-edge-to-edge: 1.2.1(react-native@0.79.5(@babel/core@7.28.0)(@types/react@19.0.14)(react@19.0.0))(react@19.0.0)
|
||||||
warn-once: 0.1.1
|
warn-once: 0.1.1
|
||||||
|
|
||||||
react-native-svg@15.12.1(react-native@0.79.5(@babel/core@7.28.0)(@types/react@19.0.14)(react@19.0.0))(react@19.0.0):
|
react-native-svg@15.11.2(react-native@0.79.5(@babel/core@7.28.0)(@types/react@19.0.14)(react@19.0.0))(react@19.0.0):
|
||||||
dependencies:
|
dependencies:
|
||||||
css-select: 5.2.2
|
css-select: 5.2.2
|
||||||
css-tree: 1.1.3
|
css-tree: 1.1.3
|
||||||
|
|||||||
@@ -1 +1,8 @@
|
|||||||
nodeLinker: hoisted
|
nodeLinker: hoisted
|
||||||
|
|
||||||
|
packages:
|
||||||
|
- 'app'
|
||||||
|
- 'components'
|
||||||
|
- 'constants'
|
||||||
|
- 'hooks'
|
||||||
|
- 'scripts'
|
||||||
|
|||||||
Reference in New Issue
Block a user