Skip to content

Commit 6e08bf2

Browse files
Merge pull request #8 from SimformSolutionsPvtLtd/develop
Release v1.0.0
2 parents d886450 + 746476d commit 6e08bf2

File tree

82 files changed

+5816
-0
lines changed

Some content is hidden

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

82 files changed

+5816
-0
lines changed

.github/workflows/publish.yml

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
name: '🚀 Publish'
2+
3+
on:
4+
push:
5+
branches:
6+
- master
7+
8+
jobs:
9+
release:
10+
name: 🚀 Publish
11+
runs-on: macos-13
12+
steps:
13+
- name: 📚 checkout
14+
uses: actions/[email protected]
15+
- name: 🟢 node
16+
uses: actions/[email protected]
17+
with:
18+
node-version: 18
19+
registry-url: https://registry.npmjs.org
20+
- name: 🧶 Print Yarn Version
21+
run: yarn --version
22+
- name: 🚀 Build & Publish
23+
run: |
24+
yarn config set npmAlwaysAuth true
25+
yarn config set npmAuthToken "${NODE_AUTH_TOKEN}"
26+
yarn install
27+
yarn build
28+
yarn npm publish --access public
29+
env:
30+
NODE_AUTH_TOKEN: ${{secrets.NPM_AUTH_TOKEN}}

.gitignore

Lines changed: 65 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,65 @@
1+
# OSX
2+
#
3+
.DS_Store
4+
5+
# Xcode
6+
#
7+
build/
8+
*.pbxuser
9+
!default.pbxuser
10+
*.mode1v3
11+
!default.mode1v3
12+
*.mode2v3
13+
!default.mode2v3
14+
*.perspectivev3
15+
!default.perspectivev3
16+
xcuserdata
17+
*.xccheckout
18+
*.moved-aside
19+
DerivedData
20+
*.hmap
21+
*.ipa
22+
*.xcuserstate
23+
24+
# Android/IntelliJ
25+
#
26+
build/
27+
.idea
28+
.gradle
29+
local.properties
30+
*.iml
31+
32+
# node.js
33+
#
34+
node_modules/
35+
npm-debug.log
36+
yarn-error.log*
37+
yarn.lock
38+
.yarn
39+
40+
# BUCK
41+
buck-out/
42+
\.buckd/
43+
*.keystore
44+
!debug.keystore
45+
46+
# fastlane
47+
#
48+
# It is recommended to not store the screenshots in the git repo. Instead, use fastlane to re-generate the
49+
# screenshots whenever they are needed.
50+
# For more information about the recommended setup visit:
51+
# https://docs.fastlane.tools/best-practices/source-control/
52+
53+
*/fastlane/report.xml
54+
*/fastlane/Preview.html
55+
*/fastlane/screenshots
56+
57+
# Bundle artifact
58+
*.jsbundle
59+
60+
# Ruby / CocoaPods
61+
/ios/Pods/
62+
/vendor/bundle/
63+
64+
# generated
65+
lib

.husky/commit-msg

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
npx commitlint --edit $1

.husky/pre-commit

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
npx lint-staged

.husky/pre-push

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
yarn build

.npmignore

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
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+
};

.yarnrc.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
nodeLinker: node-modules

CONTRIBUTING.md

Lines changed: 57 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,57 @@
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 or platform
28+
29+
#### Examples of good commit messages for this library:
30+
31+
```
32+
feat(ios): add new continuous haptic pattern support
33+
```
34+
35+
```
36+
fix(android): resolve vibration duration inconsistency
37+
```
38+
39+
```
40+
docs: update haptic pattern examples in README
41+
```
42+
43+
```
44+
feat(patterns): implement custom haptic sequence builder
45+
```
46+
47+
```
48+
fix(engine): prevent memory leak in haptic feedback manager
49+
```
50+
51+
```
52+
test(ios): add unit tests for CoreHaptics integration
53+
```
54+
55+
```
56+
chore: update dependencies and build configuration
57+
```

0 commit comments

Comments
 (0)