diff --git a/lib/lib.js b/lib/lib.js index d93de37e..7e658c2a 100644 --- a/lib/lib.js +++ b/lib/lib.js @@ -181,9 +181,6 @@ Android packageIdentifier: ${packageIdentifier} license, view, useAppleNetworking, - generateExample, - exampleFileLinkage, - exampleName, }; return renderTemplateIfValid(fs, moduleName, template, templateArgs); diff --git a/templates/general.js b/templates/general.js index 018b42b0..8760c6da 100644 --- a/templates/general.js +++ b/templates/general.js @@ -22,6 +22,17 @@ ${name}; }, { name: () => 'package.json', content: ({ moduleName, platforms, githubAccount, authorName, authorEmail, license }) => { + const files = + `[ + "README.md",` + + (platforms.indexOf('android') >= 0 ? ` + "android",` : ``) + ` + "index.js"` + + (platforms.indexOf('ios') >= 0 ? `, + "ios", + "${moduleName}.podspec"` : ``) + ` + ]`; + const peerDependencies = `{ "react": "^16.8.1", @@ -40,6 +51,7 @@ ${name}; "version": "1.0.0", "description": "TODO", "main": "index.js", + "files": ${files}, "scripts": { "test": "echo \\"Error: no test specified\\" && exit 1" }, @@ -149,15 +161,6 @@ buck-out/ return '*.pbxproj -text\n'; } - return ''; - } -}, { - name: () => '.npmignore', - content: ({ generateExample, exampleName }) => { - if (generateExample) { - return `${exampleName}\n`; - } - return ''; } }]; 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 e33f5a77..2f063b13 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 @@ -53,10 +53,6 @@ buck-out/ *.keystore ", }, - Object { - "name": "react-native-integration-view-test-package/.npmignore", - "theContent": "", - }, Object { "name": "react-native-integration-view-test-package/README.md", "theContent": "# react-native-integration-view-test-package @@ -649,6 +645,13 @@ RCT_EXPORT_MODULE() \\"version\\": \\"1.0.0\\", \\"description\\": \\"TODO\\", \\"main\\": \\"index.js\\", + \\"files\\": [ + \\"README.md\\", + \\"android\\", + \\"index.js\\", + \\"ios\\", + \\"react-native-integration-view-test-package.podspec\\" + ], \\"scripts\\": { \\"test\\": \\"echo \\\\\\"Error: no test specified\\\\\\" && exit 1\\" }, 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 92ad717e..45a6c9a1 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 @@ -53,10 +53,6 @@ buck-out/ *.keystore ", }, - Object { - "name": "react-native-integration-test-package/.npmignore", - "theContent": "", - }, Object { "name": "react-native-integration-test-package/README.md", "theContent": "# react-native-integration-test-package @@ -645,6 +641,13 @@ RCT_EXPORT_METHOD(sampleMethod:(NSString *)stringArgument numberParameter:(nonnu \\"version\\": \\"1.0.0\\", \\"description\\": \\"TODO\\", \\"main\\": \\"index.js\\", + \\"files\\": [ + \\"README.md\\", + \\"android\\", + \\"index.js\\", + \\"ios\\", + \\"react-native-integration-test-package.podspec\\" + ], \\"scripts\\": { \\"test\\": \\"echo \\\\\\"Error: no test specified\\\\\\" && exit 1\\" }, 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 6a9c5dc5..e8ac1c65 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 @@ -13,8 +13,6 @@ Array [ "* ensureDir dir: react-native-alice-bobbi/ ", "* ensureDir dir: react-native-alice-bobbi/ -", - "* ensureDir dir: react-native-alice-bobbi/ ", "* ensureDir dir: react-native-alice-bobbi/android/ ", @@ -68,6 +66,13 @@ content: \\"version\\": \\"1.0.0\\", \\"description\\": \\"TODO\\", \\"main\\": \\"index.js\\", + \\"files\\": [ + \\"README.md\\", + \\"android\\", + \\"index.js\\", + \\"ios\\", + \\"react-native-alice-bobbi.podspec\\" + ], \\"scripts\\": { \\"test\\": \\"echo \\\\\\"Error: no test specified\\\\\\" && exit 1\\" }, @@ -162,12 +167,6 @@ content: -------- *.pbxproj -text -<<<<<<<< ======== >>>>>>>> -", - "* outputFile name: react-native-alice-bobbi/.npmignore -content: --------- - <<<<<<<< ======== >>>>>>>> ", "* outputFile name: react-native-alice-bobbi/android/build.gradle 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 bf0c1892..d58d82ff 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 @@ -17,8 +17,6 @@ Array [ "* ensureDir dir: react-native-alice-bobbi/ ", "* ensureDir dir: react-native-alice-bobbi/ -", - "* ensureDir dir: react-native-alice-bobbi/ ", "* ensureDir dir: react-native-alice-bobbi/android/ ", @@ -72,6 +70,13 @@ content: \\"version\\": \\"1.0.0\\", \\"description\\": \\"TODO\\", \\"main\\": \\"index.js\\", + \\"files\\": [ + \\"README.md\\", + \\"android\\", + \\"index.js\\", + \\"ios\\", + \\"react-native-alice-bobbi.podspec\\" + ], \\"scripts\\": { \\"test\\": \\"echo \\\\\\"Error: no test specified\\\\\\" && exit 1\\" }, @@ -166,13 +171,6 @@ content: -------- *.pbxproj -text -<<<<<<<< ======== >>>>>>>> -", - "* outputFile name: react-native-alice-bobbi/.npmignore -content: --------- -example - <<<<<<<< ======== >>>>>>>> ", "* outputFile name: react-native-alice-bobbi/android/build.gradle 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 62708058..12ea154c 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 @@ -17,8 +17,6 @@ Array [ "* ensureDir dir: react-native-alice-bobbi/ ", "* ensureDir dir: react-native-alice-bobbi/ -", - "* ensureDir dir: react-native-alice-bobbi/ ", "* ensureDir dir: react-native-alice-bobbi/android/ ", @@ -72,6 +70,13 @@ content: \\"version\\": \\"1.0.0\\", \\"description\\": \\"TODO\\", \\"main\\": \\"index.js\\", + \\"files\\": [ + \\"README.md\\", + \\"android\\", + \\"index.js\\", + \\"ios\\", + \\"react-native-alice-bobbi.podspec\\" + ], \\"scripts\\": { \\"test\\": \\"echo \\\\\\"Error: no test specified\\\\\\" && exit 1\\" }, @@ -166,13 +171,6 @@ content: -------- *.pbxproj -text -<<<<<<<< ======== >>>>>>>> -", - "* outputFile name: react-native-alice-bobbi/.npmignore -content: --------- -test-demo - <<<<<<<< ======== >>>>>>>> ", "* outputFile name: react-native-alice-bobbi/android/build.gradle 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 fabef2ca..82eed18c 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 @@ -13,8 +13,6 @@ Array [ "* ensureDir dir: react-native-alice-bobbi/ ", "* ensureDir dir: react-native-alice-bobbi/ -", - "* ensureDir dir: react-native-alice-bobbi/ ", "* ensureDir dir: react-native-alice-bobbi/android/ ", @@ -58,6 +56,11 @@ content: \\"version\\": \\"1.0.0\\", \\"description\\": \\"TODO\\", \\"main\\": \\"index.js\\", + \\"files\\": [ + \\"README.md\\", + \\"android\\", + \\"index.js\\" + ], \\"scripts\\": { \\"test\\": \\"echo \\\\\\"Error: no test specified\\\\\\" && exit 1\\" }, @@ -131,12 +134,6 @@ buck-out/ content: -------- -<<<<<<<< ======== >>>>>>>> -", - "* outputFile name: react-native-alice-bobbi/.npmignore -content: --------- - <<<<<<<< ======== >>>>>>>> ", "* outputFile name: react-native-alice-bobbi/android/build.gradle diff --git a/tests/with-injection/create/view/with-options/for-ios/__snapshots__/create-view-with-options-for-ios.test.js.snap b/tests/with-injection/create/view/with-options/for-ios/__snapshots__/create-view-with-options-for-ios.test.js.snap index 58c4f392..2c440e8c 100644 --- a/tests/with-injection/create/view/with-options/for-ios/__snapshots__/create-view-with-options-for-ios.test.js.snap +++ b/tests/with-injection/create/view/with-options/for-ios/__snapshots__/create-view-with-options-for-ios.test.js.snap @@ -15,8 +15,6 @@ Array [ "* ensureDir dir: react-native-alice-bobbi/ ", "* ensureDir dir: react-native-alice-bobbi/ -", - "* ensureDir dir: react-native-alice-bobbi/ ", "* ensureDir dir: react-native-alice-bobbi/ios/ ", @@ -58,6 +56,12 @@ content: \\"version\\": \\"1.0.0\\", \\"description\\": \\"TODO\\", \\"main\\": \\"index.js\\", + \\"files\\": [ + \\"README.md\\", + \\"index.js\\", + \\"ios\\", + \\"react-native-alice-bobbi.podspec\\" + ], \\"scripts\\": { \\"test\\": \\"echo \\\\\\"Error: no test specified\\\\\\" && exit 1\\" }, @@ -139,12 +143,6 @@ content: -------- *.pbxproj -text -<<<<<<<< ======== >>>>>>>> -", - "* outputFile name: react-native-alice-bobbi/.npmignore -content: --------- - <<<<<<<< ======== >>>>>>>> ", "* outputFile name: react-native-alice-bobbi/react-native-alice-bobbi.podspec 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 a78ef2fa..9a6d8131 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 @@ -13,8 +13,6 @@ Array [ "* ensureDir dir: react-native-alice-bobbi/ ", "* ensureDir dir: react-native-alice-bobbi/ -", - "* ensureDir dir: react-native-alice-bobbi/ ", "* ensureDir dir: react-native-alice-bobbi/android/ ", @@ -68,6 +66,13 @@ content: \\"version\\": \\"1.0.0\\", \\"description\\": \\"TODO\\", \\"main\\": \\"index.js\\", + \\"files\\": [ + \\"README.md\\", + \\"android\\", + \\"index.js\\", + \\"ios\\", + \\"react-native-alice-bobbi.podspec\\" + ], \\"scripts\\": { \\"test\\": \\"echo \\\\\\"Error: no test specified\\\\\\" && exit 1\\" }, @@ -162,12 +167,6 @@ content: -------- *.pbxproj -text -<<<<<<<< ======== >>>>>>>> -", - "* outputFile name: react-native-alice-bobbi/.npmignore -content: --------- - <<<<<<<< ======== >>>>>>>> ", "* outputFile name: react-native-alice-bobbi/android/build.gradle diff --git a/tests/with-injection/create/with-defaults/bogus-platforms/bogus-name/__snapshots__/bogus-platforms-name.test.js.snap b/tests/with-injection/create/with-defaults/bogus-platforms/bogus-name/__snapshots__/bogus-platforms-name.test.js.snap index 2c46a8b4..07d81709 100644 --- a/tests/with-injection/create/with-defaults/bogus-platforms/bogus-name/__snapshots__/bogus-platforms-name.test.js.snap +++ b/tests/with-injection/create/with-defaults/bogus-platforms/bogus-name/__snapshots__/bogus-platforms-name.test.js.snap @@ -13,8 +13,6 @@ Array [ "* ensureDir dir: react-native-alice-bobbi/ ", "* ensureDir dir: react-native-alice-bobbi/ -", - "* ensureDir dir: react-native-alice-bobbi/ ", "* outputFile name: react-native-alice-bobbi/README.md content: @@ -48,6 +46,10 @@ content: \\"version\\": \\"1.0.0\\", \\"description\\": \\"TODO\\", \\"main\\": \\"index.js\\", + \\"files\\": [ + \\"README.md\\", + \\"index.js\\" + ], \\"scripts\\": { \\"test\\": \\"echo \\\\\\"Error: no test specified\\\\\\" && exit 1\\" }, @@ -108,12 +110,6 @@ yarn-error.log content: -------- -<<<<<<<< ======== >>>>>>>> -", - "* outputFile name: react-native-alice-bobbi/.npmignore -content: --------- - <<<<<<<< ======== >>>>>>>> ", ] diff --git a/tests/with-injection/create/with-defaults/bogus-platforms/empty-array/__snapshots__/bogus-platforms-empty-array.test.js.snap b/tests/with-injection/create/with-defaults/bogus-platforms/empty-array/__snapshots__/bogus-platforms-empty-array.test.js.snap index dfd6ea7d..64efcb3f 100644 --- a/tests/with-injection/create/with-defaults/bogus-platforms/empty-array/__snapshots__/bogus-platforms-empty-array.test.js.snap +++ b/tests/with-injection/create/with-defaults/bogus-platforms/empty-array/__snapshots__/bogus-platforms-empty-array.test.js.snap @@ -13,8 +13,6 @@ Array [ "* ensureDir dir: react-native-alice-bobbi/ ", "* ensureDir dir: react-native-alice-bobbi/ -", - "* ensureDir dir: react-native-alice-bobbi/ ", "* outputFile name: react-native-alice-bobbi/README.md content: @@ -48,6 +46,10 @@ content: \\"version\\": \\"1.0.0\\", \\"description\\": \\"TODO\\", \\"main\\": \\"index.js\\", + \\"files\\": [ + \\"README.md\\", + \\"index.js\\" + ], \\"scripts\\": { \\"test\\": \\"echo \\\\\\"Error: no test specified\\\\\\" && exit 1\\" }, @@ -108,12 +110,6 @@ yarn-error.log content: -------- -<<<<<<<< ======== >>>>>>>> -", - "* outputFile name: react-native-alice-bobbi/.npmignore -content: --------- - <<<<<<<< ======== >>>>>>>> ", ] diff --git a/tests/with-injection/create/with-defaults/bogus-platforms/empty-string/__snapshots__/bogus-platforms-empty-string.test.js.snap b/tests/with-injection/create/with-defaults/bogus-platforms/empty-string/__snapshots__/bogus-platforms-empty-string.test.js.snap index 6dd9761a..b5bce294 100644 --- a/tests/with-injection/create/with-defaults/bogus-platforms/empty-string/__snapshots__/bogus-platforms-empty-string.test.js.snap +++ b/tests/with-injection/create/with-defaults/bogus-platforms/empty-string/__snapshots__/bogus-platforms-empty-string.test.js.snap @@ -13,8 +13,6 @@ Array [ "* ensureDir dir: react-native-alice-bobbi/ ", "* ensureDir dir: react-native-alice-bobbi/ -", - "* ensureDir dir: react-native-alice-bobbi/ ", "* outputFile name: react-native-alice-bobbi/README.md content: @@ -48,6 +46,10 @@ content: \\"version\\": \\"1.0.0\\", \\"description\\": \\"TODO\\", \\"main\\": \\"index.js\\", + \\"files\\": [ + \\"README.md\\", + \\"index.js\\" + ], \\"scripts\\": { \\"test\\": \\"echo \\\\\\"Error: no test specified\\\\\\" && exit 1\\" }, @@ -108,12 +110,6 @@ yarn-error.log content: -------- -<<<<<<<< ======== >>>>>>>> -", - "* outputFile name: react-native-alice-bobbi/.npmignore -content: --------- - <<<<<<<< ======== >>>>>>>> ", ] 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 358611c1..2b73c1f2 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 @@ -17,8 +17,6 @@ Array [ "* ensureDir dir: react-native-alice-bobbi/ ", "* ensureDir dir: react-native-alice-bobbi/ -", - "* ensureDir dir: react-native-alice-bobbi/ ", "* ensureDir dir: react-native-alice-bobbi/android/ ", @@ -62,6 +60,11 @@ content: \\"version\\": \\"1.0.0\\", \\"description\\": \\"TODO\\", \\"main\\": \\"index.js\\", + \\"files\\": [ + \\"README.md\\", + \\"android\\", + \\"index.js\\" + ], \\"scripts\\": { \\"test\\": \\"echo \\\\\\"Error: no test specified\\\\\\" && exit 1\\" }, @@ -135,13 +138,6 @@ buck-out/ content: -------- -<<<<<<<< ======== >>>>>>>> -", - "* outputFile name: react-native-alice-bobbi/.npmignore -content: --------- -example - <<<<<<<< ======== >>>>>>>> ", "* outputFile name: react-native-alice-bobbi/android/build.gradle 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 0e466f76..e23b6ad2 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 @@ -17,8 +17,6 @@ Array [ "* ensureDir dir: react-native-alice-bobbi/ ", "* ensureDir dir: react-native-alice-bobbi/ -", - "* ensureDir dir: react-native-alice-bobbi/ ", "* ensureDir dir: react-native-alice-bobbi/android/ ", @@ -72,6 +70,13 @@ content: \\"version\\": \\"1.0.0\\", \\"description\\": \\"TODO\\", \\"main\\": \\"index.js\\", + \\"files\\": [ + \\"README.md\\", + \\"android\\", + \\"index.js\\", + \\"ios\\", + \\"react-native-alice-bobbi.podspec\\" + ], \\"scripts\\": { \\"test\\": \\"echo \\\\\\"Error: no test specified\\\\\\" && exit 1\\" }, @@ -166,13 +171,6 @@ content: -------- *.pbxproj -text -<<<<<<<< ======== >>>>>>>> -", - "* outputFile name: react-native-alice-bobbi/.npmignore -content: --------- -example - <<<<<<<< ======== >>>>>>>> ", "* outputFile name: react-native-alice-bobbi/android/build.gradle 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 bed8f5e7..dbf916a9 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 @@ -17,8 +17,6 @@ Array [ "* ensureDir dir: react-native-alice-bobbi/ ", "* ensureDir dir: react-native-alice-bobbi/ -", - "* ensureDir dir: react-native-alice-bobbi/ ", "* ensureDir dir: react-native-alice-bobbi/android/ ", @@ -72,6 +70,13 @@ content: \\"version\\": \\"1.0.0\\", \\"description\\": \\"TODO\\", \\"main\\": \\"index.js\\", + \\"files\\": [ + \\"README.md\\", + \\"android\\", + \\"index.js\\", + \\"ios\\", + \\"react-native-alice-bobbi.podspec\\" + ], \\"scripts\\": { \\"test\\": \\"echo \\\\\\"Error: no test specified\\\\\\" && exit 1\\" }, @@ -166,13 +171,6 @@ content: -------- *.pbxproj -text -<<<<<<<< ======== >>>>>>>> -", - "* outputFile name: react-native-alice-bobbi/.npmignore -content: --------- -example - <<<<<<<< ======== >>>>>>>> ", "* outputFile name: react-native-alice-bobbi/android/build.gradle 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 150508df..4bdc5032 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 @@ -17,8 +17,6 @@ Array [ "* ensureDir dir: react-native-alice-bobbi/ ", "* ensureDir dir: react-native-alice-bobbi/ -", - "* ensureDir dir: react-native-alice-bobbi/ ", "* ensureDir dir: react-native-alice-bobbi/android/ ", @@ -72,6 +70,13 @@ content: \\"version\\": \\"1.0.0\\", \\"description\\": \\"TODO\\", \\"main\\": \\"index.js\\", + \\"files\\": [ + \\"README.md\\", + \\"android\\", + \\"index.js\\", + \\"ios\\", + \\"react-native-alice-bobbi.podspec\\" + ], \\"scripts\\": { \\"test\\": \\"echo \\\\\\"Error: no test specified\\\\\\" && exit 1\\" }, @@ -166,13 +171,6 @@ content: -------- *.pbxproj -text -<<<<<<<< ======== >>>>>>>> -", - "* outputFile name: react-native-alice-bobbi/.npmignore -content: --------- -example - <<<<<<<< ======== >>>>>>>> ", "* outputFile name: react-native-alice-bobbi/android/build.gradle 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 ac183255..f3cc6800 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 @@ -17,8 +17,6 @@ Array [ "* ensureDir dir: react-native-alice-bobbi/ ", "* ensureDir dir: react-native-alice-bobbi/ -", - "* ensureDir dir: react-native-alice-bobbi/ ", "* ensureDir dir: react-native-alice-bobbi/android/ ", @@ -72,6 +70,13 @@ content: \\"version\\": \\"1.0.0\\", \\"description\\": \\"TODO\\", \\"main\\": \\"index.js\\", + \\"files\\": [ + \\"README.md\\", + \\"android\\", + \\"index.js\\", + \\"ios\\", + \\"react-native-alice-bobbi.podspec\\" + ], \\"scripts\\": { \\"test\\": \\"echo \\\\\\"Error: no test specified\\\\\\" && exit 1\\" }, @@ -166,13 +171,6 @@ content: -------- *.pbxproj -text -<<<<<<<< ======== >>>>>>>> -", - "* outputFile name: react-native-alice-bobbi/.npmignore -content: --------- -test-demo - <<<<<<<< ======== >>>>>>>> ", "* outputFile name: react-native-alice-bobbi/android/build.gradle 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 0820a63c..07f9aee7 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 @@ -13,8 +13,6 @@ Array [ "* ensureDir dir: react-native-alice-bobbi/ ", "* ensureDir dir: react-native-alice-bobbi/ -", - "* ensureDir dir: react-native-alice-bobbi/ ", "* ensureDir dir: react-native-alice-bobbi/android/ ", @@ -68,6 +66,13 @@ content: \\"version\\": \\"1.0.0\\", \\"description\\": \\"TODO\\", \\"main\\": \\"index.js\\", + \\"files\\": [ + \\"README.md\\", + \\"android\\", + \\"index.js\\", + \\"ios\\", + \\"react-native-alice-bobbi.podspec\\" + ], \\"scripts\\": { \\"test\\": \\"echo \\\\\\"Error: no test specified\\\\\\" && exit 1\\" }, @@ -162,12 +167,6 @@ content: -------- *.pbxproj -text -<<<<<<<< ======== >>>>>>>> -", - "* outputFile name: react-native-alice-bobbi/.npmignore -content: --------- - <<<<<<<< ======== >>>>>>>> ", "* outputFile name: react-native-alice-bobbi/android/build.gradle 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 3dbf521b..4f89284e 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 @@ -13,8 +13,6 @@ Array [ "* ensureDir dir: react-native-alice-bobbi/ ", "* ensureDir dir: react-native-alice-bobbi/ -", - "* ensureDir dir: react-native-alice-bobbi/ ", "* ensureDir dir: react-native-alice-bobbi/android/ ", @@ -58,6 +56,11 @@ content: \\"version\\": \\"1.0.0\\", \\"description\\": \\"TODO\\", \\"main\\": \\"index.js\\", + \\"files\\": [ + \\"README.md\\", + \\"android\\", + \\"index.js\\" + ], \\"scripts\\": { \\"test\\": \\"echo \\\\\\"Error: no test specified\\\\\\" && exit 1\\" }, @@ -131,12 +134,6 @@ buck-out/ content: -------- -<<<<<<<< ======== >>>>>>>> -", - "* outputFile name: react-native-alice-bobbi/.npmignore -content: --------- - <<<<<<<< ======== >>>>>>>> ", "* outputFile name: react-native-alice-bobbi/android/build.gradle diff --git a/tests/with-injection/create/with-options/for-ios/__snapshots__/create-with-options-for-ios.test.js.snap b/tests/with-injection/create/with-options/for-ios/__snapshots__/create-with-options-for-ios.test.js.snap index b710409f..1b911595 100644 --- a/tests/with-injection/create/with-options/for-ios/__snapshots__/create-with-options-for-ios.test.js.snap +++ b/tests/with-injection/create/with-options/for-ios/__snapshots__/create-with-options-for-ios.test.js.snap @@ -15,8 +15,6 @@ Array [ "* ensureDir dir: react-native-alice-bobbi/ ", "* ensureDir dir: react-native-alice-bobbi/ -", - "* ensureDir dir: react-native-alice-bobbi/ ", "* ensureDir dir: react-native-alice-bobbi/ios/ ", @@ -58,6 +56,12 @@ content: \\"version\\": \\"1.0.0\\", \\"description\\": \\"TODO\\", \\"main\\": \\"index.js\\", + \\"files\\": [ + \\"README.md\\", + \\"index.js\\", + \\"ios\\", + \\"react-native-alice-bobbi.podspec\\" + ], \\"scripts\\": { \\"test\\": \\"echo \\\\\\"Error: no test specified\\\\\\" && exit 1\\" }, @@ -139,12 +143,6 @@ content: -------- *.pbxproj -text -<<<<<<<< ======== >>>>>>>> -", - "* outputFile name: react-native-alice-bobbi/.npmignore -content: --------- - <<<<<<<< ======== >>>>>>>> ", "* outputFile name: react-native-alice-bobbi/react-native-alice-bobbi.podspec 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 f76cce81..53d450da 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 @@ -13,8 +13,6 @@ Array [ "* ensureDir dir: react-native-alice-bobbi/ ", "* ensureDir dir: react-native-alice-bobbi/ -", - "* ensureDir dir: react-native-alice-bobbi/ ", "* ensureDir dir: react-native-alice-bobbi/android/ ", @@ -68,6 +66,13 @@ content: \\"version\\": \\"1.0.0\\", \\"description\\": \\"TODO\\", \\"main\\": \\"index.js\\", + \\"files\\": [ + \\"README.md\\", + \\"android\\", + \\"index.js\\", + \\"ios\\", + \\"react-native-alice-bobbi.podspec\\" + ], \\"scripts\\": { \\"test\\": \\"echo \\\\\\"Error: no test specified\\\\\\" && exit 1\\" }, @@ -162,12 +167,6 @@ content: -------- *.pbxproj -text -<<<<<<<< ======== >>>>>>>> -", - "* outputFile name: react-native-alice-bobbi/.npmignore -content: --------- - <<<<<<<< ======== >>>>>>>> ", "* outputFile name: react-native-alice-bobbi/android/build.gradle 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 06321e05..8fc22bfa 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 @@ -13,8 +13,6 @@ Array [ "* ensureDir dir: react-native-alice-bobbi/ ", "* ensureDir dir: react-native-alice-bobbi/ -", - "* ensureDir dir: react-native-alice-bobbi/ ", "* ensureDir dir: react-native-alice-bobbi/android/ ", @@ -68,6 +66,13 @@ content: \\"version\\": \\"1.0.0\\", \\"description\\": \\"TODO\\", \\"main\\": \\"index.js\\", + \\"files\\": [ + \\"README.md\\", + \\"android\\", + \\"index.js\\", + \\"ios\\", + \\"react-native-alice-bobbi.podspec\\" + ], \\"scripts\\": { \\"test\\": \\"echo \\\\\\"Error: no test specified\\\\\\" && exit 1\\" }, @@ -162,12 +167,6 @@ content: -------- *.pbxproj -text -<<<<<<<< ======== >>>>>>>> -", - "* outputFile name: react-native-alice-bobbi/.npmignore -content: --------- - <<<<<<<< ======== >>>>>>>> ", "* outputFile name: react-native-alice-bobbi/android/build.gradle 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 6bfe828e..caad3cc4 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 @@ -13,8 +13,6 @@ Array [ "* ensureDir dir: custom-native-alice-bobbi/ ", "* ensureDir dir: custom-native-alice-bobbi/ -", - "* ensureDir dir: custom-native-alice-bobbi/ ", "* ensureDir dir: custom-native-alice-bobbi/android/ ", @@ -68,6 +66,13 @@ content: \\"version\\": \\"1.0.0\\", \\"description\\": \\"TODO\\", \\"main\\": \\"index.js\\", + \\"files\\": [ + \\"README.md\\", + \\"android\\", + \\"index.js\\", + \\"ios\\", + \\"custom-native-alice-bobbi.podspec\\" + ], \\"scripts\\": { \\"test\\": \\"echo \\\\\\"Error: no test specified\\\\\\" && exit 1\\" }, @@ -162,12 +167,6 @@ content: -------- *.pbxproj -text -<<<<<<<< ======== >>>>>>>> -", - "* outputFile name: custom-native-alice-bobbi/.npmignore -content: --------- - <<<<<<<< ======== >>>>>>>> ", "* outputFile name: custom-native-alice-bobbi/android/build.gradle 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 178ff61c..aa86364b 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 @@ -13,8 +13,6 @@ Array [ "* ensureDir dir: custom-native-module/ ", "* ensureDir dir: custom-native-module/ -", - "* ensureDir dir: custom-native-module/ ", "* ensureDir dir: custom-native-module/android/ ", @@ -68,6 +66,13 @@ content: \\"version\\": \\"1.0.0\\", \\"description\\": \\"TODO\\", \\"main\\": \\"index.js\\", + \\"files\\": [ + \\"README.md\\", + \\"android\\", + \\"index.js\\", + \\"ios\\", + \\"custom-native-module.podspec\\" + ], \\"scripts\\": { \\"test\\": \\"echo \\\\\\"Error: no test specified\\\\\\" && exit 1\\" }, @@ -162,12 +167,6 @@ content: -------- *.pbxproj -text -<<<<<<<< ======== >>>>>>>> -", - "* outputFile name: custom-native-module/.npmignore -content: --------- - <<<<<<<< ======== >>>>>>>> ", "* outputFile name: custom-native-module/android/build.gradle diff --git a/tests/with-mocks/cli/command/action-func/with-logging/with-bogus-platforms/bogus-name/__snapshots__/cli-command-with-bogus-platforms-name.test.js.snap b/tests/with-mocks/cli/command/action-func/with-logging/with-bogus-platforms/bogus-name/__snapshots__/cli-command-with-bogus-platforms-name.test.js.snap index b645468d..cd800317 100644 --- a/tests/with-mocks/cli/command/action-func/with-logging/with-bogus-platforms/bogus-name/__snapshots__/cli-command-with-bogus-platforms-name.test.js.snap +++ b/tests/with-mocks/cli/command/action-func/with-logging/with-bogus-platforms/bogus-name/__snapshots__/cli-command-with-bogus-platforms-name.test.js.snap @@ -53,9 +53,6 @@ Android packageIdentifier: com.reactlibrary Object { "ensureDir": "react-native-alice-bobbi/", }, - Object { - "ensureDir": "react-native-alice-bobbi/", - }, Object { "outputFileName": "react-native-alice-bobbi/README.md", "theContent": "# react-native-alice-bobbi @@ -85,6 +82,10 @@ AliceBobbi; \\"version\\": \\"1.0.0\\", \\"description\\": \\"TODO\\", \\"main\\": \\"index.js\\", + \\"files\\": [ + \\"README.md\\", + \\"index.js\\" + ], \\"scripts\\": { \\"test\\": \\"echo \\\\\\"Error: no test specified\\\\\\" && exit 1\\" }, @@ -140,10 +141,6 @@ yarn-error.log "outputFileName": "react-native-alice-bobbi/.gitattributes", "theContent": "", }, - Object { - "outputFileName": "react-native-alice-bobbi/.npmignore", - "theContent": "", - }, Object { "log": Array [ " diff --git a/tests/with-mocks/cli/command/action-func/with-logging/with-bogus-platforms/empty-string/__snapshots__/cli-command-with-empty-platforms-string.test.js.snap b/tests/with-mocks/cli/command/action-func/with-logging/with-bogus-platforms/empty-string/__snapshots__/cli-command-with-empty-platforms-string.test.js.snap index 3a75f2c6..32a65fb5 100644 --- a/tests/with-mocks/cli/command/action-func/with-logging/with-bogus-platforms/empty-string/__snapshots__/cli-command-with-empty-platforms-string.test.js.snap +++ b/tests/with-mocks/cli/command/action-func/with-logging/with-bogus-platforms/empty-string/__snapshots__/cli-command-with-empty-platforms-string.test.js.snap @@ -53,9 +53,6 @@ Android packageIdentifier: com.reactlibrary Object { "ensureDir": "react-native-alice-bobbi/", }, - Object { - "ensureDir": "react-native-alice-bobbi/", - }, Object { "outputFileName": "react-native-alice-bobbi/README.md", "theContent": "# react-native-alice-bobbi @@ -85,6 +82,10 @@ AliceBobbi; \\"version\\": \\"1.0.0\\", \\"description\\": \\"TODO\\", \\"main\\": \\"index.js\\", + \\"files\\": [ + \\"README.md\\", + \\"index.js\\" + ], \\"scripts\\": { \\"test\\": \\"echo \\\\\\"Error: no test specified\\\\\\" && exit 1\\" }, @@ -140,10 +141,6 @@ yarn-error.log "outputFileName": "react-native-alice-bobbi/.gitattributes", "theContent": "", }, - Object { - "outputFileName": "react-native-alice-bobbi/.npmignore", - "theContent": "", - }, Object { "log": Array [ " 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 674134ec..fef31e1f 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 @@ -20,9 +20,6 @@ Array [ Object { "ensureDir": "react-native-alice-bobbi/", }, - Object { - "ensureDir": "react-native-alice-bobbi/", - }, Object { "ensureDir": "react-native-alice-bobbi/android/", }, @@ -82,6 +79,13 @@ AliceBobbi; \\"version\\": \\"1.0.0\\", \\"description\\": \\"TODO\\", \\"main\\": \\"index.js\\", + \\"files\\": [ + \\"README.md\\", + \\"android\\", + \\"index.js\\", + \\"ios\\", + \\"react-native-alice-bobbi.podspec\\" + ], \\"scripts\\": { \\"test\\": \\"echo \\\\\\"Error: no test specified\\\\\\" && exit 1\\" }, @@ -171,10 +175,6 @@ buck-out/ "theContent": "*.pbxproj -text ", }, - Object { - "outputFileName": "react-native-alice-bobbi/.npmignore", - "theContent": "", - }, Object { "outputFileName": "react-native-alice-bobbi/android/build.gradle", "theContent": "// android/build.gradle 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 77d307b5..21a3cdb0 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 @@ -224,9 +224,6 @@ Array [ Object { "ensureDir": "react-native-test-package/", }, - Object { - "ensureDir": "react-native-test-package/", - }, Object { "ensureDir": "react-native-test-package/android/", }, @@ -271,6 +268,11 @@ TestPackage; \\"version\\": \\"1.0.0\\", \\"description\\": \\"TODO\\", \\"main\\": \\"index.js\\", + \\"files\\": [ + \\"README.md\\", + \\"android\\", + \\"index.js\\" + ], \\"scripts\\": { \\"test\\": \\"echo \\\\\\"Error: no test specified\\\\\\" && exit 1\\" }, @@ -339,10 +341,6 @@ buck-out/ "outputFileName": "react-native-test-package/.gitattributes", "theContent": "", }, - Object { - "outputFileName": "react-native-test-package/.npmignore", - "theContent": "", - }, Object { "outputFileName": "react-native-test-package/android/build.gradle", "theContent": "// android/build.gradle 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 bf3a886b..1b9d6073 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 @@ -90,9 +90,6 @@ Android packageIdentifier: com.reactlibrary Object { "ensureDir": "react-native-alice-bobbi/", }, - Object { - "ensureDir": "react-native-alice-bobbi/", - }, Object { "ensureDir": "react-native-alice-bobbi/android/", }, @@ -152,6 +149,13 @@ AliceBobbi; \\"version\\": \\"1.0.0\\", \\"description\\": \\"TODO\\", \\"main\\": \\"index.js\\", + \\"files\\": [ + \\"README.md\\", + \\"android\\", + \\"index.js\\", + \\"ios\\", + \\"react-native-alice-bobbi.podspec\\" + ], \\"scripts\\": { \\"test\\": \\"echo \\\\\\"Error: no test specified\\\\\\" && exit 1\\" }, @@ -239,11 +243,6 @@ buck-out/ Object { "outputFileName": "react-native-alice-bobbi/.gitattributes", "theContent": "*.pbxproj -text -", - }, - Object { - "outputFileName": "react-native-alice-bobbi/.npmignore", - "theContent": "example ", }, 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 60e0d4f2..03f27c4f 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 @@ -90,9 +90,6 @@ Android packageIdentifier: com.reactlibrary Object { "ensureDir": "react-native-alice-bobbi/", }, - Object { - "ensureDir": "react-native-alice-bobbi/", - }, Object { "ensureDir": "react-native-alice-bobbi/android/", }, @@ -152,6 +149,13 @@ AliceBobbi; \\"version\\": \\"1.0.0\\", \\"description\\": \\"TODO\\", \\"main\\": \\"index.js\\", + \\"files\\": [ + \\"README.md\\", + \\"android\\", + \\"index.js\\", + \\"ios\\", + \\"react-native-alice-bobbi.podspec\\" + ], \\"scripts\\": { \\"test\\": \\"echo \\\\\\"Error: no test specified\\\\\\" && exit 1\\" }, @@ -239,11 +243,6 @@ buck-out/ Object { "outputFileName": "react-native-alice-bobbi/.gitattributes", "theContent": "*.pbxproj -text -", - }, - Object { - "outputFileName": "react-native-alice-bobbi/.npmignore", - "theContent": "example ", }, 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 9486d5df..6016762c 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 @@ -90,9 +90,6 @@ Android packageIdentifier: com.reactlibrary Object { "ensureDir": "react-native-alice-bobbi/", }, - Object { - "ensureDir": "react-native-alice-bobbi/", - }, Object { "ensureDir": "react-native-alice-bobbi/android/", }, @@ -152,6 +149,13 @@ AliceBobbi; \\"version\\": \\"1.0.0\\", \\"description\\": \\"TODO\\", \\"main\\": \\"index.js\\", + \\"files\\": [ + \\"README.md\\", + \\"android\\", + \\"index.js\\", + \\"ios\\", + \\"react-native-alice-bobbi.podspec\\" + ], \\"scripts\\": { \\"test\\": \\"echo \\\\\\"Error: no test specified\\\\\\" && exit 1\\" }, @@ -239,11 +243,6 @@ buck-out/ Object { "outputFileName": "react-native-alice-bobbi/.gitattributes", "theContent": "*.pbxproj -text -", - }, - Object { - "outputFileName": "react-native-alice-bobbi/.npmignore", - "theContent": "example ", }, 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 d8af777e..281934c0 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 @@ -84,9 +84,6 @@ Android packageIdentifier: com.alicebits Object { "ensureDir": "react-native-alice-bobbi/", }, - Object { - "ensureDir": "react-native-alice-bobbi/", - }, Object { "ensureDir": "react-native-alice-bobbi/android/", }, @@ -146,6 +143,13 @@ ABCAliceBobbi; \\"version\\": \\"1.0.0\\", \\"description\\": \\"TODO\\", \\"main\\": \\"index.js\\", + \\"files\\": [ + \\"README.md\\", + \\"android\\", + \\"index.js\\", + \\"ios\\", + \\"react-native-alice-bobbi.podspec\\" + ], \\"scripts\\": { \\"test\\": \\"echo \\\\\\"Error: no test specified\\\\\\" && exit 1\\" }, @@ -233,11 +237,6 @@ buck-out/ Object { "outputFileName": "react-native-alice-bobbi/.gitattributes", "theContent": "*.pbxproj -text -", - }, - Object { - "outputFileName": "react-native-alice-bobbi/.npmignore", - "theContent": "example ", }, Object {