Skip to content

Commit c307f7b

Browse files
Merge pull request #59 from SimformSolutionsPvtLtd/develop
Release v1.4.1
2 parents 9b7568e + 5287e70 commit c307f7b

File tree

189 files changed

+5091
-24185
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

189 files changed

+5091
-24185
lines changed

.eslintignore

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
**/node_modules
2+
example/
3+
lib/
4+
node_modules/

.eslintrc

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
{
2+
"extends": ["@react-native-community", "prettier"],
3+
"root": true,
4+
"rules": {
5+
"prettier/prettier": [
6+
"error",
7+
{
8+
"quoteProps": "preserve",
9+
"singleQuote": true,
10+
"tabWidth": 2,
11+
"trailingComma": "es5",
12+
"useTabs": false
13+
}
14+
],
15+
"no-shadow": "off",
16+
"@typescript-eslint/no-shadow": ["error"],
17+
"no-bitwise": 0,
18+
"prefer-const": "warn",
19+
"no-console": ["error", { "allow": ["warn", "error"] }]
20+
},
21+
"globals": {
22+
"JSX": "readonly"
23+
},
24+
"env": {
25+
"jest": true
26+
},
27+
"plugins": ["prettier"]
28+
}

.github/workflows /publish.yml

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
name: '🚀 Publish'
2+
3+
on:
4+
push:
5+
branches:
6+
- master
7+
8+
jobs:
9+
release:
10+
name: 🚀 Publish
11+
runs-on: macos-11
12+
steps:
13+
- name: 📚 checkout
14+
uses: actions/checkout@v2.4.2
15+
- name: 🟢 node
16+
uses: actions/setup-node@v3.3.0
17+
with:
18+
node-version: 16
19+
registry-url: https://registry.npmjs.org
20+
- name: 🚀 Build & Publish
21+
run: yarn install && yarn build && yarn publish --access public
22+
env:
23+
NODE_AUTH_TOKEN: ${{secrets.NPM_AUTH_TOKEN}}

.gitignore

Lines changed: 11 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,6 @@ DerivedData
2020
*.hmap
2121
*.ipa
2222
*.xcuserstate
23-
project.xcworkspace
2423

2524
# Android/IntelliJ
2625
#
@@ -34,11 +33,15 @@ local.properties
3433
#
3534
node_modules/
3635
npm-debug.log
37-
yarn-error.log
36+
yarn-error.log*
37+
yarn.lock
38+
package-lock.json
3839

3940
# BUCK
4041
buck-out/
4142
\.buckd/
43+
*.keystore
44+
!debug.keystore
4245

4346
# fastlane
4447
#
@@ -54,18 +57,10 @@ buck-out/
5457
# Bundle artifact
5558
*.jsbundle
5659

57-
# CocoaPods
60+
# Ruby / CocoaPods
5861
/ios/Pods/
59-
android/.project
60-
android/.settings/org.eclipse.buildship.core.prefs
61-
android/app/.classpath
62-
android/app/.project
63-
android/app/.settings/org.eclipse.buildship.core.prefs
64-
android/java_pid28385.hprof
65-
android/java_pid35054.hprof
66-
android/java_pid40495.hprof
67-
android/java_pid44292.hprof
68-
android/java_pid50139.hprof
69-
android/app/release/app-release.apk
70-
android/app/release/output.json
71-
ios/link-assets-manifest.json
62+
/vendor/bundle/
63+
coverage
64+
65+
# generated
66+
lib

.husky/commit-msg

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
#!/bin/sh
2+
. "$(dirname "$0")/_/husky.sh"
3+
4+
yarn commitlint --edit $1

.husky/pre-commit

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
#!/bin/sh
2+
. "$(dirname "$0")/_/husky.sh"
3+
4+
yarn lint-staged

.husky/pre-push

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
#!/bin/sh
2+
. "$(dirname "$0")/_/husky.sh"
3+
4+
yarn build

.npmignore

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1,10 @@
1-
Example
1+
.github/
2+
example/
3+
assets/
4+
.eslintignore
5+
.eslintrc
6+
CONTRIBUTING.md
7+
babel.config.js
8+
.buckconfig
9+
jest-setup.js
10+
.husky/

.prettierrc.js

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
module.exports = {
2+
arrowParens: 'avoid',
3+
bracketSameLine: true,
4+
bracketSpacing: true,
5+
singleQuote: true,
6+
trailingComma: 'es5'
7+
};

CONTRIBUTING.md

Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
1+
# Contributing
2+
3+
We welcome code changes that improve this library or fix a problem, and please make sure to follow all best practices and test all the changes/fixes before committing and creating a pull request. 🚀 🚀
4+
5+
### Committing and Pushing Changes
6+
7+
Commit messages should be formatted as:
8+
9+
```
10+
<type>[optional scope]: <description>
11+
12+
[optional body]
13+
14+
[optional footer]
15+
```
16+
17+
Where type can be one of the following:
18+
19+
- feat
20+
- fix
21+
- docs
22+
- chore
23+
- style
24+
- refactor
25+
- test
26+
27+
and an optional scope can be a component
28+
29+
```
30+
docs: update contributing guide
31+
```
32+
33+
```
34+
fix(TicketId/Component): layout flicker issue
35+
```

0 commit comments

Comments
 (0)