Repository navigation
0.12.0
- BREAKING: Add inquirer to allow easy selection of collection (this can be skipped by passing
skipSelectionPromptin config)
Adding inquirer has meant a change on how you create and start the server. Docs will be updated soon but here is an example of the change needed:
void createServer(
{routes, collections, webSockets, staticPaths},
{
delay: 1000,
selected: process.env.SELECTED_MOCKS_COLLECTION ?? "base",
port: 3101,
},
).then((server) => {
void server.start()
})