1.0.28 • Published 3 months ago

@oxyflour/sn v1.0.28

Weekly downloads
-
License
ISC
Repository
-
Last release
3 months ago

Experimental Full-stack Development Tool

  • next-like front pages serving (check src/pages)
  • typesafe async functions and generators invokes (check src/lambda)
  • automatically image building with kaniko and deploying in kubernetes

cli

# serve tsx pages in `pages` folder and async functions/generators in `lambda` folder,
# with hot-module-reloading enabled
sn
# deploy current app to kubernetes
sn deploy

internal cli

# will be executed to build `pages` with webpack and `lambda` with typescript in kaniko
sn build
# will be executed when serving in kubernetes in production mode
sn start
# will be executed internally for serving generators
sn pip <hash> <url>