@zesty-io/nextjs-sync

0.0.2 • Public • Published

nextjs-sync

Tools for working with nextjs + zesty

Sync

Sync a zesty instance content and settings. Mapping them to nextjs env variables, configurations and components.

bin/sync

Sync will always update the .zesty directory JSON files and .env variables to the latest instance values.

Sync relies on the @zesty-io/cli init and auth:login commands. The init command handles initial authentication and instance creation or selection. It creates the .zesty directory which holds instance and project specific data. The init command must be run before the sync.

Sync relies on the @zesty-io/node-sdk. This is used for orchestrating authenticated API requests.

Redirects

Re-exports the @zesty-io/webengine-json redirect function but shapes the response to match the nextjs expected redirect data shape detailed in their documentation.

Readme

Keywords

none

Package Sidebar

Install

npm i @zesty-io/nextjs-sync

Weekly Downloads

0

Version

0.0.2

License

All Rights Reserved

Unpacked Size

21.2 kB

Total Files

16

Last publish

Collaborators

  • zestyionpm