Commit graph

68 commits

Author SHA1 Message Date
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
Endi
32c9d07b90
perf(v2): improve dev build time by not overwriting file if possible (#2089)
* perf(v2): improve sequential build time by not overwriting file if possible

* minor improvement

* docs
2019-12-06 12:17:41 +07:00
endiliey
464d8e529a v2.0.0-alpha.37 2019-12-01 20:29:59 +07:00
endiliey
ceea69df2f test(v2): add more test to normalizeUrl 2019-11-26 18:26:55 +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
Endi
3be2e86546
chore: bump dev dependencies (#1955)
* chore: bump devdeps

* upd infima url
2019-11-11 17:44:26 +07:00
Endi
639d8d3eac
perf(v2): skip runtime fileHash cache in prod & get timestamp asynchronously (#1951)
* skip hash calculation in prod when generating file

* perf: convert lastUpdated to be async process

* changelog
2019-11-08 23:35:39 +07:00
Endi
e04c8f140f perf/fix(v2): more efficient hot reload & consistent filegen (#1950)
* perf(v2): efficient hot reload, consistent generated file

* changelog

* more
2019-11-08 17:14:14 +08:00
endiliey
e6b077410c v2.0.0-alpha.33 2019-11-08 13:27:03 +07:00
Endi
baa884fe2e fix(v2): fix chokidar/watcher does not trigger reload on windows (#1943)
* fix(v2): fix chokidar/watcher does not trigger reload on windows

* nits

* nits

* stronger test
2019-11-06 23:52:40 +08:00
endiliey
cd9e2f2346 v2.0.0-alpha.32 2019-11-04 12:45:05 +07:00
Endi
fabaf7772b perf(v2): significantly reduce bundle size & initial html payload (#1898)
* perf(v2): reduce bundle size significantly with super short chunk name and registry

* changelog

* use hash:8 as id for better long term caching

* even shorter filename. slice contenthash
2019-10-27 07:09:19 -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
endiliey
8d4def5c08 v2.0.0-alpha.25 2019-10-01 20:29:26 +07:00
Endi
ca3ae5ea96
chore: upgrade deps (#1733) 2019-08-01 19:14:12 +07:00
endiliey
41126fed12 v2.0.0-alpha.24 2019-07-24 15:55:28 +07:00
endiliey
f37269aaad v2.0.0-alpha.23 2019-07-21 11:18:03 +07:00
endiliey
ae620cd530 v2.0.0-alpha.22 2019-07-20 18:31:41 +07:00
Endi
96d6369985
chore(v1.v2): upgrade a lot of packages deps (#1668)
* chore(v2): upgrade a lot of v2 packages deps

* chore(v1): upgrade a lot of v1 packages deps
2019-07-17 22:59:13 +07:00
endiliey
dc15a51745 v2.0.0-alpha.21 2019-07-14 18:54:53 +07:00
endiliey
307f384684 v2.0.0-alpha.20 2019-07-14 17:36:40 +07:00
James George
d8b5323836 misc(v2): refactor utils code to be slightly more concise (#1633) 2019-07-05 11:16:57 -07:00
endiliey
1fecdb7d02 v2.0.0-alpha.19 2019-06-07 00:52:48 +08:00
endiliey
b267d8136d v2.0.0-alpha.18 2019-05-30 09:59:50 +08:00
endiliey
7da4e3ea2f v2.0.0-alpha.17 2019-05-29 20:48:19 +08:00
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