Explorar el Código

update deps, fix release tests

Daniel Zlotin hace 7 años
padre
commit
978fc283a6
Se han modificado 6 ficheros con 318 adiciones y 242 borrados
  1. 0
    4
      .eslintrc
  2. 2
    2
      package.json
  3. 1
    1
      playground/android/app/build.gradle
  4. BIN
      playground/android/playground.keystore
  5. 5
    5
      scripts/test.all.js
  6. 310
    230
      yarn.lock

+ 0
- 4
.eslintrc Ver fichero

@@ -339,10 +339,6 @@
339 339
       "error",
340 340
       "always"
341 341
     ],
342
-    "space-before-function-paren": [
343
-      "error",
344
-      "never"
345
-    ],
346 342
     "space-in-parens": [
347 343
       "error",
348 344
       "never"

+ 2
- 2
package.json Ver fichero

@@ -53,10 +53,10 @@
53 53
     "babel-eslint": "7.x.x",
54 54
     "babel-jest": "20.x.x",
55 55
     "babel-polyfill": "6.x.x",
56
-    "babel-preset-react-native": "1.x.x",
56
+    "babel-preset-react-native": "2.x.x",
57 57
     "babel-register": "6.x.x",
58 58
     "detox": "5.x.x",
59
-    "eslint": "3.x.x",
59
+    "eslint": "4.x.x",
60 60
     "eslint-plugin-babel": "4.x.x",
61 61
     "eslint-plugin-react": "7.x.x",
62 62
     "eslint-plugin-react-native": "2.x.x",

+ 1
- 1
playground/android/app/build.gradle Ver fichero

@@ -20,7 +20,7 @@ android {
20 20
     }
21 21
     signingConfigs {
22 22
         release {
23
-            storeFile file('../playground.jks')
23
+            storeFile file('../playground.keystore')
24 24
             storePassword "playground"
25 25
             keyAlias "playground"
26 26
             keyPassword "playground"

BIN
playground/android/playground.keystore Ver fichero


+ 5
- 5
scripts/test.all.js Ver fichero

@@ -1,11 +1,11 @@
1
+
1 2
 const exec = require('shell-utils').exec;
2 3
 
3
-function run() {
4
+async function run() {
4 5
   exec.execSync(`yarn run clean`);
5
-  exec.execSync(`yarn run test-js`);
6
-  exec.execSync(`yarn run test-unit-android -- release && yarn run test-unit-ios -- release`);
7
-  exec.exec(`yarn run test-e2e-android -- release`);
8
-  exec.exec(`yarn run test-e2e-ios -- release`);
6
+  exec.execSync(`yarn run test-js & yarn run test-unit-android -- release & yarn run test-unit-ios -- release`);
7
+  await Promise.all([exec.execAsync(`yarn run test-e2e-android -- release`), exec.execAsync(`yarn run test-e2e-ios -- release`)]);
8
+  console.log('DONE!!!'); //eslint-disable-line
9 9
 }
10 10
 
11 11
 run();

+ 310
- 230
yarn.lock
La diferencia del archivo ha sido suprimido porque es demasiado grande
Ver fichero