From c35e9932c8ec7f8b619221021ec9ad8b3641cac7 Mon Sep 17 00:00:00 2001 From: Rohit Agrawal Date: Sun, 31 Dec 2023 15:29:39 -0800 Subject: [PATCH] chore: Updated Readme, added EAS build config --- .expo-shared/README.md | 11 +++++++++ .expo-shared/assets.json | 1 + .github/workflows/Publish.yml | 15 ++++++++++++ README.md | 37 +++++++++++++++-------------- app.json | 24 +++++++++++++++---- docs/docusaurus.config.js | 2 +- docs/src/pages/index.tsx | 8 +++---- eas.json | 20 ++++++++++++++++ package.json | 2 +- yarn.lock | 44 +++++++++++++++++++++++++++++++++++ 10 files changed, 135 insertions(+), 29 deletions(-) create mode 100644 .expo-shared/README.md create mode 100644 .expo-shared/assets.json create mode 100644 eas.json diff --git a/.expo-shared/README.md b/.expo-shared/README.md new file mode 100644 index 00000000..e9e53189 --- /dev/null +++ b/.expo-shared/README.md @@ -0,0 +1,11 @@ +> Why do I have a folder named ".expo-shared" in my project? + +The ".expo-shared" folder is created when running commands that produce state that is intended to be shared with all developers on the project. For example, "npx expo-optimize". + +> What does the "assets.json" file contain? + +The "assets.json" file describes the assets that have been optimized through "expo-optimize" and do not need to be processed again. + +> Should I commit the ".expo-shared" folder? + +Yes, you should share the ".expo-shared" folder with your collaborators. diff --git a/.expo-shared/assets.json b/.expo-shared/assets.json new file mode 100644 index 00000000..0967ef42 --- /dev/null +++ b/.expo-shared/assets.json @@ -0,0 +1 @@ +{} diff --git a/.github/workflows/Publish.yml b/.github/workflows/Publish.yml index 7eaf2112..62a8fba1 100644 --- a/.github/workflows/Publish.yml +++ b/.github/workflows/Publish.yml @@ -70,6 +70,15 @@ jobs: with: node-version: 18.x + #---------------------------------------------- + # Setup EAS + #---------------------------------------------- + - name: Setup EAS + uses: expo/expo-github-action@v8 + with: + eas-version: latest + token: ${{ secrets.EXPO_TOKEN }} + #---------------------------------------------- # Cache modules #---------------------------------------------- @@ -146,3 +155,9 @@ jobs: NPM_TOKEN: ${{secrets.NPM_TOKEN}} GITHUB_TOKEN: ${{secrets.GH_TOKEN}} + #---------------------------------------------- + # Build the showcase app + #---------------------------------------------- + - name: Build app + run: eas build --non-interactive --profile preview --platform android + diff --git a/README.md b/README.md index 0d42a426..24beee43 100644 --- a/README.md +++ b/README.md @@ -1,14 +1,7 @@ -

- - logo - -

- -

Build consistent cross-platform mobile apps at lightning speed

- -

-Pearl UI is a user-friendly UI library for React Native, offering ready-to-use components, framer-motion-like animations, dark mode, and responsive design. With its design-first approach and intuitive styling system, Pearl UI greatly enhances developer efficiency, simplifying and accelerating app development. -

+
+ + logo +
@@ -20,17 +13,25 @@ Pearl UI is a user-friendly UI library for React Native, offering ready-to-use c Licence

+

Build consistent cross-platform mobile apps at lightning speed

