Commit graph

204 commits

Author SHA1 Message Date
Sébastien Lorber
1083454dbd
chore(v2): prepare v2.0.0.alpha-60 release (#3154)
* alpha 60

* v2.0.0-alpha.60

* update publish guide
2020-07-29 17:45:54 +02:00
Sébastien Lorber
0eb9c207cf
chore(v2): v2.0.0.alpha-59 release (#3114)
* alpha 59 release preparation

* v2.0.0-alpha.59
2020-07-24 16:22:51 +02:00
Anshul Goyal
a3849860ae
fix(v2):pass siteConfig as prop to pages (#3025)
* pass config as prop to pages

* use existing file

* Update packages/docusaurus-plugin-content-pages/src/index.ts

Co-authored-by: Sébastien Lorber <slorber@users.noreply.github.com>

Co-authored-by: Sébastien Lorber <slorber@users.noreply.github.com>
2020-07-09 18:57:41 +02:00
Sébastien Lorber
9265de982b
chore(v2): refactor scripts + add theme-classic watchmode (#2998) 2020-07-01 18:30:44 +02:00
Teik Jun
0f59cd1599
feat(v2): add option validation for remaining official plugins (#2970)
* feat(v2): add option validation lifecycle method

* chore(v2): add dependencies

* chore(v2): add yup dependency

* feat(v2): add option validation for plugin-content-docs

* chore(v2): add facebook copyright

* refactor(v2): remove unused variable

* chore(v2): add dependencies

* chore(v2): add copyright

* fix(v2): use strict for option validation

* feat(v2): add option validation for plugin-content-pages

* feat(v2): add schema for plugin-google-analytics and plugin-google-gtag

* feat(v2): add option validation for plugin-sitemap

* chore(v2): add dependency for yup

* fix(v2): remove strict to allow normalization

* refactor(v2): refactor validate method

* feat(v2): modify existing tests

* feat(v2): add tests for plugin normalization

* style(v2): use a more descriptive filename for schema

* feat(v2): add normalization tests

* feat(v2): add more tests for option validation

* refactor(v2): remove unused code

* refactor(v2): remove unused code

* refactor(v2): refactor methods and types

* feat(v2): replace Yup with Joi

* fix(v2): fix plugin-content-docs schema

* feat(v2): modify tests for plugin-content-docs

* fix(v2): fix a typo

* refactor(v2): improve tests and refactor code

* feat(v2): support both commonjs and ES modules

* refactor(v2): refactor validateOption method

* style(v2): fix eslint errors and typo in types

* chore(v2): remove unused yup dependency

* style(v2): standardize naming across official plugins

* chore(v2): update test snapshots

* chore(v2): remove obsolete snapshots

* chore(v2): fix a typo and check test

* feat(v2): add validation for new field

* feat(v2): add test for new field
2020-06-26 15:14:59 +02:00
slorber
16ba6e54b6 v2.0.0-alpha.58 2020-06-18 14:02:26 +02: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
Alexey Pyltsyn
d8ebe8b2e4 v2.0.0-alpha.56 2020-05-27 20:18:28 +03:00
Sam Zhou
33b60c6ba4
fix(v2): Consistently use 10.15.1 as the minimum required node version (#2819) 2020-05-27 23:18:48 +08:00
Alexey Pyltsyn
d94a549cfb v2.0.0-alpha.55 2020-05-19 13:55:03 +03:00
Alexey Pyltsyn
753d117025 v2.0.0-alpha.54 2020-04-28 09:49:27 +03:00
Alexey Pyltsyn
d90fdb04d5 v2.0.0-alpha.53 2020-04-27 16:38:33 +03:00
Alexey Pyltsyn
7359945f52 v2.0.0-alpha.52 2020-04-27 16:30:15 +03:00
Alexey Pyltsyn
c9c5aedcb5 v2.0.0-alpha.51 2020-04-27 14:44:56 +03:00
Alexey Pyltsyn
1f00d15c74 chore(v2): fix code style (revert previous changes) 2020-04-05 17:38:12 +03:00
Alexey Pyltsyn
6965a668cd chore(v2): fix code style 2020-04-05 17:30:59 +03:00
Yangshun Tay
b07507c9cc
chore(v2): upgrade devDependencies (#2538)
* chore(v2): upgrade devDependencies

* chore(v2): upgrade devDependencies

* chore: prettier
2020-04-05 19:07:44 +08:00
Alexey Pyltsyn
c207c3ba31 v2.0.0-alpha.50 2020-04-02 21:00:47 +03:00
Yangshun Tay
409f169379 v2.0.0-alpha.49 2020-04-01 16:00:14 +08:00
Alexey Pyltsyn
38bb8c4ced v2.0.0-alpha.48 2020-03-09 01:46:10 +03:00
Alexey Pyltsyn
1dc1f21e91 v2.0.0-alpha.47 2020-03-08 23:40:44 +03:00
Alexey Pyltsyn
9d45993da2 v2.0.0-alpha.46 2020-03-08 23:29:42 +03:00
Alexey Pyltsyn
bbb465be02 v2.0.0-alpha.45 2020-03-08 23:07:13 +03:00
Yangshun Tay
1e09feb2db v2.0.0-alpha.44 2020-03-08 23:45:30 +08:00
Alexey Pyltsyn
68a5cd5df1
fix(v2): make proper path to pages in TS (#2334) 2020-02-27 09:59:02 +08:00
Yangshun Tay
32c1a92b17
chore: yearless copyright headers for source code (#2320)
* chore: yearless copyright headers for source code

* update snapshots
2020-02-25 23:12:28 +08:00
Yangshun Tay
3056479ed2 v2.0.0-alpha.43 2020-02-18 18:54:39 +08:00
Yangshun Tay
8a96e0bff6 v2.0.0-alpha.42 2020-02-18 18:51:41 +08:00
Yangshun Tay
3ba753922e Revert "v2.0.0-alpha.42"
This reverts commit d48200be7d.
2020-02-18 18:47:36 +08:00
Alexey Pyltsyn
d48200be7d v2.0.0-alpha.42 2020-02-18 13:29:02 +03:00
Yangshun Tay
d39c301db8 v2.0.0-alpha.41 2020-02-16 23:03:18 +08:00
Jonathan Delgado
5cb3309790 feat(v2): allow for TypeScript pages and components (#2221) 2020-01-20 10:55:50 +08:00
Yangshun Tay
a38125a718
chore: drop support for node <10.9 (#2207)
* drop node <10.9 on 2020

* misc: add nvmrc

Co-authored-by: Endi <endiliey@gmail.com>
2020-01-12 13:24:11 +08:00
endiliey
dad50823b6 v2.0.0-alpha.40 2019-12-25 16:41:52 +07:00
endiliey
cfc313d7c7 v2.0.0-alpha.39 2019-12-07 13:18:13 +07:00
endiliey
3bb251904b v2.0.0-alpha.38 2019-12-06 14:15:48 +07:00
Endi
7f8aca2ddc
perf(v2): smaller bundlesize by embedding metadata to content (#2088)
* wip embed metadata to content

* embed metadata in blog as well

* refactor

* update test

* yarn lock

* avoid overwriting file everytime we run new nodejs process

* nits
2019-12-06 12:34:21 +07:00
endiliey
464d8e529a v2.0.0-alpha.37 2019-12-01 20:29:59 +07:00
Endi
421f862701 breaking(v2): required nodejs version >=8.9 -> >=8.10 so we can use es2017 (#2045) 2019-11-24 21:40:57 -08:00
endiliey
c413cff212 v2.0.0-alpha.36 2019-11-22 12:41:22 +07:00
endiliey
6204d9a9ec v2.0.0-alpha.35 2019-11-17 16:51:57 +07:00
endiliey
f1180d0eb6 v2.0.0-alpha.34 2019-11-11 21:35:03 +07:00
endiliey
e6b077410c v2.0.0-alpha.33 2019-11-08 13:27:03 +07:00
endiliey
cd9e2f2346 v2.0.0-alpha.32 2019-11-04 12:45:05 +07:00
endiliey
d4342dcbf3 v2.0.0-alpha.31 2019-10-26 14:12:15 +07:00
endiliey
b65c1b2242 v2.0.0-alpha.30 2019-10-22 12:23:55 +07:00
endiliey
b56adb7ca1 v2.0.0-alpha.29 2019-10-21 19:28:36 +07:00
endiliey
87866c1d1d v2.0.0-alpha.28 2019-10-21 12:28:12 +07:00
endiliey
0cf5a5bf49 v2.0.0-alpha.27 2019-10-14 18:10:32 +07:00
endiliey
d1e426afd8 v2.0.0-alpha.26 2019-10-12 11:53:42 +07:00