create-disposabl-app 0.10.4 → 0.12.0
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 +3 -1
- package/dist/disposabl.js +218 -133
- package/dist/index.js +212 -47
- package/dist/templates/default/.github/scripts/apple.sh +60 -0
- package/dist/templates/default/.github/scripts/mobile.sh +10 -2
- package/dist/templates/default/.github/scripts/platforms.sh +32 -13
- package/dist/templates/default/.github/scripts/release.sh +2 -1
- package/dist/templates/default/.github/workflows/pipeline.yml +105 -44
- package/dist/templates/default/apps/desktop/README.md +5 -45
- package/dist/templates/default/apps/desktop/package.json +6 -6
- package/dist/templates/default/apps/docs/README.md +2 -4
- package/dist/templates/default/apps/docs/build.ts +10 -0
- package/dist/templates/default/apps/docs/content/backend.mdx +39 -0
- package/dist/templates/default/apps/docs/content/desktop.mdx +10 -0
- package/dist/templates/default/apps/docs/content/getting-started.mdx +26 -0
- package/dist/templates/default/apps/docs/content/index.mdx +27 -5
- package/dist/templates/default/apps/docs/content/mobile.mdx +18 -0
- package/dist/templates/default/apps/docs/content/web.mdx +14 -0
- package/dist/templates/default/apps/docs/dev.ts +40 -0
- package/dist/templates/default/apps/docs/package.json +15 -14
- package/dist/templates/default/apps/docs/press.config.ts +13 -1
- package/dist/templates/default/apps/docs/vite.config.ts +1 -0
- package/dist/templates/default/apps/mobile/.agents/skills/agent-device/SKILL.md +3 -1
- package/dist/templates/default/apps/mobile/.agents/skills/android-emulator/SKILL.md +2 -0
- package/dist/templates/default/apps/mobile/.agents/skills/dogfood/SKILL.md +1 -1
- package/dist/templates/default/apps/mobile/.agents/skills/eas-app-stores/SKILL.md +0 -1
- package/dist/templates/default/apps/mobile/.agents/skills/eas-hosting/SKILL.md +0 -1
- package/dist/templates/default/apps/mobile/.agents/skills/eas-observe/SKILL.md +7 -4
- package/dist/templates/default/apps/mobile/.agents/skills/eas-observe/references/library-integrations.md +116 -0
- package/dist/templates/default/apps/mobile/.agents/skills/eas-observe/references/queries.md +27 -0
- package/dist/templates/default/apps/mobile/.agents/skills/eas-observe/references/setup.md +3 -2
- package/dist/templates/default/apps/mobile/.agents/skills/eas-simulator/SKILL.md +0 -1
- package/dist/templates/default/apps/mobile/.agents/skills/eas-update/SKILL.md +0 -1
- package/dist/templates/default/apps/mobile/.agents/skills/eas-update-insights/SKILL.md +0 -1
- package/dist/templates/default/apps/mobile/.agents/skills/eas-workflows/SKILL.md +0 -1
- package/dist/templates/default/apps/mobile/.agents/skills/expo-animation/SKILL.md +0 -1
- package/dist/templates/default/apps/mobile/.agents/skills/expo-data-fetching/SKILL.md +0 -1
- package/dist/templates/default/apps/mobile/.agents/skills/expo-design-system/SKILL.md +0 -1
- package/dist/templates/default/apps/mobile/.agents/skills/expo-dev-client/SKILL.md +0 -1
- package/dist/templates/default/apps/mobile/.agents/skills/expo-dom/SKILL.md +0 -1
- package/dist/templates/default/apps/mobile/.agents/skills/expo-examples/SKILL.md +0 -1
- package/dist/templates/default/apps/mobile/.agents/skills/expo-migrate-module/SKILL.md +25 -21
- package/dist/templates/default/apps/mobile/.agents/skills/expo-migrate-module/references/compatibility.md +136 -60
- package/dist/templates/default/apps/mobile/.agents/skills/expo-migrate-module/references/example.md +17 -16
- package/dist/templates/default/apps/mobile/.agents/skills/expo-migrate-module/references/migration-map.md +132 -50
- package/dist/templates/default/apps/mobile/.agents/skills/expo-module/SKILL.md +0 -1
- package/dist/templates/default/apps/mobile/.agents/skills/expo-native-ui/SKILL.md +0 -1
- package/dist/templates/default/apps/mobile/.agents/skills/expo-overview/SKILL.md +0 -1
- package/dist/templates/default/apps/mobile/.agents/skills/expo-project-structure/SKILL.md +0 -1
- package/dist/templates/default/apps/mobile/.agents/skills/expo-router/SKILL.md +0 -1
- package/dist/templates/default/apps/mobile/.agents/skills/expo-skill-eval/SKILL.md +0 -1
- package/dist/templates/default/apps/mobile/.agents/skills/expo-ui/SKILL.md +0 -1
- package/dist/templates/default/apps/mobile/.agents/skills/expo-upgrade/SKILL.md +0 -1
- package/dist/templates/default/apps/mobile/.agents/skills/expo-web-to-native/SKILL.md +0 -1
- package/dist/templates/default/apps/mobile/.agents/skills/ios-simulator/SKILL.md +2 -0
- package/dist/templates/default/apps/mobile/.claude/skills/agent-device/SKILL.md +24 -0
- package/dist/templates/default/apps/mobile/.claude/skills/android-emulator/SKILL.md +34 -0
- package/dist/templates/default/apps/mobile/.claude/skills/dogfood/SKILL.md +27 -0
- package/dist/templates/default/apps/mobile/.claude/skills/eas-app-stores/SKILL.md +175 -0
- package/dist/templates/default/apps/mobile/.claude/skills/eas-app-stores/agents/openai.yaml +4 -0
- package/dist/templates/default/apps/mobile/.claude/skills/eas-app-stores/references/app-store-metadata.md +497 -0
- package/dist/templates/default/apps/mobile/.claude/skills/eas-app-stores/references/ios-app-store.md +376 -0
- package/dist/templates/default/apps/mobile/.claude/skills/eas-app-stores/references/native-ios.md +167 -0
- package/dist/templates/default/apps/mobile/.claude/skills/eas-app-stores/references/play-store.md +244 -0
- package/dist/templates/default/apps/mobile/.claude/skills/eas-app-stores/references/testflight.md +62 -0
- package/dist/templates/default/apps/mobile/.claude/skills/eas-app-stores/references/workflows.md +120 -0
- package/dist/templates/default/apps/mobile/.claude/skills/eas-hosting/SKILL.md +430 -0
- package/dist/templates/default/apps/mobile/.claude/skills/eas-hosting/agents/openai.yaml +4 -0
- package/dist/templates/default/apps/mobile/.claude/skills/eas-observe/SKILL.md +49 -0
- package/dist/templates/default/apps/mobile/.claude/skills/eas-observe/agents/openai.yaml +4 -0
- package/dist/templates/default/apps/mobile/.claude/skills/eas-observe/references/library-integrations.md +116 -0
- package/dist/templates/default/apps/mobile/.claude/skills/eas-observe/references/metrics.md +98 -0
- package/dist/templates/default/apps/mobile/.claude/skills/eas-observe/references/queries.md +471 -0
- package/dist/templates/default/apps/mobile/.claude/skills/eas-observe/references/setup.md +530 -0
- package/dist/templates/default/apps/mobile/.claude/skills/eas-observe/references/third-party.md +136 -0
- package/dist/templates/default/apps/mobile/.claude/skills/eas-simulator/SKILL.md +236 -0
- package/dist/templates/default/apps/mobile/.claude/skills/eas-simulator/agents/openai.yaml +4 -0
- package/dist/templates/default/apps/mobile/.claude/skills/eas-simulator/references/controllers.md +139 -0
- package/dist/templates/default/apps/mobile/.claude/skills/eas-simulator/references/logs-and-crashes.md +101 -0
- package/dist/templates/default/apps/mobile/.claude/skills/eas-simulator/references/run-your-app.md +256 -0
- package/dist/templates/default/apps/mobile/.claude/skills/eas-simulator/references/troubleshooting.md +56 -0
- package/dist/templates/default/apps/mobile/.claude/skills/eas-update/SKILL.md +145 -0
- package/dist/templates/default/apps/mobile/.claude/skills/eas-update/agents/openai.yaml +4 -0
- package/dist/templates/default/apps/mobile/.claude/skills/eas-update-insights/SKILL.md +237 -0
- package/dist/templates/default/apps/mobile/.claude/skills/eas-update-insights/agents/openai.yaml +4 -0
- package/dist/templates/default/apps/mobile/.claude/skills/eas-update-insights/references/channel-insights-schema.md +47 -0
- package/dist/templates/default/apps/mobile/.claude/skills/eas-update-insights/references/update-insights-schema.md +69 -0
- package/dist/templates/default/apps/mobile/.claude/skills/eas-workflows/SKILL.md +98 -0
- package/dist/templates/default/apps/mobile/.claude/skills/eas-workflows/agents/openai.yaml +4 -0
- package/dist/templates/default/apps/mobile/.claude/skills/eas-workflows/scripts/fetch.js +109 -0
- package/dist/templates/default/apps/mobile/.claude/skills/eas-workflows/scripts/package.json +6 -0
- package/dist/templates/default/apps/mobile/.claude/skills/expo-animation/LICENSE +21 -0
- package/dist/templates/default/apps/mobile/.claude/skills/expo-animation/RECIPES.md +385 -0
- package/dist/templates/default/apps/mobile/.claude/skills/expo-animation/SKILL.md +273 -0
- package/dist/templates/default/apps/mobile/.claude/skills/expo-animation/agents/openai.yaml +4 -0
- package/dist/templates/default/apps/mobile/.claude/skills/expo-app-clip/SKILL.md +290 -0
- package/dist/templates/default/apps/mobile/.claude/skills/expo-app-clip/agents/openai.yaml +4 -0
- package/dist/templates/default/apps/mobile/.claude/skills/expo-app-clip/references/native-module.md +96 -0
- package/dist/templates/default/apps/mobile/.claude/skills/expo-brownfield/SKILL.md +69 -0
- package/dist/templates/default/apps/mobile/.claude/skills/expo-brownfield/agents/openai.yaml +4 -0
- package/dist/templates/default/apps/mobile/.claude/skills/expo-brownfield/references/brownfield-integrated.md +551 -0
- package/dist/templates/default/apps/mobile/.claude/skills/expo-brownfield/references/brownfield-isolated.md +449 -0
- package/dist/templates/default/apps/mobile/.claude/skills/expo-brownfield/references/comparison.md +63 -0
- package/dist/templates/default/apps/mobile/.claude/skills/expo-brownfield/references/feature-integration.md +163 -0
- package/dist/templates/default/apps/mobile/.claude/skills/expo-brownfield/references/troubleshooting.md +88 -0
- package/dist/templates/default/apps/mobile/.claude/skills/expo-brownfield/references/version-compatibility.md +40 -0
- package/dist/templates/default/apps/mobile/.claude/skills/expo-data-fetching/SKILL.md +477 -0
- package/dist/templates/default/apps/mobile/.claude/skills/expo-data-fetching/agents/openai.yaml +4 -0
- package/dist/templates/default/apps/mobile/.claude/skills/expo-data-fetching/references/expo-router-loaders.md +341 -0
- package/dist/templates/default/apps/mobile/.claude/skills/expo-data-fetching/references/offline-and-cancellation.md +68 -0
- package/dist/templates/default/apps/mobile/.claude/skills/expo-design-system/SKILL.md +375 -0
- package/dist/templates/default/apps/mobile/.claude/skills/expo-design-system/agents/openai.yaml +4 -0
- package/dist/templates/default/apps/mobile/.claude/skills/expo-design-system/references/audit.md +190 -0
- package/dist/templates/default/apps/mobile/.claude/skills/expo-design-system/references/native-slop.md +74 -0
- package/dist/templates/default/apps/mobile/.claude/skills/expo-dev-client/SKILL.md +183 -0
- package/dist/templates/default/apps/mobile/.claude/skills/expo-dev-client/agents/openai.yaml +4 -0
- package/dist/templates/default/apps/mobile/.claude/skills/expo-dom/SKILL.md +424 -0
- package/dist/templates/default/apps/mobile/.claude/skills/expo-dom/agents/openai.yaml +4 -0
- package/dist/templates/default/apps/mobile/.claude/skills/expo-examples/SKILL.md +105 -0
- package/dist/templates/default/apps/mobile/.claude/skills/expo-examples/agents/openai.yaml +4 -0
- package/dist/templates/default/apps/mobile/.claude/skills/expo-examples/references/catalog.md +105 -0
- package/dist/templates/default/apps/mobile/.claude/skills/expo-migrate-module/SKILL.md +128 -0
- package/dist/templates/default/apps/mobile/.claude/skills/expo-migrate-module/agents/openai.yaml +4 -0
- package/dist/templates/default/apps/mobile/.claude/skills/expo-migrate-module/references/compatibility.md +206 -0
- package/dist/templates/default/apps/mobile/.claude/skills/expo-migrate-module/references/example.md +213 -0
- package/dist/templates/default/apps/mobile/.claude/skills/expo-migrate-module/references/migration-map.md +539 -0
- package/dist/templates/default/apps/mobile/.claude/skills/expo-module/SKILL.md +150 -0
- package/dist/templates/default/apps/mobile/.claude/skills/expo-module/agents/openai.yaml +4 -0
- package/dist/templates/default/apps/mobile/.claude/skills/expo-module/references/config-plugin.md +90 -0
- package/dist/templates/default/apps/mobile/.claude/skills/expo-module/references/create-expo-module.md +206 -0
- package/dist/templates/default/apps/mobile/.claude/skills/expo-module/references/lifecycle.md +127 -0
- package/dist/templates/default/apps/mobile/.claude/skills/expo-module/references/module-config.md +48 -0
- package/dist/templates/default/apps/mobile/.claude/skills/expo-module/references/native-module.md +286 -0
- package/dist/templates/default/apps/mobile/.claude/skills/expo-module/references/native-view.md +171 -0
- package/dist/templates/default/apps/mobile/.claude/skills/expo-native-ui/SKILL.md +200 -0
- package/dist/templates/default/apps/mobile/.claude/skills/expo-native-ui/agents/openai.yaml +4 -0
- package/dist/templates/default/apps/mobile/.claude/skills/expo-native-ui/references/controls.md +231 -0
- package/dist/templates/default/apps/mobile/.claude/skills/expo-native-ui/references/gradients.md +106 -0
- package/dist/templates/default/apps/mobile/.claude/skills/expo-native-ui/references/icons.md +232 -0
- package/dist/templates/default/apps/mobile/.claude/skills/expo-native-ui/references/media.md +193 -0
- package/dist/templates/default/apps/mobile/.claude/skills/expo-native-ui/references/storage.md +121 -0
- package/dist/templates/default/apps/mobile/.claude/skills/expo-native-ui/references/visual-effects.md +198 -0
- package/dist/templates/default/apps/mobile/.claude/skills/expo-native-ui/references/webgpu-three.md +605 -0
- package/dist/templates/default/apps/mobile/.claude/skills/expo-overview/SKILL.md +119 -0
- package/dist/templates/default/apps/mobile/.claude/skills/expo-overview/agents/openai.yaml +4 -0
- package/dist/templates/default/apps/mobile/.claude/skills/expo-overview/references/launch-without-dev-menu.md +24 -0
- package/dist/templates/default/apps/mobile/.claude/skills/expo-project-structure/SKILL.md +113 -0
- package/dist/templates/default/apps/mobile/.claude/skills/expo-project-structure/agents/openai.yaml +4 -0
- package/dist/templates/default/apps/mobile/.claude/skills/expo-router/SKILL.md +239 -0
- package/dist/templates/default/apps/mobile/.claude/skills/expo-router/agents/openai.yaml +4 -0
- package/dist/templates/default/apps/mobile/.claude/skills/expo-router/references/form-sheet.md +253 -0
- package/dist/templates/default/apps/mobile/.claude/skills/expo-router/references/route-structure.md +229 -0
- package/dist/templates/default/apps/mobile/.claude/skills/expo-router/references/search.md +248 -0
- package/dist/templates/default/apps/mobile/.claude/skills/expo-router/references/tabs.md +433 -0
- package/dist/templates/default/apps/mobile/.claude/skills/expo-router/references/toolbar-and-headers.md +284 -0
- package/dist/templates/default/apps/mobile/.claude/skills/expo-router/references/zoom-transitions.md +158 -0
- package/dist/templates/default/apps/mobile/.claude/skills/expo-skill-eval/SKILL.md +313 -0
- package/dist/templates/default/apps/mobile/.claude/skills/expo-skill-eval/agents/visual-grader.md +52 -0
- package/dist/templates/default/apps/mobile/.claude/skills/expo-skill-eval/references/design-rubric.md +45 -0
- package/dist/templates/default/apps/mobile/.claude/skills/expo-skill-eval/references/runtime-matrix.md +34 -0
- package/dist/templates/default/apps/mobile/.claude/skills/expo-skill-eval/scripts/check-static.sh +64 -0
- package/dist/templates/default/apps/mobile/.claude/skills/expo-skill-eval/scripts/clean-fixture.sh +56 -0
- package/dist/templates/default/apps/mobile/.claude/skills/expo-skill-eval/scripts/generate_viewer.py +450 -0
- package/dist/templates/default/apps/mobile/.claude/skills/expo-skill-eval/scripts/latest-sdk.sh +46 -0
- package/dist/templates/default/apps/mobile/.claude/skills/expo-skill-eval/scripts/make-fixture.sh +95 -0
- package/dist/templates/default/apps/mobile/.claude/skills/expo-skill-eval/scripts/make-workspace.sh +31 -0
- package/dist/templates/default/apps/mobile/.claude/skills/expo-skill-eval/scripts/snapshot-android.sh +284 -0
- package/dist/templates/default/apps/mobile/.claude/skills/expo-skill-eval/scripts/snapshot-ios.sh +132 -0
- package/dist/templates/default/apps/mobile/.claude/skills/expo-skill-eval/scripts/snapshot-web.sh +61 -0
- package/dist/templates/default/apps/mobile/.claude/skills/expo-ui/SKILL.md +100 -0
- package/dist/templates/default/apps/mobile/.claude/skills/expo-ui/agents/openai.yaml +4 -0
- package/dist/templates/default/apps/mobile/.claude/skills/expo-ui/references/drop-in-replacements.md +27 -0
- package/dist/templates/default/apps/mobile/.claude/skills/expo-ui/references/jetpack-compose.md +73 -0
- package/dist/templates/default/apps/mobile/.claude/skills/expo-ui/references/swift-ui.md +73 -0
- package/dist/templates/default/apps/mobile/.claude/skills/expo-ui/references/universal.md +104 -0
- package/dist/templates/default/apps/mobile/.claude/skills/expo-ui/scripts/list-components.js +193 -0
- package/dist/templates/default/apps/mobile/.claude/skills/expo-upgrade/SKILL.md +149 -0
- package/dist/templates/default/apps/mobile/.claude/skills/expo-upgrade/agents/openai.yaml +4 -0
- package/dist/templates/default/apps/mobile/.claude/skills/expo-upgrade/references/expo-av-to-audio.md +132 -0
- package/dist/templates/default/apps/mobile/.claude/skills/expo-upgrade/references/expo-av-to-video.md +160 -0
- package/dist/templates/default/apps/mobile/.claude/skills/expo-upgrade/references/native-tabs.md +124 -0
- package/dist/templates/default/apps/mobile/.claude/skills/expo-upgrade/references/new-architecture.md +79 -0
- package/dist/templates/default/apps/mobile/.claude/skills/expo-upgrade/references/react-19.md +79 -0
- package/dist/templates/default/apps/mobile/.claude/skills/expo-upgrade/references/react-compiler.md +59 -0
- package/dist/templates/default/apps/mobile/.claude/skills/expo-upgrade/references/react-navigation-to-expo-router.md +61 -0
- package/dist/templates/default/apps/mobile/.claude/skills/expo-web-to-native/SKILL.md +90 -0
- package/dist/templates/default/apps/mobile/.claude/skills/expo-web-to-native/agents/openai.yaml +4 -0
- package/dist/templates/default/apps/mobile/.claude/skills/expo-web-to-native/references/false-friends.md +119 -0
- package/dist/templates/default/apps/mobile/.claude/skills/expo-web-to-native/references/native-patterns.md +39 -0
- package/dist/templates/default/apps/mobile/.claude/skills/expo-web-to-native/references/run-as-goal.md +48 -0
- package/dist/templates/default/apps/mobile/.claude/skills/expo-web-to-native/references/verify-on-device.md +45 -0
- package/dist/templates/default/apps/mobile/.claude/skills/ios-simulator/SKILL.md +34 -0
- package/dist/templates/default/apps/mobile/.claude/skills/react-native-best-practices/POWER.md +172 -0
- package/dist/templates/default/apps/mobile/.claude/skills/react-native-best-practices/SKILL.md +238 -0
- package/dist/templates/default/apps/mobile/.claude/skills/react-native-best-practices/agents/openai.yaml +4 -0
- package/dist/templates/default/apps/mobile/.claude/skills/react-native-best-practices/references/bundle-analyze-app.md +208 -0
- package/dist/templates/default/apps/mobile/.claude/skills/react-native-best-practices/references/bundle-analyze-js.md +264 -0
- package/dist/templates/default/apps/mobile/.claude/skills/react-native-best-practices/references/bundle-barrel-exports.md +250 -0
- package/dist/templates/default/apps/mobile/.claude/skills/react-native-best-practices/references/bundle-code-splitting.md +255 -0
- package/dist/templates/default/apps/mobile/.claude/skills/react-native-best-practices/references/bundle-hermes-mmap.md +167 -0
- package/dist/templates/default/apps/mobile/.claude/skills/react-native-best-practices/references/bundle-library-size.md +164 -0
- package/dist/templates/default/apps/mobile/.claude/skills/react-native-best-practices/references/bundle-native-assets.md +208 -0
- package/dist/templates/default/apps/mobile/.claude/skills/react-native-best-practices/references/bundle-r8-android.md +231 -0
- package/dist/templates/default/apps/mobile/.claude/skills/react-native-best-practices/references/bundle-tree-shaking.md +215 -0
- package/dist/templates/default/apps/mobile/.claude/skills/react-native-best-practices/references/images/bundle-treemap-source-map-explorer.png +0 -0
- package/dist/templates/default/apps/mobile/.claude/skills/react-native-best-practices/references/images/controlled-textinput-pingpong.png +0 -0
- package/dist/templates/default/apps/mobile/.claude/skills/react-native-best-practices/references/images/devtools-flamegraph.png +0 -0
- package/dist/templates/default/apps/mobile/.claude/skills/react-native-best-practices/references/images/emerge-xray-ios.png +0 -0
- package/dist/templates/default/apps/mobile/.claude/skills/react-native-best-practices/references/images/expo-atlas-treemap.png +0 -0
- package/dist/templates/default/apps/mobile/.claude/skills/react-native-best-practices/references/images/flashlight-flatlist-vs-flashlist.png +0 -0
- package/dist/templates/default/apps/mobile/.claude/skills/react-native-best-practices/references/images/fps-drop-graph.png +0 -0
- package/dist/templates/default/apps/mobile/.claude/skills/react-native-best-practices/references/images/memory-heap-snapshot.png +0 -0
- package/dist/templates/default/apps/mobile/.claude/skills/react-native-best-practices/references/images/tti-warm-start-diagram.png +0 -0
- package/dist/templates/default/apps/mobile/.claude/skills/react-native-best-practices/references/images/view-hierarchy-flattening.png +0 -0
- package/dist/templates/default/apps/mobile/.claude/skills/react-native-best-practices/references/images/xcode-instruments-templates.png +0 -0
- package/dist/templates/default/apps/mobile/.claude/skills/react-native-best-practices/references/images/xcode-thread-view.png +0 -0
- package/dist/templates/default/apps/mobile/.claude/skills/react-native-best-practices/references/js-animations-reanimated.md +273 -0
- package/dist/templates/default/apps/mobile/.claude/skills/react-native-best-practices/references/js-atomic-state.md +190 -0
- package/dist/templates/default/apps/mobile/.claude/skills/react-native-best-practices/references/js-bottomsheet.md +339 -0
- package/dist/templates/default/apps/mobile/.claude/skills/react-native-best-practices/references/js-concurrent-react.md +238 -0
- package/dist/templates/default/apps/mobile/.claude/skills/react-native-best-practices/references/js-lists-flatlist-flashlist.md +223 -0
- package/dist/templates/default/apps/mobile/.claude/skills/react-native-best-practices/references/js-measure-fps.md +178 -0
- package/dist/templates/default/apps/mobile/.claude/skills/react-native-best-practices/references/js-memory-leaks.md +168 -0
- package/dist/templates/default/apps/mobile/.claude/skills/react-native-best-practices/references/js-profile-react.md +138 -0
- package/dist/templates/default/apps/mobile/.claude/skills/react-native-best-practices/references/js-react-compiler.md +261 -0
- package/dist/templates/default/apps/mobile/.claude/skills/react-native-best-practices/references/js-uncontrolled-components.md +219 -0
- package/dist/templates/default/apps/mobile/.claude/skills/react-native-best-practices/references/native-android-16kb-alignment.md +114 -0
- package/dist/templates/default/apps/mobile/.claude/skills/react-native-best-practices/references/native-measure-tti.md +221 -0
- package/dist/templates/default/apps/mobile/.claude/skills/react-native-best-practices/references/native-memory-leaks.md +206 -0
- package/dist/templates/default/apps/mobile/.claude/skills/react-native-best-practices/references/native-memory-patterns.md +240 -0
- package/dist/templates/default/apps/mobile/.claude/skills/react-native-best-practices/references/native-platform-setup.md +112 -0
- package/dist/templates/default/apps/mobile/.claude/skills/react-native-best-practices/references/native-profiling.md +140 -0
- package/dist/templates/default/apps/mobile/.claude/skills/react-native-best-practices/references/native-sdks-over-polyfills.md +192 -0
- package/dist/templates/default/apps/mobile/.claude/skills/react-native-best-practices/references/native-threading-model.md +230 -0
- package/dist/templates/default/apps/mobile/.claude/skills/react-native-best-practices/references/native-turbo-modules.md +210 -0
- package/dist/templates/default/apps/mobile/.claude/skills/react-native-best-practices/references/native-view-flattening.md +180 -0
- package/dist/templates/default/apps/mobile/AGENTS.md +35 -8
- package/dist/templates/default/apps/mobile/README.md +31 -7
- package/dist/templates/default/apps/mobile/app.config.js +35 -6
- package/dist/templates/default/apps/mobile/metro.config.js +6 -0
- package/dist/templates/default/apps/mobile/nativewind-env.d.ts +2 -0
- package/dist/templates/default/apps/mobile/package.json +28 -16
- package/dist/templates/default/apps/mobile/postcss.config.mjs +1 -0
- package/dist/templates/default/apps/mobile/skills-lock.json +27 -27
- package/dist/templates/default/apps/mobile/src/app/(auth)/forgot-password.tsx +1 -0
- package/dist/templates/default/apps/mobile/src/app/(authenticated)/change-password.tsx +1 -0
- package/dist/templates/default/apps/mobile/src/app/_layout.tsx +1 -0
- package/dist/templates/default/apps/mobile/tsconfig.json +2 -1
- package/dist/templates/default/apps/web/.claude/skills/frontend-design/SKILL.md +71 -0
- package/dist/templates/default/apps/web/.claude/skills/web-design-guidelines/SKILL.md +39 -0
- package/dist/templates/default/apps/web/package.json +16 -16
- package/dist/templates/default/apps/web/site.json +10 -0
- package/dist/templates/default/apps/web/src/routeTree.gen.ts +282 -0
- package/dist/templates/default/apps/web/src/router/__root.tsx +44 -7
- package/dist/templates/default/apps/web/src/router/_authenticated/dashboard.tsx +2 -4
- package/dist/templates/default/apps/web/src/router/index.tsx +101 -20
- package/dist/templates/default/apps/web/src/router/mobile-login.tsx +84 -0
- package/dist/templates/default/apps/web/vite.config.ts +53 -8
- package/dist/templates/default/bun.lock +5286 -27943
- package/dist/templates/default/bunfig.toml +4 -0
- package/dist/templates/default/disposabl.json +1 -1
- package/dist/templates/default/package.json +10 -6
- package/dist/templates/default/packages/backend/.claude/skills/convex/SKILL.md +69 -0
- package/dist/templates/default/packages/backend/.claude/skills/convex-add/SKILL.md +26 -0
- package/dist/templates/default/packages/backend/.claude/skills/convex-advisor/SKILL.md +32 -0
- package/dist/templates/default/packages/backend/.claude/skills/convex-agent/SKILL.md +25 -0
- package/dist/templates/default/packages/backend/.claude/skills/convex-auth/SKILL.md +29 -0
- package/dist/templates/default/packages/backend/.claude/skills/convex-authz/SKILL.md +36 -0
- package/dist/templates/default/packages/backend/.claude/skills/convex-backup/SKILL.md +33 -0
- package/dist/templates/default/packages/backend/.claude/skills/convex-billing/SKILL.md +69 -0
- package/dist/templates/default/packages/backend/.claude/skills/convex-cost/SKILL.md +29 -0
- package/dist/templates/default/packages/backend/.claude/skills/convex-create-component/SKILL.md +325 -0
- package/dist/templates/default/packages/backend/.claude/skills/convex-create-component/agents/openai.yaml +14 -0
- package/dist/templates/default/packages/backend/.claude/skills/convex-create-component/assets/icon.svg +3 -0
- package/dist/templates/default/packages/backend/.claude/skills/convex-create-component/references/advanced-patterns.md +146 -0
- package/dist/templates/default/packages/backend/.claude/skills/convex-create-component/references/hybrid-components.md +38 -0
- package/dist/templates/default/packages/backend/.claude/skills/convex-create-component/references/local-components.md +39 -0
- package/dist/templates/default/packages/backend/.claude/skills/convex-create-component/references/packaged-components.md +54 -0
- package/dist/templates/default/packages/backend/.claude/skills/convex-crons/SKILL.md +23 -0
- package/dist/templates/default/packages/backend/.claude/skills/convex-deploy-guard/SKILL.md +29 -0
- package/dist/templates/default/packages/backend/.claude/skills/convex-design/SKILL.md +30 -0
- package/dist/templates/default/packages/backend/.claude/skills/convex-docs/SKILL.md +31 -0
- package/dist/templates/default/packages/backend/.claude/skills/convex-domains/SKILL.md +26 -0
- package/dist/templates/default/packages/backend/.claude/skills/convex-env/SKILL.md +24 -0
- package/dist/templates/default/packages/backend/.claude/skills/convex-expert/SKILL.md +38 -0
- package/dist/templates/default/packages/backend/.claude/skills/convex-explain-app/SKILL.md +29 -0
- package/dist/templates/default/packages/backend/.claude/skills/convex-improve-convex-plugin/SKILL.md +24 -0
- package/dist/templates/default/packages/backend/.claude/skills/convex-insights/SKILL.md +32 -0
- package/dist/templates/default/packages/backend/.claude/skills/convex-launch-readiness/SKILL.md +35 -0
- package/dist/templates/default/packages/backend/.claude/skills/convex-migrate/SKILL.md +23 -0
- package/dist/templates/default/packages/backend/.claude/skills/convex-migrate-rehearse/SKILL.md +31 -0
- package/dist/templates/default/packages/backend/.claude/skills/convex-monitor/SKILL.md +22 -0
- package/dist/templates/default/packages/backend/.claude/skills/convex-optimize/SKILL.md +26 -0
- package/dist/templates/default/packages/backend/.claude/skills/convex-quickstart/SKILL.md +29 -0
- package/dist/templates/default/packages/backend/.claude/skills/convex-quickstart/agents/openai.yaml +14 -0
- package/dist/templates/default/packages/backend/.claude/skills/convex-quickstart/assets/icon.svg +4 -0
- package/dist/templates/default/packages/backend/.claude/skills/convex-reviewer/SKILL.md +26 -0
- package/dist/templates/default/packages/backend/.claude/skills/convex-seed/SKILL.md +23 -0
- package/dist/templates/default/packages/backend/.claude/skills/convex-self-heal/SKILL.md +38 -0
- package/dist/templates/default/packages/backend/.claude/skills/convex-sentinel/SKILL.md +25 -0
- package/dist/templates/default/packages/backend/.claude/skills/convex-suggest/SKILL.md +27 -0
- package/dist/templates/default/packages/backend/.claude/skills/convex-test/SKILL.md +23 -0
- package/dist/templates/default/packages/backend/.claude/skills/convex-verify/SKILL.md +34 -0
- package/dist/templates/default/packages/backend/README.md +23 -2
- package/dist/templates/default/packages/backend/convex/_generated/api.d.ts +15 -6
- package/dist/templates/default/packages/backend/convex/_generated/server.d.ts +17 -0
- package/dist/templates/default/packages/backend/convex/auth.ts +90 -3
- package/dist/templates/default/packages/backend/convex/authEmail.ts +45 -0
- package/dist/templates/default/packages/backend/convex/authSetup.ts +12 -0
- package/dist/templates/default/packages/backend/convex/billing.ts +5 -0
- package/dist/templates/default/packages/backend/convex/convex.config.ts +38 -1
- package/dist/templates/default/packages/backend/convex/emails.ts +10 -0
- package/dist/templates/default/packages/backend/convex/files/index.ts +6 -0
- package/dist/templates/default/packages/backend/convex/files/internal.ts +5 -0
- package/dist/templates/default/packages/backend/convex/http.ts +9 -1
- package/dist/templates/default/packages/backend/convex/schema.ts +20 -19
- package/dist/templates/default/packages/backend/convex/telemetry.ts +84 -0
- package/dist/templates/default/packages/backend/convex/users/internal.ts +66 -10
- package/dist/templates/default/packages/backend/convex/users/validator.ts +14 -0
- package/dist/templates/default/packages/backend/generated/pages.json +36 -0
- package/dist/templates/default/packages/backend/package.json +8 -7
- package/dist/templates/default/packages/cli/README.md +3 -1
- package/dist/templates/default/packages/cli/auth.ts +6 -1
- package/dist/templates/default/packages/cli/client.ts +213 -0
- package/dist/templates/default/packages/cli/commands.ts +1 -293
- package/dist/templates/default/packages/cli/package.json +1 -1
- package/dist/templates/default/packages/disposabl-kit/GOOGLE_AUTH.md +37 -0
- package/dist/templates/default/packages/disposabl-kit/PAYMENTS.md +31 -0
- package/dist/templates/default/packages/disposabl-kit/client/components/google-sign-in.tsx +78 -0
- package/dist/templates/default/packages/disposabl-kit/client/components/legal-page.tsx +116 -0
- package/dist/templates/default/packages/disposabl-kit/client/components/password-auth-form.tsx +221 -0
- package/dist/templates/default/packages/disposabl-kit/client/components/password-page.tsx +37 -0
- package/dist/templates/default/packages/disposabl-kit/client/components/ui/log-out.tsx +28 -9
- package/dist/templates/default/packages/disposabl-kit/client/lib/prerender.ts +3 -1
- package/dist/templates/default/packages/disposabl-kit/client/lib/telemetry.ts +32 -0
- package/dist/templates/default/packages/disposabl-kit/client/routes/_auth-pages/forgot-password.tsx +92 -0
- package/dist/templates/default/packages/disposabl-kit/client/routes/_auth-pages/login.tsx +4 -149
- package/dist/templates/default/packages/disposabl-kit/client/routes/_auth-pages/reset-password.tsx +118 -0
- package/dist/templates/default/packages/disposabl-kit/client/routes/_auth-pages/signUp.tsx +4 -159
- package/dist/templates/default/packages/disposabl-kit/client/routes/_auth-pages/verify-email.tsx +49 -0
- package/dist/templates/default/packages/disposabl-kit/client/routes/_authenticated/change-password.tsx +123 -0
- package/dist/templates/default/packages/disposabl-kit/client/routes/legal/delete-account.tsx +7 -0
- package/dist/templates/default/packages/disposabl-kit/client/routes/legal/index.tsx +7 -0
- package/dist/templates/default/packages/disposabl-kit/client/routes/legal/privacy-request.tsx +7 -0
- package/dist/templates/default/packages/disposabl-kit/client/routes/legal/privacy.tsx +7 -0
- package/dist/templates/default/packages/disposabl-kit/client/routes/legal/terms.tsx +7 -0
- package/dist/templates/default/packages/disposabl-kit/client/routes/pricing.tsx +223 -0
- package/dist/templates/default/packages/disposabl-kit/client/routes/route.tsx +66 -14
- package/dist/templates/default/packages/disposabl-kit/client/vite.config.ts +27 -1
- package/dist/templates/default/packages/disposabl-kit/feature-options.ts +44 -0
- package/dist/templates/default/packages/disposabl-kit/features.ts +3 -0
- package/dist/templates/default/packages/disposabl-kit/legal/README.md +7 -0
- package/dist/templates/default/packages/disposabl-kit/legal/config.ts +55 -0
- package/dist/templates/default/packages/disposabl-kit/legal/documents/privacy.ts +69 -0
- package/dist/templates/default/packages/disposabl-kit/legal/documents/terms.ts +66 -0
- package/dist/templates/default/packages/disposabl-kit/legal/index.ts +40 -0
- package/dist/templates/default/packages/disposabl-kit/legal/types.ts +6 -0
- package/dist/templates/default/packages/disposabl-kit/lib/auth-errors.ts +47 -0
- package/dist/templates/default/packages/disposabl-kit/lib/auth-session.ts +15 -0
- package/dist/templates/default/packages/disposabl-kit/lib/google-logo.png +0 -0
- package/dist/templates/default/packages/disposabl-kit/lib/indexing.ts +27 -0
- package/dist/templates/default/packages/disposabl-kit/lib/mobile-auth.ts +44 -0
- package/dist/templates/default/packages/disposabl-kit/lib/starter.ts +57 -0
- package/dist/templates/default/packages/disposabl-kit/lib/telemetry.ts +30 -0
- package/dist/templates/default/packages/disposabl-kit/mobile/billing/account-billing.tsx +216 -0
- package/dist/templates/default/packages/disposabl-kit/mobile/billing/session.ts +73 -0
- package/dist/templates/default/packages/disposabl-kit/mobile/components/account-profile.tsx +128 -0
- package/dist/templates/default/packages/disposabl-kit/mobile/components/appearance-settings.tsx +128 -0
- package/dist/templates/default/packages/disposabl-kit/mobile/components/auth-form.tsx +168 -68
- package/dist/templates/default/packages/disposabl-kit/mobile/components/auth-ui.tsx +52 -8
- package/dist/templates/default/packages/disposabl-kit/mobile/components/email-verification.tsx +77 -0
- package/dist/templates/default/packages/disposabl-kit/mobile/components/google-button.tsx +66 -0
- package/dist/templates/default/packages/disposabl-kit/mobile/components/google-sign-in.tsx +121 -0
- package/dist/templates/default/packages/disposabl-kit/mobile/components/settings-links.tsx +53 -0
- package/dist/templates/default/packages/disposabl-kit/mobile/components/settings-page.tsx +58 -0
- package/dist/templates/default/packages/disposabl-kit/mobile/design/accent.ts +31 -0
- package/dist/templates/default/packages/disposabl-kit/mobile/design/avatar.tsx +38 -0
- package/dist/templates/default/packages/disposabl-kit/mobile/design/brand-mark.tsx +18 -0
- package/dist/templates/default/packages/disposabl-kit/mobile/design/native-button.tsx +20 -0
- package/dist/templates/default/packages/disposabl-kit/mobile/design/preferences.tsx +234 -0
- package/dist/templates/default/packages/disposabl-kit/mobile/design/primitives.tsx +229 -0
- package/dist/templates/default/packages/disposabl-kit/mobile/design/theme-provider.tsx +198 -0
- package/dist/templates/default/packages/disposabl-kit/mobile/design/theme.ts +13 -0
- package/dist/templates/default/packages/disposabl-kit/mobile/design/themed-text.tsx +61 -0
- package/dist/templates/default/packages/disposabl-kit/mobile/design/use-theme.ts +27 -0
- package/dist/templates/default/packages/disposabl-kit/mobile/expo-plugin.cjs +28 -5
- package/dist/templates/default/packages/disposabl-kit/mobile/global.css +165 -0
- package/dist/templates/default/packages/disposabl-kit/mobile/index.ts +3 -0
- package/dist/templates/default/packages/disposabl-kit/mobile/layout.tsx +156 -23
- package/dist/templates/default/packages/disposabl-kit/mobile/lib/auth-return.ts +10 -0
- package/dist/templates/default/packages/disposabl-kit/mobile/lib/logo-dark.png +0 -0
- package/dist/templates/default/packages/disposabl-kit/mobile/lib/logo-light.png +0 -0
- package/dist/templates/default/packages/disposabl-kit/mobile/screens/account.tsx +171 -39
- package/dist/templates/default/packages/disposabl-kit/mobile/screens/change-password.tsx +147 -0
- package/dist/templates/default/packages/disposabl-kit/mobile/screens/forgot-password.tsx +158 -0
- package/dist/templates/default/packages/disposabl-kit/mobile/screens/home.tsx +162 -54
- package/dist/templates/default/packages/disposabl-kit/mobile/updates/current-update.ts +19 -0
- package/dist/templates/default/packages/disposabl-kit/mobile/updates/foreground-check.ts +19 -0
- package/dist/templates/default/packages/disposabl-kit/mobile/updates/update-prompt.tsx +201 -0
- package/dist/templates/default/packages/disposabl-kit/package.json +62 -22
- package/dist/templates/default/packages/disposabl-kit/payments/autumn.config.example +13 -0
- package/dist/templates/default/packages/disposabl-kit/server/billing-functions.ts +93 -0
- package/dist/templates/default/packages/disposabl-kit/server/billing.ts +119 -0
- package/dist/templates/default/packages/disposabl-kit/server/files-functions.ts +196 -0
- package/dist/templates/default/packages/disposabl-kit/server/files.ts +133 -0
- package/dist/templates/default/packages/disposabl-kit/server/google.ts +95 -0
- package/dist/templates/default/packages/disposabl-kit/server/http.ts +68 -18
- package/dist/templates/default/packages/disposabl-kit/server/lib/platform-spec.ts +99 -16
- package/dist/templates/default/packages/disposabl-kit/server/lib/static.ts +43 -5
- package/dist/templates/default/packages/disposabl-kit/server/lib/telemetry.ts +139 -0
- package/dist/templates/default/packages/sdk/package.json +1 -1
- package/dist/templates/default/packages/sdk/src/config.ts +1 -0
- package/dist/templates/default/packages/skill/SKILL.md +10 -2
- package/dist/templates/default/packages/skill/references/agent.md +28 -0
- package/dist/templates/default/packages/skill/references/delivery.md +2 -0
- package/dist/templates/default/packages/skill/references/design.md +2 -0
- package/dist/templates/default/packages/skill/references/iphone-preview.md +114 -0
- package/dist/templates/default/packages/skill/scripts/sign-iphone.py +126 -0
- package/dist/templates/default/packages/tests/README.md +10 -0
- package/dist/templates/default/packages/tests/billing.test.ts +77 -0
- package/dist/templates/default/packages/tests/components/mobile-google.test.mjs +142 -0
- package/dist/templates/default/packages/tests/components/mobile-settings.test.mjs +118 -0
- package/dist/templates/default/packages/tests/components/mobile-theme.test.mjs +122 -0
- package/dist/templates/default/packages/tests/components/mobile-updates.test.mjs +139 -0
- package/dist/templates/default/packages/tests/e2e.config.ts +1 -0
- package/dist/templates/default/packages/tests/files.test.ts +234 -0
- package/dist/templates/default/packages/tests/flows/email-delivery.e2e.ts +93 -0
- package/dist/templates/default/packages/tests/flows/files.e2e.ts +97 -0
- package/dist/templates/default/packages/tests/flows/legal.e2e.ts +38 -0
- package/dist/templates/default/packages/tests/flows/mcp.e2e.ts +120 -0
- package/dist/templates/default/packages/tests/flows/mobile-auth-disabled.e2e.ts +33 -0
- package/dist/templates/default/packages/tests/flows/mobile.e2e.ts +6 -4
- package/dist/templates/default/packages/tests/flows/password-backend.e2e.ts +58 -0
- package/dist/templates/default/packages/tests/flows/passwords.e2e.ts +206 -0
- package/dist/templates/default/packages/tests/flows/seo.e2e.ts +34 -0
- package/dist/templates/default/packages/tests/flows/web.e2e.ts +42 -2
- package/dist/templates/default/packages/tests/helpers/mobile.ts +31 -0
- package/dist/templates/default/packages/tests/ios-ota.test.ts +267 -0
- package/dist/templates/default/packages/tests/mobile-google.test.ts +100 -0
- package/dist/templates/default/packages/tests/mobile-settings.test.ts +21 -0
- package/dist/templates/default/packages/tests/mobile-theme.test.ts +13 -0
- package/dist/templates/default/packages/tests/mobile-updates-component.test.ts +14 -0
- package/dist/templates/default/packages/tests/mobile-updates.test.ts +122 -0
- package/dist/templates/default/packages/tests/native-billing.test.ts +138 -0
- package/dist/templates/default/packages/tests/package.json +11 -6
- package/dist/templates/default/packages/tests/seo-config.test.ts +17 -0
- package/dist/templates/default/packages/tests/telemetry.test.ts +188 -0
- package/dist/templates/default/patches/react-native-css@3.1.0-rc.1.patch +42 -0
- package/dist/templates/default/vendor/README.md +30 -23
- package/dist/templates/default/vendor/convex-auth-437831bd-disposabl.3.tgz +0 -0
- package/package.json +8 -8
- package/dist/templates/default/packages/backend/convex/mcpEnterprise/README.md +0 -42
- package/dist/templates/default/packages/backend/convex/mcpEnterprise/internal.ts +0 -153
- package/dist/templates/default/packages/backend/convex/mcpEnterprise/provision.ts +0 -102
- package/dist/templates/default/packages/backend/convex/mcpEnterprise/validator.ts +0 -35
- package/dist/templates/default/packages/cli/delete.ts +0 -48
- package/dist/templates/default/packages/cli/preview.ts +0 -234
- package/dist/templates/default/packages/disposabl-kit/server/mcp/enterprise.ts +0 -267
- package/dist/templates/default/packages/disposabl-kit/server/mcp/identity.ts +0 -33
- package/dist/templates/default/vendor/convex-auth-6c0ebf3f.tgz +0 -0
- /package/dist/templates/default/apps/mobile/src/app/{(authenticated)/account.tsx → settings.tsx} +0 -0
|
@@ -3,27 +3,28 @@
|
|
|
3
3
|
"private": true,
|
|
4
4
|
"type": "module",
|
|
5
5
|
"scripts": {
|
|
6
|
-
"build": "
|
|
6
|
+
"build": "bun build.ts",
|
|
7
7
|
"typecheck": "tsc --noEmit"
|
|
8
8
|
},
|
|
9
9
|
"dependencies": {
|
|
10
10
|
"@base-ui/react": "^1.9.0",
|
|
11
|
-
"fumadocs-core": "^16.
|
|
12
|
-
"fumadocs-mdx": "^15.
|
|
13
|
-
"fumadocs-ui": "npm:@fumadocs/base-ui@^16.
|
|
11
|
+
"fumadocs-core": "^16.18.1",
|
|
12
|
+
"fumadocs-mdx": "^15.5.0",
|
|
13
|
+
"fumadocs-ui": "npm:@fumadocs/base-ui@^16.18.1",
|
|
14
14
|
"fumapress": "1.6.2",
|
|
15
|
-
"react": "
|
|
16
|
-
"react-dom": "
|
|
15
|
+
"react": "19.3.1",
|
|
16
|
+
"react-dom": "19.3.1",
|
|
17
|
+
"sirv": "^3.0.2",
|
|
17
18
|
"waku": "1.0.0-rc.1"
|
|
18
19
|
},
|
|
19
20
|
"devDependencies": {
|
|
20
|
-
"@tailwindcss/vite": "^4",
|
|
21
|
-
"@types/mdx": "^2",
|
|
22
|
-
"@types/node": "^
|
|
23
|
-
"@types/react": "^19",
|
|
24
|
-
"@types/react-dom": "^19",
|
|
25
|
-
"tailwindcss": "^4",
|
|
26
|
-
"typescript": "
|
|
27
|
-
"vite": "^8"
|
|
21
|
+
"@tailwindcss/vite": "^4.3.5",
|
|
22
|
+
"@types/mdx": "^2.0.14",
|
|
23
|
+
"@types/node": "^26.6.6",
|
|
24
|
+
"@types/react": "^19.3.0",
|
|
25
|
+
"@types/react-dom": "^19.3.0",
|
|
26
|
+
"tailwindcss": "^4.3.5",
|
|
27
|
+
"typescript": "~6.0.3",
|
|
28
|
+
"vite": "^8.3.6"
|
|
28
29
|
}
|
|
29
30
|
}
|
|
@@ -4,16 +4,28 @@ import { fumadocsMdx } from "fumapress/adapters/mdx";
|
|
|
4
4
|
import { metaSchema, pageSchema } from "fumapress/adapters/mdx/schema";
|
|
5
5
|
import { defineDocs } from "fumadocs-mdx/macro";
|
|
6
6
|
|
|
7
|
+
import config from "../../disposabl.json";
|
|
8
|
+
|
|
7
9
|
const docs = defineDocs({
|
|
8
10
|
dir: "content",
|
|
9
11
|
docs: { async: true, schema: pageSchema },
|
|
10
12
|
meta: { schema: metaSchema },
|
|
11
13
|
});
|
|
12
14
|
|
|
15
|
+
const source = docs.toFumadocsSource();
|
|
16
|
+
const selected: readonly string[] = config.platforms;
|
|
17
|
+
source.files = source.files.filter((file) => {
|
|
18
|
+
if (file.path === "mobile.mdx")
|
|
19
|
+
return selected.some((id) => ["android", "ios"].includes(id));
|
|
20
|
+
if (file.path === "desktop.mdx")
|
|
21
|
+
return selected.some((id) => ["macos", "windows", "linux"].includes(id));
|
|
22
|
+
return true;
|
|
23
|
+
});
|
|
24
|
+
|
|
13
25
|
export default defineConfig({
|
|
14
26
|
mode: "static",
|
|
15
27
|
preset: false,
|
|
16
|
-
content:
|
|
28
|
+
content: source,
|
|
17
29
|
site: { name: "Documentation" },
|
|
18
30
|
})
|
|
19
31
|
.adapters(fumadocsMdx())
|
|
@@ -13,10 +13,12 @@ agent-device open <app> --foreground
|
|
|
13
13
|
|
|
14
14
|
That starts the session and returns the initial interactive snapshot with `@refs`.
|
|
15
15
|
|
|
16
|
-
Loop: act with `press|click|fill|longpress <target> ... --settle`, `scroll <direction> --settle`, or `back --settle`; continue from the printed diff, verify the named expectation (`wait text "..."`, `is`, `get`, or `find`), then run `agent-device close
|
|
16
|
+
Loop: act with `press|click|fill|longpress <target> ... --settle`, `scroll <direction> --settle`, or `back --settle`; continue from the printed diff, verify the named expectation (`wait text "..."`, `is`, `get`, or `find`), then run `agent-device close`, or `agent-device close --shutdown` if your session booted a local simulator or emulator, unless the user asks to keep it running.
|
|
17
17
|
|
|
18
18
|
Reaching an off-screen target is one command, not a scroll-and-check loop: `scroll down --until <selector>` scrolls until that element is on screen, and `scroll bottom` runs to the end of the content. Repeated bare `scroll down` calls are the slow way to find something.
|
|
19
19
|
|
|
20
20
|
Copy refs byte-for-byte: `@e12`, `@e12~s4` — keep the `@` and any `~sN`. Prefer current refs, then `id`/`label`/`role` selectors; coordinates are a last resort. If snapshot reports sparse/AX-unavailable, its refs and selectors are invalid: run `agent-device screenshot`, inspect the image, use coordinates, then retry `snapshot -i` after navigating. Otherwise run `snapshot -i` only when the diff lacks the next target.
|
|
21
21
|
|
|
22
22
|
Error output includes corrective hints; follow them instead of re-planning. Only when the task is specialized (for example gestures, scripting, TV, macOS, remote, or debugging) or a command shape is unclear, run `agent-device help <topic>`. `agent-device --help` lists topics, but is not a startup step.
|
|
23
|
+
|
|
24
|
+
To capture network traffic on a Limrun session, see `agent-device help remote` or the Limrun docs.
|
|
@@ -21,6 +21,8 @@ agent-device open <app-or-package-id> --platform android --foreground
|
|
|
21
21
|
|
|
22
22
|
Follow the initial interactive snapshot and corrective error hints. If the shell reports that `agent-device` is unavailable, stop and ask the user to install it or expose their existing installation on `PATH`.
|
|
23
23
|
|
|
24
|
+
When you finish, if your session booted the emulator, run `agent-device close --shutdown`, unless the user asks to keep it running.
|
|
25
|
+
|
|
24
26
|
Only when the task is specialized or a command shape is unclear, read the relevant version-matched help topic:
|
|
25
27
|
|
|
26
28
|
```bash
|
|
@@ -22,6 +22,6 @@ Read current CLI guidance:
|
|
|
22
22
|
agent-device help dogfood
|
|
23
23
|
```
|
|
24
24
|
|
|
25
|
-
Loop: open app -> snapshot -i + screenshot -> explore flows -> capture evidence per issue -> close.
|
|
25
|
+
Loop: open app -> snapshot -i + screenshot -> explore flows -> capture evidence per issue -> close (`close --shutdown` if your session booted a local simulator or emulator, unless the user asks to keep it running).
|
|
26
26
|
|
|
27
27
|
Target app is required; infer platform or ask. Findings must come from runtime behavior, not source reads. Let `help dogfood` provide exact report shape, evidence commands, and current workflow guidance.
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
---
|
|
2
2
|
name: eas-app-stores
|
|
3
3
|
description: Build and submit iOS and Android apps with EAS to TestFlight, the App Store, or Google Play. Supports Expo and other React Native projects, plus existing native apps. Use for eas.json setup, release pipelines, signing, app versions and build numbers, store submissions, and listing metadata. For Expo websites and API routes, use eas-hosting; for adding React Native screens to a native app, use expo-brownfield.
|
|
4
|
-
version: 1.1.0
|
|
5
4
|
license: MIT
|
|
6
5
|
---
|
|
7
6
|
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
---
|
|
2
2
|
name: eas-hosting
|
|
3
3
|
description: Deploy Expo websites and Expo Router API routes to EAS Hosting - export the web bundle, run eas deploy for production and PR preview URLs, manage environment secrets and custom domains, and work within the Cloudflare Workers runtime. Also covers authoring API routes (+api.ts handlers, HTTP methods, request handling, CORS). Use when deploying an Expo web app or API routes, setting up EAS Hosting, or configuring hosting environments and domains. Not for native builds or store releases - use the eas-app-stores skill for those.
|
|
4
|
-
version: 1.0.0
|
|
5
4
|
license: MIT
|
|
6
5
|
---
|
|
7
6
|
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
---
|
|
2
2
|
name: eas-observe
|
|
3
|
-
description: Use for anything related to EAS Observe - adding `expo-observe` to an Expo project (AppMetricsRoot/ObserveRoot HOC, markInteractive and ObserveInteractiveMarker, the useObserve hook, the Expo Router / React Navigation integrations for per-route metrics, user-defined events via `Observe.logEvent`, error reporting via ObserveErrorBoundary and `Observe.reportError`, native crash reporting, source map upload for symbolicated stack traces, and runtime config such as sampleRate and dispatchInDebug), querying via the EAS CLI (`eas observe:metrics-summary`, `observe:metrics`, `observe:routes`, `observe:events`, `observe:session`, `observe:versions`, `observe:errors`, `observe:event`), interpreting the resulting metrics (cold/warm launch, TTR, TTI, navigation cold/warm TTR, update download, and the TTI frameRate/device/network params for triaging slow startups), or shipping an Observe integration inside a third-party package.
|
|
4
|
-
version: 1.2.1
|
|
3
|
+
description: Use for anything related to EAS Observe - adding `expo-observe` to an Expo project (AppMetricsRoot/ObserveRoot HOC, markInteractive and ObserveInteractiveMarker, the useObserve hook, the Expo Router / React Navigation integrations for per-route metrics, the expo-image and Reanimated integrations, user-defined events via `Observe.logEvent`, error reporting via ObserveErrorBoundary and `Observe.reportError`, native crash reporting, source map upload for symbolicated stack traces, and runtime config such as sampleRate and dispatchInDebug), querying via the EAS CLI (`eas observe:metrics-summary`, `observe:metrics`, `observe:routes`, `observe:events`, `observe:session`, `observe:versions`, `observe:errors`, `observe:event`) or the Expo MCP `observe_*` tools, interpreting the resulting metrics (cold/warm launch, TTR, TTI, navigation cold/warm TTR, update download, and the TTI frameRate/device/network params for triaging slow startups), or shipping an Observe integration inside a third-party package.
|
|
5
4
|
license: MIT
|
|
6
5
|
---
|
|
7
6
|
|
|
@@ -15,11 +14,12 @@ EAS Observe tracks startup, navigation, and custom-event performance from produc
|
|
|
15
14
|
|
|
16
15
|
## Which reference to read
|
|
17
16
|
|
|
18
|
-
The
|
|
17
|
+
The five reference files in `./references/` cover what people typically need this skill for:
|
|
19
18
|
|
|
20
19
|
- **Adding EAS Observe to a project** → [`./references/setup.md`](./references/setup.md). Install, wrap the root layout (`AppMetricsRoot` on SDK 55, `ObserveRoot` on SDK 56+), mark the app interactive (global `markInteractive()` on SDK 55, the `useObserve()` hook or `<ObserveInteractiveMarker />` on SDK 56+), optional per-route navigation metrics through the Expo Router / React Navigation integrations, user-defined events via `Observe.logEvent` (SDK 56+), error reporting, and runtime configuration (sampling, dispatch, environments, custom endpoint).
|
|
21
|
-
- **Querying metrics from the terminal** → [`./references/queries.md`](./references/queries.md). The `eas observe:*` commands — `metrics-summary`, `metrics`, `routes`, `events`, `session`, `versions`, `errors`, `event` — with flags, metric aliases, table layouts, JSON shapes, and common workflows.
|
|
20
|
+
- **Querying metrics from the terminal** → [`./references/queries.md`](./references/queries.md). The `eas observe:*` commands — `metrics-summary`, `metrics`, `routes`, `events`, `session`, `versions`, `errors`, `event` — with flags, metric aliases, table layouts, JSON shapes, and common workflows. Also the matching `observe_*` tools in the Expo MCP Server, and how their inputs differ from the CLI flags.
|
|
22
21
|
- **Reading a dashboard or CLI output** → [`./references/metrics.md`](./references/metrics.md). Target thresholds per metric, what the automatic TTI params mean (`frameRate.*`, `device.*`, `network.*`), and diagnostic patterns for telling slow-but-smooth startup apart from main-thread contention, hard blocks, or throttled devices.
|
|
22
|
+
- **Reporting problems from library integrations** → [`./references/library-integrations.md`](./references/library-integrations.md). The current and future integrations that report problems a library detects as events or errors, with their options, limits, and how to query the reports. Currently: `expo-image` (`expo-image.oversized` events for images decoded far larger than the screen) and `react-native-reanimated` (`reanimated.error` errors and optional `reanimated.warning` events).
|
|
23
23
|
- **Shipping an Observe integration in a library** → [`./references/third-party.md`](./references/third-party.md). For package authors only (SDK 57+): optional peer dependency, config declaration merging, `Observe.registerIntegration()`, and event naming.
|
|
24
24
|
|
|
25
25
|
## Quick links to the docs
|
|
@@ -27,9 +27,12 @@ The four reference files in `./references/` cover what people typically need thi
|
|
|
27
27
|
- Get started: https://docs.expo.dev/eas/observe/get-started/
|
|
28
28
|
- Dashboard guide: https://docs.expo.dev/eas/observe/dashboard/
|
|
29
29
|
- Querying with EAS CLI: https://docs.expo.dev/eas/observe/eas-cli/
|
|
30
|
+
- Querying with the Expo MCP Server: https://docs.expo.dev/eas/observe/mcp/
|
|
30
31
|
- Metrics reference: https://docs.expo.dev/eas/observe/reference/metrics/
|
|
31
32
|
- Expo Router integration: https://docs.expo.dev/eas/observe/integrations/expo-router/
|
|
32
33
|
- React Navigation integration: https://docs.expo.dev/eas/observe/integrations/react-navigation/
|
|
34
|
+
- Expo Image integration: https://docs.expo.dev/eas/observe/integrations/expo-image/
|
|
35
|
+
- Reanimated integration: https://docs.expo.dev/eas/observe/integrations/react-native-reanimated/
|
|
33
36
|
- User-defined events: https://docs.expo.dev/eas/observe/events/
|
|
34
37
|
- Error reporting: https://docs.expo.dev/eas/observe/errors/
|
|
35
38
|
- Configuration: https://docs.expo.dev/eas/observe/configuration/
|
|
@@ -0,0 +1,116 @@
|
|
|
1
|
+
# Report problems from library integrations
|
|
2
|
+
|
|
3
|
+
This reference is for **app developers** who want EAS Observe to report problems that a library detects. These built-in integrations do this:
|
|
4
|
+
|
|
5
|
+
- **Expo Image** (`'expo-image'`): logs an `expo-image.oversized` event when an image is decoded at a much larger size than the screen can display.
|
|
6
|
+
- **Reanimated** (`'react-native-reanimated'`): reports Reanimated errors as `reanimated.error` errors, and optionally Reanimated warnings as `reanimated.warning` events.
|
|
7
|
+
|
|
8
|
+
These integrations do not record metrics. Their reports are user-defined events and errors, so query them with `eas observe:events` and `eas observe:errors` (see [`./queries.md`](./queries.md)). For the per-route navigation metrics from the Expo Router and React Navigation integrations, see [`./setup.md`](./setup.md). To build an integration inside a library, see [`./third-party.md`](./third-party.md).
|
|
9
|
+
|
|
10
|
+
Both integrations need `expo-observe` set up first (see [`./setup.md`](./setup.md)). Enable them in the same `Observe.configure()` call as any other integration, at module scope, before the app mounts:
|
|
11
|
+
|
|
12
|
+
```tsx
|
|
13
|
+
// app/_layout.tsx
|
|
14
|
+
import { Observe } from 'expo-observe';
|
|
15
|
+
|
|
16
|
+
Observe.configure({
|
|
17
|
+
integrations: {
|
|
18
|
+
'expo-router': true,
|
|
19
|
+
'expo-image': true,
|
|
20
|
+
'react-native-reanimated': true,
|
|
21
|
+
},
|
|
22
|
+
});
|
|
23
|
+
```
|
|
24
|
+
|
|
25
|
+
`configure()` replaces the full configuration. Pass every integration that the app uses in each call.
|
|
26
|
+
|
|
27
|
+
## Expo Image
|
|
28
|
+
|
|
29
|
+
Docs: https://docs.expo.dev/eas/observe/integrations/expo-image/
|
|
30
|
+
|
|
31
|
+
**Requirements:** `expo-image` 57.0.2 or later (SDK 57+). If `expo-observe` is not installed, the integration does nothing. Only images loaded through `expo-image` are reported.
|
|
32
|
+
|
|
33
|
+
On every image load, the integration compares the decoded pixel area with the physical pixel count of the screen. When the area is larger than the screen's pixel count by more than `oversizeThreshold`, it logs an `expo-image.oversized` event with `warn` severity. Each image URL is reported at most once per app session.
|
|
34
|
+
|
|
35
|
+
**Options:**
|
|
36
|
+
|
|
37
|
+
| Option | Type | Default | What it does |
|
|
38
|
+
|---|---|---|---|
|
|
39
|
+
| `oversizeThreshold` | number | `1.5` | Report an image when its decoded pixel area is larger than the screen's physical pixel count by more than this factor. |
|
|
40
|
+
| `includeUrlParams` | boolean | `false` | Report the query string and fragment of the URL. Leave it `false` when the URLs can carry tokens or API keys. |
|
|
41
|
+
|
|
42
|
+
```tsx
|
|
43
|
+
Observe.configure({
|
|
44
|
+
integrations: { 'expo-image': { oversizeThreshold: 2 } },
|
|
45
|
+
});
|
|
46
|
+
```
|
|
47
|
+
|
|
48
|
+
**Event attributes:** `url` (sanitized), `urlSanitized` (whether sanitization changed the URL), `imageWidth` and `imageHeight` (decoded pixels), `screenWidth` and `screenHeight` (points), and `pixelRatio`.
|
|
49
|
+
|
|
50
|
+
**URL sanitization:** basic-auth credentials are always removed. The query string and fragment are removed unless `includeUrlParams` is `true`. Only `http(s)`, `file`, and `android.resource` URLs are reported. Other schemes, such as `data:` and `ph://`, are never sent.
|
|
51
|
+
|
|
52
|
+
**Platform differences** for the `<Image>` component:
|
|
53
|
+
|
|
54
|
+
- On Android, `<Image>` downscales to the component size at decode time, so a large source in a small component is usually not reported.
|
|
55
|
+
- On iOS, the integration sees the decoded size of the source before downscaling, so a large source in a small component is reported, also with `allowDownscaling`.
|
|
56
|
+
- `useImage` and `Image.loadAsync` decode at the full source size on both platforms, unless the `maxWidth` and `maxHeight` load options are set.
|
|
57
|
+
|
|
58
|
+
**Fix reported images:** serve images close to their display size, for example resized variants from an image CDN. With `useImage`, set `maxWidth` and `maxHeight` to downscale at decode time.
|
|
59
|
+
|
|
60
|
+
```bash
|
|
61
|
+
eas observe:events expo-image.oversized
|
|
62
|
+
```
|
|
63
|
+
|
|
64
|
+
## Reanimated
|
|
65
|
+
|
|
66
|
+
Docs: https://docs.expo.dev/eas/observe/integrations/react-native-reanimated/
|
|
67
|
+
|
|
68
|
+
**Requirements:** `react-native-reanimated` 4.7.0 or later (SDK 58+), and an `expo-observe` version that includes the integration. The integration uses the `onLog` callback of `configureReanimatedLogger`, which Reanimated 4.7.0 added. With an earlier Reanimated, or without Reanimated, the integration prints a console warning and does nothing. `react-native-reanimated` is an optional peer dependency of `expo-observe`, and it is loaded only when the integration is on.
|
|
69
|
+
|
|
70
|
+
**Do not call `configureReanimatedLogger` in the app.** The integration calls it itself:
|
|
71
|
+
|
|
72
|
+
- A call after `Observe.configure()` removes the integration's callback, and reporting stops.
|
|
73
|
+
- A call before `Observe.configure()` loses its `level` and `strict` options, because the integration replaces them.
|
|
74
|
+
|
|
75
|
+
To set those options, pass them to the integration. If the app already calls `configureReanimatedLogger`, move its options into the integration config and delete the call.
|
|
76
|
+
|
|
77
|
+
**Options:**
|
|
78
|
+
|
|
79
|
+
| Option | Type | Default | What it does |
|
|
80
|
+
|---|---|---|---|
|
|
81
|
+
| `level` | `ReanimatedLogLevel.warn` or `ReanimatedLogLevel.error` | `ReanimatedLogLevel.warn` | The minimum log level that Reanimated prints and reports. |
|
|
82
|
+
| `strict` | boolean | `true` | Whether Reanimated also prints and reports its strict-mode warnings. |
|
|
83
|
+
| `reportWarnings` | boolean | `false` | Also report Reanimated warnings as `reanimated.warning` events. |
|
|
84
|
+
|
|
85
|
+
```tsx
|
|
86
|
+
import { Observe } from 'expo-observe';
|
|
87
|
+
import { ReanimatedLogLevel } from 'react-native-reanimated';
|
|
88
|
+
|
|
89
|
+
Observe.configure({
|
|
90
|
+
integrations: {
|
|
91
|
+
'react-native-reanimated': {
|
|
92
|
+
level: ReanimatedLogLevel.warn,
|
|
93
|
+
strict: true,
|
|
94
|
+
reportWarnings: true,
|
|
95
|
+
},
|
|
96
|
+
},
|
|
97
|
+
});
|
|
98
|
+
```
|
|
99
|
+
|
|
100
|
+
**What it reports:**
|
|
101
|
+
|
|
102
|
+
- A Reanimated error becomes a non-fatal error named `reanimated.error`. It appears on the **Observe > Errors** page with the other errors. On the React Native runtime, the stack trace starts in Reanimated's logger and then includes the code that called the logger. On the UI runtime, the error has the message but no stack trace.
|
|
103
|
+
- When `reportWarnings` is `true`, a Reanimated warning becomes a `reanimated.warning` event with `warn` severity. The `message` attribute holds the first 500 characters of the warning.
|
|
104
|
+
- Reanimated still prints all errors and warnings to the console.
|
|
105
|
+
|
|
106
|
+
**Limits:** some messages, such as `measure()` warnings, can repeat on every frame. In each 15-minute period, each distinct message is reported at most once, and at most 20 distinct errors and 20 distinct warnings are reported. Errors and warnings have separate limits. Messages are compared by their first 500 characters.
|
|
107
|
+
|
|
108
|
+
**Turn it off:** call `Observe.configure()` again without `'react-native-reanimated'`. Reporting stops, and Reanimated's logger keeps its `level` and `strict` options. This is different from the navigation integrations, which throw when their flag changes after mount. So a later `configure()` call must keep the same navigation integration flags.
|
|
109
|
+
|
|
110
|
+
```bash
|
|
111
|
+
# Errors, including reanimated.error
|
|
112
|
+
eas observe:errors
|
|
113
|
+
|
|
114
|
+
# Warnings, when reportWarnings is true
|
|
115
|
+
eas observe:events reanimated.warning
|
|
116
|
+
```
|
|
@@ -35,6 +35,33 @@ Default time range is the last 60 days when none of `--days`, `--start`, `--end`
|
|
|
35
35
|
|
|
36
36
|
**Plan gating.** Observe is a paid feature, and the server rejects queries the account's plan does not include (`EAS_OBSERVE_PLAN_UPGRADE_REQUIRED` or `EAS_OBSERVE_FEATURE_NOT_AVAILABLE_IN_FREE_TIER`). The CLI surfaces the server's upgrade message, which links to the account's billing page. Session timelines in particular are checked before the interactive picker runs. A plan-gate failure is not a bug in the command or its flags.
|
|
37
37
|
|
|
38
|
+
## Expo MCP Server tools
|
|
39
|
+
|
|
40
|
+
> Source: https://docs.expo.dev/eas/observe/mcp/
|
|
41
|
+
|
|
42
|
+
The Expo MCP Server has read-only tools that return the same data as the CLI. When the `observe_*` tools are available, use them instead of the CLI: they use the Expo account that the MCP client signed in with, so they need no EAS CLI install and no access token. The queries, metric names, and workflows in this file apply to both.
|
|
43
|
+
|
|
44
|
+
| Tool | CLI equivalent |
|
|
45
|
+
|---|---|
|
|
46
|
+
| `observe_versions` | `eas observe:versions` |
|
|
47
|
+
| `observe_metrics_summary` | `eas observe:metrics-summary` |
|
|
48
|
+
| `observe_metrics` | `eas observe:metrics` |
|
|
49
|
+
| `observe_routes` | `eas observe:routes` |
|
|
50
|
+
| `observe_event_names` | `eas observe:events` (name summary) |
|
|
51
|
+
| `observe_events` | `eas observe:events <name>`, or `--all-events` without `eventName` |
|
|
52
|
+
| `observe_session` | `eas observe:session` |
|
|
53
|
+
|
|
54
|
+
Differences from the CLI:
|
|
55
|
+
|
|
56
|
+
- **No error-group tools.** For error groups and stack traces, use `eas observe:errors` and `eas observe:event`. `observe_session` includes the errors of one session. An empty result from the other MCP tools does not mean that the app has no errors.
|
|
57
|
+
- **Project:** pass `appId` or `appFullName` (such as `@owner/my-app`). In a project directory, read the project ID from the app config.
|
|
58
|
+
- **Platform:** `platform` takes `ANDROID`, `IOS`, `IPADOS`, `MACOS`, or `TVOS`. There is no `apple` value. As in the CLI, `observe_versions`, `observe_metrics_summary`, and `observe_routes` return separate Android and iOS results without `platform`, and `observe_metrics`, `observe_event_names`, and `observe_events` return results from all platforms.
|
|
59
|
+
- **Environment:** only `observe_event_names` and `observe_events` take `environment`. `observe_versions`, `observe_metrics_summary`, `observe_metrics`, and `observe_routes` have no environment input, unlike the CLI's `--environment` flag.
|
|
60
|
+
- **Time range:** `days` (up to 365), or `start` and `end`. The default is the last 60 days. `start` and `end` must be ISO 8601 date-times with a timezone, such as `2026-10-01T00:00:00Z`. A date-only value fails. Unlike the CLI, `end` does not need `start`. `observe_session` takes no time range.
|
|
61
|
+
- **Pagination:** pass `pageInfo.endCursor` from a response back as `nextCursor`. For `observe_metrics`, `observe_events`, and `observe_routes`, also pass the returned `startTime` and `endTime` as `start` and `end`, and keep the other inputs the same. Routes paginate per platform. Session timelines paginate metrics and logs separately.
|
|
62
|
+
- **Plan gating and usage:** plan limits are the same as for the CLI. Each tool call counts toward the account's Expo MCP Server usage.
|
|
63
|
+
- **Defaults and limits:** `observe_metrics` sorts `newest` first by default. The CLI's `--sort` defaults to `oldest`. `observe_routes` takes a `limit` of up to 100, and the CLI takes up to 200. `observe_events` takes `sort`, and the CLI's `observe:events` has no `--sort`.
|
|
64
|
+
|
|
38
65
|
## Supported Metrics
|
|
39
66
|
|
|
40
67
|
### App-startup metrics
|
|
@@ -491,7 +491,7 @@ If the user needs ANR/OOM capture or native symbolication today, a separate cras
|
|
|
491
491
|
|
|
492
492
|
## Optional — runtime configuration
|
|
493
493
|
|
|
494
|
-
`Observe.configure()` controls collection and dispatch. Call it at module scope, before mount.
|
|
494
|
+
`Observe.configure()` controls collection and dispatch. Call it at module scope, before mount. The navigation integration flags (`expo-router`, `react-navigation`) cannot be toggled at runtime. The `react-native-reanimated` integration can be turned off by a later `configure()` call (see [`./library-integrations.md`](./library-integrations.md)).
|
|
495
495
|
|
|
496
496
|
| Option | Type | Default | What it does |
|
|
497
497
|
|---|---|---|---|
|
|
@@ -500,7 +500,7 @@ If the user needs ANR/OOM capture or native symbolication today, a separate cras
|
|
|
500
500
|
| `dispatchInDebug` | boolean | `false` | Dispatch metrics collected from debug builds. No effect on release builds. |
|
|
501
501
|
| `sampleRate` | number | `undefined` (all installations) | Fraction of installations that dispatch, in `[0, 1]`. |
|
|
502
502
|
| `errorHandlingEnabled` | boolean | `true` | Record unhandled JS errors as `exception` events. |
|
|
503
|
-
| `integrations` | object | `undefined` | Opt in to `expo-router`, `react-navigation`, or a third-party integration. |
|
|
503
|
+
| `integrations` | object | `undefined` | Opt in to `expo-router`, `react-navigation`, `expo-image`, `react-native-reanimated`, or a third-party integration. For `expo-image` and `react-native-reanimated`, see [`./library-integrations.md`](./library-integrations.md). |
|
|
504
504
|
|
|
505
505
|
**Network request monitoring is automatic and has no off switch.** `expo-observe` observes `URLSession` traffic on iOS and `OkHttpClient` traffic on Android from launch, and attaches a rollup of the launch window to the TTI event — including the **host** of the slowest request (see [`./metrics.md`](./metrics.md)). Observe's own uploads are excluded. No `configure()` option disables it as of `expo-observe` 57.0.9, so treat request hosts as data that leaves the device.
|
|
506
506
|
|
|
@@ -525,5 +525,6 @@ The URL is baked into the native layer at build time, so run `npx expo prebuild`
|
|
|
525
525
|
- [ ] (Optional, SDK 56+) Per-route metrics enabled via `Observe.configure({ integrations: { ... } })`, plus `<ObserveNavigationContainer>` (dynamic) or `<ObserveNavigationProvider>` (static) for React Navigation.
|
|
526
526
|
- [ ] (Optional, SDK 57+) Sensitive route/query params listed in `filteredParams`.
|
|
527
527
|
- [ ] (Optional, SDK 56+) User-defined events emitted via `Observe.logEvent(name, { attributes })` with stable, lowercase, dot-separated names and no PII.
|
|
528
|
+
- [ ] (Optional) Library problem reports enabled via `integrations: { 'expo-image': true }` (SDK 57+) or `integrations: { 'react-native-reanimated': true }` (SDK 58+, Reanimated 4.7.0+), with no `configureReanimatedLogger` call in the app. See [`./library-integrations.md`](./library-integrations.md).
|
|
528
529
|
- [ ] (Optional, SDK 57+) `<ObserveErrorBoundary>` (or `errorBoundaryFallback` on `ObserveRoot`) around risky subtrees, `Observe.reportError` in recovery paths, `"uploadSourceMaps": true` in the `eas.json` build profile, and `eas update --upload-source-maps` when publishing updates.
|
|
529
530
|
- [ ] New build produced with `eas build` and metrics visible in the Observe dashboard.
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
---
|
|
2
2
|
name: eas-simulator
|
|
3
3
|
description: "Run and control a user's app on a remote iOS/Android simulator hosted on EAS cloud. Read before running any `eas simulator:*` commands - it has the current syntax for this experimental API. Use whenever the user needs a simulator they can't run locally - 'run my app on a cloud simulator', 'use eas simulator to run/install/screenshot my app', 'I'm on Linux/Cursor and need an iOS device', 'no sim on this box / headless CI', 'let an agent click through my app and screenshot it', 'test my dev build on a remote sim with live reload', 'stream a sim to my browser' - even when they don't say 'EAS Simulator' or 'cloud'. On a host WITHOUT a local simulator (Linux, CI, cloud sandbox) it's the default; on macOS, do NOT auto-trigger for a plain 'run on the simulator' - use it only for a cloud/remote/shareable sim, an iOS version they lack, or an agent-driven session. NOT for local sims (expo run:ios, Xcode, Android Studio), EAS Build/Update, web preview, or physical devices."
|
|
4
|
-
version: 1.0.0
|
|
5
4
|
license: MIT
|
|
6
5
|
allowed-tools: "Bash(npx *eas-cli@*), Bash(npx *agent-device@*), Bash(npx expo *), Bash(eas *), Bash(expo *), Bash(xcodebuild*), Bash(pod*), Bash(argent *), Bash(ffmpeg*)"
|
|
7
6
|
---
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
---
|
|
2
2
|
name: eas-update
|
|
3
3
|
description: "Configure and use EAS Update for over-the-air JavaScript and asset updates with expo-updates and EAS CLI. Use when setting up OTA updates, running eas update:configure or eas update, publishing to preview/staging/production channels, explaining branches/channels/runtime versions, testing updates, or debugging why an installed build still shows old code. Load for TestFlight, preview, or production updates that do not appear, including questions about cold launches or reopening the app. Not for update health metrics; use eas-update-insights for adoption, crashes, and rollout monitoring."
|
|
4
|
-
version: 1.0.0
|
|
5
4
|
license: MIT
|
|
6
5
|
allowed-tools: "Bash(npx expo *), Bash(npx *eas-cli@*), Bash(eas *)"
|
|
7
6
|
---
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
---
|
|
2
2
|
name: eas-update-insights
|
|
3
3
|
description: "Check the health of published EAS Update: crash rates, install/launch counts, unique users, payload size, and the split between embedded and OTA users per channel. Use when the user asks how an update is performing, whether a rollout is healthy, how many users are on the embedded build vs OTA, or wants to gate CI on update health."
|
|
4
|
-
version: 1.0.0
|
|
5
4
|
license: MIT
|
|
6
5
|
allowed-tools: "Bash(eas *)"
|
|
7
6
|
---
|
|
@@ -2,7 +2,6 @@
|
|
|
2
2
|
name: eas-workflows
|
|
3
3
|
description: Helps understand and write EAS workflow YAML files for Expo projects. Use this skill when the user asks about CI/CD or workflows in an Expo or EAS context, mentions .eas/workflows/, or wants help with EAS build pipelines or deployment automation.
|
|
4
4
|
allowed-tools: "Read,Write,Bash(node:*),Bash(npx *eas-cli@*)"
|
|
5
|
-
version: 1.0.0
|
|
6
5
|
license: MIT License
|
|
7
6
|
---
|
|
8
7
|
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
---
|
|
2
2
|
name: expo-animation
|
|
3
3
|
description: Build animations in React Native and Expo, making the decisions in the order that determines whether they feel right — should it animate, which thread it runs on, which properties, spring or timing, how the gesture hands off, how it degrades. Writes the implementation with Reanimated, Gesture Handler, Expo Router and expo-haptics. Use when animating anything in an Expo app, adding gestures, sheets, screen transitions, press feedback or haptics, or fixing motion that stutters on device. For web animation use `animate`.
|
|
4
|
-
version: 1.0.0
|
|
5
4
|
license: MIT
|
|
6
5
|
---
|
|
7
6
|
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
---
|
|
2
2
|
name: expo-data-fetching
|
|
3
3
|
description: Use when implementing or debugging ANY network request, API call, or data fetching. Covers fetch API, React Query, SWR, error handling, caching, offline support, loading/empty/error screen states, and Expo Router data loaders (`useLoaderData`).
|
|
4
|
-
version: 1.0.0
|
|
5
4
|
license: MIT
|
|
6
5
|
---
|
|
7
6
|
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
---
|
|
2
2
|
name: expo-design-system
|
|
3
3
|
description: Build and maintain a design system inside an Expo app - a reusable theme of design tokens (color, spacing, typography, radius, shadow, motion), reusable component structure with variant/size/state prop conventions, and rules for when to extract a repeated view into a shared component. Use when creating or organizing theme files and design tokens (theme.ts / theme/), extending an existing theme or styling library (NativeWind, Tamagui, Restyle, Unistyles) in its own idiom, standardizing styles so screens (including AI-generated ones) look consistent and polished, fixing an app that looks AI-generated or generic instead of native (the named native-slop tells), building an in-app component library, or auditing an app for design-system drift (hardcoded colors, spacing, fonts). For platform styling specifics (semantic colors, HIG rules, native controls) use expo-native-ui; for folder layout of a new app use expo-project-structure.
|
|
4
|
-
version: 1.0.0
|
|
5
4
|
license: MIT
|
|
6
5
|
---
|
|
7
6
|
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
---
|
|
2
2
|
name: expo-dom
|
|
3
3
|
description: Use Expo DOM components to run web code in a webview on native and as-is on web. Migrate web code to native incrementally. For the end-to-end migration of a whole web app, use the expo-web-to-native skill.
|
|
4
|
-
version: 1.0.0
|
|
5
4
|
license: MIT
|
|
6
5
|
---
|
|
7
6
|
|
|
@@ -2,7 +2,6 @@
|
|
|
2
2
|
name: expo-examples
|
|
3
3
|
description: Expo's official example projects - the expo/examples repo of ~70 `with-*` integrations (Stripe, Clerk, Supabase, OpenAI, maps, Reanimated, SQLite, Skia, NativeWind, and more). Use when integrating a third-party library or service into an existing Expo app and you want the canonical, version-matched pattern to adapt, or when scaffolding a new project from one with `npx create-expo --example`.
|
|
4
4
|
allowed-tools: "Read,Bash(gh api:*),Bash(git clone:*),Bash(npx create-expo:*),Bash(npx degit:*),Bash(bun create:*)"
|
|
5
|
-
version: 1.0.0
|
|
6
5
|
license: MIT
|
|
7
6
|
---
|
|
8
7
|
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
---
|
|
2
2
|
name: expo-migrate-module
|
|
3
3
|
description: Migrate an existing Apple/Swift Expo native module from the Expo Modules API 1.0 definition DSL to the 2.0 macro API (sometimes called v2) while preserving its JavaScript and TypeScript contract. Use when converting or incrementally adopting @ExpoModule, @JS, @Event, @SharedObject, or @Record in an existing module. Do not use for creating a new module, general Expo SDK upgrades, or Android/Kotlin migrations.
|
|
4
|
-
version: 1.0.0
|
|
5
4
|
license: MIT
|
|
6
5
|
---
|
|
7
6
|
|
|
@@ -11,19 +10,19 @@ Migrate the Swift side of an existing Expo module without changing its observabl
|
|
|
11
10
|
|
|
12
11
|
## Prerequisite
|
|
13
12
|
|
|
14
|
-
Use `expo` `
|
|
13
|
+
Use `expo` `58.0.21` or newer. Earlier `58.0.x` releases lack tuple conversion and the `swift:check` and `swift:expand` commands of `expo-modules-cli`. Older ones also lack `lazy` `@JS` properties, `SharedRef<T>` subclasses in `@SharedObject`, static shared-object members, and `.withAsync`, and the oldest lack closure arguments and free-form `Any` return values. SDK 57 also lacks `.concurrent`, `@Union`, and module auto-discovery. Do not target either. Before editing, check the installed version (`npm ls expo`, or the lockfile). If it is older, stop and tell the user to upgrade first.
|
|
15
14
|
|
|
16
|
-
Check the example app's own
|
|
15
|
+
Check the example app's own dependencies too, not only the module root. The example app is the integration surface you build and launch in step 4, so it needs the same floor.
|
|
17
16
|
|
|
18
|
-
This is a floor, not a guarantee: the
|
|
17
|
+
This is a floor, not a guarantee: the macro and core surface changed in almost every `58.0.x` patch release, so step 2 must still verify the installed source.
|
|
19
18
|
|
|
20
|
-
|
|
19
|
+
The macros are still **experimental and undocumented**: SDK 58 has no page about them in the Expo docs, and the API can still change under you. Say this to the user before a large migration, and prefer incremental mixed mode over converting a module wholesale.
|
|
21
20
|
|
|
22
21
|
## References
|
|
23
22
|
|
|
24
23
|
- Read `references/migration-map.md` before changing source. It contains the 1.0-to-2.0 mappings, semantic traps, and mixed-mode rules.
|
|
25
24
|
- Read `references/example.md` for a full before/after walkthrough of one module through mixed mode to a complete migration. Consult it when you need to see how the per-member rules compose.
|
|
26
|
-
- Read `references/compatibility.md` when the checked-out `expo-modules-core` version or branch is not known to support every requested macro. It explains how to verify the actual compile-time and runtime surface instead of guessing from a version number, and
|
|
25
|
+
- Read `references/compatibility.md` when the checked-out `expo-modules-core` version or branch is not known to support every requested macro. It explains how to verify the actual compile-time and runtime surface instead of guessing from a version number, gives the SDK 58 status of each capability, and shows how to run the module scanners and the `expo-modules-cli` checks.
|
|
27
26
|
|
|
28
27
|
## Workflow
|
|
29
28
|
|
|
@@ -34,9 +33,9 @@ Inspect repository instructions and the worktree before editing. Locate the Swif
|
|
|
34
33
|
Inventory every exported item before rewriting it:
|
|
35
34
|
|
|
36
35
|
- module and shared-object JS names
|
|
37
|
-
- function names, arity, labels, defaults, nullability, sync/async behavior, errors, and queue/thread semantics (note which `AsyncFunction` bodies do blocking or long-running work,
|
|
36
|
+
- function names, arity, labels, defaults, nullability, sync/async behavior, errors, and queue/thread semantics (note which `AsyncFunction` bodies do blocking or long-running work, any `.runOnQueue(...)`, and sync/async pairs that share a body, such as `readSync` and `read`)
|
|
38
37
|
- property names, mutability, and constant caching behavior
|
|
39
|
-
- event wire names and payload shapes
|
|
38
|
+
- event wire names and payload shapes, including events sent with no body (1.0 `sendEvent("name")` sends `{}`)
|
|
40
39
|
- record field names, defaults, requiredness, and nullability
|
|
41
40
|
- shared-object constructors and instance/static placement (`Function` vs `StaticFunction`/`StaticAsyncFunction`)
|
|
42
41
|
- lifecycle hooks and views
|
|
@@ -53,6 +52,8 @@ Classify each 1.0 item as:
|
|
|
53
52
|
- **Keep in DSL:** mixed mode preserves it safely, or 2.0 lacks an equivalent.
|
|
54
53
|
- **Blocked:** migration would alter the JS contract or requires unavailable runtime support.
|
|
55
54
|
|
|
55
|
+
A DSL member that takes or returns `JavaScriptValue` does not compile on SDK 58, so it cannot stay in the DSL. Migrate it to `@JS` with a `borrowing JavaScriptValue` parameter, as described in `references/migration-map.md`.
|
|
56
|
+
|
|
56
57
|
Prefer an incremental mixed-mode result over speculative generated code. Keep `definition()` for any remaining DSL elements; delete it only when it is empty and the resolved module name is preserved by `@ExpoModule`.
|
|
57
58
|
|
|
58
59
|
### 3. Apply the migration
|
|
@@ -63,10 +64,12 @@ Follow these invariants:
|
|
|
63
64
|
|
|
64
65
|
- Preserve every existing JS-visible name explicitly when Swift naming rules or macro defaults differ.
|
|
65
66
|
- Keep original optional/default behavior. An optional 1.0 record field must not become required merely because 2.0 can express required fields.
|
|
66
|
-
-
|
|
67
|
-
- Preserve async threading behavior. A 1.0 `AsyncFunction` body ran off the JS thread; a 2.0 `async` `@JS` member starts on it and leaves only at the first `await`. A body that never awaits therefore blocks the JS thread, with no change to the JS signature. Audit what runs before the first `await`, and never leave blocking I/O on the JS actor. Fix with `@JS(.concurrent)`, or restructure onto Swift Concurrency or a continuation. Queue-pinned functions get the same treatment. See the threading section in `references/migration-map.md`.
|
|
68
|
-
-
|
|
69
|
-
- Keep `
|
|
67
|
+
- Keep same-JS-name overloads on the DSL. The plugin does not dispatch overloads, and it reports two `@JS` members with one JS name on one object as a build error.
|
|
68
|
+
- Preserve async threading behavior. A 1.0 `AsyncFunction` body ran off the JS thread; a 2.0 `async` `@JS` member starts on it and leaves only at the first `await`. A body that never awaits therefore blocks the JS thread, with no change to the JS signature. Audit what runs before the first `await`, and never leave blocking I/O on the JS actor. Fix with `@JS(.concurrent)`, return a `Task.detached` from a synchronous function, or restructure onto Swift Concurrency or a continuation. A plain `Task { }` in a `@JS` function that is not `nonisolated` starts on the JS thread, so it does not help. Queue-pinned functions get the same treatment; `.runOnQueue(.main)` becomes a `@MainActor` `async` function. Merge a sync/async pair that shares a body into one function with `.withAsync("name")`. See the threading section in `references/migration-map.md`.
|
|
69
|
+
- Do not use `@ViewProps`, `@ExpoView`, or `@Event(sync: true)`. The plugin implements them, but SDK 58 core does not declare the two view macros and has no runtime support for synchronous events, so none of them builds. Keep 1.0 views on the DSL. Check the installed core for each of these instead of trusting a plugin version. `references/compatibility.md` has the per-capability checks.
|
|
70
|
+
- Keep the `OnAppContextDestroys`, `OnAppEntersForeground`, `OnAppEntersBackground`, and `OnAppBecomesActive` components in `definition()`. 2.0 has no hook for them.
|
|
71
|
+
- Keep the JS payload of every event. A `() -> Void` `@Event` sends `undefined`, but a 1.0 `sendEvent("name")` without a body sent `{}`. When JS code reads that payload, give the event an empty `@Record` payload type, which encodes to `{}`, or ask the user before you change it.
|
|
72
|
+
- Keep `expo-module.config.json` as it is. When it has an `apple.modules` list (even an empty one), autolinking links only those classes. The entries are bare Swift class names, so renaming a class during migration detaches the module silently: it builds, then is absent at runtime. Without the list, autolinking links the `public` or `open` `@ExpoModule` classes that it finds in the package sources. It does not find a class that is still on the 1.0 DSL alone. A migrated class must stay `public` or `open` in both cases. Remove the list only when the user asks and every module class qualifies.
|
|
70
73
|
- Do not change Kotlin, JS wrappers, or public `.d.ts` files unless the user requested an API change.
|
|
71
74
|
- Never write macro-generated symbols into the module's source. The macro emits them; hand-writing or overriding them is not part of a migration.
|
|
72
75
|
|
|
@@ -85,7 +88,7 @@ When step 2 classified an item as **Blocked**, or a migrated group fails to buil
|
|
|
85
88
|
2. **Open a tracking issue on `expo/expo`** noting the functionality that 2.0 does not yet cover, so the gap is recorded rather than silently worked around. Use `gh issue create --repo expo/expo` and confirm with the user before posting (per repo conventions, do not post outward-facing comments without approval). Include:
|
|
86
89
|
- the 1.0 member and its JS contract
|
|
87
90
|
- the specific macro or core hook that is missing (cite the evidence gap from `references/compatibility.md`)
|
|
88
|
-
- the `expo-modules-core`
|
|
91
|
+
- the installed `expo` version, or the `expo-modules-core` branch when the module builds against a checkout
|
|
89
92
|
|
|
90
93
|
Reference the issue in the handoff so the remaining DSL entry is traceable to a known limitation.
|
|
91
94
|
|
|
@@ -95,18 +98,19 @@ Keep going with the groups that do migrate cleanly; one blocked member does not
|
|
|
95
98
|
|
|
96
99
|
Run the narrowest available checks first, then the real integration surface:
|
|
97
100
|
|
|
98
|
-
1.
|
|
99
|
-
2.
|
|
100
|
-
3.
|
|
101
|
-
4.
|
|
102
|
-
5.
|
|
103
|
-
6.
|
|
101
|
+
1. Run `npx --no-install expo-modules swift:check ios` from the module package root. It reports macro errors and warnings in seconds, without a build. `references/compatibility.md` describes it.
|
|
102
|
+
2. Build or type-check the Apple module against the target `expo-modules-core`.
|
|
103
|
+
3. Run native unit tests and JS/TS tests.
|
|
104
|
+
4. Build and launch the example app when the repository provides one.
|
|
105
|
+
5. Confirm that autolinking still links every module class. With an `apple.modules` list, each entry must match a Swift class name as it now stands. Without the list, run the `scanModules` check in `references/compatibility.md` and confirm that it reports every class as `public` or `open`. A stale entry or a missed class builds clean and fails only at runtime, so the example app must actually resolve the module, not merely compile.
|
|
106
|
+
6. Compare the final exported surface with the inventory from step 1. The `scanExports` check in `references/compatibility.md` lists the JS names, parameters, and sync/async shape of every migrated member. Members that stay in the DSL are not in its output.
|
|
107
|
+
7. Search for stale `Name`, migrated `Function`/`AsyncFunction`/`StaticFunction`/`StaticAsyncFunction`/`Property`/`Constant`/`Events` entries, old `sendEvent` calls, `@Field`, and duplicate registrations. Search the source you wrote, not macro expansion output.
|
|
104
108
|
|
|
105
|
-
Expansion
|
|
109
|
+
Expansion alone is insufficient: `swift:check` runs only the macros, so generated code with no diagnostics can still fail to link or run against a mismatched core. If dependencies changed or macro plugin flags are missing, reinstall JS dependencies as appropriate, run the repository's CocoaPods installation workflow, and restart Xcode before diagnosing plugin communication failures.
|
|
106
110
|
|
|
107
111
|
## Handoff
|
|
108
112
|
|
|
109
|
-
Never print macro-generated or core-internal symbol names to the user. `references/compatibility.md` cites them so you can grep for them, but they are implementation details that change between plugin revisions, and they are noise in a report. Name a capability by its macro (`@JS static`, `@Event(sync:)`) and by observable JS behavior. Say "the installed core does not support
|
|
113
|
+
Never print macro-generated or core-internal symbol names to the user. `references/compatibility.md` cites them so you can grep for them, and the `swift:expand` output is full of them, but they are implementation details that change between plugin revisions, and they are noise in a report. Name a capability by its macro (`@JS static`, `@Event(sync:)`) and by observable JS behavior. Say "the installed core does not support synchronous events yet", not the name of the missing method. The exception is a tracking issue on `expo/expo`, where the specific missing hook is the point.
|
|
110
114
|
|
|
111
115
|
Report:
|
|
112
116
|
|