0.1.6 • Published 3 years ago
bildit-appclip-generator v0.1.6
bildit-appclip-generator CLI
A CLI for generating necessary files and scripts for running AppClip inside React Native project.
Usage
Make sure to run the CLI on your React Native project root directory.
- Add a new AppClip target to your project from XCode by following this link. Make sure to use
Storyboard
asInterface
andObjective-C
asLanguage
- Run
npx bildit-appclip-generator g
- Provide your ios *.xcodeproj name without the prefix
- Select
react-native
as the framework - Enter your AppClip target name
- You can check the generated files on your React Native project.
Publishing to NPM
To package your CLI up for NPM, do this:
npm login
npm whoami
npm test
npm run build
npm publish
Contribute
To test this CLI locally, you can clone this project and run yarn link
to register the CLI on your machine.
After that you can test your changes locally by following Usage documentation.
To test the script on the example project, you need to run npm i
first.
Tools
This CLI built with Gluegun. Check out the documentation at https://github.com/infinitered/gluegun/tree/master/docs.
License
MIT - see LICENSE
TODO
- Add support for native iOS project using Swift
- Add support for native iOS project using Objective-C