qiniu / formstate-x

Manage state of form with ease.
https://qiniu.github.io/formstate-x
MIT License
34 stars 10 forks source link

upgrade typedoc to fix script build:doc #26

Closed nighca closed 4 years ago

nighca commented 4 years ago

Upgrade typedoc so that it uses newer version of typescript, which fits mobx@5.15.4

https://github.com/qiniu/formstate-x/runs/756313069

Using TypeScript 3.5.3 from /github/workspace/node_modules/typedoc/node_modules/typescript/lib
Error: /github/workspace/node_modules/mobx/lib/api/flow.d.ts(8)
 Type 'Generator' is not generic.
Error: /github/workspace/node_modules/mobx/lib/api/flow.d.ts(8)
 Cannot find name 'AsyncGenerator'.
npm ERR! code ELIFECYCLE
npm ERR! errno 4
npm ERR! formstate-x@1.1.0 build:doc: `rm -rf ./docs && typedoc`
npm ERR! Exit status 4
npm ERR! 
npm ERR! Failed at the formstate-x@1.1.0 build:doc script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

npm ERR! A complete log of this run can be found in:
npm ERR!     /github/home/.npm/_logs/2020-06-10T03_00_23_185Z-debug.log
Deploying to GitHub...
fatal: pathspec 'docs' did not match any files