+ +
+Getting Started • +Demo • +Installation • +Documentation + +
+
-## Table of Contents +
-- [Key Features](#key-features) -- [Installation](#installation) -- [Documentation](#documentation) -- [Contributing](#contributing) -- [License](#license) +

+Pearl UI is a user-friendly UI library for React Native, offering ready-to-use components, framer-motion-like animations, dark mode, and responsive design. With its design-first approach and intuitive styling system, Pearl UI greatly enhances developer efficiency, simplifying and accelerating app development. +

-## Key Features +## Features Pearl UI is a comprehensive UI library for React Native projects, offering a wide range of features: diff --git a/app.json b/app.json index a67352d5..6a466f89 100644 --- a/app.json +++ b/app.json @@ -1,28 +1,42 @@ { "expo": { - "name": "pearl-ui", + "name": "Pearl UI - Showcase", "slug": "pearl-ui", "jsEngine": "hermes", "version": "1.0.0", + "privacy": "public", + "description": "This is the Pearl UI Showcase app, demonstrating the capabilities and features of the Pearl UI library.", "orientation": "portrait", "splash": { "resizeMode": "contain", "backgroundColor": "#ffffff" }, "updates": { - "fallbackToCacheTimeout": 0 + "fallbackToCacheTimeout": 0, + "url": "https://u.expo.dev/8b782319-5359-4cf2-be2b-193928cd523f" }, "assetBundlePatterns": [ "**/*" ], "ios": { - "supportsTablet": true + "supportsTablet": true, + "bundleIdentifier": "com.pearlui.pearlui" }, "android": { "adaptiveIcon": { "backgroundColor": "#FFFFFF" + }, + "package": "com.pearlui.pearlui" + }, + "web": {}, + "extra": { + "eas": { + "projectId": "8b782319-5359-4cf2-be2b-193928cd523f" } }, - "web": {} + "owner": "pearl-ui", + "runtimeVersion": { + "policy": "appVersion" + } } -} \ No newline at end of file +} diff --git a/docs/docusaurus.config.js b/docs/docusaurus.config.js index 986e387d..d7230e30 100644 --- a/docs/docusaurus.config.js +++ b/docs/docusaurus.config.js @@ -117,7 +117,7 @@ ], }, footer: { - copyright: `Proudly built in 🇮🇳 by Rohit Agrawal.`, + copyright: `Proudly built in 🇮🇳 by Rohit Agrawal.`, }, prism: { theme: require("prism-react-renderer/themes/vsDark"), diff --git a/docs/src/pages/index.tsx b/docs/src/pages/index.tsx index f94df14f..ddd66c5a 100644 --- a/docs/src/pages/index.tsx +++ b/docs/src/pages/index.tsx @@ -48,7 +48,7 @@ function HomepageHeader() { styles.heroButton )} to="/docs/overview/getting-started/introduction" - style={{ marginRight: 10 }} + style={{ marginRight: 10, color: "white" }} > Read the docs @@ -82,12 +82,12 @@ function HomepageHeader() {

Pearl UI - Design system driven UI framework for React Native | Product Hunt= 5.9.3" + }, + "build": { + "development": { + "developmentClient": true, + "distribution": "internal" + }, + "preview": { + "distribution": "internal", + "ios": { + "simulator": true + } + } + }, + "submit": { + "production": {} + } +} \ No newline at end of file diff --git a/package.json b/package.json index 2cc3e25f..2297ff8a 100644 --- a/package.json +++ b/package.json @@ -154,4 +154,4 @@ } ] } -} +} \ No newline at end of file diff --git a/yarn.lock b/yarn.lock index 8b687bc6..16ae10a6 100644 --- a/yarn.lock +++ b/yarn.lock @@ -6153,6 +6153,11 @@ expo-constants@~14.4.2: "@expo/config" "~8.1.0" uuid "^3.3.2" +expo-eas-client@~0.6.0: + version "0.6.0" + resolved "https://registry.yarnpkg.com/expo-eas-client/-/expo-eas-client-0.6.0.tgz#b722dde0de1b8b56701b282a5fdf28d3d3e79ec4" + integrity sha512-FSPy0ThcJBvzEzOZVhpOrYyHgQ8U1jJ4v7u7tr1x0KOVRqyf25APEQZFxxRPn3zAYW0tQ+uDTCbrwNymFqhQfw== + expo-file-system@~15.4.0, expo-file-system@~15.4.5: version "15.4.5" resolved "https://registry.yarnpkg.com/expo-file-system/-/expo-file-system-15.4.5.tgz#3ef68583027ff0e2fb9eca7a22b3caff6cfc550d" @@ -6167,11 +6172,23 @@ expo-font@~11.4.0: dependencies: fontfaceobserver "^2.1.0" +expo-json-utils@~0.7.0: + version "0.7.1" + resolved "https://registry.yarnpkg.com/expo-json-utils/-/expo-json-utils-0.7.1.tgz#efe315c982113204be46419cbc26d4d9a2af145f" + integrity sha512-L0lyH8diXQtV0q5BLbFlcoxTqPF5im79xDHPhybB0j36xYdm65hjwRJ4yMrPIN5lR18hj48FUZeONiDHRyEvIg== + expo-keep-awake@~12.3.0: version "12.3.0" resolved "https://registry.yarnpkg.com/expo-keep-awake/-/expo-keep-awake-12.3.0.tgz#c42449ae19c993274ddc43aafa618792b6aec408" integrity sha512-ujiJg1p9EdCOYS05jh5PtUrfiZnK0yyLy+UewzqrjUqIT8eAGMQbkfOn3C3fHE7AKd5AefSMzJnS3lYZcZYHDw== +expo-manifests@~0.7.0: + version "0.7.2" + resolved "https://registry.yarnpkg.com/expo-manifests/-/expo-manifests-0.7.2.tgz#77c2d9476e8130fc9ca6d4274fa1a5495d34358e" + integrity sha512-xlhL0XI2zw3foJ0q2Ra4ieBhU0V2yz+Rv6GpVEaaIHFlIC/Dbx+mKrX5dgenZEMERr/MG7sRJaRbAVB2PaAYhA== + dependencies: + expo-json-utils "~0.7.0" + expo-modules-autolinking@1.5.1: version "1.5.1" resolved "https://registry.yarnpkg.com/expo-modules-autolinking/-/expo-modules-autolinking-1.5.1.tgz#363f90c172769ce12bf56c7be9ca0897adfc7a81" @@ -6215,6 +6232,33 @@ expo-status-bar@~1.6.0: resolved "https://registry.yarnpkg.com/expo-status-bar/-/expo-status-bar-1.6.0.tgz#e79ffdb9a84d2e0ec9a0dc7392d9ab364fefa9cf" integrity sha512-e//Oi2WPdomMlMDD3skE4+1ZarKCJ/suvcB4Jo/nO427niKug5oppcPNYO+csR6y3ZglGuypS+3pp/hJ+Xp6fQ== +expo-structured-headers@~3.3.0: + version "3.3.0" + resolved "https://registry.yarnpkg.com/expo-structured-headers/-/expo-structured-headers-3.3.0.tgz#9f0b041a1d243a22a4a23d9eb19f02ace3c5258c" + integrity sha512-t+h5Zqaukd3Tn97LaWPpibVsmiC/TFP8F+8sAUliwCSMzgcb5TATRs2NcAB+JcIr8EP3JJDyYXJrZle1cjs4mQ== + +expo-updates-interface@~0.10.0: + version "0.10.1" + resolved "https://registry.yarnpkg.com/expo-updates-interface/-/expo-updates-interface-0.10.1.tgz#cab075641cd381718ccd9264bf133dc393430a44" + integrity sha512-I6JMR7EgjXwckrydDmrkBEX/iw750dcqpzQVsjznYWfi0HTEOxajLHB90fBFqQkUV5i5s4Fd3hYQ1Cn0oMzUbA== + +expo-updates@~0.18.18: + version "0.18.18" + resolved "https://registry.yarnpkg.com/expo-updates/-/expo-updates-0.18.18.tgz#6650a144c48f5831b6e03f413a4599d47acca97d" + integrity sha512-j9I/vCepUwJ2ZfXsqy5wG+IxXAR05+uiiPABDP9fd++09zt/r2H97abyl5sWaR1h4/0Z9wxXtI0ZssVdDXPE8A== + dependencies: + "@expo/code-signing-certificates" "0.0.5" + "@expo/config" "~8.1.0" + "@expo/config-plugins" "~7.2.0" + arg "4.1.0" + chalk "^4.1.2" + expo-eas-client "~0.6.0" + expo-manifests "~0.7.0" + expo-structured-headers "~3.3.0" + expo-updates-interface "~0.10.0" + fbemitter "^3.0.0" + resolve-from "^5.0.0" + expo@^49.0.13: version "49.0.21" resolved "https://registry.yarnpkg.com/expo/-/expo-49.0.21.tgz#32a66b32d0a233879ec3afdec35fb63d2cc8a4c3"