From ac33e0ac6cb3ecb74913426aca157d886d25e2e2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micha=C5=82=20Pierzcha=C5=82a?= Date: Wed, 20 Nov 2019 11:34:00 +0100 Subject: [PATCH] chore: next branch cleanup --- .../__snapshots__/index-test.ts.snap | 9 ----- .../__fixtures__/PodfileWithInvalidKey.lock | 16 -------- .../getDependenciesFromPodfileLock.test.ts | 22 ----------- yarn.lock | 39 +------------------ 4 files changed, 1 insertion(+), 85 deletions(-) delete mode 100644 packages/platform-ios/src/link-pods/__fixtures__/PodfileWithInvalidKey.lock delete mode 100644 packages/platform-ios/src/link-pods/__tests__/getDependenciesFromPodfileLock.test.ts diff --git a/packages/cli/src/tools/config/__tests__/__snapshots__/index-test.ts.snap b/packages/cli/src/tools/config/__tests__/__snapshots__/index-test.ts.snap index f972557c0..273f25667 100644 --- a/packages/cli/src/tools/config/__tests__/__snapshots__/index-test.ts.snap +++ b/packages/cli/src/tools/config/__tests__/__snapshots__/index-test.ts.snap @@ -48,15 +48,6 @@ Object { } `; -exports[`should not add default React Native config when one present 1`] = ` -Array [ - Object { - "func": [Function], - "name": "test", - }, -] -`; - exports[`should read a config of a dependency and use it to load other settings 1`] = ` Object { "name": "react-native-test", diff --git a/packages/platform-ios/src/link-pods/__fixtures__/PodfileWithInvalidKey.lock b/packages/platform-ios/src/link-pods/__fixtures__/PodfileWithInvalidKey.lock deleted file mode 100644 index 2f92d2945..000000000 --- a/packages/platform-ios/src/link-pods/__fixtures__/PodfileWithInvalidKey.lock +++ /dev/null @@ -1,16 +0,0 @@ -PODS: - - MyPackage (1.0.0) - -EXTERNAL SOURCES: - ExternalInterface: - :path: !ruby/object:Pathname - path: "../node_modules/MyOtherPackage/ios" - -SPEC CHECKSUMS: - MyPackage: 77fd5fb102a4a5eedafa2c2b0245ceb7b7c15e45 - MyOtherPackage: a9bb76128853e98a9ef6d12b0c8c91debc9bc475 - - -PODFILE CHECKSUM: a8110dc7c367fc529b8b6a1084258784444d62ec - -COCOAPODS: 1.7.5 diff --git a/packages/platform-ios/src/link-pods/__tests__/getDependenciesFromPodfileLock.test.ts b/packages/platform-ios/src/link-pods/__tests__/getDependenciesFromPodfileLock.test.ts deleted file mode 100644 index c8df696a7..000000000 --- a/packages/platform-ios/src/link-pods/__tests__/getDependenciesFromPodfileLock.test.ts +++ /dev/null @@ -1,22 +0,0 @@ -/** - * Copyright (c) Facebook, Inc. and its affiliates. - * - * This source code is licensed under the MIT license found in the - * LICENSE file in the root directory of this source tree. - * - */ - -import getDependenciesFromPodfileLock from '../getDependenciesFromPodfileLock'; - -const path = require('path'); - -const PODFILES_PATH = path.join(__dirname, '../__fixtures__/'); - -describe('pods::getDependenciesFromPodfileLock', () => { - it('only parses parts of the lock file that are valid yaml', () => { - const podfileDeps = getDependenciesFromPodfileLock( - path.join(PODFILES_PATH, 'PodfileWithInvalidKey.lock'), - ); - expect(podfileDeps).toEqual(['MyPackage', 'MyOtherPackage']); - }); -}); diff --git a/yarn.lock b/yarn.lock index 9d4c2f829..2fccd8aed 100644 --- a/yarn.lock +++ b/yarn.lock @@ -3398,10 +3398,6 @@ before-after-hook@^2.0.0: resolved "https://registry.yarnpkg.com/before-after-hook/-/before-after-hook-2.1.0.tgz#b6c03487f44e24200dd30ca5e6a1979c5d2fb635" integrity sha512-IWIbu7pMqyw3EAJHzzHbWa85b6oud/yfKYg5rqB5hNE8CeMi3nX+2C2sj0HswfblST86hpVEOAb9x34NZd6P7A== -big-integer@^1.6.7: - version "1.6.36" - resolved "https://registry.yarnpkg.com/big-integer/-/big-integer-1.6.36.tgz#78631076265d4ae3555c04f85e7d9d2f3a071a36" - binary-extensions@^1.0.0: version "1.13.1" resolved "https://registry.yarnpkg.com/binary-extensions/-/binary-extensions-1.13.1.tgz#598afe54755b2868a5330d2aff9d4ebb53209b65" @@ -3432,18 +3428,6 @@ boolbase@^1.0.0, boolbase@~1.0.0: resolved "https://registry.yarnpkg.com/boolbase/-/boolbase-1.0.0.tgz#68dff5fbe60c51eb37725ea9e3ed310dcc1e776e" integrity sha1-aN/1++YMUes3cl6p4+0xDcwed24= -bplist-creator@0.0.7: - version "0.0.7" - resolved "https://registry.yarnpkg.com/bplist-creator/-/bplist-creator-0.0.7.tgz#37df1536092824b87c42f957b01344117372ae45" - dependencies: - stream-buffers "~2.2.0" - -bplist-parser@0.1.1: - version "0.1.1" - resolved "https://registry.yarnpkg.com/bplist-parser/-/bplist-parser-0.1.1.tgz#d60d5dcc20cba6dc7e1f299b35d3e1f95dafbae6" - dependencies: - big-integer "^1.6.7" - brace-expansion@^1.1.7: version "1.1.11" resolved "https://registry.yarnpkg.com/brace-expansion/-/brace-expansion-1.1.11.tgz#3c7fcbf529d87226f3d2f52b966ff5271eb441dd" @@ -9344,7 +9328,7 @@ pkginfo@0.x.x: version "0.4.1" resolved "https://registry.yarnpkg.com/pkginfo/-/pkginfo-0.4.1.tgz#b5418ef0439de5425fc4995042dced14fb2a84ff" -plist@^3.0.0, plist@^3.0.1: +plist@^3.0.0: version "3.0.1" resolved "https://registry.yarnpkg.com/plist/-/plist-3.0.1.tgz#a9b931d17c304e8912ef0ba3bdd6182baf2e1f8c" dependencies: @@ -10716,15 +10700,6 @@ signal-exit@^3.0.0, signal-exit@^3.0.2: resolved "https://registry.yarnpkg.com/signal-exit/-/signal-exit-3.0.2.tgz#b5fdc08f1287ea1178628e415e25132b73646c6d" integrity sha1-tf3AjxKH6hF4Yo5BXiUTK3NkbG0= -simple-plist@^1.0.0: - version "1.0.0" - resolved "https://registry.yarnpkg.com/simple-plist/-/simple-plist-1.0.0.tgz#bed3085633b22f371e111f45d159a1ccf94b81eb" - integrity sha512-043L2rO80LVF7zfZ+fqhsEkoJFvW8o59rt/l4ctx1TJWoTx7/jkiS1R5TatD15Z1oYnuLJytzE7gcnnBuIPL2g== - dependencies: - bplist-creator "0.0.7" - bplist-parser "0.1.1" - plist "^3.0.1" - simple-swizzle@^0.2.2: version "0.2.2" resolved "https://registry.yarnpkg.com/simple-swizzle/-/simple-swizzle-0.2.2.tgz#a4da6b635ffcccca33f70d17cb92592de95e557a" @@ -11037,10 +11012,6 @@ stream-browserify@^2.0.1: inherits "~2.0.1" readable-stream "^2.0.2" -stream-buffers@~2.2.0: - version "2.2.0" - resolved "https://registry.yarnpkg.com/stream-buffers/-/stream-buffers-2.2.0.tgz#91d5f5130d1cef96dcfa7f726945188741d09ee4" - stream-each@^1.1.0: version "1.2.3" resolved "https://registry.yarnpkg.com/stream-each/-/stream-each-1.2.3.tgz#ebe27a0c389b04fbcc233642952e10731afa9bae" @@ -12078,14 +12049,6 @@ ws@^6.1.2: dependencies: async-limiter "~1.0.0" -xcode@^2.0.0: - version "2.0.0" - resolved "https://registry.yarnpkg.com/xcode/-/xcode-2.0.0.tgz#134f1f94c26fbfe8a9aaa9724bfb2772419da1a2" - integrity sha512-5xF6RCjAdDEiEsbbZaS/gBRt3jZ/177otZcpoLCjGN/u1LrfgH7/Sgeeavpr/jELpyDqN2im3AKosl2G2W8hfw== - dependencies: - simple-plist "^1.0.0" - uuid "^3.3.2" - xml-name-validator@^3.0.0: version "3.0.0" resolved "https://registry.yarnpkg.com/xml-name-validator/-/xml-name-validator-3.0.0.tgz#6ae73e06de4d8c6e47f9fb181f78d648ad457c6a"