Skip to content

Commit

Permalink
fix: pulled main
Browse files Browse the repository at this point in the history
  • Loading branch information
akp111 committed Oct 24, 2023
2 parents 484096d + a7afa38 commit 87f469d
Show file tree
Hide file tree
Showing 139 changed files with 4,666 additions and 2,325 deletions.
35 changes: 35 additions & 0 deletions lefthook.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
EXAMPLE USAGE:

Refer for explanation to following link:
https://github.com/evilmartians/lefthook/blob/master/docs/configuration.md

pre-push:
commands:
packages-audit:
tags: frontend security
run: yarn audit
gems-audit:
tags: backend security
run: bundle audit

pre-commit:
parallel: true
commands:
eslint:
glob: "*.{js,ts,jsx,tsx}"
run: yarn eslint {staged_files}
rubocop:
tags: backend style
glob: "*.rb"
exclude: "application.rb|routes.rb"
run: bundle exec rubocop --force-exclusion {all_files}
govet:
tags: backend style
files: git ls-files -m
glob: "*.go"
run: go vet {files}
scripts:
"hello.js":
runner: node
"any.go":
runner: go run
4 changes: 2 additions & 2 deletions packages/examples/sdk-frontend/pages/index.tsx
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { ConnectButtonComp } from '@rainbow-me/rainbowkit';
import { ConnectButton } from '@rainbow-me/rainbowkit';
import { NextPage } from 'next';
import Link from 'next/link';
import styled from 'styled-components';
Expand All @@ -7,7 +7,7 @@ const Index: NextPage = () => {
return (
<Container>
<h1>Hello Next.js 👋</h1>
<ConnectButtonComp />
<ConnectButton />
<Button>
<Link href="/video">Video</Link>
</Button>
Expand Down
6 changes: 0 additions & 6 deletions packages/examples/sdk-frontend/pages/video.tsx
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
import type { NextPage } from 'next';
import Head from 'next/head';
import { ConnectButton } from '@rainbow-me/rainbowkit';

import * as PushAPI from '@pushprotocol/restapi';
import { ENV } from '@pushprotocol/restapi/src/lib/constants';
Expand Down Expand Up @@ -242,10 +240,6 @@ const Home: NextPage = () => {
<Heading>Push Video SDK Demo</Heading>
<CallInfo>Video Call Status: {data.incoming[0].status}</CallInfo>

<HContainer>
<ConnectButtonComp />
</HContainer>

{isConnected ? (
<>
<HContainer>
Expand Down
11 changes: 0 additions & 11 deletions packages/reactnative/.babelrc

This file was deleted.

15 changes: 15 additions & 0 deletions packages/reactnative/.editorconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
# EditorConfig helps developers define and maintain consistent
# coding styles between different editors and IDEs
# editorconfig.org

root = true

[*]

indent_style = space
indent_size = 2

end_of_line = lf
charset = utf-8
trim_trailing_whitespace = true
insert_final_newline = true
20 changes: 0 additions & 20 deletions packages/reactnative/.eslintrc.json

This file was deleted.

3 changes: 3 additions & 0 deletions packages/reactnative/.gitattributes
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
*.pbxproj -text
# specific for windows script files
*.bat text eol=crlf
70 changes: 70 additions & 0 deletions packages/reactnative/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,70 @@
# OSX
#
.DS_Store

# XDE
.expo/

# VSCode
.vscode/
jsconfig.json

# Xcode
#
build/
*.pbxuser
!default.pbxuser
*.mode1v3
!default.mode1v3
*.mode2v3
!default.mode2v3
*.perspectivev3
!default.perspectivev3
xcuserdata
*.xccheckout
*.moved-aside
DerivedData
*.hmap
*.ipa
*.xcuserstate
project.xcworkspace

# Android/IJ
#
.classpath
.cxx
.gradle
.idea
.project
.settings
local.properties
android.iml

# Cocoapods
#
example/ios/Pods

# Ruby
example/vendor/

# node.js
#
node_modules/
npm-debug.log
yarn-debug.log
yarn-error.log

# BUCK
buck-out/
\.buckd/
android/app/libs
android/keystores/debug.keystore

# Expo
.expo/

# Turborepo
.turbo/

# generated by bob
lib/
1 change: 1 addition & 0 deletions packages/reactnative/.nvmrc
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
16.18.1
1 change: 1 addition & 0 deletions packages/reactnative/.watchmanconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
{}
3 changes: 3 additions & 0 deletions packages/reactnative/.yarnrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
# Override Yarn command so we can automatically setup the repo on running `yarn`

yarn-path "scripts/bootstrap.js"
32 changes: 0 additions & 32 deletions packages/reactnative/CHANGELOG.md

This file was deleted.

Loading

0 comments on commit 87f469d

Please sign in to comment.