@artsy/palette-mobile 22.8.0 → 22.10.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 CHANGED
@@ -75,6 +75,43 @@ or
75
75
  yarn android
76
76
  ```
77
77
 
78
+ ## Deployment
79
+
80
+ ### Building and Deploying iOS to TestFlight
81
+
82
+ **Local Build (requires Fastlane):**
83
+
84
+ ```sh
85
+ brew install gh # First time only
86
+ brew install fastlane # First time only
87
+ cd Example
88
+ yarn beta:ios
89
+ ```
90
+
91
+ The build will run locally and will create a "Submission Version Build iOS App Store submission" entry on https://expo.dev/accounts/artsy_org/projects/palettemobile
92
+
93
+ **Cloud Build via GitHub Actions:**
94
+
95
+ ```sh
96
+ cd Example
97
+ yarn beta:ios:ci
98
+ ```
99
+
100
+ Or trigger manually from [GitHub Actions](https://github.com/artsy/palette-mobile/actions/workflows/build-ios.yml)
101
+
102
+ The build will run a GitHub Workflow and will create a "Submission Version Build iOS App Store submission" entry on https://expo.dev/accounts/artsy_org/projects/palettemobile
103
+
104
+ ### Publishing Over-the-Air Updates
105
+
106
+ After building and deploying to TestFlight, you can publish JavaScript/asset updates instantly without App Store review:
107
+
108
+ ```sh
109
+ cd Example
110
+ yarn update:beta
111
+ ```
112
+
113
+ Users will receive the update on their next app launch. OTA updates are ideal for bug fixes, minor features, and content changes that don't require native code changes.
114
+
78
115
  ## Developing Features using Local Versions of Palette
79
116
 
80
117
  When developing new components in Palette, it's often useful to test those components in consuming apps (such as Eigen). However, due to the poor support for symlinks in React Native, this can be difficult. Enter [yalc](https://github.com/wclr/yalc). Yalc is a mini package manager that one can publish to and install from, which makes it easy to test code in realtime from outside of your app.
@@ -1,7 +1,7 @@
1
1
  import { EventEmitter } from "events";
2
2
  import { JSX } from "react";
3
3
  import { TextInput, TextInputProps } from "react-native";
4
- export declare const inputEvents: EventEmitter<[never]>;
4
+ export declare const inputEvents: EventEmitter<any>;
5
5
  export declare const emitInputClearEvent: () => void;
6
6
  export interface InputProps extends Omit<TextInputProps, "placeholder" | "onChangeText"> {
7
7
  addClearListener?: boolean;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@artsy/palette-mobile",
3
- "version": "22.8.0",
3
+ "version": "22.10.0",
4
4
  "description": "Artsy's design system for React Native",
5
5
  "workspaces": [
6
6
  "Example"
@@ -34,7 +34,8 @@
34
34
  "start": "yarn workspace palette-mobile-example start",
35
35
  "storybook-watcher": "yarn workspace palette-mobile-example storybook-watcher",
36
36
  "test": "jest --maxWorkers=2",
37
- "type-check": "tsc --noEmit"
37
+ "type-check": "tsc --noEmit",
38
+ "version": "node ./scripts/sync-example-version.js"
38
39
  },
39
40
  "dependenciesComments": [
40
41
  "ONLY ADD DEPS THAT ARE OK TO SHIP WITH THIS LIBRARY.",