├── .gitignore ├── README.md ├── index.js ├── package-lock.json └── package.json /.gitignore: -------------------------------------------------------------------------------- 1 | # dependencies 2 | node_modules/ 3 | 4 | # Expo 5 | .expo/ 6 | dist/ 7 | 8 | # debug 9 | npm-debug.* 10 | yarn-debug.* 11 | yarn-error.* 12 | 13 | # macOS 14 | .DS_Store 15 | *.pem 16 | 17 | # local env files 18 | .env*.local 19 | 20 | # typescript 21 | *.tsbuildinfo 22 | 23 | 24 | /.env -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | # TestFlight 2 | 3 | A one-line command to build, sign, and submit your iOS app to TestFlight from any device. This works by wrapping `eas build -p ios --submit`. [Learn more](https://docs.expo.dev/submit/ios/). 4 | -------------------------------------------------------------------------------- /index.js: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env node 2 | "use strict"; 3 | const { spawn } = require("child_process"); 4 | 5 | const child = spawn( 6 | "npx", 7 | [ 8 | `eas-cli@latest`, 9 | `build`, 10 | `-p`, 11 | `ios`, 12 | `--submit`, 13 | ...process.argv.slice(2), 14 | ], 15 | { stdio: "inherit" } 16 | ); 17 | 18 | child.on("exit", function (code) { 19 | process.exit(code); 20 | }); 21 | -------------------------------------------------------------------------------- /package-lock.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "testflight", 3 | "version": "1.0.1", 4 | "lockfileVersion": 3, 5 | "requires": true, 6 | "packages": { 7 | "": { 8 | "name": "testflight", 9 | "version": "1.0.1", 10 | "license": "ISC", 11 | "bin": { 12 | "testflight": "index.js" 13 | } 14 | } 15 | } 16 | } 17 | -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "testflight", 3 | "version": "1.0.4", 4 | "description": "Deploy apps directly to TestFlight from the command line using EAS Build and Submit.", 5 | "main": "index.js", 6 | "bin": { 7 | "testflight": "./index.js" 8 | }, 9 | "repository": { 10 | "type": "git", 11 | "url": "https://github.com/expo/testflight.git" 12 | }, 13 | "bugs": { 14 | "url": "https://github.com/expo/testflight/issues" 15 | }, 16 | "homepage": "https://docs.expo.dev/submit/ios/", 17 | "scripts": { 18 | "test": "echo \"Error: no test specified\" && exit 1" 19 | }, 20 | "keywords": [], 21 | "author": "Evan Bacon (https://evanbacon.dev)", 22 | "license": "ISC" 23 | } 24 | --------------------------------------------------------------------------------