Anshul Goyal
|
2b4b6f73b7
|
feat(v2): replace yup validation by joi validation (#2962)
* replace yup with joi
* update test snapshots with new error messages
|
2020-06-22 19:40:52 +02:00 |
|
John Knox
|
ee5e59f633
|
fix(v2): fromExtensions and toExtensions translation with baseUrl (#2969)
|
2020-06-22 18:43:42 +02:00 |
|
Sam Zhou
|
6e43c9bd34
|
chore(v2): Fix more eslint errors (#2976)
|
2020-06-21 15:09:00 +08:00 |
|
Sam Zhou
|
3611c96f90
|
chore(v2): Fix a lot of eslint warnings (#2972)
|
2020-06-20 12:30:18 +08:00 |
|
slorber
|
16ba6e54b6
|
v2.0.0-alpha.58
|
2020-06-18 14:02:26 +02:00 |
|
Sébastien Lorber
|
72884a0c1a
|
chore(v2): fix eslint TS setup (#2949)
* update eslint parser
* fix yarn lint script
* lint-staged, lint ts files
* fix TS eslint configuration + fix some lint errors (https://github.com/facebook/docusaurus/pull/2949)
* eslint root + separate linting in 2 scripts
* test commit
* test commit
* test commit
* fix /// TS directive
|
2020-06-18 17:37:48 +08:00 |
|
Sébastien Lorber
|
b5d7c3a111
|
misc(v2): better dx: yarn clear, yarn watch, yarn serve (#2922)
* add clear + serve scripts
* add ability to launch all TS projects in --watch mode
* attempt to create a watch plugin
* use rimraf for clear script
* update watch plugin poc
* add start:v2:watch
* remove the watch plugin
|
2020-06-16 20:40:46 +08:00 |
|
slorber
|
6b507630e3
|
migrate useful helper functions to docusaurus-utils
|
2020-06-10 17:22:41 +02:00 |
|
slorber
|
0ac5a66a1f
|
rename fromRoutePath/toRoutePath to simply from/to
|
2020-06-04 14:31:26 +02:00 |
|
slorber
|
06673ee8c3
|
refactor: remove redirectCreator abstraction
|
2020-06-04 14:28:31 +02:00 |
|
slorber
|
e60c063120
|
snapshot update
|
2020-06-03 19:47:36 +02:00 |
|
slorber
|
89038dea0c
|
Fix non-strict validation error, allowing [] for string
|
2020-06-03 19:46:57 +02:00 |
|
slorber
|
00a79f69c7
|
Add chalk non-blocking errors + fix config bug
|
2020-06-03 19:28:57 +02:00 |
|
slorber
|
c224efb8a1
|
Add better options validation error
|
2020-06-03 17:53:54 +02:00 |
|
slorber
|
1439bad84c
|
Add redirects plugin option
|
2020-06-03 17:30:21 +02:00 |
|
slorber
|
a0991c581b
|
add context to error message
|
2020-06-03 16:07:27 +02:00 |
|
slorber
|
5bf85e44ac
|
add validateRedirect
|
2020-06-03 16:03:03 +02:00 |
|
Sébastien Lorber
|
6c4c6c5750
|
Fix updated version numbers
|
2020-05-28 17:31:11 +02:00 |
|
slorber
|
4913ca638e
|
remove useless comments
|
2020-05-27 18:08:06 +02:00 |
|
slorber
|
8b6dc032c6
|
update broken snapshot
|
2020-05-27 10:47:38 +02:00 |
|
slorber
|
cc1705e00c
|
add canonical url
|
2020-05-26 21:03:18 +02:00 |
|
slorber
|
9a2129551e
|
fix bad redirection url
|
2020-05-26 20:16:40 +02:00 |
|
slorber
|
cb2b5a5407
|
add write files test
|
2020-05-26 20:04:22 +02:00 |
|
slorber
|
8c8adc5e6b
|
fix annoying inline snapshot not working due to fmt/indentation issue
|
2020-05-26 19:12:19 +02:00 |
|
slorber
|
9a73680ea5
|
fix missing ensureDir call
|
2020-05-26 19:03:02 +02:00 |
|
slorber
|
0c330df5cc
|
fix template import issue
|
2020-05-25 20:06:52 +02:00 |
|
slorber
|
e93b98a242
|
fix writeRedirectFiles
|
2020-05-25 19:51:37 +02:00 |
|
slorber
|
26beb00476
|
improve a bit collectRedirects
|
2020-05-25 19:26:36 +02:00 |
|
slorber
|
d8c163e76b
|
stable collectRedirects
|
2020-05-25 19:18:36 +02:00 |
|
slorber
|
9579ac10fc
|
split collectRedirects and writeRedirectFiles in separate files
|
2020-05-25 18:21:41 +02:00 |
|
slorber
|
2695548b93
|
add proper normalizePluginOptions + tests
|
2020-05-25 18:05:57 +02:00 |
|
slorber
|
92c2d0839c
|
add tests for redirectCreators
|
2020-05-25 17:07:00 +02:00 |
|
slorber
|
d1a162ec30
|
createRedirectPageContent: use eta template + encode URI for meta refresh header + tests
|
2020-05-25 16:27:36 +02:00 |
|
slorber
|
fde4933cd5
|
add utils tests
|
2020-05-25 16:03:39 +02:00 |
|
slorber
|
fd47ca1925
|
feat(v2): docusaurus-plugin-client-redirects
|
2020-05-22 20:15:16 +02:00 |
|