Skip to content

Commit 94f8e9e

Browse files
authored
Rename Suggestion (#4)
Rename Suggestion
2 parents 4a5b371 + a5083e0 commit 94f8e9e

File tree

2 files changed

+18
-10
lines changed

2 files changed

+18
-10
lines changed

README.md

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

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

44
[![Lean Core Badge][lean-core-badge]][lean-core-issue]
55

66
## Getting started
77

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

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

2323
### Mostly automatic installation
2424

25-
`$ react-native link react-native-androidprogressbar`
25+
`$ react-native link @react-native-community/progress-bar-android`
2626

2727
### Manual installation
2828

2929

3030
#### iOS
3131

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

@@ -41,18 +41,18 @@ npm run build:android
4141
- Add `new RNCAndroidprogressbarPackage()` to the list returned by the `getPackages()` method
4242
2. Append the following lines to `android/settings.gradle`:
4343
```
44-
include ':react-native-androidprogressbar'
45-
project(':react-native-androidprogressbar').projectDir = new File(rootProject.projectDir, '../../node_modules/react-native-androidprogressbar/android')
44+
include ':@react-native-community_progress-bar-android'
45+
project(':@react-native-community_progress-bar-android').projectDir = new File(rootProject.projectDir, '../../node_modules/@react-native-community/progress-bar-android/android')
4646
```
4747
3. Insert the following lines inside the dependencies block in `android/app/build.gradle`:
4848
```
49-
compile project(':react-native-androidprogressbar')
49+
implementation project(':@react-native-community_progress-bar-android')
5050
```
5151

5252

5353
## Usage
5454
```javascript
55-
import RNCAndroidprogressbar from 'react-native-androidprogressbar';
55+
import RNCAndroidprogressbar from '@react-native-community/progress-bar-android';
5656

5757
// TODO: What to do with the module?
5858
RNCAndroidprogressbar;

package.json

Lines changed: 10 additions & 2 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": "",

0 commit comments

Comments
 (0)