Compare commits
30 Commits
773b8f26c2
...
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 | |||
| a4d2c0d325 | |||
| 4b6a8acba3 |
@@ -1,35 +1,39 @@
|
||||
name: Expo Local Build APK
|
||||
|
||||
on:
|
||||
push:
|
||||
branches:
|
||||
- main
|
||||
|
||||
- master
|
||||
jobs:
|
||||
build-apk:
|
||||
update:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Checkout code
|
||||
- name: 🏗 Setup repo
|
||||
uses: actions/checkout@v3
|
||||
|
||||
- name: Setup Node.js
|
||||
uses: actions/setup-node@v4
|
||||
- name: 🏗 Setup Node
|
||||
uses: actions/setup-node@v3
|
||||
with:
|
||||
node-version: '18'
|
||||
node-version: 18.x
|
||||
cache: pnpm
|
||||
|
||||
- name: Install Expo CLI & EAS CLI
|
||||
run: npm install -g expo-cli eas-cli
|
||||
|
||||
- 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
|
||||
- name: 🏗 Setup pnpm
|
||||
uses: pnpm/action-setup@v2
|
||||
with:
|
||||
name: app-apk
|
||||
path: dist/app.apk
|
||||
version: latest
|
||||
|
||||
- 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
|
||||
@@ -1,5 +1,7 @@
|
||||
# Welcome to your Flexlark Template 👋
|
||||
|
||||
> 这是灵动云雀工作室(Flexlark Studio)的基础模板用于开发APP的启动模板。
|
||||
|
||||
This is an [Expo](https://expo.dev) project created with [`create-expo-app`](https://www.npmjs.com/package/create-expo-app).
|
||||
|
||||
## Get started
|
||||
|
||||
13
app.json
13
app.json
@@ -1,8 +1,9 @@
|
||||
{
|
||||
"expo": {
|
||||
"name": "flexlark-template",
|
||||
"name": "灵动云雀模板",
|
||||
"slug": "flexlark-template",
|
||||
"version": "1.0.0",
|
||||
"platforms": ["android"],
|
||||
"orientation": "portrait",
|
||||
"icon": "./assets/images/icon.png",
|
||||
"scheme": "flexlarktemplate",
|
||||
@@ -17,6 +18,7 @@
|
||||
"backgroundColor": "#ffffff"
|
||||
},
|
||||
"edgeToEdgeEnabled": true
|
||||
,"package": "com.flexlark.template"
|
||||
},
|
||||
"web": {
|
||||
"bundler": "metro",
|
||||
@@ -37,6 +39,13 @@
|
||||
],
|
||||
"experiments": {
|
||||
"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-safe-area-context": "5.4.0",
|
||||
"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-webview": "13.13.5",
|
||||
"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)
|
||||
expo-router:
|
||||
specifier: ~5.1.4
|
||||
version: 5.1.4(e1c8eefe113e01b6d50ed7cbca38deea)
|
||||
version: 5.1.4(4dxweeftez7bzpvimyjvn3mn6i)
|
||||
expo-splash-screen:
|
||||
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))
|
||||
@@ -81,8 +81,8 @@ importers:
|
||||
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)
|
||||
react-native-svg:
|
||||
specifier: ^15.12.1
|
||||
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)
|
||||
specifier: ^15.11.2
|
||||
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:
|
||||
specifier: ~0.20.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-native: '*'
|
||||
|
||||
react-native-svg@15.12.1:
|
||||
resolution: {integrity: sha512-vCuZJDf8a5aNC2dlMovEv4Z0jjEUET53lm/iILFnFewa15b4atjVxU6Wirm6O9y6dEsdjDZVD7Q3QM4T1wlI8g==}
|
||||
react-native-svg@15.11.2:
|
||||
resolution: {integrity: sha512-+YfF72IbWQUKzCIydlijV1fLuBsQNGMT6Da2kFlo1sh+LE3BIm/2Q7AR1zAAR6L0BFLi1WaQPLfFUC9bNZpOmw==}
|
||||
peerDependencies:
|
||||
react: '*'
|
||||
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/parser': 8.39.1(eslint@9.33.0)(typescript@5.8.3)
|
||||
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-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-hooks: 5.2.0(eslint@9.33.0)
|
||||
globals: 16.3.0
|
||||
@@ -7736,7 +7736,7 @@ snapshots:
|
||||
transitivePeerDependencies:
|
||||
- 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:
|
||||
'@nolyfill/is-core-module': 1.0.39
|
||||
debug: 4.4.1
|
||||
@@ -7747,18 +7747,18 @@ snapshots:
|
||||
tinyglobby: 0.2.14
|
||||
unrs-resolver: 1.11.1
|
||||
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:
|
||||
- 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:
|
||||
debug: 3.2.7
|
||||
optionalDependencies:
|
||||
'@typescript-eslint/parser': 8.39.1(eslint@9.33.0)(typescript@5.8.3)
|
||||
eslint: 9.33.0
|
||||
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:
|
||||
- supports-color
|
||||
|
||||
@@ -7771,7 +7771,7 @@ snapshots:
|
||||
- supports-color
|
||||
- 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:
|
||||
'@rtsao/scc': 1.1.0
|
||||
array-includes: 3.1.9
|
||||
@@ -7782,7 +7782,7 @@ snapshots:
|
||||
doctrine: 2.1.0
|
||||
eslint: 9.33.0
|
||||
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
|
||||
is-core-module: 2.16.1
|
||||
is-glob: 4.0.3
|
||||
@@ -7978,7 +7978,7 @@ snapshots:
|
||||
dependencies:
|
||||
invariant: 2.2.4
|
||||
|
||||
expo-router@5.1.4(e1c8eefe113e01b6d50ed7cbca38deea):
|
||||
expo-router@5.1.4(4dxweeftez7bzpvimyjvn3mn6i):
|
||||
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/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)
|
||||
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:
|
||||
css-select: 5.2.2
|
||||
css-tree: 1.1.3
|
||||
|
||||
@@ -1 +1,8 @@
|
||||
nodeLinker: hoisted
|
||||
|
||||
packages:
|
||||
- 'app'
|
||||
- 'components'
|
||||
- 'constants'
|
||||
- 'hooks'
|
||||
- 'scripts'
|
||||
|
||||
Reference in New Issue
Block a user