preflightlaunch 0.1.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 +63 -0
- package/dist/index.js +38534 -0
- package/package.json +59 -0
package/README.md
ADDED
|
@@ -0,0 +1,63 @@
|
|
|
1
|
+
# preflightlaunch
|
|
2
|
+
|
|
3
|
+
**Preflight** - App Store Review Scanner from your terminal. Catch rejection reasons before Apple does.
|
|
4
|
+
|
|
5
|
+
## Install
|
|
6
|
+
|
|
7
|
+
```bash
|
|
8
|
+
# npm
|
|
9
|
+
npm install -g preflightlaunch
|
|
10
|
+
|
|
11
|
+
# Homebrew
|
|
12
|
+
brew tap tszaks/preflight
|
|
13
|
+
brew install preflight
|
|
14
|
+
```
|
|
15
|
+
|
|
16
|
+
## Quick Start
|
|
17
|
+
|
|
18
|
+
```bash
|
|
19
|
+
# Log in to your Preflight account
|
|
20
|
+
preflight login
|
|
21
|
+
|
|
22
|
+
# Scan your iOS project (dry run - no credits used)
|
|
23
|
+
preflight scan ./MyApp
|
|
24
|
+
|
|
25
|
+
# Submit for full AI-powered analysis
|
|
26
|
+
preflight submit ./MyApp --app-name "My App"
|
|
27
|
+
|
|
28
|
+
# View your report
|
|
29
|
+
preflight report <submission-id>
|
|
30
|
+
```
|
|
31
|
+
|
|
32
|
+
## Commands
|
|
33
|
+
|
|
34
|
+
| Command | Description |
|
|
35
|
+
|---------|-------------|
|
|
36
|
+
| `preflight login` | Authenticate via browser |
|
|
37
|
+
| `preflight logout` | Clear stored credentials |
|
|
38
|
+
| `preflight whoami` | Show current user and credits |
|
|
39
|
+
| `preflight scan [path]` | Dry-run scan of iOS project files |
|
|
40
|
+
| `preflight submit [path]` | Submit project for AI analysis |
|
|
41
|
+
| `preflight status [id]` | Check submission status (`--watch` for live updates) |
|
|
42
|
+
| `preflight report [id]` | View analysis results (`--json`, `--open`) |
|
|
43
|
+
| `preflight history` | List past submissions |
|
|
44
|
+
| `preflight credits` | Show credit balance |
|
|
45
|
+
|
|
46
|
+
## What It Scans
|
|
47
|
+
|
|
48
|
+
Preflight analyzes your iOS project for common App Store rejection reasons:
|
|
49
|
+
|
|
50
|
+
- **Info.plist** - Missing keys, incorrect values, permission descriptions
|
|
51
|
+
- **Privacy Manifest** (`PrivacyInfo.xcprivacy`) - Required API declarations
|
|
52
|
+
- **Screenshots** - Resolution and format compliance
|
|
53
|
+
- **Entitlements** - Capability misconfigurations
|
|
54
|
+
|
|
55
|
+
## Requirements
|
|
56
|
+
|
|
57
|
+
- Node.js 18+
|
|
58
|
+
- A [Preflight](https://preflightlaunch.com) account
|
|
59
|
+
|
|
60
|
+
## Links
|
|
61
|
+
|
|
62
|
+
- [Website](https://preflightlaunch.com)
|
|
63
|
+
- [GitHub](https://github.com/tszaks/Preflight)
|