Shigma and ULIVZ
898033c230
chore: fix typo ( #1310 )
2019-02-18 22:25:30 +08:00
ULIVZ
8f43be567f
refactor: update code style
2019-02-04 02:02:44 +08:00
ULIVZ and GitHub
81e3ef63e3
feat($core): leverage webpack-dev-server and sunset webpack-serve ( #1195 )
...
Breaking changes:
- Plugin option`enhanceDevServer` was removed.
New plugin option API:
- beforeDevServer
- afterDevServer
2019-01-28 00:15:33 +08:00
minfive and ULIVZ
f8469eb206
fix(@plugin-blog): fix blog layout rendering error ( close : #1073 ) ( #1095 )
2018-12-14 01:04:55 +08:00
ULIVZ
2b2b6d5678
refactor($core): simplify code of additionalPages option
2018-12-09 23:05:18 +08:00
ULIVZ and GitHub
e963731da7
feat($core): registerCommand Plugin Option API ( #1069 )
2018-12-08 22:12:19 +08:00
Michael Smith and ULIVZ
5ee2b2bd97
feat($core): pass generated page paths to plugins ( #925 )
...
Internal changes:
- More convenient way to add async functional option APIs.
2018-12-08 22:01:51 +08:00
Jan Vennemann and ULIVZ
30951060d2
fix: async function support for additionalPages plugin ( close : #1077 )( #1080 )
2018-12-07 09:13:44 +08:00
ULIVZ
d594ce6fb6
chore: plugin usage log
2018-12-03 04:34:32 +08:00
ULIVZ
c6764e22b9
chore: falling-off a debug log
2018-12-03 04:28:49 +08:00
ULIVZ
df99cb6e4b
feat($cli): '--silent' option
2018-11-25 23:36:30 +08:00
ULIVZ
9c613902c2
feat($core): more concise logger
2018-11-25 21:30:59 +08:00
ULIVZ
e8a35bed45
fix: cannot resolve local functional plugin name
2018-10-24 01:00:39 +08:00
ULIVZ
80cb1d5608
refactor: shortcutPackageResolver
2018-10-22 00:16:10 +08:00
ULIVZ
734551500a
feat($core): 'plugins' in plugin.
2018-10-06 00:52:07 +08:00
ULIVZ
6b12b2d18c
chore($core): Cannot add new plugins after initialization.
2018-10-05 20:11:52 +08:00
ULIVZ
3fd51d5228
fix($core): unexpected warning
...
enhanceAppFiles: support String & Object, clientDynamicModules: support Object
2018-10-04 11:56:28 +08:00
ULIVZ
e380de3828
feat($core): plugin option - chainMarkdown
2018-09-26 01:48:44 +08:00
ULIVZ
658ea75961
refactor: unify code style.
2018-09-24 02:02:43 +08:00
ULIVZ
7b42984fd8
feat($core): flatten return array of functional option
2018-09-23 15:46:56 +08:00
ULIVZ
c4e27a8739
chore: fix typo
2018-09-23 15:23:42 +08:00
ULIVZ
a5f58f78e8
feat($core): alias - plugin API
2018-09-23 14:59:33 +08:00
ULIVZ
3c8339fa55
Revert "revert: change AsyncOption to prototype-style."
...
This reverts commit a5cbd6730b .
2018-09-23 13:39:30 +08:00
ULIVZ
a5cbd6730b
revert: change AsyncOption to prototype-style.
...
This change is only for test to delay the assignment of methods in prototype, since babel-jest will
rewrite the child class's prototype. But it's interesting that I cannot repro it at the standalone
repo. Oh, this bug of Jest is so bad.
2018-09-23 02:56:28 +08:00
ULIVZ
a122dfae67
feat($core): supoort pipeline plugin API.
2018-09-22 22:39:13 +08:00
ULIVZ
0263f15594
feat($core): 'define' plugin option and rewrite plugin API.
2018-09-22 22:12:52 +08:00
ULIVZ
eff7949356
feat($core): enhanceAppFile doesn't need export default manually.
2018-09-16 17:51:28 +08:00
ULIVZ
0e34e2d93f
refactor($core): clientDynamicModules option - use default value
2018-09-09 01:50:34 +08:00
ULIVZ
44fb133e4e
Merge branch 'next' of https://github.com/vuejs/vuepress into next
2018-09-05 01:06:59 +08:00
ULIVZ
7f7fe18d40
feat: support clean and multiple custom layout. / theme default layouts dir
...
1. Refine ExtendPageDataOption, simplify the implmentation
2. Introduce LayoutDistributor as the unique route layout entry
3. Inject layout components to LayoutDistributor
4. Register layout components located at themedir/layouts
5. Reorganize the default theme's structure
2018-09-05 01:02:19 +08:00
YuChao Liang and ULIVZ
c19fb3aa5a
fix: escape backslash ( #787 )
2018-09-03 13:49:21 +08:00
ULIVZ
e08cc2e901
chore($core): hide internal plugin log
2018-09-02 23:15:59 +08:00
ULIVZ
3daac59806
chore($core): clean legacy plugin utils and tests
2018-09-02 02:45:09 +08:00
ULIVZ
b45633efca
refactor($core): move core resuable utilities to 'shared-utils and fix tests
2018-08-29 01:37:56 +08:00
ULIVZ
d708d33123
feat: allow to lanuch multiple apps with isolated context at the same time.
...
1. Move writeTemp utility from @vuepress/shared-utils to @vuepress/core
2. Support for passing temp path from CLI
3. Create writeTemp dynamically
2018-08-27 17:13:01 +08:00
ULIVZ and GitHub
afa71b582b
refactor: refine core implementation ( #762 )
2018-08-24 00:02:33 +08:00
ULIVZ
c9e0385db5
chore($core): simplify ExtendPageDataOption
2018-08-23 16:34:52 +08:00
ULIVZ
1553cebe8d
chore($core): move internal dynamic modules to 'internal' dir.
2018-08-22 01:19:28 +08:00
ULIVZ
b30fa4fad3
refactor($core): rename 'Plugin' to 'PluginAPI'
2018-08-22 01:00:31 +08:00
ULIVZ
ac55f92d93
feat($core): write all enhanceApp files to separate file.
...
In the old implementation, the enhanceApp fi`le that doesn't have `default export` will be written to the same file "inject.js", but it will cause conflict if two files contains the same import definition.
2018-08-21 19:33:15 +08:00
ULIVZ
1747da1f2a
feat: support multiple option for plugin API.
...
Since the namesake plugin can only be executed once by default, if your plugin does need to be executed multiple times, you need to set 'multiple' to true explicitly.
2018-08-21 13:26:02 +08:00
ULIVZ
dd9bea3a9f
fix($core): do not pollute raw config
2018-08-21 13:21:41 +08:00
ULIVZ
8d1fa5cfb9
chore: update plugin generation comment
2018-08-21 01:51:56 +08:00
ULIVZ
721f503844
feat: make sure the namesake plugin is only executed once.
2018-08-21 01:45:59 +08:00
ULIVZ
ee32e852b1
feat($core): support 'dirname' field for 'clientDynamicModules'
...
That allow user to define the directory of generated dynamic module.
2018-08-21 00:46:19 +08:00
ULIVZ
2d65bf2085
feat($shared-utils): codegen util
2018-08-18 03:18:15 +08:00
ULIVZ
7dfee461c2
feat: delay apply plugin and create more APIs for test
2018-08-17 20:00:18 +08:00
ULIVZ
86c8dbf4a5
feat: move 'writeTemp' to shared utility and support config temp path
2018-08-17 17:43:25 +08:00
ULIVZ
4282d3bebc
refactor: using plugin API to rewrite code generation of 'routes'
...
1. 'registerComponent' in '@app/util'
2. Split 'routes.js', 'root-mixins', 'async-compoents' into different modules (decouple)
2018-08-17 05:47:23 +08:00
ULIVZ
ae6b3e924d
feat: init @vuepress/shared-utils
...
Move common utilities to @vuepress/shared-utils
2018-08-17 03:47:39 +08:00