-
Notifications
You must be signed in to change notification settings - Fork 24
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
0 parents
commit f7a9bd9
Showing
174 changed files
with
17,785 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
|
||
[android] | ||
target = Google Inc.:Google APIs:23 | ||
|
||
[maven_repositories] | ||
central = https://repo1.maven.org/maven2 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
ENV='production' | ||
|
||
VERSION='1.0.0' | ||
BUILD='1' | ||
|
||
# Feature Toggling | ||
FEATURE_FLAG_CHEAT_CODES=false | ||
FEATURE_FLAG_CODE_PUSH=true | ||
FEATURE_FLAG_CODE_PUSH_MANUAL=false | ||
|
||
# iOS | ||
IOS_APP_ID='tech.bam.passculture' | ||
IOS_APP_NAME='PassCulture' | ||
IOS_PROVISIONING_PROFILE_SPECIFIER_DEVELOPMENT='' | ||
IOS_PROVISIONING_PROFILE_SPECIFIER_RELEASE='' | ||
|
||
# Android | ||
ANDROID_APP_ID='tech.bam.passculture' | ||
ANDROID_APP_NAME='PassCulture' | ||
|
||
# CodePush | ||
CODEPUSH_KEY_ANDROID='' | ||
CODEPUSH_KEY_IOS='' | ||
CODEPUSH_DEPLOYMENT_NAME='Production' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
ENV='staging' | ||
|
||
VERSION='1.0.0' | ||
BUILD='1' | ||
|
||
# Feature Toggling | ||
FEATURE_FLAG_CHEAT_CODES=true | ||
FEATURE_FLAG_CODE_PUSH=true | ||
FEATURE_FLAG_CODE_PUSH_MANUAL=true | ||
|
||
# iOS | ||
IOS_APP_ID='tech.bam.passculture.staging' | ||
IOS_APP_NAME='PassCulture S' | ||
IOS_PROVISIONING_PROFILE_SPECIFIER_DEVELOPMENT='match Development tech.bam.passculture.staging' | ||
IOS_PROVISIONING_PROFILE_SPECIFIER_RELEASE='match InHouse tech.bam.passculture.staging' | ||
|
||
# Android | ||
ANDROID_APP_ID='com.passculture' | ||
ANDROID_APP_NAME='PassCulture S' | ||
|
||
# CodePush | ||
CODEPUSH_KEY_ANDROID='' | ||
CODEPUSH_KEY_IOS='' | ||
CODEPUSH_DEPLOYMENT_NAME='Staging' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
node_modules | ||
package.json | ||
rn-cli.config.js | ||
.eslintrc.js | ||
android | ||
ios | ||
__mocks__ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,50 @@ | ||
module.exports = { | ||
plugins: ['react-native'], | ||
parser: '@typescript-eslint/parser', // Specifies the ESLint parser | ||
extends: [ | ||
'eslint:recommended', | ||
'plugin:react/recommended', // Uses the recommended rules from @eslint-plugin-react | ||
'plugin:react-native/all', // Enables all rules from react-native | ||
'plugin:@typescript-eslint/recommended', // Uses the recommended rules from @typescript-eslint/eslint-plugin | ||
'plugin:prettier/recommended', // Enables eslint-plugin-prettier and displays prettier errors as ESLint errors. Make sure this is always the last configuration in the extends array. | ||
], | ||
parserOptions: { | ||
ecmaVersion: 2018, // Allows for the parsing of modern ECMAScript features | ||
sourceType: 'module', // Allows for the use of imports | ||
ecmaFeatures: { | ||
jsx: true, // Allows for the parsing of JSX | ||
}, | ||
}, | ||
rules: { | ||
// Place to specify ESLint rules. Can be used to overwrite rules specified from the extended configs | ||
// e.g. "@typescript-eslint/explicit-function-return-type": "off", | ||
'@typescript-eslint/no-unused-vars': 'error', | ||
'@typescript-eslint/no-explicit-any': 'error', | ||
'@typescript-eslint/ban-ts-comment': 'warn', | ||
'@typescript-eslint/indent': 'off', | ||
'@typescript-eslint/explicit-function-return-type': 'off', | ||
'react/prop-types': 'off', | ||
'react-native/sort-styles': 'off', | ||
'no-console': ['error', { allow: ['warn', 'error'] }], | ||
}, | ||
settings: { | ||
react: { | ||
version: 'detect', // Tells eslint-plugin-react to automatically detect the version of React to use | ||
}, | ||
}, | ||
env: { | ||
'react-native/react-native': true, | ||
}, | ||
// Glob based definitions | ||
overrides: [ | ||
{ | ||
files: ['**/*.test.ts', '**/*.test.tsx'], | ||
env: { | ||
jest: true, | ||
}, | ||
rules: { | ||
'@typescript-eslint/explicit-function-return-type': 'off', | ||
}, | ||
}, | ||
], | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
*.pbxproj -text | ||
*.keystore.properties filter=crypt diff=crypt | ||
*.secret filter=crypt diff=crypt |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,76 @@ | ||
# OSX | ||
# | ||
.DS_Store | ||
|
||
# Xcode | ||
# | ||
build/ | ||
*.pbxuser | ||
!default.pbxuser | ||
*.mode1v3 | ||
!default.mode1v3 | ||
*.mode2v3 | ||
!default.mode2v3 | ||
*.perspectivev3 | ||
!default.perspectivev3 | ||
xcuserdata | ||
*.xccheckout | ||
*.moved-aside | ||
DerivedData | ||
*.hmap | ||
*.ipa | ||
*.xcuserstate | ||
project.xcworkspace | ||
|
||
# Android/IntelliJ | ||
# | ||
build/ | ||
.idea | ||
.gradle | ||
local.properties | ||
*.iml | ||
|
||
# node.js | ||
# | ||
node_modules/ | ||
npm-debug.log | ||
yarn-error.log | ||
|
||
# BUCK | ||
buck-out/ | ||
\.buckd/ | ||
|
||
# fastlane | ||
# | ||
# It is recommended to not store the screenshots in the git repo. Instead, use fastlane to re-generate the | ||
# screenshots whenever they are needed. | ||
# For more information about the recommended setup visit: | ||
# https://docs.fastlane.tools/best-practices/source-control/ | ||
|
||
/fastlane/report.xml | ||
/fastlane/Preview.html | ||
/fastlane/screenshots | ||
|
||
# Bundle artifact | ||
*.jsbundle | ||
|
||
# CocoaPods | ||
/ios/Pods | ||
|
||
# JEST | ||
.jest/ | ||
coverage/ | ||
|
||
/dist | ||
*.back | ||
|
||
# ESLint | ||
.eslintcache | ||
|
||
# @react-native-config codegen | ||
ios/react-native-config.xcconfig | ||
ios/envfile | ||
|
||
# Lingui | ||
src/locales/_build | ||
src/locales/*/*.js |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
{ | ||
"localeDir": "src/locales/", | ||
"srcPathDirs": ["src/"], | ||
"srcPathIgnorePatterns": [ | ||
"/__tests__/" | ||
], | ||
"format": "po", | ||
"sourceLocale": "en" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
.gitignore |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
node_modules | ||
package.json |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
{ | ||
"trailingComma": "es5", | ||
"singleQuote": true, | ||
"printWidth": 100 | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
language: node_js | ||
node_js: | ||
- '12' | ||
install: yarn --frozen-lockfile | ||
script: yarn test | ||
cache: | ||
directories: | ||
- node_modules | ||
- .eslintcache | ||
env: | ||
matrix: | ||
- CI=true TZ=Europe/Paris | ||
notifications: | ||
email: false |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
{ | ||
"editor.formatOnSave": true, | ||
"prettier.requireConfig": true, | ||
"eslint.enable": true, | ||
"eslint.validate": ["javascript", "javascriptreact", "typescript", "typescriptreact"], | ||
"files.associations": { | ||
"Fastfile*": "ruby", | ||
"Appfile": "ruby", | ||
"Matchfile": "ruby", | ||
"yarn.lock": "text", | ||
".env*": "dotenv" | ||
}, | ||
"typescript.tsdk": "node_modules/typescript/lib" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
{} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
source "https://rubygems.org" | ||
|
||
gem "fastlane" | ||
gem "cocoapods" | ||
|
||
plugins_path = File.join(File.dirname(__FILE__), 'fastlane', 'Pluginfile') | ||
eval_gemfile(plugins_path) if File.exist?(plugins_path) |
Oops, something went wrong.