Skip to content

Commit 80327be

Browse files
committed
fix: fix names files and folders
1 parent 4e32947 commit 80327be

File tree

36 files changed

+279
-325
lines changed

36 files changed

+279
-325
lines changed

.DS_Store

0 Bytes
Binary file not shown.

.npmignore

Lines changed: 67 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,67 @@
1+
# OSX
2+
#
3+
.DS_Store
4+
5+
# Xcode
6+
#
7+
template/build/
8+
template/*.pbxuser
9+
template/!default.pbxuser
10+
template/*.mode1v3
11+
template/!default.mode1v3
12+
template/*.mode2v3
13+
template/!default.mode2v3
14+
template/*.perspectivev3
15+
template/!default.perspectivev3
16+
template/xcuserdata
17+
template/*.xccheckout
18+
template/*.moved-aside
19+
template/DerivedData
20+
template/*.hmap
21+
template/*.ipa
22+
template/*.xcuserstate
23+
24+
# Android/IntelliJ
25+
#
26+
template/build/
27+
template/.idea
28+
template/.gradle
29+
template/local.properties
30+
template/*.iml
31+
32+
# Visual Studio Code
33+
#
34+
.vscode/
35+
template/.env
36+
template/.env*
37+
38+
# node.js
39+
#
40+
template/node_modules/
41+
template/npm-debug.log
42+
template/yarn-error.log
43+
44+
# BUCK
45+
buck-out/
46+
\.buckd/
47+
*.keystore
48+
!debug.keystore
49+
50+
# fastlane
51+
#
52+
# It is recommended to not store the screenshots in the git repo. Instead, use fastlane to re-generate the
53+
# screenshots whenever they are needed.
54+
# For more information about the recommended setup visit:
55+
# https://docs.fastlane.tools/best-practices/source-control/
56+
57+
*/fastlane/report.xml
58+
*/fastlane/Preview.html
59+
*/fastlane/screenshots
60+
61+
# Bundle artifact
62+
*.jsbundle
63+
64+
# CocoaPods
65+
template/ios/Pods/
66+
template/android/build/
67+

docs/file-walkthrough.md

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

package.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
2-
"name": "@hmarques98/react-native-template",
3-
"version": "1.0.0",
2+
"name": "@hmarques98/react-native-template-typescript",
3+
"version": "1.0.2",
44
"description": "A minimal template with good architecture and common packages to let you focus on writing features right away.",
55
"scripts": {},
66
"files": [
@@ -9,7 +9,7 @@
99
],
1010
"repository": {
1111
"type": "git",
12-
"url": "git+https://github.com/hmarques98/react-native-template-typescript.git"
12+
"url": "git+https://github.com/hmarques98/template-react-native-typescript.git"
1313
},
1414
"keywords": [
1515
"react",
@@ -21,7 +21,7 @@
2121
],
2222
"author": "Henrique Marques <marquesprogrammer@hotmail.com>",
2323
"license": "MIT",
24-
"homepage": "https://github.com/hmarques98/react-native-template-typescript",
24+
"homepage": "https://github.com/hmarques98/template-react-native-typescript",
2525
"release-it": {
2626
"git": {
2727
"commitMessage": "chore: release v${version}"

template/.detoxrc.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,8 @@
44
"apps": {
55
"ios": {
66
"type": "ios.app",
7-
"binaryPath": "ios/build/Build/Products/Release-iphonesimulator/template.app",
8-
"build": "xcodebuild -workspace ios/template.xcworkspace -scheme template -configuration ios -sdk iphonesimulator -derivedDataPath ios/build"
7+
"binaryPath": "ios/build/Build/Products/Release-iphonesimulator/HelloWorld.app",
8+
"build": "xcodebuild -workspace ios/HelloWorld.xcworkspace -scheme HelloWorld -configuration ios -sdk iphonesimulator -derivedDataPath ios/build"
99
},
1010
"android": {
1111
"type": "android.apk",

template/android/app/_BUCK

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,12 +35,12 @@ android_library(
3535

3636
android_build_config(
3737
name = "build_config",
38-
package = "com.template",
38+
package = "com.HelloWorld",
3939
)
4040

4141
android_resource(
4242
name = "res",
43-
package = "com.template",
43+
package = "com.HelloWorld",
4444
res = "src/main/res",
4545
)
4646

template/android/app/build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -135,7 +135,7 @@ android {
135135
}
136136

137137
defaultConfig {
138-
applicationId "com.template"
138+
applicationId "com.HelloWorld"
139139
minSdkVersion rootProject.ext.minSdkVersion
140140
targetSdkVersion rootProject.ext.targetSdkVersion
141141
versionCode 1

template/android/app/src/debug/java/com/template/ReactNativeFlipper.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
* <p>This source code is licensed under the MIT license found in the LICENSE file in the root
55
* directory of this source tree.
66
*/
7-
package com.template;
7+
package com.HelloWorld;
88

99
import android.content.Context;
1010
import com.facebook.flipper.android.AndroidFlipperClient;

template/android/app/src/main/AndroidManifest.xml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
2-
package="com.template">
2+
package="com.HelloWorld">
33

44
<uses-permission android:name="android.permission.INTERNET" />
55

@@ -23,18 +23,18 @@
2323
<action android:name="android.intent.action.VIEW" />
2424
<category android:name="android.intent.category.DEFAULT" />
2525
<category android:name="android.intent.category.BROWSABLE" />
26-
<!-- Accepts URIs that begin with "http://www.example.com.template-->
26+
<!-- Accepts URIs that begin with "http://www.example.com.HelloWorld-->
2727
<data android:scheme="http"
2828
android:host="www.example.com"
29-
android:pathPrefix="/template" />
29+
android:pathPrefix="/HelloWorld" />
3030
<!-- note that the leading "/" is required for pathPrefix-->
3131
</intent-filter>
3232
<intent-filter>
3333
<action android:name="android.intent.action.VIEW" />
3434
<category android:name="android.intent.category.DEFAULT" />
3535
<category android:name="android.intent.category.BROWSABLE" />
36-
<!-- Accepts URIs that begin with "template://” -->
37-
<data android:scheme="template" />
36+
<!-- Accepts URIs that begin with "HelloWorld://” -->
37+
<data android:scheme="HelloWorld" />
3838
</intent-filter>
3939
</activity>
4040
<activity

template/android/app/src/main/java/com/template/MainActivity.java renamed to template/android/app/src/main/java/com/HelloWorld/MainActivity.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
package com.template;
1+
package com.HelloWorld;
22

33
import android.os.Bundle; // <- add this necessary import
44
import com.facebook.react.ReactActivity;
@@ -13,7 +13,7 @@ public class MainActivity extends ReactActivity {
1313

1414
@Override
1515
protected String getMainComponentName() {
16-
return "template";
16+
return "HelloWorld";
1717
}
1818

1919
@Override

0 commit comments

Comments
 (0)