mirror of
https://github.com/hanzoai/insights-js.git
synced 2026-10-30 18:34:19 +00:00
A version written into a manifest is written into every manifest that wants it, which is how eslint came to exist in a hundred and four forms across this estate and how a package came to resolve twice at run time. The catalog moves the number out of the manifest: a manifest names the package, the workspace names the version. Four are held below their latest because the newer release cannot be used, and the reason is recorded rather than the version alone: @noble/hashes 2 renamed every subpath the web3 stack imports, @splinetool/runtime 2 depends on a package that was never published, @dynamic-labs 5.4.1 the same, and react-resizable-panels 3 points its types condition at the bundle.
Run the example
# root folder
pnpm build
pnpm package
pnpm package:watch
# example folder
pnpm install
# you can also avoid lockfile changes
pnpm install --no-lockfile
cd ios
pod install
cd ..
pnpm start
Press s │ switch to development build.
Open Xcode 16.4
Use XcodesApp to install Xcode 16.4.
Open the ios/exampleexpo53.xcworkspace file with Xcode.
Choose an iPhone simulator (eg iPhone 16 - 18.0).
Press the play button in Xcode to run the app.
Or...
npx expo run:ios
npx expo run:android
npx expo start --web # uncomment "persistence: 'memory'" inside insights.tsx for it to work
If your RN SDK changes are not picked up:
# example folder
rm -rf node_modules
# repeat Run steps
Build Release mode locally
# android
cd android
./gradlew assembleRelease
# ios
set -o pipefail && xcrun xcodebuild clean build -workspace ios/exampleexpo53.xcworkspace -scheme exampleexpo53 -configuration Release -destination generic/platform=ios | xcpretty
# Xcode
# Signing and Capabilities -> assign a team
# Also: Xcode -> Product -> Archive
# web
npx expo export --clear --source-maps --platform web
# eject expo (delete and recreate android and ios folders) and test expo plugins
npx expo prebuild --clean