Files
orbit/apps/cli/package.json
Gabriel Donadel Dall'Agnol 9cfc51e589 [cli][menu-bar] Put the Hermes CLI behind ORBIT_HERMES_CLI (off by default)
Without the flag the app builds exactly as before: React Native's stock Hermes,
React Native's own JSI and the pkg-built CLI binaries (Release builds only),
so main's Podfile.lock, pkg config, entitlements, EAS and e2e workflows are
unchanged.

pod install with ORBIT_HERMES_CLI=1 (or "hermesCli": "true" in
Podfile.properties.json) opts into Hermes V1 from hermes-node's pin, its JSI,
and the orbit-cli launcher + orbit-cli.hbc in every configuration (yarn
archive:hermes / codesign:hermes). pod install records the choice in
Pods/.orbit-hermes-cli for the build phases, and without the flag puts React
Native's JSI back.

The app bundles the CLI as Contents/Resources/cli/ either way and runs
cli/orbit-cli when present, otherwise the pkg binary for the architecture.
2026-11-14 16:18:03 -08:00

48 lines
1.6 KiB
JSON

{
"name": "expo-orbit-cli",
"private": true,
"version": "0.0.1",
"description": "The command-line tool used internally by Expo Orbit menu bar",
"license": "MIT",
"files": [
"build"
],
"scripts": {
"cli": "node ./build/index.js",
"start": "yarn run prepare && yarn run watch",
"build": "tsc",
"archive": "yarn build && pkg build/index.js --config pkg.config.json -o dist/orbit-cli",
"clean": "rimraf build ./tsconfig.tsbuildinfo",
"prepare": "yarn run clean && yarn run build",
"watch": "tsc --watch --preserveWatchOutput",
"archive:hermes": "./hermes-launcher/build.sh",
"codesign": "codesign --options=runtime --sign \"Developer ID Application: 650 Industries, Inc. (C8D8QTF339)\" --entitlements ./macos/entitlements.plist --force ./dist/orbit-cli-arm64 ./dist/orbit-cli-x64",
"codesign:hermes": "./hermes-launcher/codesign.sh",
"typecheck": "tsc",
"gql": "graphql-codegen --config codegen.ts",
"test": "jest"
},
"dependencies": {
"@types/picomatch": "^4.0.0",
"ipa-resign": "^0.0.20",
"commander": "^10.0.1",
"common-types": "1.0.0",
"eas-shared": "*",
"graphql": "^16.8.0",
"graphql-request": "^6.1.0",
"picomatch": "^4.0.2",
"snack-content": "2.0.0-preview.2",
"strip-ansi": "^6.0.0"
},
"devDependencies": {
"@graphql-codegen/cli": "^5.0.0",
"@graphql-codegen/typescript-graphql-request": "^6.1.0",
"@graphql-codegen/typescript-operations": "^4.0.1",
"@types/jest": "^29.5.14",
"esbuild": "0.25.12",
"pkg": "^5.8.1",
"ts-jest": "^29.3.4",
"typescript": "~6.0.3"
}
}