Alexey Pyltsyn
1f00d15c74
chore(v2): fix code style (revert previous changes)
2020-04-05 17:38:12 +03:00
Alexey Pyltsyn
6965a668cd
chore(v2): fix code style
2020-04-05 17:30:59 +03:00
Yangshun Tay
b07507c9cc
chore(v2): upgrade devDependencies ( #2538 )
...
* chore(v2): upgrade devDependencies
* chore(v2): upgrade devDependencies
* chore: prettier
2020-04-05 19:07:44 +08:00
Alexey Pyltsyn
68a5cd5df1
fix(v2): make proper path to pages in TS ( #2334 )
2020-02-27 09:59:02 +08:00
Yangshun Tay
32c1a92b17
chore: yearless copyright headers for source code ( #2320 )
...
* chore: yearless copyright headers for source code
* update snapshots
2020-02-25 23:12:28 +08:00
Jonathan Delgado
5cb3309790
feat(v2): allow for TypeScript pages and components ( #2221 )
2020-01-20 10:55:50 +08: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
Yangshun Tay
c4cc7f881b
refactor(v2): add typing for pages plugin ( #1813 )
...
* refactor(v2): add typing for pages plugin
* misc: new lines
2019-10-07 22:35:58 -07:00
Endi
8b60e93bcb
refactor(v2): remove unused metadata for pages ( #1694 )
...
* refactor(v2): remove unused metadata for pages
* changelog
2019-07-23 23:23:21 +07:00
Yangshun Tay
a684806a0f
fix(v2): do not reveal environment file path ( #1692 )
...
* fix(v2): do not reveal environment file path
* changelog
* fix broken markdown linking
2019-07-23 13:12:21 +07:00
Endi
6287739bec
feat(v2): shorter chunk naming for pages ( #1688 )
...
* refactor(v2): dont show absolute path for pages chunk/source naming
* test n changelog
2019-07-22 15:53:29 -07:00
Yangshun Tay
ffbc7a37f8
refactor(v2): move source files to be under website/src directory ( #1609 )
...
* refactor(v2): move source files to be under website/src directory
* misc: rename src constant
2019-06-15 09:59:23 -07:00
Yangshun Tay
6a814ac64a
refactor(v2): change plugin api ( #1547 )
...
* misc(v2): new plugin format example
* refactor(v2): make all plugins a function returning objects
* misc: add CHANGELOG
* misc(v2): update CHANGELOG
* misc(v2): fix tests
* misc(v2): convert swizzle command
* misc(v2): convert sitemap back to commonjs
2019-06-02 20:37:22 -07:00
Hongarc
2a08e9c57d
refactor(v2): return value instead of Promise in async ( #1545 )
2019-06-02 10:40:45 -07:00
Endi
55d7920825
fix(v2): handle non existent blog, docs, pages ( #1459 )
...
* fix(v2): handle non existent blog, docs, pages
* nits
2019-05-15 13:55:07 +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
Yangshun Tay
637047af2c
refactor(v2): remove page plugin component
2019-05-05 12:33:54 -07:00
Yangshun Tay
fb56f853af
misc(v2): rename components ( #1434 )
...
* misc(v2): clean up work
* misc(v2): rename components
2019-05-04 15:16:10 -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
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
Endilie Yacop Sucipto
2a13c7773f
feat(v2): enable exact for addRoute API ( #1374 )
2019-04-20 08:09:21 -07: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
Endilie Yacop Sucipto
2248b4b927
fix(v2): fix chokidar not watching files correctly ( #1340 )
2019-04-06 11:52:49 -07:00
Yangshun Tay
4ac4a7c671
misc(v2): make packages dir more consistent
2019-04-01 22:18:44 -07:00