Commit graph

483 commits

Author SHA1 Message Date
Endi
373d17ee72
refactor(v2): simplify code by removing wip i18n & translation (#1431)
* refactor(v2): remove i18n & versioning + cleaner code

* totally remove i18n and versioning from plugin
2019-05-02 17:24:47 +07:00
endiliey
76d210f1f1 v2.0.0-alpha.13 2019-05-01 21:27:50 +08:00
Endi
a1ee1ab140
chore(v2): use normalizeUrl instead of path.join (#1428)
* chore(v2): use normalizeUrl instead of path.join

* address review
2019-04-30 23:05:27 +07:00
endiliey
bc83a81e2d fix(v2): fix blog ordering 2019-04-30 22:39:20 +08:00
endiliey
fbe2fb879f fix(v2): plugin-content-blog should have mdx-loader as dependency 2019-04-30 16:42:36 +08:00
endiliey
86c24e9cf5 v2.0.0-alpha.12 2019-04-30 16:19:26 +08:00
Yangshun Tay
361986515c
feat(v2): presets (#1401)
* feat(v2): presets

* misc: add newline

* misc: add tests

* misc: fix path
2019-04-27 10:47:56 -07:00
Endilie Yacop Sucipto
b3cf9c62d5
feat(v2): createData plugin API (#1400)
* feat(v2): createModule plugin api

* remove unused stuff

* address review, createModule -> createData

* link.link -> link.url

* remove youtube page

* update yarn.lock
2019-04-27 14:13:53 +07:00
endiliey
7339bfea35 v2.0.0-alpha.11 2019-04-25 23:02:15 +08:00
Yangshun Tay
33a341e8c0 v2.0.0-alpha.10 2019-04-23 22:03:49 -07:00
Yangshun Tay
c50463fed4 v2.0.0-alpha.9 2019-04-23 22:02:29 -07:00
Yangshun Tay
f8c2f472c8 v2.0.0-alpha.8 2019-04-23 21:49:43 -07:00
Endilie Yacop Sucipto
2a13c7773f feat(v2): enable exact for addRoute API (#1374) 2019-04-20 08:09:21 -07:00
endiliey
1ce4195f14 v2.0.0-alpha.7 2019-04-16 22:38:11 +08:00
Yangshun Tay
96cb4672d5 feat(v2): implement ComponentCreator (#1366)
* v2(feat): convert blog to view-driven content queries

* feat(v2): port blog to use ContentRenderer

* misc(v2): fix test and change ContentRenderer url

* avoid chunkName collision

* avoid chunkname collision more

* fix(v2): fix content-renderer ssr problem (#1367)

* wip

* avoid chunk names collision

* ContentRenderer is a wrapper for Loadable

* convert docs and pages

* nits and rename

* rename routeModules -> modules

* remove lodash from component creator

* resolve chunk not being picked up correctly

* add comment for explanation

* small refactoring
2019-04-16 22:18:29 +08:00
endiliey
d097f73285 v2.0.0-alpha.6 2019-04-14 01:07:24 +08:00
Yangshun Tay
b4bfa084f1 v2.0.0-alpha.5 2019-04-10 13:26:45 -07:00
Yangshun Tay
2fe7d4c3b8 v2.0.0-alpha.4 2019-04-10 13:19:10 -07:00
Yangshun Tay
3ce215eb20 v2.0.0-alpha.3 2019-04-10 13:17:26 -07:00
Yangshun Tay
d80e0e5d83 v2.0.0-alpha.2 2019-04-10 13:05:24 -07:00
endiliey
a4fc63fbff v2.0.0-alpha.1 2019-04-11 00:56:40 +08:00
endiliey
2a37bbf84a v2.0.0-alpha.0 2019-04-10 22:35:17 +08:00
endiliey
3f09957045 chore: fix scoped packages publish error 2019-04-10 22:21:35 +08:00
Endilie Yacop Sucipto
6e9b85fe43 feat(v2): upgrade addRoutes API to introduce query (#1345)
* feat(v2): upgrade addRoutes API to enable query

* nits
2019-04-08 11:33:40 -07:00
Endilie Yacop Sucipto
2248b4b927 fix(v2): fix chokidar not watching files correctly (#1340) 2019-04-06 11:52:49 -07:00
Yangshun Tay
1a8e12048e feat(v2): docs plugin continued (#1337)
* refactor(v2): shift markdown loader into plugin

* fix(v2): build command configure webpack

* temporary fix for failing test
2019-04-06 21:01:29 +07:00
Yangshun Tay
a70d9b6720
feat(v2): docs plugin initial work (#1327)
* feat(v2): pluginify docs

* feat(v2): implement docs plugin

* fix(v2): fix bugs in docs plugin for translation and versioning
2019-03-31 11:37:35 -07:00
Yangshun Tay
6fd9253328 fix(v2): errornous default include in blog plugin 2019-03-30 15:34:28 -07:00
Yangshun Tay
43e0221b56
refactor(v2): use ejs for SSR HTML template (#1322) 2019-03-29 19:37:51 -07:00
Yangshun Tay
b31d502684
fix(v2): use docusaurus v2 as peer dependency (#1319) 2019-03-29 06:11:02 -07:00
Endilie Yacop Sucipto
4bd5d3937e
feat(v2): enhance @docusaurus/plugin-content-blog (#1311)
* feat(v2): @docusaurus/plugin-content-blog

* address code review
2019-03-26 01:39:58 +07:00
Endilie Yacop Sucipto
73b89658cc refactor(v2): plugins lifecycle (#1299)
* refactor(v2): plugins lifecycle

* dont allow duplicate plugin & fix typo
2019-03-23 16:08:36 -07:00
Endilie Yacop Sucipto
3a7a253db7
refactor(v2): plugin, utils as separate package (#1298)
* refactor(v2): plugin, utils as separate package

* rename docusaurus-plugin to @docusaurus/plugin

* update snapshot
2019-03-23 15:46:16 +07:00