@artsy/palette-mobile 23.2.1 → 23.4.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 +10 -23
- package/package.json +3 -4
package/README.md
CHANGED
|
@@ -75,42 +75,29 @@ or
|
|
|
75
75
|
yarn android
|
|
76
76
|
```
|
|
77
77
|
|
|
78
|
-
##
|
|
78
|
+
## Deploying to TestFlight and Play Store
|
|
79
79
|
|
|
80
|
-
###
|
|
80
|
+
### Local Builds
|
|
81
81
|
|
|
82
|
-
|
|
82
|
+
Build and submit both iOS and Android locally:
|
|
83
83
|
|
|
84
84
|
```sh
|
|
85
|
+
brew install eas-cli # First time only
|
|
85
86
|
brew install gh # First time only
|
|
86
87
|
brew install fastlane # First time only
|
|
87
|
-
cd Example
|
|
88
|
-
yarn beta:ios
|
|
89
88
|
```
|
|
90
89
|
|
|
91
|
-
|
|
90
|
+
### Trigger Cloud Builds via GitHub Actions
|
|
92
91
|
|
|
93
|
-
|
|
92
|
+
Make sure to push all necessary changes first.
|
|
94
93
|
|
|
95
94
|
```sh
|
|
96
|
-
|
|
97
|
-
yarn beta:ios:ci
|
|
95
|
+
yarn deploy-beta
|
|
98
96
|
```
|
|
99
97
|
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
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.
|
|
98
|
+
This force-pushes your current branch to `beta-ios` and `beta-android`, which
|
|
99
|
+
triggers the iOS and Android beta workflows on GitHub Actions.
|
|
100
|
+
(https://github.com/artsy/palette-mobile/actions).
|
|
114
101
|
|
|
115
102
|
## Developing Features using Local Versions of Palette
|
|
116
103
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@artsy/palette-mobile",
|
|
3
|
-
"version": "23.
|
|
3
|
+
"version": "23.4.0",
|
|
4
4
|
"description": "Artsy's design system for React Native",
|
|
5
5
|
"workspaces": [
|
|
6
6
|
"Example"
|
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
"android": "yarn workspace palette-mobile-example android",
|
|
10
10
|
"android:clean": "yarn workspace palette-mobile-example android:prebuild --clean",
|
|
11
11
|
"android:prebuild": "yarn workspace palette-mobile-example android:prebuild",
|
|
12
|
-
"beta
|
|
12
|
+
"deploy-beta": "./Example/scripts/deploys/deploy-beta-both",
|
|
13
13
|
"bundle-install": "bundle install",
|
|
14
14
|
"clean": "rimraf dist",
|
|
15
15
|
"compile": "tsc",
|
|
@@ -34,8 +34,7 @@
|
|
|
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"
|
|
38
|
-
"version": "node ./scripts/sync-example-version.js"
|
|
37
|
+
"type-check": "tsc --noEmit"
|
|
39
38
|
},
|
|
40
39
|
"dependenciesComments": [
|
|
41
40
|
"ONLY ADD DEPS THAT ARE OK TO SHIP WITH THIS LIBRARY.",
|