@capgo/capacitor-transitions 8.1.1 → 8.1.3
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 +28 -0
- package/package.json +29 -2
package/README.md
CHANGED
|
@@ -632,6 +632,34 @@ npm install
|
|
|
632
632
|
npm run dev
|
|
633
633
|
```
|
|
634
634
|
|
|
635
|
+
### Mobile Demo App
|
|
636
|
+
|
|
637
|
+
The repository also includes a Capacitor shell for testing the React demo on real devices and through Capgo. It uses the app id `app.capgo.capacitor.transitions`, app name `Capgo Transitions`, and `examples/react-app/dist` as the native web bundle.
|
|
638
|
+
|
|
639
|
+
Capacitor CLI requires Node.js 22 or newer.
|
|
640
|
+
|
|
641
|
+
To build and copy the demo into the native projects:
|
|
642
|
+
|
|
643
|
+
```bash
|
|
644
|
+
npm install
|
|
645
|
+
npm run build:mobile
|
|
646
|
+
npx cap sync
|
|
647
|
+
```
|
|
648
|
+
|
|
649
|
+
To run it locally:
|
|
650
|
+
|
|
651
|
+
```bash
|
|
652
|
+
npx cap run ios
|
|
653
|
+
npx cap run android
|
|
654
|
+
```
|
|
655
|
+
|
|
656
|
+
To deploy an OTA bundle to Capgo:
|
|
657
|
+
|
|
658
|
+
```bash
|
|
659
|
+
npm run build:mobile
|
|
660
|
+
npx @capgo/cli@latest bundle upload app.capgo.capacitor.transitions --channel dev --delta
|
|
661
|
+
```
|
|
662
|
+
|
|
635
663
|
## License
|
|
636
664
|
|
|
637
665
|
MIT
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@capgo/capacitor-transitions",
|
|
3
|
-
"version": "8.1.
|
|
3
|
+
"version": "8.1.3",
|
|
4
4
|
"description": "Framework-agnostic page transitions for Capacitor apps - iOS-style navigation without opinions",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"module": "dist/index.mjs",
|
|
@@ -46,9 +46,21 @@
|
|
|
46
46
|
"dev:examples": "bun scripts/dev-frameworks.ts",
|
|
47
47
|
"dev:examples:all": "bun scripts/dev-frameworks.ts --all",
|
|
48
48
|
"dev:examples:all:install": "bun scripts/dev-frameworks.ts --all --install",
|
|
49
|
+
"build:app": "vite --config examples/react-app/vite.config.ts build",
|
|
50
|
+
"build:mobile": "bun run build:app && bunx cap copy",
|
|
51
|
+
"sync": "bunx cap sync",
|
|
52
|
+
"sync:ios": "bunx cap sync ios",
|
|
53
|
+
"sync:android": "bunx cap sync android",
|
|
54
|
+
"ios": "bunx cap run ios",
|
|
55
|
+
"android": "bunx cap run android",
|
|
56
|
+
"deploy:capgo": "bun run build:mobile && bunx @capgo/cli@7.102.0 bundle upload app.capgo.capacitor.transitions --channel production --delta",
|
|
57
|
+
"deploy:capgo:dev": "bun run build:mobile && bunx @capgo/cli@7.102.0 bundle upload app.capgo.capacitor.transitions --channel dev --delta",
|
|
49
58
|
"typecheck": "tsc --noEmit",
|
|
50
|
-
"verify": "bun run verify:web",
|
|
59
|
+
"verify": "bun run verify:web && bun run verify:ios && bun run verify:android",
|
|
51
60
|
"verify:web": "bun run build",
|
|
61
|
+
"verify:mobile": "bun run build:mobile",
|
|
62
|
+
"verify:ios": "bun run build:mobile && xcodebuild -project ios/App/App.xcodeproj -scheme App -destination generic/platform=iOS CODE_SIGNING_ALLOWED=NO",
|
|
63
|
+
"verify:android": "bun run build:mobile && cd android && ./gradlew build test",
|
|
52
64
|
"lint": "bun run eslint && bun run prettier -- --check",
|
|
53
65
|
"fmt": "bun run eslint -- --fix && bun run prettier -- --write",
|
|
54
66
|
"eslint": "eslint .",
|
|
@@ -79,17 +91,32 @@
|
|
|
79
91
|
},
|
|
80
92
|
"homepage": "https://capgo.app/docs/plugins/transitions/",
|
|
81
93
|
"devDependencies": {
|
|
94
|
+
"@capacitor/android": "^8.3.4",
|
|
95
|
+
"@capacitor/cli": "^8.3.4",
|
|
96
|
+
"@capacitor/core": "^8.3.4",
|
|
97
|
+
"@capacitor/ios": "^8.3.4",
|
|
98
|
+
"@capacitor/keyboard": "^8.0.3",
|
|
99
|
+
"@capacitor/splash-screen": "^8.0.1",
|
|
100
|
+
"@capacitor/status-bar": "^8.0.2",
|
|
101
|
+
"@capgo/capacitor-updater": "^8.46.1",
|
|
102
|
+
"@capgo/cli": "7.102.0",
|
|
82
103
|
"@ionic/eslint-config": "^0.4.0",
|
|
83
104
|
"@ionic/prettier-config": "^4.0.0",
|
|
84
105
|
"@types/node": "^22.0.0",
|
|
85
106
|
"@types/react": "^18.3.0",
|
|
107
|
+
"@types/react-dom": "^18.3.0",
|
|
108
|
+
"@vitejs/plugin-react": "^4.0.0",
|
|
86
109
|
"eslint": "^8.57.1",
|
|
87
110
|
"eslint-plugin-import": "^2.31.0",
|
|
88
111
|
"husky": "^9.1.7",
|
|
89
112
|
"prettier": "^3.6.2",
|
|
90
113
|
"prettier-pretty-check": "^0.2.0",
|
|
114
|
+
"react": "^18.3.0",
|
|
115
|
+
"react-dom": "^18.3.0",
|
|
116
|
+
"react-router-dom": "^7.0.0",
|
|
91
117
|
"tsup": "^8.0.0",
|
|
92
118
|
"typescript": "^5.7.0",
|
|
119
|
+
"vite": "^7.3.1",
|
|
93
120
|
"vitest": "^2.0.0"
|
|
94
121
|
},
|
|
95
122
|
"peerDependencies": {
|