remove old/unused files

This commit is contained in:
Salakar 2018-08-05 02:18:10 +01:00
parent 52c63b5e18
commit 9b9b2beb20
6 changed files with 8985 additions and 11157 deletions

View File

@ -1,12 +0,0 @@
{
"ignore_dirs": [
".git",
"node_modules",
"android/build",
"android/.idea",
"ios/.idea",
"android/.gradle",
"android/gradle",
".idea"
]
}

View File

@ -1,32 +0,0 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- Generator: Adobe Illustrator 21.1.0, SVG Export Plug-In . SVG Version: 6.00 Build 0) -->
<svg version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px"
viewBox="0 0 183 197" style="enable-background:new 0 0 183 197;" xml:space="preserve">
<style type="text/css">
.st0{fill:#E88634;}
.st1{fill:#F9CB52;}
.st2{fill:#F4A73E;}
</style>
<title>Slice 1</title>
<g>
<path class="st0" d="M1,98c0.6,20.7,40.7,37,90,37v-8c-39.7-0.2-81.3-12.4-82-29C9,98,1,98,1,98z"/>
<path class="st1" d="M135.5,21.8c-18.3-9.8-52.4,16.7-77,59.4l6.9,4c20-34.3,51.4-64.3,66.1-56.5L135.5,21.8L135.5,21.8z"/>
<path class="st0" d="M1,98c0.6-20.7,40.7-37,90-37v8C51.3,69.2,9.7,81.4,9,98C9,98,1,98,1,98z"/>
<path class="st2" d="M46,20c-17.6,10.9-11.7,53.7,13,96.4l6.9-4C46.3,78,36,35.8,50,26.9L46,20L46,20z"/>
<path class="st1" d="M46,176.4C28.4,165.5,34.3,122.7,59,80l6.9,4c-19.7,34.5-30,76.6-15.9,85.5L46,176.4L46,176.4z"/>
<path class="st2" d="M45,20.5c18.3-9.8,52.4,16.7,77,59.4l-6.9,4C95.1,49.7,63.7,19.7,49,27.4L45,20.5z"/>
<path class="st0" d="M181,98c-0.6-20.7-40.7-37-90-37v8c39.7,0.2,81.3,12.4,82,29H181z"/>
<path class="st1" d="M45.2,176.5c0.1,0.1,0.2,0.1,0.3,0.2c18.1,10.5,52.6-16.1,77.5-59.2l-6.9-4.1C96,148,64.2,178.2,49.6,169.8
c-0.1-0.1-0.3-0.2-0.4-0.3L45.2,176.5L45.2,176.5z"/>
<path class="st2" d="M136,175.9c-18.3,9.8-52.4-16.7-77-59.4l-0.3-0.4l6.8-4.2c20,34.5,51.6,64.9,66.4,57.1L136,175.9L136,175.9z"
/>
<path class="st0" d="M181,97c0,0.2,0,0.3,0,0.5c0,20.9-40.3,37.5-90,37.5v-8c40-0.2,82-12.6,82-29.4c0-0.2,0-0.4,0-0.6H181z"/>
<path class="st2" d="M135,176.4c17.6-10.9,11.7-53.7-13-96.4l-0.4-0.8l-7,3.8l0,0.1c20,34.6,30.5,77.2,16.5,86.3L135,176.4z"/>
<path class="st1" d="M135.5,21.3c17.6,10.9,11.7,53.7-13,96.4l-6.9-4c19.7-34.5,30-76.6,15.9-85.5
C131.5,28.2,135.5,21.3,135.5,21.3z"/>
<path class="st2" d="M81,103.1c0,5.5,4.5,10,10,10l0,0c5.5,0,10-4.5,10-10c0-5.6-2.8-10-0.9-13.9c0,0-3,0.6-4.7,5
c0,0-5.6-5.6-3.2-13.4c0,0-5.7,2.2-5.1,9.5c0.5,6.2-0.6,7.3-0.6,7.3c0-5-3.9-7.3-3.9-7.3C83.7,96.4,81,98.1,81,103.1z"/>
<path class="st1" d="M98.2,105.5c0,4.2-3.2,7.7-7.4,7.7c-3.9-0.1-6.9-3.1-6.5-7c0.1-1.7,1.5-4.6,3.6-7.4l1.4,0.9
c0-3.5,1.6-8.2,1.6-8.2C92.1,96.4,98.2,97.7,98.2,105.5z"/>
</g>
</svg>

Before

Width:  |  Height:  |  Size: 2.3 KiB

View File

@ -1,52 +0,0 @@
const shell = require('shelljs');
const WATCH_SRC = require('path').resolve('./lib');
const WATCH_OUT = require('path').resolve('./tests/firebase');
/*
"tests-watch-init": "wml add $(node --eval \"console.log(require('path').resolve('./lib'));\") $(node --eval \"console.log(require('path').resolve('./tests/firebase'));\")",
"tests-watch-start": "watchman watch $(node --eval \"console.log(require('path').resolve('./lib'));\") && wml start",
"tests-watch-stop": "watchman watch-del $(node --eval \"console.log(require('path').resolve('./lib'));\") && wml stop"
*/
if (process.argv.includes('watch')) {
if (!shell.which('wml')) {
shell.echo('');
shell.echo('---------------------------------------------------');
shell.echo(' Missing required npm global from library wix/wml. ');
shell.echo('---------------------------------------------------');
shell.echo('');
shell.exit(1);
}
if (!shell.which('watchman')) {
shell.echo('');
shell.echo('---------------------------------------------------');
shell.echo(' Missing required executable: watchman ');
shell.echo('---------------------------------------------------');
shell.echo('');
shell.exit(1);
}
if (process.argv.includes('init')) {
console.log(`wml add ${WATCH_SRC} ${WATCH_OUT}`);
if (shell.exec(`wml add ${WATCH_SRC} ${WATCH_OUT}`).code !== 0) {
shell.echo('Error setting up watched location via WML.');
shell.exit(1);
}
}
if (process.argv.includes('start')) {
console.log(`watchman watch ${WATCH_SRC} && wml start`);
const watcher = shell.exec(`watchman watch ${WATCH_SRC} && wml start`, { async: true });
watcher.stdout.on('data', console.log);
watcher.stderr.on('data', console.error);
}
if (process.argv.includes('stop')) {
console.log(`watchman watch-del ${WATCH_SRC} && wml stop && wml rm all`);
const watcher = shell.exec(`watchman watch-del ${WATCH_SRC} && wml stop && wml rm all`, { async: true });
watcher.stdout.on('data', console.log);
watcher.stderr.on('data', console.error);
}
}

10007
bridge/package-lock.json generated

File diff suppressed because it is too large Load Diff

10009
package-lock.json generated

File diff suppressed because it is too large Load Diff

View File

@ -1,30 +0,0 @@
const fs = require('fs');
const path = require('path');
const appBuildGradlePath = path.join('android', 'app', 'build.gradle');
const defaultCompileStatement = "compile project(':react-native-firebase')";
const requiredCompileStatement =
"compile(project(':react-native-firebase')) {\n transitive = false\n }";
// android/build.gradle
// 1) TODO: Add Google Play maven repository
// 2) TODO: Add google-services dependency if required
// android/app/build.gradle
// 0) Load the file
let buildGradleContents = fs.readFileSync(appBuildGradlePath, 'utf8');
// 1) Check that react-native-firebase compile statement is the correct format
buildGradleContents = buildGradleContents.replace(
defaultCompileStatement,
requiredCompileStatement
);
// 2) TODO: Add firebase-core and play-services-base dependencies
// 3) TODO: Add google-services plugin
// 4) Write file
fs.writeFileSync(appBuildGradlePath, buildGradleContents);