Commit Graph

37 Commits

Author SHA1 Message Date
AlexVarchuk
117071ee83
fix: add handle local files for serve command (#1810) 2022-03-21 15:56:12 +02:00
Loïc Fürhoff
fb104e6966
feat: redoc-cli add host option (#1598) 2021-12-31 13:21:50 +02:00
Roman Hotsiy
92387bc653
chore: upgrade dependencies (#1634) 2021-06-02 15:53:36 +03:00
Andriy Leliv
ab2d57a5a2
fix: right absolute path for load and bundle definition (#1579) 2021-04-13 17:00:36 +03:00
Andriy Leliv
cc04106a68
fix: broken paths when budle or serve using cli (#1572) 2021-04-09 11:10:49 +03:00
Patrick Demers
c7bbef5155
feat: add disable-google-font parameter to serve command in cli (#1558) 2021-03-31 15:51:50 +03:00
baijunyao
d886751261
chore: remove duplicate semicolons (#1504) 2021-01-22 11:15:10 +02:00
Zakary Kamal Ismail
10414fc6d5
feat(cli): add the --title option to the serve subcommand (#1160) 2020-05-09 14:31:54 +03:00
Zakary Kamal Ismail
6d9a401b3b chore(cli): Lint and prettify cli/index.ts (#1074) 2020-01-10 14:29:09 +02:00
Zakary Kamal Ismail
e01eea445c feat(cli): Fallback on the spec's title before falling back on… (#1073) 2019-12-12 17:31:08 +02:00
Sergey Dubovyk
4adb927463 feat: added support for file paths as --options cli argument (#1049) 2019-10-12 12:30:41 +03:00
Sergey Dubovyk
2a28130c82 feat(cli): added support for JSON string value for --options CLI argument (#1047)
closes #797
2019-09-30 11:56:02 +02:00
Melvyn Sopacua
8632b193b2 refactor(cli): Update watching (#716)
- For now hardcode ignore JetBrain's "safe file changes".
- Show events for new files and directories
- Update spec on new files
2019-09-30 09:51:12 +02:00
duxiaofeng
aceb3438f2 feat(cli): add disableGoogleFont parameter to cli (#1045) 2019-09-25 18:14:21 +02:00
Andrew Berry
c99d9f6983
Add missing content type header on compressed responses of / 2019-06-28 10:02:05 -04:00
Roman Hotsiy
f31cf3534c
chore: fix cli declarations 2019-03-11 17:58:23 +02:00
Siarhei Bautrukevich
4e8ee0305d feat(cli): Add templateOptions param to pass additional data to custom template (#792)
* Add templateOptions param to pass additional data to custom template
* Update README for ReDoc cli
2019-01-31 09:51:44 +08:00
Melvyn Sopacua
df43cfbe64 refactor(cli): Use chokidar for watching
Caveat: could not get this to work with a debounce.
Fixes: recursive file watching on Linux (and thus Docker).
2018-11-03 17:03:59 +01:00
Roman Hotsiy
7df471b69d
chore: fix cli ts compiling 2018-10-18 14:10:32 +03:00
Roman Hotsiy
76906eb126
fix(cli): cli output crashes if script closing tag is in the spec
fixes #563
2018-07-17 15:16:06 +03:00
Roman Hotsiy
bab3e7dfce
fix: fix broken link in CLI help
fixes #559
2018-07-17 11:12:42 +03:00
Roman Hotsiy
7daa070311
chore(cli): cli v0.5.0 2018-06-25 14:43:58 +03:00
brushmate
723516b089 feat(cli): watch the directory that contains the specified spec instead of the spec itself (#519)
Fixes #514
2018-06-25 14:15:00 +03:00
brushmate
370d08aa1a fix(cli): make positional arguments required and handle errors in serve and bundle manually (#518) 2018-05-31 12:56:35 +03:00
brushmate
720c304484 fix(cli): return 1 as exit code if an error happens in the cli (#516) 2018-05-29 17:51:15 +03:00
brushmate
ac7372be6f fix(cli): create directories when a path is specified in the --output option (#513)
Fixes #512
2018-05-29 12:46:31 +03:00
Roman Hotsiy
3ee4210e6f
chore: fix cli lint issues 2018-05-17 11:49:38 +03:00
Roman Hotsiy
50184739c7
fix(cli): escape \u2029 \u2028 characters
see http://www.thespanner.co.uk/2011/07/25/the-json-specification-is-now-wrong/
related to #475
2018-05-17 11:43:53 +03:00
Roman Hotsiy
d9ee2d0d89
fix(cli): don't wait for content loaded in bundled HTML 2018-03-22 17:49:15 +02:00
Roman Hotsiy
c9c6bc5255
fix(cli): allow to set url to the spec in SSR mode 2018-03-20 13:22:41 +02:00
Roman Hotsiy
c729c6c75b
fix(cli): fix output option type 2018-03-20 13:01:45 +02:00
Roman Hotsiy
8891f5c97d
fix(cli): fix crash 2018-03-20 12:51:23 +02:00
Roman Hotsiy
2732c89316
feat(cli): add options to specify redoc options 2018-03-20 11:31:36 +02:00
Roman Hotsiy
b7afce9481
feat(cli): add --template option 2018-03-20 11:00:45 +02:00
Roman Hotsiy
bb8a6784c2
feat(cli): add title option to bundle 2018-03-20 10:21:05 +02:00
Roman Hotsiy
f993e9b443
chore: fix redoc standalone path in CLI 2018-03-18 17:49:07 +02:00
Roman Hotsiy
95c7585628
fix: move cli to a separate npm package 2018-03-18 11:15:17 +02:00