Commit graph

2682 commits

Author SHA1 Message Date
Endilie Yacop Sucipto
c129c68d1c feat(v2): enable user to analyze production bundle size (#1334)
* feat(v2): enable user to analyze bundle size with --bundle-analyzer for production

* nits
2019-04-03 10:42:11 -07:00
Endilie Yacop Sucipto
5db02f41a9 refactor(v2): hydrate on server existing markup instead of full rerender (#1333) 2019-04-03 09:26:37 -07:00
Yangshun Tay
4ac4a7c671 misc(v2): make packages dir more consistent 2019-04-01 22:18:44 -07:00
Yangshun Tay
029aa636a8
refactor(v2): load sidebars from docs plugin (#1328)
* refactor(v2): load sidebars from docs plugin

* fix(v2): update tests

* fix(v2): change to sidebarPath
2019-04-01 19:42:14 -07:00
Endilie Yacop Sucipto
8dd6bc1082
fix(v2): missing scripts/css on statically rendered html (#1329) 2019-04-01 15:02:45 +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
Endilie Yacop Sucipto
c33e874e1c
fix(v2): don't run terser in parallel for WSL (#1326)
* fix(v2): don't run terser in parallel for WSL

* nits

* Update base.js

* Update base.js
2019-03-31 13:41:28 +07:00
Yangshun Tay
6fd9253328 fix(v2): errornous default include in blog plugin 2019-03-30 15:34:28 -07:00
Yangshun Tay
f0ff211c94
fix(v2): webpack ejs warning during build (#1325) 2019-03-30 10:11:04 -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
bf6074c4c2 v1.8.0 (#1324)
* v1.8.0

* typo
2019-03-30 08:00:02 -07:00
Yangshun Tay
43e0221b56
refactor(v2): use ejs for SSR HTML template (#1322) 2019-03-29 19:37:51 -07:00
Endilie Yacop Sucipto
afed949136
feat(v2): docusaurus-link prefetch chunk within perimeter (#1321)
* feat(v2): docusaurus-link prefetch chunk within perimeter

* smaller padding

* dont hardcode padding
2019-03-29 21:33:46 +07:00
Yangshun Tay
542d02403b feat(v2): use __docusaurus as app root id (#1320) 2019-03-29 20:23:25 +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
f96ba2d381 refactor(v2): cli and loads (#1317)
* refactor(v2): cli, load

* nits
2019-03-29 02:45:20 -07:00
Parth Patel
d279836c40 feat: Add --skip-next-release option to yarn build (#1292) 2019-03-29 16:17:46 +07:00
Endilie Yacop Sucipto
1bd2640749
chore(v2): update dependency (#1316) 2019-03-28 23:12:28 +08:00
Endilie Yacop Sucipto
087fef7806
fix: autogenerated versions.js should not be confusing (#1314) 2019-03-28 20:35:13 +08:00
Yangshun Tay
431510e9ab fix: broken links due to monorepo migration 2019-03-26 22:03:53 -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
aa6b497ec8
refactor(v2): mdx-loader (#1310) 2019-03-25 22:35:37 +07:00
Endilie Yacop Sucipto
d51f2c9f92
fix: anchors links for underscore character (#1309) 2019-03-25 16:54:23 +07:00
Endilie Yacop Sucipto
c6c22a8271
feat(v2): faster production server build (#1306)
* feat(v2): faster production server build

* nits
2019-03-25 15:21:37 +07:00
Endilie Yacop Sucipto
290ccc5315
fix(v2): enable plugin not having pathsToWatch (#1305) 2019-03-25 15:07:00 +07:00
Endilie Yacop Sucipto
72242dddf4
feat(v2): postBuild() - plugin lifecycle (#1302)
* feat(v2): build() - plugin lifecycle

* rename to postBuild
2019-03-25 14:30:42 +07:00
Endilie Yacop Sucipto
c5d8e2d641 chore(v2): webpack-serve -> webpack-dev-server (#1303)
* chore(v2): webpack-serve -> webpack-dev-server

* Update start.js
2019-03-24 18:28:15 -07:00
Yangshun Tay
1edbeecbe5 chore(v2): add ESLint rule to check for Facebook copyright headers in JS files (#1301) 2019-03-24 14:50:26 +07:00
Yangshun Tay
1602b459da fix: update paths for monorepo 2019-03-23 21:53:32 -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
Endilie Yacop Sucipto
1f91d19a8c
chore: move to monorepo (#1297)
* chore: move to monorepo

* lint all js file

* simplify circleCI

* fix failing tests

* fix tests due to folder rename

* fix test since v1 website is renamed
2019-03-23 14:21:36 +07:00