Skip to content

Commit ae350b8

Browse files
committed
chore: rename suggestion
1 parent 9db8501 commit ae350b8

File tree

2 files changed

+19
-11
lines changed

2 files changed

+19
-11
lines changed

README.md

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11

2-
# react-native-androidprogressbar
2+
# @react-native-community/progress-bar-android
33

44
## Getting started
55

6-
`$ npm install react-native-androidprogressbar --save`
6+
`$ npm install @react-native-community/progress-bar-android --save`
77

88
## Example setup
99
![](https://user-images.githubusercontent.com/25158423/57262658-0d4c5b00-703b-11e9-9e0d-bdf7cb8f942a.gif)
@@ -20,15 +20,15 @@ npm run build:android
2020

2121
### Mostly automatic installation
2222

23-
`$ react-native link react-native-androidprogressbar`
23+
`$ react-native link @react-native-community/progress-bar-android`
2424

2525
### Manual installation
2626

2727

2828
#### iOS
2929

3030
1. In XCode, in the project navigator, right click `Libraries``Add Files to [your project's name]`
31-
2. Go to `node_modules``react-native-androidprogressbar` and add `RNCAndroidprogressbar.xcodeproj`
31+
2. Go to `node_modules``@react-native-community/progress-bar-android` and add `RNCAndroidprogressbar.xcodeproj`
3232
3. In XCode, in the project navigator, select your project. Add `libRNCAndroidprogressbar.a` to your project's `Build Phases``Link Binary With Libraries`
3333
4. Run your project (`Cmd+R`)<
3434

@@ -39,18 +39,18 @@ npm run build:android
3939
- Add `new RNCAndroidprogressbarPackage()` to the list returned by the `getPackages()` method
4040
2. Append the following lines to `android/settings.gradle`:
4141
```
42-
include ':react-native-androidprogressbar'
43-
project(':react-native-androidprogressbar').projectDir = new File(rootProject.projectDir, '../../node_modules/react-native-androidprogressbar/android')
42+
include ':@react-native-community_progress-bar-android'
43+
project(':@react-native-community_progress-bar-android').projectDir = new File(rootProject.projectDir, '../../node_modules/@react-native-community/progress-bar-android/android')
4444
```
4545
3. Insert the following lines inside the dependencies block in `android/app/build.gradle`:
4646
```
47-
compile project(':react-native-androidprogressbar')
47+
implementation project(':@react-native-community_progress-bar-android')
4848
```
4949

5050

5151
## Usage
5252
```javascript
53-
import RNCAndroidprogressbar from 'react-native-androidprogressbar';
53+
import RNCAndroidprogressbar from '@react-native-community/progress-bar-android';
5454

5555
// TODO: What to do with the module?
5656
RNCAndroidprogressbar;

package.json

Lines changed: 11 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"name": "react-native-androidprogressbar",
2+
"name": "@react-native-community/progress-bar-android",
33
"version": "1.0.0",
44
"description": "React Native Android Progress Bar",
55
"main": "index.js",
@@ -13,7 +13,15 @@
1313
"keywords": [
1414
"react-native",
1515
"react native",
16-
"androidprogressbar"
16+
"androidprogressbar",
17+
"android",
18+
"progress-bar"
19+
],
20+
"files": [
21+
"android",
22+
"ios",
23+
"js",
24+
"index.js"
1725
],
1826
"author": "",
1927
"license": "",
@@ -41,4 +49,4 @@
4149
"jest": {
4250
"preset": "react-native"
4351
}
44-
}
52+
}

0 commit comments

Comments
 (0)