Skip to content

Commit 2e22b90

Browse files
authored
Merge pull request #14 from Naturalclar/chore/rename
chore: rename package to progress-view
2 parents ecabe90 + 8e90862 commit 2e22b90

File tree

3 files changed

+42
-36
lines changed

3 files changed

+42
-36
lines changed

README.md

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# @react-native-community/react-native-progress-view
1+
# @react-native-community/progress-view
22

33
[![Build Status][build-badge]][build]
44
[![Version][version-badge]][package]
@@ -11,13 +11,13 @@ Use `ProgressViewIOS` to render a UIProgressView on iOS.
1111
## Getting started
1212

1313
```
14-
$ npm install @react-native-community/react-native-progress-view --save
14+
$ npm install @react-native-community/progress-view --save
1515
```
1616

1717
or
1818

1919
```
20-
$ yarn add @react-native-community/react-native-progress-view
20+
$ yarn add @react-native-community/progress-view
2121
```
2222

2323
### Linking
@@ -35,7 +35,7 @@ $ cd ios && pod install
3535
Run the following commands
3636

3737
```
38-
$ react-native link @react-native-community/react-native-progress-view
38+
$ react-native link @react-native-community/progress-view
3939
```
4040

4141
### Manual installation
@@ -44,7 +44,7 @@ $ react-native link @react-native-community/react-native-progress-view
4444
<summary>Manually linking the library - iOS</summary>
4545

4646
1. In XCode, in the project navigator, right click `Libraries``Add Files to [your project's name]`
47-
2. Go to `node_modules``@react-native-community/react-native-progress-view` and add `RNCProgressView.xcodeproj`
47+
2. Go to `node_modules``@react-native-community/progress-view` and add `RNCProgressView.xcodeproj`
4848
3. In XCode, in the project navigator, select your project. Add `libRNCProgressView.a` to your project's `Build Phases``Link Binary With Libraries`
4949
4. Run your project (`Cmd+R`)
5050

@@ -53,7 +53,7 @@ $ react-native link @react-native-community/react-native-progress-view
5353
## Usage
5454

5555
```javascript
56-
import ProgressView from "@react-native-community/react-native-progress-view";
56+
import ProgressView from "@react-native-community/progress-view";
5757
```
5858

5959
## Reference
@@ -143,10 +143,10 @@ The library is released under the MIT license. For more information see [`LICENS
143143

144144
[build-badge]: https://img.shields.io/circleci/project/github/react-native-community/react-native-progress-view/master.svg?style=flat-square
145145
[build]: https://circleci.com/gh/react-native-community/react-native-progress-view
146-
[version-badge]: https://img.shields.io/npm/v/@react-native-community/react-native-progress-view.svg?style=flat-square
147-
[package]: https://www.npmjs.com/package/@react-native-community/react-native-progress-view
146+
[version-badge]: https://img.shields.io/npm/v/@react-native-community/progress-view.svg?style=flat-square
147+
[package]: https://www.npmjs.com/package/@react-native-community/progress-view
148148
[support-badge]:https://img.shields.io/badge/platforms-ios-lightgrey.svg?style=flat-square
149-
[license-badge]: https://img.shields.io/npm/l/@react-native-community/react-native-progress-view.svg?style=flat-square
149+
[license-badge]: https://img.shields.io/npm/l/@react-native-community/progress-view.svg?style=flat-square
150150
[license]: https://opensource.org/licenses/MIT
151151
[lean-core-badge]: https://img.shields.io/badge/Lean%20Core-Extracted-brightgreen.svg?style=flat-square
152152
[lean-core-issue]: https://github.com/facebook/react-native/issues/23313

example/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
import {name as appName} from './app.json';
1414
import * as React from 'react';
1515
import {AppRegistry, StyleSheet, View} from 'react-native';
16-
import ProgressViewIOS from '@react-native-community/react-native-progress-view';
16+
import ProgressViewIOS from '@react-native-community/progress-view';
1717

1818
type Props = {||};
1919
type State = {|

package.json

Lines changed: 32 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,37 @@
11
{
2-
"name": "@react-native-community/react-native-progress-view",
2+
"name": "@react-native-community/progress-view",
33
"version": "1.0.0",
44
"description": "React Native Progress View iOS Library",
5-
"publishConfig": {
6-
"access": "public"
5+
"keywords": [
6+
"ProgressViewIOS",
7+
"progress",
8+
"progress view",
9+
"react native",
10+
"react-native"
11+
],
12+
"homepage": "https://github.com/react-native-community/react-native-progress-view#readme",
13+
"repository": {
14+
"type": "git",
15+
"url": "git+https://github.com/react-native-community/react-native-progress-view.git"
716
},
17+
"license": "MIT",
18+
"author": "Kaiden Sin <[email protected]>",
19+
"files": [
20+
"android",
21+
"ios",
22+
"js",
23+
"react-native-progress-view.podspec"
24+
],
825
"main": "js/index.js",
926
"scripts": {
27+
"flow": "flow",
28+
"lint": "eslint .",
1029
"run:ios": "node node_modules/react-native/local-cli/cli.js run-ios --project-path \"./example/ios\"",
1130
"start": "node node_modules/react-native/local-cli/cli.js start --projectRoot example --watchFolders $PWD",
12-
"flow": "flow",
13-
"test":"jest",
14-
"lint": "eslint ."
31+
"test": "jest"
1532
},
16-
"peerDependencies": {
17-
"react": "^16.8.3",
18-
"react-native": ">=0.59.5"
33+
"jest": {
34+
"preset": "react-native"
1935
},
2036
"dependencies": {},
2137
"devDependencies": {
@@ -35,21 +51,11 @@
3551
"react-native": "^0.61.5",
3652
"react-test-renderer": "16.8.3"
3753
},
38-
"jest": {
39-
"preset": "react-native"
40-
},
41-
"repository": {
42-
"type": "git",
43-
"url": "git+https://github.com/react-native-community/react-native-progress-view.git"
54+
"peerDependencies": {
55+
"react": "^16.8.3",
56+
"react-native": ">=0.59.5"
4457
},
45-
"keywords": [
46-
"react-native",
47-
"react native",
48-
"ProgressViewIOS",
49-
"progress",
50-
"progress view"
51-
],
52-
"author": "Kaiden Sin <[email protected]>",
53-
"license": "MIT",
54-
"homepage": "https://github.com/react-native-community/react-native-progress-view#readme"
55-
}
58+
"publishConfig": {
59+
"access": "public"
60+
}
61+
}

0 commit comments

Comments
 (0)