@livx.cc/appwrap 0.20.0 → 0.20.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md
CHANGED
|
@@ -6,9 +6,9 @@ CLI that wraps any PWA into a native iOS/Android app with real native capabiliti
|
|
|
6
6
|
|
|
7
7
|
```bash
|
|
8
8
|
bun add -d @livx.cc/appwrap
|
|
9
|
-
bunx appwrap init # scaffold native/ from your config
|
|
10
|
-
bunx appwrap sync # regenerate native/ after web or config changes
|
|
11
|
-
bunx appwrap dev # live-load your dev server in the native shell
|
|
9
|
+
bunx @livx.cc/appwrap init # scaffold native/ from your config
|
|
10
|
+
bunx @livx.cc/appwrap sync # regenerate native/ after web or config changes
|
|
11
|
+
bunx @livx.cc/appwrap dev # live-load your dev server in the native shell
|
|
12
12
|
```
|
|
13
13
|
|
|
14
14
|
Configuration lives in a typed `appwrap.config.ts` (app id, name, icon, modules, permissions, signing) — author it with autocomplete + type-checking via `defineConfig`:
|
package/package.json
CHANGED
|
@@ -44,7 +44,9 @@ platform :ios do
|
|
|
44
44
|
export_options: { provisioningProfiles: { APP_ID => profile } }
|
|
45
45
|
)
|
|
46
46
|
|
|
47
|
-
|
|
47
|
+
# Wait for App Store Connect to finish processing and FAIL if it doesn't — Apple can accept the
|
|
48
|
+
# upload yet silently drop the build (e.g. an out-of-range CFBundleVersion). skip:true hides that.
|
|
49
|
+
upload_to_testflight(api_key: api_key, skip_waiting_for_build_processing: false, wait_processing_timeout_duration: 1800)
|
|
48
50
|
end
|
|
49
51
|
end
|
|
50
52
|
|
|
@@ -22,7 +22,8 @@ jobs:
|
|
|
22
22
|
- uses: actions/setup-node@v4
|
|
23
23
|
with: { node-version: 22 }
|
|
24
24
|
- run: bun install && bun run build.ts
|
|
25
|
-
|
|
25
|
+
# Pin global tools — unpinned installs can grab a breaking release mid-flight. Bump deliberately.
|
|
26
|
+
- run: npm i -g nativescript@9.0.6
|
|
26
27
|
- run: bunx @livx.cc/appwrap init # native/ is generated (gitignored) — regenerate it fresh in CI
|
|
27
28
|
- working-directory: native
|
|
28
29
|
run: npm install && ns build ios --emulator
|
|
@@ -24,7 +24,8 @@ jobs:
|
|
|
24
24
|
with: { distribution: temurin, java-version: 17 }
|
|
25
25
|
- uses: android-actions/setup-android@v3
|
|
26
26
|
- run: bun install && bun run build.ts # → dist/ (the PWA bundle the wrapper ships)
|
|
27
|
-
|
|
27
|
+
# Pin global tools — unpinned installs can grab a breaking release mid-flight. Bump deliberately.
|
|
28
|
+
- run: npm i -g nativescript@9.0.6
|
|
28
29
|
- run: bunx @livx.cc/appwrap init # native/ is generated (gitignored) — regenerate fresh in CI
|
|
29
30
|
- working-directory: native
|
|
30
31
|
run: npm install
|
|
@@ -43,7 +44,7 @@ jobs:
|
|
|
43
44
|
path: native/platforms/android/app/build/outputs/bundle/release/app-release.aab
|
|
44
45
|
- uses: ruby/setup-ruby@v1
|
|
45
46
|
with: { ruby-version: '3.3', bundler-cache: false }
|
|
46
|
-
- run: gem install fastlane
|
|
47
|
+
- run: gem install fastlane -v 2.236.1
|
|
47
48
|
- name: Upload to Play (internal)
|
|
48
49
|
working-directory: native
|
|
49
50
|
env:
|
|
@@ -26,13 +26,14 @@ jobs:
|
|
|
26
26
|
- uses: actions/setup-node@v4
|
|
27
27
|
with: { node-version: 22 }
|
|
28
28
|
- run: bun install && bun run build.ts
|
|
29
|
-
|
|
29
|
+
# Pin global tools — unpinned installs can grab a breaking release mid-flight. Bump deliberately.
|
|
30
|
+
- run: npm i -g nativescript@9.0.6
|
|
30
31
|
- run: bunx @livx.cc/appwrap init # native/ is generated (gitignored) — regenerate it fresh in CI
|
|
31
32
|
- working-directory: native
|
|
32
33
|
run: npm install
|
|
33
34
|
- uses: ruby/setup-ruby@v1
|
|
34
35
|
with: { ruby-version: '3.3', bundler-cache: false }
|
|
35
|
-
- run: gem install fastlane
|
|
36
|
+
- run: gem install fastlane -v 2.236.1
|
|
36
37
|
- name: Set up match deploy key (read-only SSH on the certs repo)
|
|
37
38
|
run: |
|
|
38
39
|
mkdir -p ~/.ssh && chmod 700 ~/.ssh
|