Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/kureev/schemify
TypeScript compiler for React Native CodeGen project
https://github.com/kureev/schemify
codegen compiler react-native typescript
Last synced: 29 days ago
JSON representation
TypeScript compiler for React Native CodeGen project
- Host: GitHub
- URL: https://github.com/kureev/schemify
- Owner: Kureev
- Created: 2019-03-11T21:20:46.000Z (almost 6 years ago)
- Default Branch: master
- Last Pushed: 2019-06-07T00:00:59.000Z (over 5 years ago)
- Last Synced: 2024-10-28T00:36:57.658Z (3 months ago)
- Topics: codegen, compiler, react-native, typescript
- Language: TypeScript
- Homepage: https://github.com/react-native-community/discussions-and-proposals/issues/92
- Size: 161 KB
- Stars: 3
- Watchers: 2
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
## Schemify
Schemify is a TypeScript compiler for React Native CodeGen project. It converts third-party React Native UI components written in TypeScript into a React Native CodeGen Schema that can be further processed by React Native CodeGen.
## Usage
```sh
$ npx schemify output-schema.json path/to/component1 path/to/component2 path/to/componentN
```
This command will create an `output-schema.json` file with a JSON schema, generated from given array of components.## Why Schemify exists?
Schemify is not meant for standalone usage as it generates an intermediate representation of your TypeScript code that should be further processed by [React Native CodeGen](packages/react-native-codegen/src/generators/RNCodegen.js).This tool is intended to be used under the hood of upcoming `react-native codegen` command for TypeScript files.
## Support
Feel free to reach me out on [Twitter](https://twitter.com/kureevalexey) or file an issue in the repo.