@artsy/palette-mobile 1.3.0 → 1.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.
Files changed (2) hide show
  1. package/README.md +2 -0
  2. package/package.json +13 -4
package/README.md CHANGED
@@ -41,6 +41,8 @@ And then either open Xcode and run, or Android Studio, or run `yarn ios` or `yar
41
41
  - [Eigen](https://github.com/artsy/eigen)
42
42
  - [Energy](https://github.com/artsy/energy)
43
43
 
44
+ You can add this library using `yarn add @artsy/palette-mobile`. *Don't forget to also add all the `peerDependencies` to your project.*
45
+
44
46
  ## About Artsy
45
47
 
46
48
  <a href="https://www.artsy.net/">
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@artsy/palette-mobile",
3
- "version": "1.3.0",
3
+ "version": "1.4.0",
4
4
  "description": "Artsy's design system for React Native",
5
5
  "scripts": {
6
6
  "install:all": "yarn install && yarn bundle-install && yarn pod-install",
@@ -20,22 +20,29 @@
20
20
  "beta:ios": "bundle e fastlane ios beta",
21
21
  "setup:artsy": "./scripts/download-fonts"
22
22
  },
23
+ "dependenciesComments": [
24
+ "ONLY ADD DEPS THAT ARE OK TO SHIP WITH THIS LIBRARY.",
25
+ "FOR DEPS NEEDED FOR THE STORYBOOK APP, ADD THEM AS DEV DEPS BELOW."
26
+ ],
23
27
  "dependencies": {
24
28
  "@artsy/palette-tokens": "^4.0.0",
25
29
  "@styled-system/theme-get": "^5.1.2",
26
30
  "events": "^3.3.0",
27
31
  "react-nanny": "^2.14.0",
28
- "react-native-haptic-feedback": "^1.14.0",
29
- "react-native-linear-gradient": "^2.6.2",
30
32
  "react-native-svg": "^13.1.0",
31
33
  "react-spring": "^8.0.22",
32
34
  "remeda": "^1.1.0",
33
35
  "styled-components": "^5.3.6",
34
36
  "styled-system": "^5.1.5"
35
37
  },
38
+ "peerDependenciesComments": [
39
+ "ADD ANY DEPS THAT ARE NEEDED FOR PALETTE AND HAVE NATIVE CODE."
40
+ ],
36
41
  "peerDependencies": {
37
42
  "react": "*",
38
- "react-native": "*"
43
+ "react-native": "*",
44
+ "react-native-haptic-feedback": "*",
45
+ "react-native-linear-gradient": "*"
39
46
  },
40
47
  "devDependencies": {
41
48
  "@auto-it/all-contributors": "^10.37.6",
@@ -68,6 +75,8 @@
68
75
  "metro-react-native-babel-preset": "^0.72.1",
69
76
  "react": "18.2.0",
70
77
  "react-native": "0.69.5",
78
+ "react-native-haptic-feedback": "^1.14.0",
79
+ "react-native-linear-gradient": "^2.6.2",
71
80
  "react-native-safe-area-context": "^4.4.1",
72
81
  "react-test-renderer": "^18.2.0",
73
82
  "rimraf": "^3.0.2",