@codeyam/codeyam-cli 0.1.27 → 0.1.28

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.
@@ -1,7 +1,7 @@
1
1
  {
2
- "buildTimestamp": "2026-03-28T18:03:48.783Z",
3
- "buildTime": 1774721028783,
4
- "buildNumber": 1296,
5
- "semanticVersion": "0.1.1296",
6
- "version": "0.1.1296 (2026-03-28T18:03)"
2
+ "buildTimestamp": "2026-03-29T19:24:09.293Z",
3
+ "buildTime": 1774812249293,
4
+ "buildNumber": 1301,
5
+ "semanticVersion": "0.1.1301",
6
+ "version": "0.1.1301 (2026-03-29T19:24)"
7
7
  }
@@ -211,9 +211,10 @@ npx expo run:ios --device
211
211
 
212
212
  ### Troubleshooting
213
213
 
214
+ - **"invalid code signature" / "profile has not been explicitly trusted"**: Your iPhone doesn't trust the developer profile yet. On your iPhone: **Settings → General → VPN & Device Management** → tap your Apple ID → **Trust**. Then relaunch the app.
215
+ - **"No script URL provided"**: Metro bundler isn't running or the device can't reach it. Start Metro with `npx expo start` in a separate terminal, then relaunch the app. Your phone and Mac must be on the same Wi-Fi network.
214
216
  - **"Missing factory in ExpoAppDelegate"** crash: The native project is stale. Run `npx expo prebuild --clean` to regenerate it.
215
217
  - **"ambiguous implicit access level for import"** error: The `patch-package` fix wasn't applied. Run `npm install` to reapply, then `cd ios && pod install`.
216
- - **"No script URL provided"**: Metro bundler isn't running or the device can't reach it. Start Metro with `npx expo start` in a separate terminal. Your phone and Mac must be on the same Wi-Fi network.
217
218
 
218
219
  ### Notes
219
220
 
@@ -233,6 +234,40 @@ The CodeYam editor previews your app via **Expo Web** (react-native-web in a bro
233
234
  | **Gestures** | Mouse drag events | Touch/swipe with inertia |
234
235
  | **StatusBar** | No visible effect | Controls device status bar appearance |
235
236
  | **Haptics** | No-op | Real haptic feedback via `expo-haptics` |
237
+ | **Pressable** | `backgroundColor`/`borderStyle` work on Pressable | Must use View wrapper (see below) |
238
+
239
+ ### Pressable Styling on Native
240
+
241
+ `<Pressable>` with `backgroundColor`, `borderRadius`, or `borderStyle: 'dashed'` renders correctly in the web preview but **fails silently on native devices** — the background/border simply won't appear.
242
+
243
+ **Fix:** Put visual styles on a wrapping `<View>` and use `onPressIn`/`onPressOut` for press feedback:
244
+
245
+ ```tsx
246
+ const [pressed, setPressed] = useState(false);
247
+
248
+ <View
249
+ style={{
250
+ backgroundColor: theme.colors.bgInverse,
251
+ borderRadius: 60,
252
+ overflow: 'hidden',
253
+ }}
254
+ >
255
+ <Pressable
256
+ onPress={onPress}
257
+ onPressIn={() => setPressed(true)}
258
+ onPressOut={() => setPressed(false)}
259
+ style={{
260
+ opacity: pressed ? 0.8 : 1,
261
+ alignItems: 'center',
262
+ padding: theme.spacing.lg,
263
+ }}
264
+ >
265
+ <Text style={{ color: theme.colors.accent }}>+</Text>
266
+ </Pressable>
267
+ </View>;
268
+ ```
269
+
270
+ For dashed borders, put `borderStyle`, `borderWidth`, and `borderColor` on the outer `<View>`, not on `<Pressable>`.
236
271
 
237
272
  **The web preview is for layout and data verification.** Test final visual polish on a real device or simulator:
238
273
 
@@ -4,6 +4,7 @@
4
4
  "slug": "codeyam-expo-app",
5
5
  "version": "1.0.0",
6
6
  "scheme": "codeyam-expo-app",
7
+ "icon": "./assets/icon.png",
7
8
  "platforms": ["ios", "android", "web"],
8
9
  "web": {
9
10
  "bundler": "metro",
@@ -13,6 +14,16 @@
13
14
  "plugins": ["expo-router"],
14
15
  "experiments": {
15
16
  "typedRoutes": true
17
+ },
18
+ "ios": {
19
+ "bundleIdentifier": "com.codeyam.expo-app"
20
+ },
21
+ "android": {
22
+ "adaptiveIcon": {
23
+ "foregroundImage": "./assets/adaptive-icon.png",
24
+ "backgroundColor": "#f8fafc"
25
+ },
26
+ "package": "com.codeyam.expoapp"
16
27
  }
17
28
  }
18
29
  }
@@ -39,6 +39,7 @@
39
39
  "devDependencies": {
40
40
  "@types/react": "~19.1.10",
41
41
  "babel-preset-expo": "~54.0.10",
42
+ "sharp": "^0.33.0",
42
43
  "typescript": "~5.9.2",
43
44
  "jest": "^29.7.0",
44
45
  "jest-expo": "~54.0.17",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@codeyam/codeyam-cli",
3
- "version": "0.1.27",
3
+ "version": "0.1.28",
4
4
  "description": "Local development CLI for CodeYam analysis",
5
5
  "type": "module",
6
6
  "bin": {