doczjs / docz

✍ It has never been so easy to document your things!
https://docz.site
MIT License
23.55k stars 1.46k forks source link

Rollback typescript as peer-dependency at all #1675

Open renatobenks opened 2 years ago

renatobenks commented 2 years ago

Bug Report

Describe the bug

Basically, within the latest changes that came in, users not using typescript will face some troubles installing docz, because typescript was been added as peer-dependency, which introduced this new breaking-change that it's not interesting for any of us.

To Reproduce

  1. Install docz (npm install docz —-save-dev) where you don't have typescript.
  2. See error in console

Expected behavior

Users not using typescript and their codebases should be able still to install and use docz.

Steps:

Environment

Additional context/Screenshots