Commit graph

34 commits

Author SHA1 Message Date
Endi
305e698e6e refactor(v2): migrate core to Typescript ❄️🌀🐋 (#1494)
* refactor(v2): add typing for docusaurus/core

* wip: last working

* refactor(v2): add typing for @docusaurus/core

* prettier

* dont run in parallel otherwise some are uncompiled

* nits

* more typing

* more typing

* nits

* type commands

* nits
2019-05-20 09:59:04 -07:00
Endi
cbd2a589e3 refactor(v2): migrate to Typescript ❄️🌀🐋 (#1490)
* refactor(v2): migrate to typescript

* scripts nits

* fix test

* nits

* nits

* tsconfig tweak
2019-05-18 11:37:35 -07:00
endiliey
e873c14918 v2.0.0-alpha.16 2019-05-16 16:01:52 +08:00
endiliey
86a1c3a1b1 v2.0.0-alpha.15 2019-05-15 21:56:12 +08:00
endiliey
8055d59131 v2.0.0-alpha.14 2019-05-15 19:37:46 +08:00
Yangshun Tay
23b50f17a1
refactor(v2): blog data revamp (#1450)
* refactor(v2): blog data revamp

* fix(v2): fix incorrect blog total count

* misc: remove console.log

* feat(v2): export frontMatter as an object within MDX file (#1451)

* refactor. Don't confuse metadata & frontmatter

* export frontMatter in content itself

* nits

* nits name

* dont truncate first four lines in blog
2019-05-13 00:16:15 -07:00
Endi
6136fbe1d2
feat(v2): meta description (#1447)
* feat(v2): meta description

* add description for blog as well

* fix non-descriptive text link

* remove font awesome

* switch front-matter -> gray-matter
2019-05-10 22:37:56 +07:00
Endi
56cd3a22ce
chore(v2): rm flowtype (#1444) 2019-05-09 18:32:56 +07:00
Endi
c2ebde997a
refactor(v2): add flowtype + refactor test (#1443)
* chore(v2): add flow setup

* nits

* fix

* add flow-typed

* ignore compiled library

* fix error

* fix typing

* fix module name mapper

* setup for @docusaurus/core

* dont try remove type without @flow

* fix can't find @docusaurus/utils

* fix test

* remove obscure relative paths

* more refactoring

* add typing for server/load/theme.js

* no need to ship .flow source
2019-05-08 23:03:52 +07:00
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
endiliey
86c24e9cf5 v2.0.0-alpha.12 2019-04-30 16:19:26 +08:00
Endilie Yacop Sucipto
16bec1cb47 refactor(v2): use hash to compare generated content (#1397) 2019-04-26 09:25:00 -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
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
Endilie Yacop Sucipto
f0dc68d01a
feat(v2): code-split metadata out of routes (#1359)
* move assets-manifest to generatedFilesDir

* rename generateChunkName -> genChunkName

* implement docuHash and genComponentName

* feat(v2): code-split routes and metadata

* don't code split component code out

* simplify metadata path

* nits

* fix test

* address review
2019-04-13 12:37:05 +07: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
5872e2dd91
fix(v2): windows compatibility (#1353) 2019-04-10 15:30:30 +07:00
Yangshun Tay
4ac4a7c671 misc(v2): make packages dir more consistent 2019-04-01 22:18:44 -07:00
Endilie Yacop Sucipto
57d06a8da3 feat(v2): webpack chunk naming and splitting (#1323)
* feat(v2): webpack chunk naming & splitting

* component chunkName should be based on component import path

* nits

* css chunk naming

* typo on package.json

* Update routes.js
2019-03-30 08:42:14 -07:00
Endilie Yacop Sucipto
1bd2640749
chore(v2): update dependency (#1316) 2019-03-28 23:12:28 +08: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
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