Skip to content

Commit 353c54c

Browse files
committed
rewrite continue
1 parent 8318637 commit 353c54c

Some content is hidden

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

45 files changed

+3821
-3186
lines changed

.babelrc

-7
This file was deleted.

.eslintrc

-29
This file was deleted.

.npmignore

+11
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
App.tsx
2+
app.json
3+
babel.config.js
4+
metro.config.js
5+
app.json
6+
.expo
7+
src
8+
.prettierrc
9+
tsconfig.json
10+
tslint.json
11+
.github

.npmrc

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
package-lock=false

CHANGELOG.md

-7
This file was deleted.

CONTRIBUTING.md

-7
This file was deleted.

LICENSE

+22
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,27 @@
11
MIT License
22

3+
Copyright (c) 2020 Xavier Carpentier SAS
4+
5+
Permission is hereby granted, free of charge, to any person obtaining a copy
6+
of this software and associated documentation files (the "Software"), to deal
7+
in the Software without restriction, including without limitation the rights
8+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9+
copies of the Software, and to permit persons to whom the Software is
10+
furnished to do so, subject to the following conditions:
11+
12+
The above copyright notice and this permission notice shall be included in all
13+
copies or substantial portions of the Software.
14+
15+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21+
SOFTWARE.
22+
23+
MIT License
24+
325
Copyright (c) 2017 OK GROW!
426

527
Permission is hereby granted, free of charge, to any person obtaining a copy

app.json

-18
This file was deleted.

babel.config.js

+6
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
module.exports = function (api) {
2+
api.cache(true)
3+
return {
4+
presets: ['babel-preset-expo'],
5+
}
6+
}

metro.config.js

+5
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
module.exports = {
2+
resolver: {
3+
sourceExts: ['js', 'json', 'jsx', 'ts', 'tsx'],
4+
},
5+
}

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"name": "@applications-developer/react-native-copilot",
2+
"name": "@applications-developer/rn-copilot",
33
"version": "3.0.0",
44
"description": "Make an interactive step by step tour guide for you react-native app (a rewrite of react-native-copilot)",
55
"main": "node_modules/expo/AppEntry.js",

src/components/AnimatedPath.js

-7
This file was deleted.

src/components/AnimatedPath.tsx

+6
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
import { Animated } from 'react-native'
2+
import { Path } from 'react-native-svg'
3+
4+
const AnimatedSvgPath = Animated.createAnimatedComponent(Path)
5+
6+
export default AnimatedSvgPath

src/components/Button.js

-19
This file was deleted.

src/components/Button.tsx

+20
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
import * as React from 'react'
2+
import { View, Text, StyleProp, ViewStyle } from 'react-native'
3+
4+
import styles from './style'
5+
6+
interface Props {
7+
wrapperStyle: StyleProp<ViewStyle>
8+
style: StyleProp<ViewStyle>
9+
children?: React.ReactElement
10+
}
11+
12+
const Button = ({ wrapperStyle, style, children, ...rest }: Props) => (
13+
<View style={[styles.button, wrapperStyle]}>
14+
<Text style={[styles.buttonText, style]} {...rest}>
15+
{children}
16+
</Text>
17+
</View>
18+
)
19+
20+
export default Button

src/components/ConnectedCopilotStep.js

-94
This file was deleted.

0 commit comments

Comments
 (0)