From 4e7a69ac56e334c65222a05e6b735a6f0de94d11 Mon Sep 17 00:00:00 2001 From: "Christopher J. Brody" Date: Tue, 5 May 2020 11:20:02 -0400 Subject: [PATCH 1/3] remove extra generated android/README.md --- templates/android.js | 17 ----------------- 1 file changed, 17 deletions(-) diff --git a/templates/android.js b/templates/android.js index ffea49d0..0d8be406 100644 --- a/templates/android.js +++ b/templates/android.js @@ -289,21 +289,4 @@ public class ${name}Package implements ReactPackage { } `, }, { -}, { - name: () => `${platform}/README.md`, - content: () => `README -====== - -If you want to publish the lib as a maven dependency, follow these steps before publishing a new version to npm: - -1. Be sure to have the Android [SDK](https://developer.android.com/studio/index.html) and [NDK](https://developer.android.com/ndk/guides/index.html) installed -2. Be sure to have a \`local.properties\` file in this folder that points to the Android SDK and NDK -\`\`\` -ndk.dir=/Users/{username}/Library/Android/sdk/ndk-bundle -sdk.dir=/Users/{username}/Library/Android/sdk -\`\`\` -3. Delete the \`maven\` folder -4. Run \`./gradlew installArchives\` -5. Verify that latest set of generated files is in the maven folder with the correct version number -` }]; From 8964cd92173f5eeff52e5d6274064ab361379ef7 Mon Sep 17 00:00:00 2001 From: "Christopher J. Brody" Date: Tue, 5 May 2020 11:21:37 -0400 Subject: [PATCH 2/3] cleanup: remove extra `}, {` line from templates/android.js --- templates/android.js | 1 - 1 file changed, 1 deletion(-) diff --git a/templates/android.js b/templates/android.js index 0d8be406..be049204 100644 --- a/templates/android.js +++ b/templates/android.js @@ -288,5 +288,4 @@ public class ${name}Package implements ReactPackage { } } `, -}, { }]; From d116d446c3bc398535250b6887f0c63a0104abc9 Mon Sep 17 00:00:00 2001 From: "Christopher J. Brody" Date: Tue, 5 May 2020 11:22:34 -0400 Subject: [PATCH 3/3] update test snapshots --- .../cli-create-with-view.test.js.snap | 18 --------------- .../cli-create-with-defaults.test.js.snap | 18 --------------- .../create-view-with-defaults.test.js.snap | 22 ------------------- ...ew-with-example-with-defaults.test.js.snap | 22 ------------------- ...iew-with-example-with-options.test.js.snap | 22 ------------------- ...b-view-android-config-options.test.js.snap | 22 ------------------- .../create-with-defaults.test.js.snap | 22 ------------------- ...with-example-for-android-only.test.js.snap | 22 ------------------- ...te-with-example-with-defaults.test.js.snap | 22 ------------------- ...-from-missing-package-scripts.test.js.snap | 22 ------------------- ...with-example-with-null-prefix.test.js.snap | 22 ------------------- ...ate-with-example-with-options.test.js.snap | 22 ------------------- ...reate-with-name-in-camel-case.test.js.snap | 22 ------------------- ...eate-with-options-for-android.test.js.snap | 22 ------------------- .../platforms-array.test.js.snap | 22 ------------------- .../platforms-comma-separated.test.js.snap | 22 ------------------- ...ate-with-custom-module-prefix.test.js.snap | 22 ------------------- .../create-with-module-name.test.js.snap | 22 ------------------- ...cli-command-func-with-options.test.js.snap | 21 ------------------ ...ram-with-defaults-for-android.test.js.snap | 21 ------------------ ...te-with-example-with-defaults.test.js.snap | 21 ------------------ .../with-yarn-error-logging.test.js.snap | 21 ------------------ ...ate-with-example-with-options.test.js.snap | 21 ------------------ ...ate-with-example-with-options.test.js.snap | 21 ------------------ 24 files changed, 514 deletions(-) diff --git a/tests/integration/cli/create/view/__snapshots__/cli-create-with-view.test.js.snap b/tests/integration/cli/create/view/__snapshots__/cli-create-with-view.test.js.snap index 3b5694b3..f7d50ed2 100644 --- a/tests/integration/cli/create/view/__snapshots__/cli-create-with-view.test.js.snap +++ b/tests/integration/cli/create/view/__snapshots__/cli-create-with-view.test.js.snap @@ -67,24 +67,6 @@ import IntegrationViewTestPackage from 'react-native-integration-view-test-packa // TODO: What to do with the module? IntegrationViewTestPackage; \`\`\` -", - }, - Object { - "name": "react-native-integration-view-test-package/android/README.md", - "theContent": "README -====== - -If you want to publish the lib as a maven dependency, follow these steps before publishing a new version to npm: - -1. Be sure to have the Android [SDK](https://developer.android.com/studio/index.html) and [NDK](https://developer.android.com/ndk/guides/index.html) installed -2. Be sure to have a \`local.properties\` file in this folder that points to the Android SDK and NDK -\`\`\` -ndk.dir=/Users/{username}/Library/Android/sdk/ndk-bundle -sdk.dir=/Users/{username}/Library/Android/sdk -\`\`\` -3. Delete the \`maven\` folder -4. Run \`./gradlew installArchives\` -5. Verify that latest set of generated files is in the maven folder with the correct version number ", }, Object { diff --git a/tests/integration/cli/create/with-defaults/__snapshots__/cli-create-with-defaults.test.js.snap b/tests/integration/cli/create/with-defaults/__snapshots__/cli-create-with-defaults.test.js.snap index fee983e7..6579f207 100644 --- a/tests/integration/cli/create/with-defaults/__snapshots__/cli-create-with-defaults.test.js.snap +++ b/tests/integration/cli/create/with-defaults/__snapshots__/cli-create-with-defaults.test.js.snap @@ -67,24 +67,6 @@ import IntegrationTestPackage from 'react-native-integration-test-package'; // TODO: What to do with the module? IntegrationTestPackage; \`\`\` -", - }, - Object { - "name": "react-native-integration-test-package/android/README.md", - "theContent": "README -====== - -If you want to publish the lib as a maven dependency, follow these steps before publishing a new version to npm: - -1. Be sure to have the Android [SDK](https://developer.android.com/studio/index.html) and [NDK](https://developer.android.com/ndk/guides/index.html) installed -2. Be sure to have a \`local.properties\` file in this folder that points to the Android SDK and NDK -\`\`\` -ndk.dir=/Users/{username}/Library/Android/sdk/ndk-bundle -sdk.dir=/Users/{username}/Library/Android/sdk -\`\`\` -3. Delete the \`maven\` folder -4. Run \`./gradlew installArchives\` -5. Verify that latest set of generated files is in the maven folder with the correct version number ", }, Object { diff --git a/tests/with-injection/create/view/with-defaults/__snapshots__/create-view-with-defaults.test.js.snap b/tests/with-injection/create/view/with-defaults/__snapshots__/create-view-with-defaults.test.js.snap index 3d7ef747..dbe3ac52 100644 --- a/tests/with-injection/create/view/with-defaults/__snapshots__/create-view-with-defaults.test.js.snap +++ b/tests/with-injection/create/view/with-defaults/__snapshots__/create-view-with-defaults.test.js.snap @@ -19,8 +19,6 @@ Array [ "* ensureDir dir: react-native-alice-bobbi/android/src/main/java/com/reactlibrary/ ", "* ensureDir dir: react-native-alice-bobbi/android/src/main/java/com/reactlibrary/ -", - "* ensureDir dir: react-native-alice-bobbi/android/ ", "* ensureDir dir: react-native-alice-bobbi/ ", @@ -384,26 +382,6 @@ public class AliceBobbiPackage implements ReactPackage { } } -<<<<<<<< ======== >>>>>>>> -", - "* outputFile name: react-native-alice-bobbi/android/README.md -content: --------- -README -====== - -If you want to publish the lib as a maven dependency, follow these steps before publishing a new version to npm: - -1. Be sure to have the Android [SDK](https://developer.android.com/studio/index.html) and [NDK](https://developer.android.com/ndk/guides/index.html) installed -2. Be sure to have a \`local.properties\` file in this folder that points to the Android SDK and NDK -\`\`\` -ndk.dir=/Users/{username}/Library/Android/sdk/ndk-bundle -sdk.dir=/Users/{username}/Library/Android/sdk -\`\`\` -3. Delete the \`maven\` folder -4. Run \`./gradlew installArchives\` -5. Verify that latest set of generated files is in the maven folder with the correct version number - <<<<<<<< ======== >>>>>>>> ", "* outputFile name: react-native-alice-bobbi/react-native-alice-bobbi.podspec diff --git a/tests/with-injection/create/view/with-example/with-defaults/__snapshots__/create-view-with-example-with-defaults.test.js.snap b/tests/with-injection/create/view/with-example/with-defaults/__snapshots__/create-view-with-example-with-defaults.test.js.snap index 19dc077e..fc200226 100644 --- a/tests/with-injection/create/view/with-example/with-defaults/__snapshots__/create-view-with-example-with-defaults.test.js.snap +++ b/tests/with-injection/create/view/with-example/with-defaults/__snapshots__/create-view-with-example-with-defaults.test.js.snap @@ -23,8 +23,6 @@ Array [ "* ensureDir dir: react-native-alice-bobbi/android/src/main/java/com/reactlibrary/ ", "* ensureDir dir: react-native-alice-bobbi/android/src/main/java/com/reactlibrary/ -", - "* ensureDir dir: react-native-alice-bobbi/android/ ", "* ensureDir dir: react-native-alice-bobbi/ ", @@ -388,26 +386,6 @@ public class AliceBobbiPackage implements ReactPackage { } } -<<<<<<<< ======== >>>>>>>> -", - "* outputFile name: react-native-alice-bobbi/android/README.md -content: --------- -README -====== - -If you want to publish the lib as a maven dependency, follow these steps before publishing a new version to npm: - -1. Be sure to have the Android [SDK](https://developer.android.com/studio/index.html) and [NDK](https://developer.android.com/ndk/guides/index.html) installed -2. Be sure to have a \`local.properties\` file in this folder that points to the Android SDK and NDK -\`\`\` -ndk.dir=/Users/{username}/Library/Android/sdk/ndk-bundle -sdk.dir=/Users/{username}/Library/Android/sdk -\`\`\` -3. Delete the \`maven\` folder -4. Run \`./gradlew installArchives\` -5. Verify that latest set of generated files is in the maven folder with the correct version number - <<<<<<<< ======== >>>>>>>> ", "* outputFile name: react-native-alice-bobbi/react-native-alice-bobbi.podspec diff --git a/tests/with-injection/create/view/with-example/with-options/__snapshots__/create-view-with-example-with-options.test.js.snap b/tests/with-injection/create/view/with-example/with-options/__snapshots__/create-view-with-example-with-options.test.js.snap index 61f287e6..af719a8d 100644 --- a/tests/with-injection/create/view/with-example/with-options/__snapshots__/create-view-with-example-with-options.test.js.snap +++ b/tests/with-injection/create/view/with-example/with-options/__snapshots__/create-view-with-example-with-options.test.js.snap @@ -23,8 +23,6 @@ Array [ "* ensureDir dir: react-native-alice-bobbi/android/src/main/java/com/reactlibrary/ ", "* ensureDir dir: react-native-alice-bobbi/android/src/main/java/com/reactlibrary/ -", - "* ensureDir dir: react-native-alice-bobbi/android/ ", "* ensureDir dir: react-native-alice-bobbi/ ", @@ -388,26 +386,6 @@ public class AliceBobbiPackage implements ReactPackage { } } -<<<<<<<< ======== >>>>>>>> -", - "* outputFile name: react-native-alice-bobbi/android/README.md -content: --------- -README -====== - -If you want to publish the lib as a maven dependency, follow these steps before publishing a new version to npm: - -1. Be sure to have the Android [SDK](https://developer.android.com/studio/index.html) and [NDK](https://developer.android.com/ndk/guides/index.html) installed -2. Be sure to have a \`local.properties\` file in this folder that points to the Android SDK and NDK -\`\`\` -ndk.dir=/Users/{username}/Library/Android/sdk/ndk-bundle -sdk.dir=/Users/{username}/Library/Android/sdk -\`\`\` -3. Delete the \`maven\` folder -4. Run \`./gradlew installArchives\` -5. Verify that latest set of generated files is in the maven folder with the correct version number - <<<<<<<< ======== >>>>>>>> ", "* outputFile name: react-native-alice-bobbi/react-native-alice-bobbi.podspec diff --git a/tests/with-injection/create/view/with-options/for-android/__snapshots__/lib-view-android-config-options.test.js.snap b/tests/with-injection/create/view/with-options/for-android/__snapshots__/lib-view-android-config-options.test.js.snap index 2083bf2a..fb3a02c9 100644 --- a/tests/with-injection/create/view/with-options/for-android/__snapshots__/lib-view-android-config-options.test.js.snap +++ b/tests/with-injection/create/view/with-options/for-android/__snapshots__/lib-view-android-config-options.test.js.snap @@ -19,8 +19,6 @@ Array [ "* ensureDir dir: react-native-alice-bobbi/android/src/main/java/com/reactlibrary/ ", "* ensureDir dir: react-native-alice-bobbi/android/src/main/java/com/reactlibrary/ -", - "* ensureDir dir: react-native-alice-bobbi/android/ ", "* outputFile name: react-native-alice-bobbi/README.md content: @@ -352,26 +350,6 @@ public class AliceBobbiPackage implements ReactPackage { } } -<<<<<<<< ======== >>>>>>>> -", - "* outputFile name: react-native-alice-bobbi/android/README.md -content: --------- -README -====== - -If you want to publish the lib as a maven dependency, follow these steps before publishing a new version to npm: - -1. Be sure to have the Android [SDK](https://developer.android.com/studio/index.html) and [NDK](https://developer.android.com/ndk/guides/index.html) installed -2. Be sure to have a \`local.properties\` file in this folder that points to the Android SDK and NDK -\`\`\` -ndk.dir=/Users/{username}/Library/Android/sdk/ndk-bundle -sdk.dir=/Users/{username}/Library/Android/sdk -\`\`\` -3. Delete the \`maven\` folder -4. Run \`./gradlew installArchives\` -5. Verify that latest set of generated files is in the maven folder with the correct version number - <<<<<<<< ======== >>>>>>>> ", ] diff --git a/tests/with-injection/create/with-defaults/__snapshots__/create-with-defaults.test.js.snap b/tests/with-injection/create/with-defaults/__snapshots__/create-with-defaults.test.js.snap index 5d01cbbe..da4b134e 100644 --- a/tests/with-injection/create/with-defaults/__snapshots__/create-with-defaults.test.js.snap +++ b/tests/with-injection/create/with-defaults/__snapshots__/create-with-defaults.test.js.snap @@ -19,8 +19,6 @@ Array [ "* ensureDir dir: react-native-alice-bobbi/android/src/main/java/com/reactlibrary/ ", "* ensureDir dir: react-native-alice-bobbi/android/src/main/java/com/reactlibrary/ -", - "* ensureDir dir: react-native-alice-bobbi/android/ ", "* ensureDir dir: react-native-alice-bobbi/ ", @@ -385,26 +383,6 @@ public class AliceBobbiPackage implements ReactPackage { } } -<<<<<<<< ======== >>>>>>>> -", - "* outputFile name: react-native-alice-bobbi/android/README.md -content: --------- -README -====== - -If you want to publish the lib as a maven dependency, follow these steps before publishing a new version to npm: - -1. Be sure to have the Android [SDK](https://developer.android.com/studio/index.html) and [NDK](https://developer.android.com/ndk/guides/index.html) installed -2. Be sure to have a \`local.properties\` file in this folder that points to the Android SDK and NDK -\`\`\` -ndk.dir=/Users/{username}/Library/Android/sdk/ndk-bundle -sdk.dir=/Users/{username}/Library/Android/sdk -\`\`\` -3. Delete the \`maven\` folder -4. Run \`./gradlew installArchives\` -5. Verify that latest set of generated files is in the maven folder with the correct version number - <<<<<<<< ======== >>>>>>>> ", "* outputFile name: react-native-alice-bobbi/react-native-alice-bobbi.podspec diff --git a/tests/with-injection/create/with-example/for-android-only/__snapshots__/create-with-example-for-android-only.test.js.snap b/tests/with-injection/create/with-example/for-android-only/__snapshots__/create-with-example-for-android-only.test.js.snap index 21959200..de1f5cda 100644 --- a/tests/with-injection/create/with-example/for-android-only/__snapshots__/create-with-example-for-android-only.test.js.snap +++ b/tests/with-injection/create/with-example/for-android-only/__snapshots__/create-with-example-for-android-only.test.js.snap @@ -23,8 +23,6 @@ Array [ "* ensureDir dir: react-native-alice-bobbi/android/src/main/java/com/reactlibrary/ ", "* ensureDir dir: react-native-alice-bobbi/android/src/main/java/com/reactlibrary/ -", - "* ensureDir dir: react-native-alice-bobbi/android/ ", "* outputFile name: react-native-alice-bobbi/README.md content: @@ -357,26 +355,6 @@ public class AliceBobbiPackage implements ReactPackage { } } -<<<<<<<< ======== >>>>>>>> -", - "* outputFile name: react-native-alice-bobbi/android/README.md -content: --------- -README -====== - -If you want to publish the lib as a maven dependency, follow these steps before publishing a new version to npm: - -1. Be sure to have the Android [SDK](https://developer.android.com/studio/index.html) and [NDK](https://developer.android.com/ndk/guides/index.html) installed -2. Be sure to have a \`local.properties\` file in this folder that points to the Android SDK and NDK -\`\`\` -ndk.dir=/Users/{username}/Library/Android/sdk/ndk-bundle -sdk.dir=/Users/{username}/Library/Android/sdk -\`\`\` -3. Delete the \`maven\` folder -4. Run \`./gradlew installArchives\` -5. Verify that latest set of generated files is in the maven folder with the correct version number - <<<<<<<< ======== >>>>>>>> ", "* execa.commandSync command: react-native init example --version react-native@latest options: {\\"cwd\\":\\"./react-native-alice-bobbi\\",\\"stdio\\":\\"inherit\\"} diff --git a/tests/with-injection/create/with-example/with-defaults/__snapshots__/create-with-example-with-defaults.test.js.snap b/tests/with-injection/create/with-example/with-defaults/__snapshots__/create-with-example-with-defaults.test.js.snap index 839bbf57..ada2dad4 100644 --- a/tests/with-injection/create/with-example/with-defaults/__snapshots__/create-with-example-with-defaults.test.js.snap +++ b/tests/with-injection/create/with-example/with-defaults/__snapshots__/create-with-example-with-defaults.test.js.snap @@ -23,8 +23,6 @@ Array [ "* ensureDir dir: react-native-alice-bobbi/android/src/main/java/com/reactlibrary/ ", "* ensureDir dir: react-native-alice-bobbi/android/src/main/java/com/reactlibrary/ -", - "* ensureDir dir: react-native-alice-bobbi/android/ ", "* ensureDir dir: react-native-alice-bobbi/ ", @@ -389,26 +387,6 @@ public class AliceBobbiPackage implements ReactPackage { } } -<<<<<<<< ======== >>>>>>>> -", - "* outputFile name: react-native-alice-bobbi/android/README.md -content: --------- -README -====== - -If you want to publish the lib as a maven dependency, follow these steps before publishing a new version to npm: - -1. Be sure to have the Android [SDK](https://developer.android.com/studio/index.html) and [NDK](https://developer.android.com/ndk/guides/index.html) installed -2. Be sure to have a \`local.properties\` file in this folder that points to the Android SDK and NDK -\`\`\` -ndk.dir=/Users/{username}/Library/Android/sdk/ndk-bundle -sdk.dir=/Users/{username}/Library/Android/sdk -\`\`\` -3. Delete the \`maven\` folder -4. Run \`./gradlew installArchives\` -5. Verify that latest set of generated files is in the maven folder with the correct version number - <<<<<<<< ======== >>>>>>>> ", "* outputFile name: react-native-alice-bobbi/react-native-alice-bobbi.podspec diff --git a/tests/with-injection/create/with-example/with-missing-package-scripts/__snapshots__/recover-from-missing-package-scripts.test.js.snap b/tests/with-injection/create/with-example/with-missing-package-scripts/__snapshots__/recover-from-missing-package-scripts.test.js.snap index 441539a2..a9904342 100644 --- a/tests/with-injection/create/with-example/with-missing-package-scripts/__snapshots__/recover-from-missing-package-scripts.test.js.snap +++ b/tests/with-injection/create/with-example/with-missing-package-scripts/__snapshots__/recover-from-missing-package-scripts.test.js.snap @@ -23,8 +23,6 @@ Array [ "* ensureDir dir: react-native-alice-bobbi/android/src/main/java/com/reactlibrary/ ", "* ensureDir dir: react-native-alice-bobbi/android/src/main/java/com/reactlibrary/ -", - "* ensureDir dir: react-native-alice-bobbi/android/ ", "* ensureDir dir: react-native-alice-bobbi/ ", @@ -389,26 +387,6 @@ public class AliceBobbiPackage implements ReactPackage { } } -<<<<<<<< ======== >>>>>>>> -", - "* outputFile name: react-native-alice-bobbi/android/README.md -content: --------- -README -====== - -If you want to publish the lib as a maven dependency, follow these steps before publishing a new version to npm: - -1. Be sure to have the Android [SDK](https://developer.android.com/studio/index.html) and [NDK](https://developer.android.com/ndk/guides/index.html) installed -2. Be sure to have a \`local.properties\` file in this folder that points to the Android SDK and NDK -\`\`\` -ndk.dir=/Users/{username}/Library/Android/sdk/ndk-bundle -sdk.dir=/Users/{username}/Library/Android/sdk -\`\`\` -3. Delete the \`maven\` folder -4. Run \`./gradlew installArchives\` -5. Verify that latest set of generated files is in the maven folder with the correct version number - <<<<<<<< ======== >>>>>>>> ", "* outputFile name: react-native-alice-bobbi/react-native-alice-bobbi.podspec diff --git a/tests/with-injection/create/with-example/with-null-options/with-null-prefix/__snapshots__/create-with-example-with-null-prefix.test.js.snap b/tests/with-injection/create/with-example/with-null-options/with-null-prefix/__snapshots__/create-with-example-with-null-prefix.test.js.snap index afc7472b..30e9a9b6 100644 --- a/tests/with-injection/create/with-example/with-null-options/with-null-prefix/__snapshots__/create-with-example-with-null-prefix.test.js.snap +++ b/tests/with-injection/create/with-example/with-null-options/with-null-prefix/__snapshots__/create-with-example-with-null-prefix.test.js.snap @@ -23,8 +23,6 @@ Array [ "* ensureDir dir: react-native-alice-bobbi/android/src/main/java/com/reactlibrary/ ", "* ensureDir dir: react-native-alice-bobbi/android/src/main/java/com/reactlibrary/ -", - "* ensureDir dir: react-native-alice-bobbi/android/ ", "* ensureDir dir: react-native-alice-bobbi/ ", @@ -389,26 +387,6 @@ public class AliceBobbiPackage implements ReactPackage { } } -<<<<<<<< ======== >>>>>>>> -", - "* outputFile name: react-native-alice-bobbi/android/README.md -content: --------- -README -====== - -If you want to publish the lib as a maven dependency, follow these steps before publishing a new version to npm: - -1. Be sure to have the Android [SDK](https://developer.android.com/studio/index.html) and [NDK](https://developer.android.com/ndk/guides/index.html) installed -2. Be sure to have a \`local.properties\` file in this folder that points to the Android SDK and NDK -\`\`\` -ndk.dir=/Users/{username}/Library/Android/sdk/ndk-bundle -sdk.dir=/Users/{username}/Library/Android/sdk -\`\`\` -3. Delete the \`maven\` folder -4. Run \`./gradlew installArchives\` -5. Verify that latest set of generated files is in the maven folder with the correct version number - <<<<<<<< ======== >>>>>>>> ", "* outputFile name: react-native-alice-bobbi/react-native-alice-bobbi.podspec diff --git a/tests/with-injection/create/with-example/with-options/__snapshots__/create-with-example-with-options.test.js.snap b/tests/with-injection/create/with-example/with-options/__snapshots__/create-with-example-with-options.test.js.snap index 8eb470b1..00581656 100644 --- a/tests/with-injection/create/with-example/with-options/__snapshots__/create-with-example-with-options.test.js.snap +++ b/tests/with-injection/create/with-example/with-options/__snapshots__/create-with-example-with-options.test.js.snap @@ -23,8 +23,6 @@ Array [ "* ensureDir dir: react-native-alice-bobbi/android/src/main/java/com/reactlibrary/ ", "* ensureDir dir: react-native-alice-bobbi/android/src/main/java/com/reactlibrary/ -", - "* ensureDir dir: react-native-alice-bobbi/android/ ", "* ensureDir dir: react-native-alice-bobbi/ ", @@ -389,26 +387,6 @@ public class AliceBobbiPackage implements ReactPackage { } } -<<<<<<<< ======== >>>>>>>> -", - "* outputFile name: react-native-alice-bobbi/android/README.md -content: --------- -README -====== - -If you want to publish the lib as a maven dependency, follow these steps before publishing a new version to npm: - -1. Be sure to have the Android [SDK](https://developer.android.com/studio/index.html) and [NDK](https://developer.android.com/ndk/guides/index.html) installed -2. Be sure to have a \`local.properties\` file in this folder that points to the Android SDK and NDK -\`\`\` -ndk.dir=/Users/{username}/Library/Android/sdk/ndk-bundle -sdk.dir=/Users/{username}/Library/Android/sdk -\`\`\` -3. Delete the \`maven\` folder -4. Run \`./gradlew installArchives\` -5. Verify that latest set of generated files is in the maven folder with the correct version number - <<<<<<<< ======== >>>>>>>> ", "* outputFile name: react-native-alice-bobbi/react-native-alice-bobbi.podspec diff --git a/tests/with-injection/create/with-name-in-camel-case/__snapshots__/create-with-name-in-camel-case.test.js.snap b/tests/with-injection/create/with-name-in-camel-case/__snapshots__/create-with-name-in-camel-case.test.js.snap index 50c2c673..864c9743 100644 --- a/tests/with-injection/create/with-name-in-camel-case/__snapshots__/create-with-name-in-camel-case.test.js.snap +++ b/tests/with-injection/create/with-name-in-camel-case/__snapshots__/create-with-name-in-camel-case.test.js.snap @@ -19,8 +19,6 @@ Array [ "* ensureDir dir: react-native-alice-bobbi/android/src/main/java/com/reactlibrary/ ", "* ensureDir dir: react-native-alice-bobbi/android/src/main/java/com/reactlibrary/ -", - "* ensureDir dir: react-native-alice-bobbi/android/ ", "* ensureDir dir: react-native-alice-bobbi/ ", @@ -385,26 +383,6 @@ public class AliceBobbiPackage implements ReactPackage { } } -<<<<<<<< ======== >>>>>>>> -", - "* outputFile name: react-native-alice-bobbi/android/README.md -content: --------- -README -====== - -If you want to publish the lib as a maven dependency, follow these steps before publishing a new version to npm: - -1. Be sure to have the Android [SDK](https://developer.android.com/studio/index.html) and [NDK](https://developer.android.com/ndk/guides/index.html) installed -2. Be sure to have a \`local.properties\` file in this folder that points to the Android SDK and NDK -\`\`\` -ndk.dir=/Users/{username}/Library/Android/sdk/ndk-bundle -sdk.dir=/Users/{username}/Library/Android/sdk -\`\`\` -3. Delete the \`maven\` folder -4. Run \`./gradlew installArchives\` -5. Verify that latest set of generated files is in the maven folder with the correct version number - <<<<<<<< ======== >>>>>>>> ", "* outputFile name: react-native-alice-bobbi/react-native-alice-bobbi.podspec diff --git a/tests/with-injection/create/with-options/for-android/__snapshots__/create-with-options-for-android.test.js.snap b/tests/with-injection/create/with-options/for-android/__snapshots__/create-with-options-for-android.test.js.snap index 742f93dd..c936dcba 100644 --- a/tests/with-injection/create/with-options/for-android/__snapshots__/create-with-options-for-android.test.js.snap +++ b/tests/with-injection/create/with-options/for-android/__snapshots__/create-with-options-for-android.test.js.snap @@ -19,8 +19,6 @@ Array [ "* ensureDir dir: react-native-alice-bobbi/android/src/main/java/com/alicebits/ ", "* ensureDir dir: react-native-alice-bobbi/android/src/main/java/com/alicebits/ -", - "* ensureDir dir: react-native-alice-bobbi/android/ ", "* outputFile name: react-native-alice-bobbi/README.md content: @@ -353,26 +351,6 @@ public class AliceBobbiPackage implements ReactPackage { } } -<<<<<<<< ======== >>>>>>>> -", - "* outputFile name: react-native-alice-bobbi/android/README.md -content: --------- -README -====== - -If you want to publish the lib as a maven dependency, follow these steps before publishing a new version to npm: - -1. Be sure to have the Android [SDK](https://developer.android.com/studio/index.html) and [NDK](https://developer.android.com/ndk/guides/index.html) installed -2. Be sure to have a \`local.properties\` file in this folder that points to the Android SDK and NDK -\`\`\` -ndk.dir=/Users/{username}/Library/Android/sdk/ndk-bundle -sdk.dir=/Users/{username}/Library/Android/sdk -\`\`\` -3. Delete the \`maven\` folder -4. Run \`./gradlew installArchives\` -5. Verify that latest set of generated files is in the maven folder with the correct version number - <<<<<<<< ======== >>>>>>>> ", ] diff --git a/tests/with-injection/create/with-options/platforms-array/__snapshots__/platforms-array.test.js.snap b/tests/with-injection/create/with-options/platforms-array/__snapshots__/platforms-array.test.js.snap index d52cf8e6..6769c315 100644 --- a/tests/with-injection/create/with-options/platforms-array/__snapshots__/platforms-array.test.js.snap +++ b/tests/with-injection/create/with-options/platforms-array/__snapshots__/platforms-array.test.js.snap @@ -19,8 +19,6 @@ Array [ "* ensureDir dir: react-native-alice-bobbi/android/src/main/java/com/reactlibrary/ ", "* ensureDir dir: react-native-alice-bobbi/android/src/main/java/com/reactlibrary/ -", - "* ensureDir dir: react-native-alice-bobbi/android/ ", "* ensureDir dir: react-native-alice-bobbi/ ", @@ -385,26 +383,6 @@ public class ABCAliceBobbiPackage implements ReactPackage { } } -<<<<<<<< ======== >>>>>>>> -", - "* outputFile name: react-native-alice-bobbi/android/README.md -content: --------- -README -====== - -If you want to publish the lib as a maven dependency, follow these steps before publishing a new version to npm: - -1. Be sure to have the Android [SDK](https://developer.android.com/studio/index.html) and [NDK](https://developer.android.com/ndk/guides/index.html) installed -2. Be sure to have a \`local.properties\` file in this folder that points to the Android SDK and NDK -\`\`\` -ndk.dir=/Users/{username}/Library/Android/sdk/ndk-bundle -sdk.dir=/Users/{username}/Library/Android/sdk -\`\`\` -3. Delete the \`maven\` folder -4. Run \`./gradlew installArchives\` -5. Verify that latest set of generated files is in the maven folder with the correct version number - <<<<<<<< ======== >>>>>>>> ", "* outputFile name: react-native-alice-bobbi/react-native-alice-bobbi.podspec diff --git a/tests/with-injection/create/with-options/platforms-comma-separated/__snapshots__/platforms-comma-separated.test.js.snap b/tests/with-injection/create/with-options/platforms-comma-separated/__snapshots__/platforms-comma-separated.test.js.snap index c549c9c6..6b8078bf 100644 --- a/tests/with-injection/create/with-options/platforms-comma-separated/__snapshots__/platforms-comma-separated.test.js.snap +++ b/tests/with-injection/create/with-options/platforms-comma-separated/__snapshots__/platforms-comma-separated.test.js.snap @@ -19,8 +19,6 @@ Array [ "* ensureDir dir: react-native-alice-bobbi/android/src/main/java/com/reactlibrary/ ", "* ensureDir dir: react-native-alice-bobbi/android/src/main/java/com/reactlibrary/ -", - "* ensureDir dir: react-native-alice-bobbi/android/ ", "* ensureDir dir: react-native-alice-bobbi/ ", @@ -385,26 +383,6 @@ public class AliceBobbiPackage implements ReactPackage { } } -<<<<<<<< ======== >>>>>>>> -", - "* outputFile name: react-native-alice-bobbi/android/README.md -content: --------- -README -====== - -If you want to publish the lib as a maven dependency, follow these steps before publishing a new version to npm: - -1. Be sure to have the Android [SDK](https://developer.android.com/studio/index.html) and [NDK](https://developer.android.com/ndk/guides/index.html) installed -2. Be sure to have a \`local.properties\` file in this folder that points to the Android SDK and NDK -\`\`\` -ndk.dir=/Users/{username}/Library/Android/sdk/ndk-bundle -sdk.dir=/Users/{username}/Library/Android/sdk -\`\`\` -3. Delete the \`maven\` folder -4. Run \`./gradlew installArchives\` -5. Verify that latest set of generated files is in the maven folder with the correct version number - <<<<<<<< ======== >>>>>>>> ", "* outputFile name: react-native-alice-bobbi/react-native-alice-bobbi.podspec diff --git a/tests/with-injection/create/with-options/with-custom-module-prefix/__snapshots__/create-with-custom-module-prefix.test.js.snap b/tests/with-injection/create/with-options/with-custom-module-prefix/__snapshots__/create-with-custom-module-prefix.test.js.snap index 78440264..f9be9706 100644 --- a/tests/with-injection/create/with-options/with-custom-module-prefix/__snapshots__/create-with-custom-module-prefix.test.js.snap +++ b/tests/with-injection/create/with-options/with-custom-module-prefix/__snapshots__/create-with-custom-module-prefix.test.js.snap @@ -19,8 +19,6 @@ Array [ "* ensureDir dir: custom-native-alice-bobbi/android/src/main/java/com/reactlibrary/ ", "* ensureDir dir: custom-native-alice-bobbi/android/src/main/java/com/reactlibrary/ -", - "* ensureDir dir: custom-native-alice-bobbi/android/ ", "* ensureDir dir: custom-native-alice-bobbi/ ", @@ -385,26 +383,6 @@ public class AliceBobbiPackage implements ReactPackage { } } -<<<<<<<< ======== >>>>>>>> -", - "* outputFile name: custom-native-alice-bobbi/android/README.md -content: --------- -README -====== - -If you want to publish the lib as a maven dependency, follow these steps before publishing a new version to npm: - -1. Be sure to have the Android [SDK](https://developer.android.com/studio/index.html) and [NDK](https://developer.android.com/ndk/guides/index.html) installed -2. Be sure to have a \`local.properties\` file in this folder that points to the Android SDK and NDK -\`\`\` -ndk.dir=/Users/{username}/Library/Android/sdk/ndk-bundle -sdk.dir=/Users/{username}/Library/Android/sdk -\`\`\` -3. Delete the \`maven\` folder -4. Run \`./gradlew installArchives\` -5. Verify that latest set of generated files is in the maven folder with the correct version number - <<<<<<<< ======== >>>>>>>> ", "* outputFile name: custom-native-alice-bobbi/custom-native-alice-bobbi.podspec diff --git a/tests/with-injection/create/with-options/with-module-name/__snapshots__/create-with-module-name.test.js.snap b/tests/with-injection/create/with-options/with-module-name/__snapshots__/create-with-module-name.test.js.snap index 85f122cf..716af00e 100644 --- a/tests/with-injection/create/with-options/with-module-name/__snapshots__/create-with-module-name.test.js.snap +++ b/tests/with-injection/create/with-options/with-module-name/__snapshots__/create-with-module-name.test.js.snap @@ -19,8 +19,6 @@ Array [ "* ensureDir dir: custom-native-module/android/src/main/java/com/reactlibrary/ ", "* ensureDir dir: custom-native-module/android/src/main/java/com/reactlibrary/ -", - "* ensureDir dir: custom-native-module/android/ ", "* ensureDir dir: custom-native-module/ ", @@ -385,26 +383,6 @@ public class AliceBobbiPackage implements ReactPackage { } } -<<<<<<<< ======== >>>>>>>> -", - "* outputFile name: custom-native-module/android/README.md -content: --------- -README -====== - -If you want to publish the lib as a maven dependency, follow these steps before publishing a new version to npm: - -1. Be sure to have the Android [SDK](https://developer.android.com/studio/index.html) and [NDK](https://developer.android.com/ndk/guides/index.html) installed -2. Be sure to have a \`local.properties\` file in this folder that points to the Android SDK and NDK -\`\`\` -ndk.dir=/Users/{username}/Library/Android/sdk/ndk-bundle -sdk.dir=/Users/{username}/Library/Android/sdk -\`\`\` -3. Delete the \`maven\` folder -4. Run \`./gradlew installArchives\` -5. Verify that latest set of generated files is in the maven folder with the correct version number - <<<<<<<< ======== >>>>>>>> ", "* outputFile name: custom-native-module/custom-native-module.podspec diff --git a/tests/with-mocks/cli/command/action-func/with-options/__snapshots__/cli-command-func-with-options.test.js.snap b/tests/with-mocks/cli/command/action-func/with-options/__snapshots__/cli-command-func-with-options.test.js.snap index 9830a88a..3b81cc41 100644 --- a/tests/with-mocks/cli/command/action-func/with-options/__snapshots__/cli-command-func-with-options.test.js.snap +++ b/tests/with-mocks/cli/command/action-func/with-options/__snapshots__/cli-command-func-with-options.test.js.snap @@ -29,9 +29,6 @@ Array [ Object { "ensureDir": "react-native-alice-bobbi/android/src/main/java/com/reactlibrary/", }, - Object { - "ensureDir": "react-native-alice-bobbi/android/", - }, Object { "ensureDir": "react-native-alice-bobbi/", }, @@ -384,24 +381,6 @@ public class AliceBobbiPackage implements ReactPackage { return Collections.emptyList(); } } -", - }, - Object { - "outputFileName": "react-native-alice-bobbi/android/README.md", - "theContent": "README -====== - -If you want to publish the lib as a maven dependency, follow these steps before publishing a new version to npm: - -1. Be sure to have the Android [SDK](https://developer.android.com/studio/index.html) and [NDK](https://developer.android.com/ndk/guides/index.html) installed -2. Be sure to have a \`local.properties\` file in this folder that points to the Android SDK and NDK -\`\`\` -ndk.dir=/Users/{username}/Library/Android/sdk/ndk-bundle -sdk.dir=/Users/{username}/Library/Android/sdk -\`\`\` -3. Delete the \`maven\` folder -4. Run \`./gradlew installArchives\` -5. Verify that latest set of generated files is in the maven folder with the correct version number ", }, Object { diff --git a/tests/with-mocks/cli/program/with-defaults/for-android/__snapshots__/cli-program-with-defaults-for-android.test.js.snap b/tests/with-mocks/cli/program/with-defaults/for-android/__snapshots__/cli-program-with-defaults-for-android.test.js.snap index 8982111e..63004df1 100644 --- a/tests/with-mocks/cli/program/with-defaults/for-android/__snapshots__/cli-program-with-defaults-for-android.test.js.snap +++ b/tests/with-mocks/cli/program/with-defaults/for-android/__snapshots__/cli-program-with-defaults-for-android.test.js.snap @@ -233,9 +233,6 @@ Array [ Object { "ensureDir": "react-native-test-package/android/src/main/java/com/reactlibrary/", }, - Object { - "ensureDir": "react-native-test-package/android/", - }, Object { "outputFileName": "react-native-test-package/README.md", "theContent": "# react-native-test-package @@ -551,24 +548,6 @@ public class TestPackagePackage implements ReactPackage { return Collections.emptyList(); } } -", - }, - Object { - "outputFileName": "react-native-test-package/android/README.md", - "theContent": "README -====== - -If you want to publish the lib as a maven dependency, follow these steps before publishing a new version to npm: - -1. Be sure to have the Android [SDK](https://developer.android.com/studio/index.html) and [NDK](https://developer.android.com/ndk/guides/index.html) installed -2. Be sure to have a \`local.properties\` file in this folder that points to the Android SDK and NDK -\`\`\` -ndk.dir=/Users/{username}/Library/Android/sdk/ndk-bundle -sdk.dir=/Users/{username}/Library/Android/sdk -\`\`\` -3. Delete the \`maven\` folder -4. Run \`./gradlew installArchives\` -5. Verify that latest set of generated files is in the maven folder with the correct version number ", }, ] diff --git a/tests/with-mocks/lib/create/with-example/with-logging/with-defaults/__snapshots__/create-with-example-with-defaults.test.js.snap b/tests/with-mocks/lib/create/with-example/with-logging/with-defaults/__snapshots__/create-with-example-with-defaults.test.js.snap index ca5459d5..423ea4b2 100644 --- a/tests/with-mocks/lib/create/with-example/with-logging/with-defaults/__snapshots__/create-with-example-with-defaults.test.js.snap +++ b/tests/with-mocks/lib/create/with-example/with-logging/with-defaults/__snapshots__/create-with-example-with-defaults.test.js.snap @@ -99,9 +99,6 @@ Android packageIdentifier: com.reactlibrary Object { "ensureDir": "react-native-alice-bobbi/android/src/main/java/com/reactlibrary/", }, - Object { - "ensureDir": "react-native-alice-bobbi/android/", - }, Object { "ensureDir": "react-native-alice-bobbi/", }, @@ -454,24 +451,6 @@ public class AliceBobbiPackage implements ReactPackage { return Collections.emptyList(); } } -", - }, - Object { - "outputFileName": "react-native-alice-bobbi/android/README.md", - "theContent": "README -====== - -If you want to publish the lib as a maven dependency, follow these steps before publishing a new version to npm: - -1. Be sure to have the Android [SDK](https://developer.android.com/studio/index.html) and [NDK](https://developer.android.com/ndk/guides/index.html) installed -2. Be sure to have a \`local.properties\` file in this folder that points to the Android SDK and NDK -\`\`\` -ndk.dir=/Users/{username}/Library/Android/sdk/ndk-bundle -sdk.dir=/Users/{username}/Library/Android/sdk -\`\`\` -3. Delete the \`maven\` folder -4. Run \`./gradlew installArchives\` -5. Verify that latest set of generated files is in the maven folder with the correct version number ", }, Object { diff --git a/tests/with-mocks/lib/create/with-example/with-logging/with-error/__snapshots__/with-yarn-error-logging.test.js.snap b/tests/with-mocks/lib/create/with-example/with-logging/with-error/__snapshots__/with-yarn-error-logging.test.js.snap index 2876eeb0..1d2ab9ff 100644 --- a/tests/with-mocks/lib/create/with-example/with-logging/with-error/__snapshots__/with-yarn-error-logging.test.js.snap +++ b/tests/with-mocks/lib/create/with-example/with-logging/with-error/__snapshots__/with-yarn-error-logging.test.js.snap @@ -99,9 +99,6 @@ Android packageIdentifier: com.reactlibrary Object { "ensureDir": "react-native-alice-bobbi/android/src/main/java/com/reactlibrary/", }, - Object { - "ensureDir": "react-native-alice-bobbi/android/", - }, Object { "ensureDir": "react-native-alice-bobbi/", }, @@ -454,24 +451,6 @@ public class AliceBobbiPackage implements ReactPackage { return Collections.emptyList(); } } -", - }, - Object { - "outputFileName": "react-native-alice-bobbi/android/README.md", - "theContent": "README -====== - -If you want to publish the lib as a maven dependency, follow these steps before publishing a new version to npm: - -1. Be sure to have the Android [SDK](https://developer.android.com/studio/index.html) and [NDK](https://developer.android.com/ndk/guides/index.html) installed -2. Be sure to have a \`local.properties\` file in this folder that points to the Android SDK and NDK -\`\`\` -ndk.dir=/Users/{username}/Library/Android/sdk/ndk-bundle -sdk.dir=/Users/{username}/Library/Android/sdk -\`\`\` -3. Delete the \`maven\` folder -4. Run \`./gradlew installArchives\` -5. Verify that latest set of generated files is in the maven folder with the correct version number ", }, Object { diff --git a/tests/with-mocks/lib/create/with-example/with-logging/with-null-options/with-null-prefix/__snapshots__/create-with-example-with-options.test.js.snap b/tests/with-mocks/lib/create/with-example/with-logging/with-null-options/with-null-prefix/__snapshots__/create-with-example-with-options.test.js.snap index e0b0bf6a..73f2f33f 100644 --- a/tests/with-mocks/lib/create/with-example/with-logging/with-null-options/with-null-prefix/__snapshots__/create-with-example-with-options.test.js.snap +++ b/tests/with-mocks/lib/create/with-example/with-logging/with-null-options/with-null-prefix/__snapshots__/create-with-example-with-options.test.js.snap @@ -99,9 +99,6 @@ Android packageIdentifier: com.reactlibrary Object { "ensureDir": "react-native-alice-bobbi/android/src/main/java/com/reactlibrary/", }, - Object { - "ensureDir": "react-native-alice-bobbi/android/", - }, Object { "ensureDir": "react-native-alice-bobbi/", }, @@ -454,24 +451,6 @@ public class AliceBobbiPackage implements ReactPackage { return Collections.emptyList(); } } -", - }, - Object { - "outputFileName": "react-native-alice-bobbi/android/README.md", - "theContent": "README -====== - -If you want to publish the lib as a maven dependency, follow these steps before publishing a new version to npm: - -1. Be sure to have the Android [SDK](https://developer.android.com/studio/index.html) and [NDK](https://developer.android.com/ndk/guides/index.html) installed -2. Be sure to have a \`local.properties\` file in this folder that points to the Android SDK and NDK -\`\`\` -ndk.dir=/Users/{username}/Library/Android/sdk/ndk-bundle -sdk.dir=/Users/{username}/Library/Android/sdk -\`\`\` -3. Delete the \`maven\` folder -4. Run \`./gradlew installArchives\` -5. Verify that latest set of generated files is in the maven folder with the correct version number ", }, Object { diff --git a/tests/with-mocks/lib/create/with-example/with-logging/with-options/__snapshots__/create-with-example-with-options.test.js.snap b/tests/with-mocks/lib/create/with-example/with-logging/with-options/__snapshots__/create-with-example-with-options.test.js.snap index 1de93b70..3052a391 100644 --- a/tests/with-mocks/lib/create/with-example/with-logging/with-options/__snapshots__/create-with-example-with-options.test.js.snap +++ b/tests/with-mocks/lib/create/with-example/with-logging/with-options/__snapshots__/create-with-example-with-options.test.js.snap @@ -93,9 +93,6 @@ Android packageIdentifier: com.alicebits Object { "ensureDir": "react-native-alice-bobbi/android/src/main/java/com/alicebits/", }, - Object { - "ensureDir": "react-native-alice-bobbi/android/", - }, Object { "ensureDir": "react-native-alice-bobbi/", }, @@ -448,24 +445,6 @@ public class ABCAliceBobbiPackage implements ReactPackage { return Collections.emptyList(); } } -", - }, - Object { - "outputFileName": "react-native-alice-bobbi/android/README.md", - "theContent": "README -====== - -If you want to publish the lib as a maven dependency, follow these steps before publishing a new version to npm: - -1. Be sure to have the Android [SDK](https://developer.android.com/studio/index.html) and [NDK](https://developer.android.com/ndk/guides/index.html) installed -2. Be sure to have a \`local.properties\` file in this folder that points to the Android SDK and NDK -\`\`\` -ndk.dir=/Users/{username}/Library/Android/sdk/ndk-bundle -sdk.dir=/Users/{username}/Library/Android/sdk -\`\`\` -3. Delete the \`maven\` folder -4. Run \`./gradlew installArchives\` -5. Verify that latest set of generated files is in the maven folder with the correct version number ", }, Object {