@signalchain/tempo
v0.8.6
Published
A Node Graphql framework that uses Golang to create a resolver map and concatenate the SDL from GraphQL files into a useable schema for JavaScript APIs.
Downloads
51
Maintainers
Readme
Rollup Plugin Tempo
[WIP]
Install
npm i -D @signalchain/tempo
Test
If you run this the temp dir gets wacky.
# Adjust for your OS
cd src/package
# win32 && win64
go build && ./tempo.exe C:\\Projects\\signalchain\\code\\packages\\tempo-suite-esbuild\\plugin\\api src
#################################
# This works but not very dynamic
#################################
cd src/package
# Build
env GOOS=windows GOARCH=amd64 go build -o C:\\Projects\\signalchain\\code\\packages\\tempo-suite-esbuild\\plugin\\tempo\\.bin\\windows-amd64\\tempo.exe
# Run
C:\\Projects\\signalchain\\code\\packages\\tempo-suite-esbuild\\plugin\\tempo\\.bin\\windows-amd64\\tempo.exe C:\\Projects\\signalchain\\code\\packages\\tempo-suite-esbuild\\plugin\\api src any
# Both
env GOOS=windows GOARCH=amd64 go build -o C:\\Projects\\signalchain\\code\\packages\\tempo-suite-esbuild\\plugin\\tempo\\.bin\\windows-amd64\\tempo.exe && C:\\Projects\\signalchain\\code\\packages\\tempo-suite-esbuild\\plugin\\tempo\\.bin\\windows-amd64\\tempo.exe C:\\Projects\\signalchain\\code\\packages\\tempo-suite-esbuild\\plugin\\api src any