Skip to content

Commit

Permalink
chore: Updated Readme, added EAS build config
Browse files Browse the repository at this point in the history
  • Loading branch information
Rohit Agrawal committed Dec 31, 2023
1 parent 05fd59c commit c35e993
Show file tree
Hide file tree
Showing 10 changed files with 135 additions and 29 deletions.
11 changes: 11 additions & 0 deletions .expo-shared/README.md
Original file line number Diff line number Diff line change
@@ -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.
1 change: 1 addition & 0 deletions .expo-shared/assets.json
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
{}
15 changes: 15 additions & 0 deletions .github/workflows/Publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
#----------------------------------------------
Expand Down Expand Up @@ -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

37 changes: 19 additions & 18 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,14 +1,7 @@
<h1 align="center">
<a href="https://docs.pearl-ui.dev/">
<img width="346" alt="logo" src="https://user-images.githubusercontent.com/29514438/133960518-569428c5-fe04-4631-b20e-5935a4c93914.png">
</a>
</h1>

<h4 align="center">Build consistent cross-platform mobile apps at <span style="color: #6356e5">lightning speed</span></h4>

<p align="center">
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.
</p>
<div align="center">
<a href="https://docs.pearl-ui.dev/">
<img width="346" alt="logo" src="https://user-images.githubusercontent.com/29514438/133960518-569428c5-fe04-4631-b20e-5935a4c93914.png">
</a>

<br />

Expand All @@ -20,17 +13,25 @@ Pearl UI is a user-friendly UI library for React Native, offering ready-to-use c
<img alt="Licence" src="https://img.shields.io/github/license/agrawal-rohit/pearl-ui">
</p>

<h4>Build consistent cross-platform mobile apps at <span style="color: #6356e5">lightning speed</span></h4>

<div align="center">
<a href="https://docs.pearl-ui.dev/docs/overview/getting-started/introduction">Getting Started</a> •
<a href="">Demo</a> •
<a href="https://docs.pearl-ui.dev/docs/overview/getting-started/installation">Installation</a> •
<a href="#documentation">Documentation</a>

</div>

<br />

## Table of Contents
</div>

- [Key Features](#key-features)
- [Installation](#installation)
- [Documentation](#documentation)
- [Contributing](#contributing)
- [License](#license)
<p>
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.
</p>

## Key Features
## Features

Pearl UI is a comprehensive UI library for React Native projects, offering a wide range of features:

Expand Down
24 changes: 19 additions & 5 deletions app.json
Original file line number Diff line number Diff line change
@@ -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"
}
}
}
}
2 changes: 1 addition & 1 deletion docs/docusaurus.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,7 @@
],
},
footer: {
copyright: `Proudly built in <span style="margin-left: 5px">🇮🇳</span> by <a href="https://twitter.com/_rohitagrawal_" target="_blank" style="text-decoration: underline">Rohit Agrawal</a>.`,
copyright: `Proudly built in <span style="margin-left: 5px; margin-right: 5px">🇮🇳</span> by <a href="https://twitter.com/_rohitagrawal_" target="_blank" style="text-decoration: underline">Rohit Agrawal</a>.`,
},
prism: {
theme: require("prism-react-renderer/themes/vsDark"),
Expand Down
8 changes: 4 additions & 4 deletions docs/src/pages/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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
</Link>
Expand Down Expand Up @@ -82,12 +82,12 @@ function HomepageHeader() {
<br />
<br />
<a
href="https://www.producthunt.com/posts/pearl-ui?utm_source=badge-review&utm_medium=badge&utm_souce=badge-pearl-ui#discussion-body"
href="https://www.producthunt.com/posts/pearl-ui?utm_source=badge-featured&utm_medium=badge&utm_souce=badge-pearl&#0045;ui"
target="_blank"
>
<img
src={`https://api.producthunt.com/widgets/embed-image/v1/review.svg?post_id=319078&theme=${
isDarkTheme ? "dark" : "light"
src={`https://api.producthunt.com/widgets/embed-image/v1/featured.svg?post_id=319078&theme=${
isDarkTheme ? "neutral" : "light"
}`}
alt="Pearl UI - Design system driven UI framework for React Native | Product Hunt"
style={{ width: 250, height: 54 }}
Expand Down
20 changes: 20 additions & 0 deletions eas.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
{
"cli": {
"version": ">= 5.9.3"
},
"build": {
"development": {
"developmentClient": true,
"distribution": "internal"
},
"preview": {
"distribution": "internal",
"ios": {
"simulator": true
}
}
},
"submit": {
"production": {}
}
}
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -154,4 +154,4 @@
}
]
}
}
}
44 changes: 44 additions & 0 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand All @@ -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"

[email protected]:
version "1.5.1"
resolved "https://registry.yarnpkg.com/expo-modules-autolinking/-/expo-modules-autolinking-1.5.1.tgz#363f90c172769ce12bf56c7be9ca0897adfc7a81"
Expand Down Expand Up @@ -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"
Expand Down

0 comments on commit c35e993

Please sign in to comment.