Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/johanholmerin/tscm-examples
TypeScript Compiler Macro Examples (deprecated)
https://github.com/johanholmerin/tscm-examples
graphql macros pgtyped tscm typescript
Last synced: 15 days ago
JSON representation
TypeScript Compiler Macro Examples (deprecated)
- Host: GitHub
- URL: https://github.com/johanholmerin/tscm-examples
- Owner: johanholmerin
- License: mit
- Created: 2021-10-09T10:40:03.000Z (about 3 years ago)
- Default Branch: master
- Last Pushed: 2023-03-19T11:33:53.000Z (almost 2 years ago)
- Last Synced: 2024-10-19T11:53:21.252Z (2 months ago)
- Topics: graphql, macros, pgtyped, tscm, typescript
- Language: JavaScript
- Homepage:
- Size: 289 KB
- Stars: 1
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Deprecated
Since TypeScript 5 this project is no longer supported
---
# tscm example macros
A collection of macros for [tscm](https://github.com/johanholmerin/tscm). Intended as demonstration of tscm, **not production ready**. If you are interested in contributing to a macro, feel free to open an issue.
## Installation
```sh
# Yarn
yarn add tscm git+https://github.com/johanholmerin/tscm-examples#semver:^0.1.0# npm
npm install tscm git+https://github.com/johanholmerin/tscm-examples#semver:^0.1.0
```## Usage
Usage instructions for the macros are available at the links below. For compiler setup instructions, see the [tscm](https://github.com/johanholmerin/tscm) repo.
## Macros
- [graphql](macros/graphql)
- [yaml](macros/yaml)
- [const-json](macros/const-json)
- [json-schema](macros/json-schema)
- [typecheck](macros/typecheck)
- [pgtyped](macros/pgtyped)