Skip to content

Commit

Permalink
Release 1.2.0
Browse files Browse the repository at this point in the history
Release 1.2.0
  • Loading branch information
LunatiqueCoder authored Nov 29, 2021
2 parents c1debdb + 6962243 commit 108367c
Show file tree
Hide file tree
Showing 44 changed files with 410 additions and 557 deletions.
5 changes: 5 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@

## ⭐ Features
> ### Please visit the [`🌒 Luna Wiki`](https://github.com/plaut-ro/luna/wiki) to see why and how we decided to implement all those features.
> 🚀 For an advanced start, you can head to [react-native-firebase-authentification-example](https://github.com/invertase/react-native-firebase-authentication-example) which is built on top of Luna template
- [React Native Web](https://necolas.github.io/react-native-web/)
- [React Navigation](https://reactnavigation.org/)
Expand Down Expand Up @@ -62,6 +63,10 @@ Launches the app for IOS in debug mode.
> If you tried the above and still get the @plaut-ro/luna: Not found error, please try adding the `--ignore-existing` flag to force npx to ignore any locally installed versions of the CLI and use the latest.
Further information can be found here: https://github.com/react-native-community/cli#about

## Advanced

For an advanced start, you can head to [react-native-firebase-authentification-example](https://github.com/invertase/react-native-firebase-authentication-example) which is built on top of Luna template

## 📃 License

> 📃 This project is released under the [MIT License](LICENSE). \
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@plaut-ro/luna",
"version": "1.1.0",
"version": "1.2.0",
"description": "Luna is a React Native boilerplate with minimal configuration so your app can run on Android, IOS and Web concurrently.",
"repository": "git@github.com:plaut-ro/luna.git",
"publishConfig": {
Expand Down
27 changes: 18 additions & 9 deletions template/.eslintrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,33 +3,42 @@ module.exports = {
browser: true,
es2021: true,
node: true,
jest: true
jest: true,
},
extends: ['eslint:recommended', 'plugin:react/recommended', 'plugin:@typescript-eslint/recommended'],
extends: ['@react-native-community'],
parser: '@typescript-eslint/parser',
overrides: [
{
files: ['*.ts?'],
rules: {
'no-undef': 'off',
},
},
],
parserOptions: {
ecmaFeatures: {
jsx: true
jsx: true,
},
ecmaVersion: 12,
sourceType: 'module'
sourceType: 'module',
},
plugins: ['react', '@typescript-eslint', 'prettier'],
settings: {
react: {
version: 'detect'
}
version: 'detect',
},
},
rules: {
'@typescript-eslint/no-var-requires': 'off',
indent: ['error', 2],
'linebreak-style': ['error', 'unix'], // https://adaptivepatchwork.com/2012/03/01/mind-the-end-of-your-line/
quotes: ['error', 'single'],
semi: ['error', 'always'],
'prettier/prettier': 'error',
'react/display-name': 'off',
'react/no-unescaped-entities': 'off',
'react/jsx-uses-react': 'off',
'react/react-in-jsx-scope': 'off'
}
'react/react-in-jsx-scope': 'off',
'no-shadow': 'off',
'@typescript-eslint/no-shadow': ['error'],
},
};
11 changes: 4 additions & 7 deletions template/.prettierrc.js
Original file line number Diff line number Diff line change
@@ -1,10 +1,7 @@
module.exports = {
bracketSpacing: false,
bracketSameLine: true,
singleQuote: true,
jsxSingleQuote: true,
trailingComma: 'none',
endOfLine: 'lf',
semi: true,
arrowParens: 'always',
printWidth: 110
};
trailingComma: 'all',
arrowParens: 'avoid',
};
5 changes: 4 additions & 1 deletion template/android/app/src/debug/AndroidManifest.xml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,9 @@
android:usesCleartextTraffic="true"
tools:targetApi="28"
tools:ignore="GoogleAppIndexingWarning">
<activity android:name="com.facebook.react.devsupport.DevSettingsActivity" />
<activity
android:name="com.facebook.react.devsupport.DevSettingsActivity"
android:exported="false"
/>
</application>
</manifest>
1 change: 1 addition & 0 deletions template/android/app/src/main/AndroidManifest.xml
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@
android:label="@string/app_name"
android:configChanges="keyboard|keyboardHidden|orientation|screenSize|uiMode"
android:launchMode="singleTask"
android:exported="true"
android:windowSoftInputMode="adjustResize">
<intent-filter>
<action android:name="android.intent.action.MAIN" />
Expand Down
8 changes: 4 additions & 4 deletions template/android/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -2,18 +2,18 @@

buildscript {
ext {
buildToolsVersion = "30.0.2"
buildToolsVersion = "31.0.0"
minSdkVersion = 21
compileSdkVersion = 30
targetSdkVersion = 30
compileSdkVersion = 31
targetSdkVersion = 31
ndkVersion = "21.4.7075529"
}
repositories {
google()
mavenCentral()
}
dependencies {
classpath("com.android.tools.build:gradle:4.2.2")
classpath("com.android.tools.build:gradle:7.0.3")
// NOTE: Do not place your application dependencies here; they belong
// in the individual module build.gradle files
}
Expand Down
Binary file modified template/android/gradle/wrapper/gradle-wrapper.jar
Binary file not shown.
2 changes: 1 addition & 1 deletion template/android/gradle/wrapper/gradle-wrapper.properties
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-6.9-all.zip
distributionUrl=https\://services.gradle.org/distributions/gradle-7.3-all.zip
zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists
Loading

0 comments on commit 108367c

Please sign in to comment.