Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Node compatibility #7

Open
wants to merge 4 commits into
base: main
Choose a base branch
from
Open

Node compatibility #7

wants to merge 4 commits into from

Conversation

stephenwf
Copy link
Member

  • NodeJS compatible API, Bun not required to run
  • Removed --dev option, now all the same
  • New programatic building from the dev server
    • GET /config - to see all detected config
    • GET /build - run a default build (supports query strings)
      • GET /build?cache=false
      • GET /build?emit=false
      • POST /build {"cache": false}
      • POST /build {"exact": "manifests/example-123"} incremental build
      • GET /build/save - save to pending changes to disk (if you use emit=false)
    • GET /watch - enable watch mode (default: true)
    • GET /unwatch - disable watch mode
  • Optimised saving on a virtual FS (30-50% Faster)

Not yet implemented / bugs

  • replacement for the /editor/ page with the new Manifest Editor
  • page blocks configuration detection and saving server
  • port configuration option not working
  • Virtual collections + directory creation is not yet batched
  • No option for purely in-memory cache / server

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant