cypress-io / schema-tools

Validate, sanitize and document JSON schemas

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Hmm, seems we need to include dependencies used by doc script

bahmutov opened this issue ยท comments

For example quote should become production dependency, otherwise getting

  Loading ./schema-check.ts
Error: Cannot find module 'quote'
    at Function.Module._resolveFilename (module.js:538:15)
    at Function.Module._load (module.js:468:25)
    at Module.require (module.js:587:17)
    at require (internal/module.js:11:18)
    at Object.<anonymous> (/Users/gleb/git/todo-api-with-json-schema/node_modules/@cypress/schema-tools/dist/document/docs.js:9:31)

when trying to load this module

๐ŸŽ‰ This issue has been resolved in version 2.1.2 ๐ŸŽ‰

The release is available on:

Your semantic-release bot ๐Ÿ“ฆ๐Ÿš€