Commit Graph

257 Commits

Author SHA1 Message Date
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 a54a1dd186 fix(v2): babel/env should pick correct browserslist config in dev (#1948)
* fix(v2): babel/env should pick correct browserslist config in dev

* nits
2019-11-08 14:15:02 +08:00
Endi fc4928f7a6
fix(v2): more consistent route config generation (#1946)
* fix(v2): more consistent route config generation

* nits

* snapshot

* address review & test upd

* reduce 2xloop -> 1x loop in docs plugin

* nits
2019-11-08 11:55:48 +07:00
Endi 384e83a737
chore(v2): upgrade deps (#1945)
* chore(v2): upgrade dependencies

* revert TS 3.7 optional chaining
2019-11-07 13:32:55 +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
endiliey ab1520548d chore: bump dependencies 2019-11-01 01:25:10 +07:00
Endi ca4efb6428
fix(v2): regression from prioritizing core node_modules logic (#1917)
* fix(v2): regression from prioritizing core node_modules logic

* nits
2019-10-30 13:02:05 +07:00
Endi e6444c0d4d
fix(v2): webpack modules resolve should prioritize @docusaurus/core own deps (#1907)
* fix(v2): webpack modules resolve should prioritize own deps

* nits
2019-10-29 14:43:27 +07:00
Endi 7714afb00f fix(v2): accessing /docs or /docs/xxxx should not be empty (#1903)
* fix(v2): nested routes should have wildcard/ not found page too

* better fix

* nits

* space
2019-10-29 02:37:30 +08:00
Yunus Rahbar 812a30be57 misc(v2): v1 backward compatibility for USE_SSH env var (#1880)
* misc(v2): address comments

* misc(v2): update CHANGELOG
2019-10-27 14:36:45 -07:00
Endi 98679b58f8 perf(v2): reduce memory usage consumption (#1900) 2019-10-27 13:10:51 -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
Endi 8bcb5dcfce perf(v2): disable hash for css modules localident in dev (#1882)
* perf(v2): disable hash for css modules localident in dev

* changelog
2019-10-25 00:01:21 -07:00
Endi 22fb8698c5 feat(v2): postcss should only use stage 3 features instead of stage 2 (#1872) 2019-10-23 22:25:10 -07:00
endiliey b65c1b2242 v2.0.0-alpha.30 2019-10-22 12:23:55 +07:00
Endi 4c4e6ad773
fix(v2): fix babel transpilation include/exclude logic (#1868)
* fix(v2): fix babel transpilation include/exclude logic

* nits

* optimize

* docs migration before alpha.30 hotfix
2019-10-22 12:17:00 +07:00
endiliey b56adb7ca1 v2.0.0-alpha.29 2019-10-21 19:28:36 +07:00
endiliey 7febe9ef94 chore(v2): bump core-js version 2019-10-21 19:26:47 +07:00
Endi 484526443e
fix(v2): fix missing deps and wrong babel config (#1867)
* fix(v2): fix missing deps and wrong babel config

* nits
2019-10-21 18:40:55 +07:00
Endi e5bb7c2ab8
feat(v2): new ui progress bar (#1866) 2019-10-21 18:32:23 +07:00
endiliey 87866c1d1d v2.0.0-alpha.28 2019-10-21 12:28:12 +07:00
Endi 1844c2bdd6
chore(v2): upgrade dependencies (#1865)
* chore(v2): upgrade dependencies

* nits
2019-10-21 12:25:30 +07:00
Endi abdc647b07
feat(v2): polyfill automatically depending on browserslist (#1857)
* feat(v2): polyfill corejs and ie11 compat

* use corejs/stable

* useBuiltIns => usage instead of entry

* chngelo

* nits

* breaking: withBaseUrl -> useBaseUrl

* nits

* loose mode for faster perf and smaller bundle
2019-10-21 11:09:16 +07:00
Endi 2c1012b9ec fix(v2): do not show plugin data path (#1861)
* fix(v2): do not show plugin data path

* test fix

* nits
2019-10-20 10:58:22 -07:00
Alexey Pyltsyn e408d72d26 feat(v2): add ability disable to open page in browser when start command (#1856)
* feat(v2): add ability disable to open page in browser when start command

* Replace disable-open-browser with no-open

* Fixes
2019-10-19 11:17:34 +07:00
Endi 7e60a283f1 fix(v2): swizzle should be able to handle single js file (#1846)
* fix(v2): swizzle should be able to handle single js file

* nits
2019-10-16 08:56:36 -07:00
Endi d96b5f99b9 fix(v2): swizzle should receive correct load context (#1844)
* fix(v2): swizzle should receive correct load context

* new prettier version

* niits
2019-10-16 08:56:09 -07:00
endiliey f4c0c85669 chore(v2): add license header for clean-webpack-plugin 2019-10-16 13:26:17 +07:00
Endi b1f6951fbb
feat(v2): allow plugin to extendCli (#1843)
* feat(v2): allow plugin to extendCli

* rename to externalCommand
2019-10-16 13:16:26 +07:00
Endi 46e8e03be0
refactor(v2): fix and improve typing (#1842) 2019-10-15 20:30:10 +07:00
Endi bdb129252c
perf(v2): fork clean-webpack-plugin to reduce memory (#1839)
* chore: fork clean-webpack-plugin

* deps
2019-10-14 19:37:50 +07:00
endiliey 0cf5a5bf49 v2.0.0-alpha.27 2019-10-14 18:10:32 +07:00
Endi 1dddb1f5ea
chore(v2): upgrade core dependency (#1837) 2019-10-14 15:33:10 +07:00
Yangshun Tay 9f6460fde0 misc: facebook/Docusaurus -> facebook/docusaurus 2019-10-12 01:11:34 -07:00
endiliey d1e426afd8 v2.0.0-alpha.26 2019-10-12 11:53:42 +07:00
Endi ffd927d1d0
feat(v2): add scripts and stylesheets field to config (#1831)
* Feat(v2): add  scripts and stylesheets field to config

* Update docusaurus.config.js.md

* review
2019-10-12 10:54:07 +08:00
Yangshun Tay 54e9e025d8 misc(v2): remove legacy from docs 2019-10-10 19:45:50 -07:00
Endi 1591128cdd
refactor(v2): add typing for docs plugin (#1811)
* refactor(v2): add typing for docs plugin

* nits
2019-10-07 18:28:33 +07:00
endiliey 8d4def5c08 v2.0.0-alpha.25 2019-10-01 20:29:26 +07:00
endiliey 9806b44a6d chore: fix expired discord invite link 2019-09-25 17:05:54 +07:00
Dongwoo Gim 961eb44ab1 refactor(v2): add common typing package `@docusaurus/types` (#1797)
* add common typing package `@docusaurus/typing-common`
.

* change name to `@docusaurus/types`

* refactor `packages/docusaurus/src/server/types`

* use directly `index.d.ts`
.

* add missing dependency `@docusaurus/types` on `@docusaurus/core`

* add missing dependency `@types/webpack`

* fix mistaken type

* typing package move to dev dependency

* Update package.json

see https://stackoverflow.com/questions/45176661/how-do-i-decide-whether-types-goes-into-dependencies-or-devdependencies
2019-09-25 17:48:56 +08:00
Endi 0397f7b719
chore(v2): upgrade babel, webpack, and mdx (#1798)
* chore: upgrade babel, webpack, and mdx

* changelog
2019-09-24 18:55:07 +08:00
Dongwoo Gim 78159f6dd5 refactor(v2): convert `@docusaurus/plugin-content-blog` to TypeScript (#1785)
* convert `@docusaurus/plugin-content-blog` to typescript

remove divided plugin
convert `@docusaurus/plugin-content-blog` to typescript
convert `@docusaurus/plugin-content-blog` to typescript
convert `@docusaurus/plugin-content-blog` to typescript
add `packages/docusaurus-plugin-content-blog/lib` to ignores
linted
refactoring type definition
fix test fails
lint

* lint
2019-09-16 23:46:57 +08:00
Yamagishi Kazutoshi 6c4ce5722e fix(v2): do not escape html and body attributes (#1747)
* fix(v2): do not escape html and body attributes

* Update CHANGELOG-2.x.md
2019-08-07 15:56:31 +07:00
Endi ca3ae5ea96
chore: upgrade deps (#1733) 2019-08-01 19:14:12 +07:00
Endi 7ce6edc1b1
feat(v2): disable optimization.removeAvailableModules for webpack performance (#1711) 2019-07-26 22:42:03 +07:00
endiliey 41126fed12 v2.0.0-alpha.24 2019-07-24 15:55:28 +07:00