Skip to content

Commit 4488b32

Browse files
committed
Rename projects!!!
1 parent f33fa29 commit 4488b32

File tree

8 files changed

+260
-318
lines changed

8 files changed

+260
-318
lines changed

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
1-
# react-native-context-menu
1+
# react-native-context-menu-view
22

33
Use native context menu functionality from React Native. On iOS this uses `UIMenu` functionality, and on Android it uses a `PopUpMenu`.
44

55
## Getting started
66

7-
`$ npm install react-native-context-menu --save`
7+
`$ npm install react-native-context-menu-view --save`
88

99
### Mostly automatic installation
1010

@@ -15,7 +15,7 @@ pod install
1515

1616
## Usage
1717
```javascript
18-
import ContextMenu from 'react-native-context-menu';
18+
import ContextMenu from 'react-native-context-menu-view';
1919

2020
// TODO: What to do with the module?
2121
```

example/App.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import React, { useState } from 'react';
22
import { SafeAreaView, View, StyleSheet } from 'react-native';
3-
import ContextMenu from 'react-native-context-menu';
3+
import ContextMenu from 'react-native-context-menu-view';
44

55
const App = () => {
66
const [color, setColor] = useState('blue');

example/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
"dependencies": {
1313
"react": "16.11.0",
1414
"react-native": "0.62.2",
15-
"react-native-context-menu": "link:../"
15+
"react-native-context-menu-view": "link:../"
1616
},
1717
"devDependencies": {
1818
"@babel/core": "^7.9.0",

example/yarn.lock

Lines changed: 247 additions & 27 deletions
Large diffs are not rendered by default.

ios/ReactNativeContextMenu.xcodeproj/project.pbxproj

Lines changed: 0 additions & 271 deletions
This file was deleted.

ios/ReactNativeContextMenu.xcworkspace/contents.xcworkspacedata

Lines changed: 0 additions & 7 deletions
This file was deleted.

package.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
2-
"name": "react-native-context-menu",
3-
"title": "React Native Context Menu",
2+
"name": "react-native-context-menu-view",
3+
"title": "React Native Context Menu View",
44
"version": "1.0.0",
55
"description": "TODO",
66
"main": "index.js",
@@ -9,8 +9,8 @@
99
},
1010
"repository": {
1111
"type": "git",
12-
"url": "git+https://github.com/mpiannucci/react-native-context-menu.git",
13-
"baseUrl": "https://github.com/mpiannucci/react-native-context-menu"
12+
"url": "git+https://github.com/mpiannucci/react-native-context-menu-view.git",
13+
"baseUrl": "https://github.com/mpiannucci/react-native-context-menu-view"
1414
},
1515
"keywords": [
1616
"react-native"

react-native-context-menu.podspec renamed to react-native-context-menu-view.podspec

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,18 +3,18 @@ require "json"
33
package = JSON.parse(File.read(File.join(__dir__, "package.json")))
44

55
Pod::Spec.new do |s|
6-
s.name = "react-native-context-menu"
6+
s.name = "react-native-context-menu-view"
77
s.version = package["version"]
88
s.summary = package["description"]
99
s.description = <<-DESC
10-
react-native-context-menu
10+
react-native-context-menu-view
1111
DESC
12-
s.homepage = "https://github.com/mpiannucci/react-native-context-menu"
12+
s.homepage = "https://github.com/mpiannucci/react-native-context-menu-view"
1313
s.license = "MIT"
1414
# s.license = { :type => "MIT", :file => "FILE_LICENSE" }
1515
s.authors = { "Matthew Iannucci" => "mpiannucci@gmail.com" }
1616
s.platforms = { :ios => "9.0" }
17-
s.source = { :git => "https://github.com/mpiannucci/react-native-context-menu.git", :tag => "#{s.version}" }
17+
s.source = { :git => "https://github.com/mpiannucci/react-native-context-menu-view.git", :tag => "#{s.version}" }
1818

1919
s.source_files = "ios/**/*.{h,m,swift}"
2020
s.requires_arc = true

0 commit comments

Comments
 (0)