Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: update ‘js’ value type to new value ‘library’ in create library …
…script (#253) ### Summary The [email protected] has the wrong type value reference for javascript library, and prompt script force to choose a language for mobile. I'm not sure it fixes everything, but script now seems to work correctly for javascript library path. ``` $ npx [email protected] awesome-module ✔ What is the name of the npm package? … react-native-awesome-module ✔ What is the description for the package? … An awesome module ✔ What is the name of package author? … Marco Travaglini ✔ What is the email address for the package author? … [email protected] ✔ What is the URL for the package author? … https://gitlab.com/napcoder ✔ What is the URL for the repository? … https://gitlab.com/napcoder/react-native-awesome-module ✔ What type of library do you want to develop? › JavaScript library ? Which languages do you want to use? › - Use arrow-keys. Return to submit. ❯ Java & Objective-C Java & Swift Kotlin & Objective-C Kotlin & Swift C++ for both iOS & Android ``` ### Test plan ``` [napcoder@Ceres:~/projects/moduli/prove]$ ../../react-native-builder-bob/packages/create-react-native-library/bin/create-react-native-library awesome-module ✔ What is the name of the npm package? … react-native-awesome-module ✔ What is the description for the package? … An awesome module ✔ What is the name of package author? … Marco Travaglini ✔ What is the email address for the package author? … [email protected] ✔ What is the URL for the package author? … https://gitlab.com/napcoder ✔ What is the URL for the repository? … https://gitlab.com/napcoder/react-native-awesome-module ✔ What type of library do you want to develop? › JavaScript library ✔ What type of example app do you want to generate? › JavaScript only (with Expo and Web support) Project created successfully at authsdk! Get started with the project: $ yarn Run the example app on iOS: $ yarn example ios Run the example app on Android: $ yarn example android Run the example app on Web: $ yarn example web Good luck! ```
- Loading branch information