Skip to content

VuePress Next Alpha #815

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 255 commits into from
Sep 26, 2018
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
255 commits
Select commit Hold shift + click to select a range
5b00b02
feat: support enhanceAppFiles API.
ulivz Jun 3, 2018
ab75ba9
feat: move enhanceApp and themeEnhanceApp to plugin.
ulivz Jun 3, 2018
fa4eb64
refactor: extract the resolveSiteData as a single step
ulivz Jun 3, 2018
bc46896
feat: support context.writeTemp
ulivz Jun 3, 2018
0f3fa74
feat: support chainWebpack option
ulivz Jun 3, 2018
d733f1a
refactor: (wip) reorganize
ulivz Jun 5, 2018
f19da0a
feat: support 'generated' hook and 'extendMarkdown' and 'enhanceDevSe…
ulivz Jun 5, 2018
af14e4b
feat: internal and external plugins
ulivz Jun 6, 2018
4f26102
feat: support 'dynamicClientCode' option
ulivz Jun 6, 2018
079bd23
chore: fix typo
ulivz Jun 6, 2018
8bb3287
feat: rename 'dynamicClientCode' to 'dynamicClientModules'
ulivz Jun 6, 2018
7863b56
feat: rename 'dynamicClientModules' to 'clientDynamicModules'
ulivz Jun 6, 2018
dd87d37
feat: support 'clientRootMixin' option and change 'active-header-link…
ulivz Jun 6, 2018
3ba2254
fix: make 'activeHeaderLinks' backward compatible
ulivz Jun 6, 2018
eec3048
fix: make 'lastUpdated' backward compatible
ulivz Jun 6, 2018
68d9e4b
chore: tweaks comments
ulivz Jun 6, 2018
b20c23b
feat: make 'register-global-components' fully independent.
ulivz Jun 6, 2018
a63f3ae
fix: enhance app doesn't work due to interface change
ulivz Jun 6, 2018
9cd74b1
feat: support 'additionalPages' option
ulivz Jun 6, 2018
0bcc895
feat: support 'updated' hook
ulivz Jun 6, 2018
3560fa3
Merge branch 'master' into plugin
ulivz Jun 9, 2018
e8c08ce
feat: Content component - support take pageKey to render dynamic page
ulivz Jun 10, 2018
cb63629
wip commit
ulivz Jun 10, 2018
b2c5484
Merge branch 'master' into plugin
ulivz Jun 14, 2018
3b16c5c
feat: support spearate "loadComponent" util
ulivz Jun 14, 2018
d210ec0
refactor: use async components to simplify code
ulivz Jun 14, 2018
4a4f8ed
style: change ".content" to "#content"
ulivz Jun 14, 2018
b82b5fd
chore: extract translation-ui as a separate package
ulivz Jun 14, 2018
4a578d1
Revert "style: change ".content" to "#content""
ulivz Jun 14, 2018
4c86188
wip commit
ulivz Jun 17, 2018
e659a86
chore: clean store
ulivz Jun 24, 2018
ddeed7e
docs: wip commit
ulivz Jun 26, 2018
7bb4d22
Merge branch 'master' into plugin
ulivz Jul 3, 2018
8f4bc4a
feat: enhanceAppFiles: support dynamic content
ulivz Jul 3, 2018
5fc7404
refactor: enhanceAppFiles: imporve docs and code gen
ulivz Jul 3, 2018
eaa80af
Merge branch 'master' into plugin
ulivz Jul 28, 2018
7ae2b31
Merge branch 'master' into next
ulivz Aug 9, 2018
7892556
feat: init monorepo
ulivz Aug 10, 2018
9693ae1
chore: move all docs to sub dir
ulivz Aug 10, 2018
3f65817
feat: new theme api
ulivz Aug 10, 2018
014c86b
feat: init @vuepress/plugin-translation-ui
ulivz Aug 10, 2018
e2a784d
refactor: Extract default-theme-only webpack aliases
ulivz Aug 10, 2018
642968a
refactor: Move `active-header-links` to default theme.
ulivz Aug 10, 2018
ca78f66
feat: support shortcut usage of @vuepress/plugin-xxx
ulivz Aug 10, 2018
f1e6dd4
refactor: handle when theme isn't given
ulivz Aug 11, 2018
c004fb3
feat: extract @vuepress/cli
ulivz Aug 11, 2018
0d7fce7
feat: pass plugins and theme via cli
ulivz Aug 11, 2018
2e923d5
chore: correct deps
ulivz Aug 11, 2018
590c1c4
chore: update package.json
ulivz Aug 11, 2018
c390e40
feat: refine @vuepress/plugin-register-components
ulivz Aug 11, 2018
82f06bf
chore: rename @vuepress/plugin-translation-ui to "@vuepress/plugin-i1…
ulivz Aug 11, 2018
d41344e
docs(@vuepress/plugin-i18n-ui): enhancement
ulivz Aug 11, 2018
b8e7953
docs($plugin): enhancement
ulivz Aug 11, 2018
1c170c2
docs: add theme part
ulivz Aug 11, 2018
397d01a
feat: init @vuepress/plugin-google-analytics
ulivz Aug 12, 2018
17f0acd
docs: document for default theme
ulivz Aug 12, 2018
5f07c39
feat($plugin): 'globalUIComponents' option
ulivz Aug 12, 2018
b9fdf64
feat: @vuepress/plugin-back-to-top
ulivz Aug 12, 2018
863a7b7
docs(last-updated): transformer option
ulivz Aug 12, 2018
f6956a6
docs: tweaks
ulivz Aug 12, 2018
8397a97
docs: refine "Using a plugin"
ulivz Aug 12, 2018
57f15ee
test: setup test
ulivz Aug 13, 2018
9424df3
test: 'Tapable'
ulivz Aug 13, 2018
8b0adcb
feat: refine 'resolvePlugin' and 'resolveScopePackage' and update test
ulivz Aug 14, 2018
9a50862
feat: refine plugin API
ulivz Aug 15, 2018
f346884
feat: respect name in local plugin config
ulivz Aug 15, 2018
2236365
feat: using shortcut to resolve plugin
ulivz Aug 15, 2018
bd25781
fix: correct prepare usage
ulivz Aug 15, 2018
6c364fe
refactor: enhance log output
ulivz Aug 15, 2018
08cef09
refactor(@vuepress/back-to-top): use pure css so this plugin can be u…
ulivz Aug 15, 2018
28fdd90
chore: clean all "name" fields
ulivz Aug 15, 2018
4ad784c
fix: cannot run "yarn dev" at the root project dir
ulivz Aug 15, 2018
263da7a
chore: tweaks plugin docs
ulivz Aug 15, 2018
ca7e02b
chore: remove useless name field
ulivz Aug 15, 2018
cc03da9
chore: rename Option spec
ulivz Aug 15, 2018
c64edbf
test: improve test for hydratePlugin
ulivz Aug 15, 2018
f2064a7
chore: remove console
ulivz Aug 15, 2018
d74615d
feat: init "@vuepress/plugin-pwa"
ulivz Aug 15, 2018
ac554a9
docs($pwa): enhance docs
ulivz Aug 15, 2018
4c2cccb
feat: utility "normalizeConfig"
ulivz Aug 16, 2018
1fa57f6
feat: enhance plugin API - distinguish async and sync execution
ulivz Aug 16, 2018
1b349dc
chore: update .gitignore
ulivz Aug 16, 2018
6f5c282
feat: expose isServer to enhanceApp files
ulivz Aug 16, 2018
7139532
fix: missing component registration code
ulivz Aug 16, 2018
9292660
fix: unexpected error
ulivz Aug 16, 2018
9dfd6fb
chore: remove log
ulivz Aug 16, 2018
d3e2d09
fix: yarn buiild failed.
ulivz Aug 16, 2018
c97a531
fix: ssr failed - move window accessing to mounted hook
ulivz Aug 16, 2018
841e03e
feat: plugin context - publicDir
ulivz Aug 16, 2018
1c70be6
chore: tweaks naming
ulivz Aug 16, 2018
ae6b3e9
feat: init @vuepress/shared-utils
ulivz Aug 16, 2018
07f386d
chore: disable algolia for now.
ulivz Aug 16, 2018
4282d3b
refactor: using plugin API to rewrite code generation of 'routes'
ulivz Aug 16, 2018
0652242
feat: Completely make '@vuepress/plugin-pwa' a standalone plugin
ulivz Aug 16, 2018
9b108a5
chore: correct dependency
ulivz Aug 17, 2018
86c8dbf
feat: move 'writeTemp' to shared utility and support config temp path
ulivz Aug 17, 2018
7239daf
fix: dev server hot relead failed - correct siteDate path
ulivz Aug 17, 2018
216b8d5
feat($pwa): support popupComponent and update docs
ulivz Aug 17, 2018
fa63b67
feat($pwa): built-in i18n support, support "updatePopup: true" shortcut
ulivz Aug 17, 2018
a406bef
test: fix Option test failed
ulivz Aug 17, 2018
07f3296
chore: update TODOs in README
ulivz Aug 17, 2018
7dfee46
feat: delay apply plugin and create more APIs for test
ulivz Aug 17, 2018
5350e36
test: improve test for plugin
ulivz Aug 17, 2018
268eaed
docs: tweaks path
ulivz Aug 17, 2018
2d65bf2
feat($shared-utils): codegen util
ulivz Aug 17, 2018
675833d
refactor($core): extract internal plugin root-mixins
ulivz Aug 17, 2018
4af0a02
refactor($core): extract internal plugin import-async-component
ulivz Aug 17, 2018
c05768a
chore($core): flattern internal plugins directory structure
ulivz Aug 17, 2018
dfd86ab
refactor($core): remove @vuepress/plugin-enhance-app and move it to core
ulivz Aug 17, 2018
1096663
chore($core): update core's README and remove exported util
ulivz Aug 17, 2018
e9b109f
refactor($core): refine eject
ulivz Aug 17, 2018
49d8be8
docs($cli): documentation
ulivz Aug 17, 2018
a379708
chore: clean @vuepress/plugin-test
ulivz Aug 17, 2018
e02a919
chore($vuepress): remove '@vuepress/i18n-ui' preset.
ulivz Aug 17, 2018
6a97de1
chore($theme-default): remove '@vuepress/google-analytics' preset.
ulivz Aug 17, 2018
b90e009
feat($shared-utils) env.isProd
ulivz Aug 17, 2018
8f89eef
refacotr($core): separate createCSSRule from core to shared-utils
ulivz Aug 20, 2018
8a7463a
chore($env): change isProd to function
ulivz Aug 20, 2018
17cd87d
feat: set up @vuepress/plugin-stylus
ulivz Aug 20, 2018
5e46295
feat: set up @vuepress/plugin-sass
ulivz Aug 20, 2018
4464185
feat: set up @vuepress/plugin-less
ulivz Aug 20, 2018
8780c2c
refactor($core): using camel cases at file name
ulivz Aug 20, 2018
ee32e85
feat($core): support 'dirname' field for 'clientDynamicModules'
ulivz Aug 20, 2018
fe61f99
refactor($core): extract internal plugin 'site-data'
ulivz Aug 20, 2018
5fe91bf
refactor($core): extract internal plugin 'override-css'
ulivz Aug 20, 2018
afe0e32
chore: tweak prepare index file.
ulivz Aug 20, 2018
721f503
feat: make sure the namesake plugin is only executed once.
ulivz Aug 20, 2018
8d1fa5c
chore: update plugin generation comment
ulivz Aug 20, 2018
dd9bea3
fix($core): do not pollute raw config
ulivz Aug 21, 2018
1747da1
feat: support multiple option for plugin API.
ulivz Aug 21, 2018
ac55f92
feat($core): write all enhanceApp files to separate file.
ulivz Aug 21, 2018
1be40ab
fix($register-components): avoid file overwritten.
ulivz Aug 21, 2018
b30fa4f
refactor($core): rename 'Plugin' to 'PluginAPI'
ulivz Aug 21, 2018
1553ceb
chore($core): move internal dynamic modules to 'internal' dir.
ulivz Aug 21, 2018
1d24fa8
Revert "feat: set up @vuepress/plugin-less"
ulivz Aug 21, 2018
9358387
Revert "feat: set up @vuepress/plugin-sass"
ulivz Aug 21, 2018
c1cf4b1
Revert "feat: set up @vuepress/plugin-stylus"
ulivz Aug 21, 2018
639e5d4
Revert "refacotr($core): separate createCSSRule from core to shared-u…
ulivz Aug 21, 2018
ad574ce
refactor($core): 'frontmatter' defaults to {} at build time
ulivz Aug 23, 2018
68518ff
chore: naming: self => api
ulivz Aug 23, 2018
c9e0385
chore($core): simplify ExtendPageDataOption
ulivz Aug 23, 2018
6d19b58
chore: fix typo
ulivz Aug 23, 2018
45252a9
refactor($core): extract dataMixin, try to reuse it at build time
ulivz Aug 23, 2018
afa71b5
refactor: refine core implementation (#762)
ulivz Aug 23, 2018
abc1d01
fix: regression - avoid deliver 'content' to client side
ulivz Aug 23, 2018
6a4592d
chore: simplify encode url
ulivz Aug 23, 2018
06941fd
Revert "refactor($core): extract dataMixin, try to reuse it at build …
ulivz Aug 23, 2018
c7d8ee9
feat($core): execute 'i18n' (i.e. dataMixin) on both server and clien…
ulivz Aug 23, 2018
2bdf88c
feat: blog stage 1 - permalink (#763)
ulivz Aug 26, 2018
5599ae0
test($core): use es6 import
ulivz Aug 26, 2018
c1d7aeb
test($core): migrate test for markdown
ulivz Aug 27, 2018
8e84065
feat($shared-utils): allow change temp path at runtime via env.
ulivz Aug 27, 2018
11997f0
chore: normalize prepare API.
ulivz Aug 27, 2018
d708d33
feat: allow to lanuch multiple apps with isolated context at the same…
ulivz Aug 27, 2018
eca8a61
test: init @vuepress/test-utils and migrate all tests
ulivz Aug 27, 2018
dc3b0f4
Merge branch 'master' into next
ulivz Aug 28, 2018
4487149
docs: enhance plugin documents
ulivz Aug 28, 2018
c575d62
docs: refine 'Introduction'
ulivz Aug 28, 2018
7f04708
feat($core): let 'core' provide a default NotFound component
ulivz Aug 28, 2018
b45633e
refactor($core): move core resuable utilities to 'shared-utils and fi…
ulivz Aug 28, 2018
adb74b7
fix: valid filename for case-sensitive os (#779)
cuyl Aug 30, 2018
3cf9df3
docs: blog documents (wip - 1)
ulivz Aug 30, 2018
db1ff23
Merge branch 'next' of https://github.com/vuejs/vuepress into next
ulivz Aug 30, 2018
f2c3a63
chore: write temp to docs package dir
ulivz Aug 30, 2018
3984359
docs: permalinks
ulivz Aug 30, 2018
b80c810
feat($shared-utils): enhance datatypes
ulivz Sep 1, 2018
a8fea3c
feat($shared-utils): shortcutPackageResolver
ulivz Sep 1, 2018
3daac59
chore($core): clean legacy plugin utils and tests
ulivz Sep 1, 2018
32a3752
chore($test-utils): tweaks
ulivz Sep 1, 2018
9622ed8
chore: clean package.json
ulivz Sep 1, 2018
76b74b1
chore: bump jest
ulivz Sep 2, 2018
f81f373
feat: refine theme API
ulivz Sep 2, 2018
e08cc2e
chore($core): hide internal plugin log
ulivz Sep 2, 2018
c19fb3a
fix: escape backslash (#787)
cuyl Sep 3, 2018
7f7fe18
feat: support clean and multiple custom layout. / theme default layou…
ulivz Sep 4, 2018
44fb133
Merge branch 'next' of https://github.com/vuejs/vuepress into next
ulivz Sep 4, 2018
0aa3d95
chore: tweaks
ulivz Sep 4, 2018
04723be
chore: change config load order (#804)
ekoeryanto Sep 6, 2018
cf088f5
refactor($core): simplify page components registration
ulivz Sep 6, 2018
f0a1f68
Merge branch 'next' of https://github.com/vuejs/vuepress into next
ulivz Sep 6, 2018
fe3c2d1
Revert "chore: change config load order (#804)"
ulivz Sep 6, 2018
f8b8c51
chore: clean expired code
ulivz Sep 7, 2018
99cd911
feat: markdown slots (close: #594)
ulivz Sep 7, 2018
1cba9bc
feat: init @vuepress/plugin-blog
ulivz Sep 8, 2018
20d612c
refactor: simplify the implementation of makrdown slots
ulivz Sep 8, 2018
078696e
feat($plugin-blog): correct Layout for index page and one-level page
ulivz Sep 8, 2018
b507fae
feat: empty temp dir before launching app
ulivz Sep 8, 2018
0e34e2d
refactor($core): clientDynamicModules option - use default value
ulivz Sep 8, 2018
463625c
feat($theme-blog): add 'type' field to page data and more reasonable …
ulivz Sep 8, 2018
f5e1e99
refactor($core): simplify Page's interface
ulivz Sep 8, 2018
adb3d56
chore: avoid Content component throw error
ulivz Sep 8, 2018
011c3c3
fix($core): exclude non-content pages from the page components
ulivz Sep 8, 2018
96ddb59
refactor($core): refine Page / AppContext
ulivz Sep 8, 2018
357e1a5
feat($core): detaMixin - expose $themeConfig
ulivz Sep 8, 2018
4e340fc
feat: init @vuepress/plugin-pagination
ulivz Sep 8, 2018
4492bcd
feat: @vuepress/plugin-medium-zoom
ulivz Sep 8, 2018
070fab7
chore: clean legacy code
ulivz Sep 8, 2018
6550f86
fix($core): regression of changing inferTitle util
ulivz Sep 8, 2018
feb74eb
fix($core): SSR error when async components were registered in runtime.
ulivz Sep 9, 2018
42e36ed
chore: gitignore
ulivz Sep 16, 2018
922bf13
fix: build error
ulivz Sep 16, 2018
e2b6be8
fix($core): themePath should default to modulePath
ulivz Sep 16, 2018
93f169a
fix($pagination): do not need to withBase & do not generate root html
ulivz Sep 16, 2018
24840cd
feat($shared-utils): support pass in an absolute path for theme
ulivz Sep 16, 2018
ea64033
chore: expose the dist directory to workspace root
ulivz Sep 16, 2018
eff7949
feat($core): enhanceAppFile doesn't need export default manually.
ulivz Sep 16, 2018
38b3468
feat($core): config the dev and ssr template. (close: #733)
ulivz Sep 16, 2018
2a46178
feat($cli): support '--cache' and '--no-cache' flag
ulivz Sep 16, 2018
394d013
chore: sunset 'fs.existsSync' (#847)
qianhum Sep 17, 2018
1798603
chore($pagination): reanme enhanceApp to clientPlugin
ulivz Sep 18, 2018
cb36ae6
feat($core): support passing in meta
ulivz Sep 18, 2018
163f8a5
feat($blog): support category and tag
ulivz Sep 18, 2018
e60a86f
Merge branch 'next' of https://github.com/vuejs/vuepress into next
ulivz Sep 18, 2018
8a7ee6c
feat($core): site config as plugin
ulivz Sep 19, 2018
0263f15
feat($core): 'define' plugin option and rewrite plugin API.
ulivz Sep 22, 2018
116d832
chore: fix typo
ulivz Sep 22, 2018
a122dfa
feat($core): supoort pipeline plugin API.
ulivz Sep 22, 2018
4bc4331
feat($core): use markdown-it-chain
ulivz Sep 22, 2018
a5cbd67
revert: change AsyncOption to prototype-style.
ulivz Sep 22, 2018
4d89f74
chore: add mising deps
ulivz Sep 23, 2018
91d8720
fix($test): move babel config to test-utils to get correct transform
ulivz Sep 23, 2018
3c8339f
Revert "revert: change AsyncOption to prototype-style."
ulivz Sep 23, 2018
1dc7cc6
test: refine
ulivz Sep 23, 2018
f74ccdd
test: clean Content.spec.js
ulivz Sep 23, 2018
ade62c9
fix($core): null check for Layout components
ulivz Sep 23, 2018
e4f2f18
refactor($pwa): using define API.
ulivz Sep 23, 2018
a2f34f5
test: exclude default theme
ulivz Sep 23, 2018
d910859
refactor($ga): using define
ulivz Sep 23, 2018
a5f58f7
feat($core): alias - plugin API
ulivz Sep 23, 2018
3125fc7
chore: move config.styl to core
ulivz Sep 23, 2018
c4e27a8
chore: fix typo
ulivz Sep 23, 2018
7b42984
feat($core): flatten return array of functional option
ulivz Sep 23, 2018
b0e3209
feat: plugin-search
ulivz Sep 23, 2018
63555c0
feat($core): support 'palette' API, deprecate override.styl
ulivz Sep 23, 2018
01fa9af
chore($theme-default): using search plugin
ulivz Sep 23, 2018
658ea75
refactor: unify code style.
ulivz Sep 23, 2018
1b234b3
fix: build failed - wrong import
ulivz Sep 23, 2018
91ebd10
feat($pagination): correct meta title.
ulivz Sep 24, 2018
0d57666
refactor($i18n-ui): simplify
ulivz Sep 24, 2018
fb6e8d4
refactor: some enhancement:
ulivz Sep 24, 2018
af95037
ci: set up release script
ulivz Sep 25, 2018
b6a2242
Merge branch 'next' of https://github.com/vuejs/vuepress into next
ulivz Sep 25, 2018
9a7f0cb
chore: add mising version
ulivz Sep 25, 2018
e380de3
feat($core): plugin option - chainMarkdown
ulivz Sep 25, 2018
c3cf73f
docs: update plugin part
ulivz Sep 25, 2018
53c84b3
refactor($core): separate markdown and markdown-loader from core
ulivz Sep 26, 2018
239867f
chore: clean types
ulivz Sep 26, 2018
037080d
test: Page class
ulivz Sep 26, 2018
53cfc78
Merge branch 'master' into next
ulivz Sep 26, 2018
102852c
chore: update status to alpha
ulivz Sep 26, 2018
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
9 changes: 0 additions & 9 deletions .babelrc

This file was deleted.

3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,6 @@
node_modules
*.log
.temp
vuepress
TODOs.md
vuepress
packages/blog-example
13 changes: 11 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,12 @@
<a href="https://www.npmjs.com/package/vuepress"><img src="https://img.shields.io/npm/l/vuepress.svg" alt="License"></a>
</p>

> This is the branch for `VuePress 1.0`.

## Status: alpha

Certain combinations of plugins may not work properly, and things may change or break until we reach beta phase. Do not use in production yet unless you are adventurous.

# VuePress

> Minimalistic docs generator with Vue component based layout system
Expand Down Expand Up @@ -78,8 +84,11 @@ Websites built with VuePress:

VuePress is still a work in progress. There are a few things that it currently does not support but are planned:

- Plugin support
- Blogging support
- Migrate the old test.
- `@vuepress/plugin-test-utils`.
- `once` option for plugin options, which allows the same plugin only to be applied only once.
- `theme` name shortcut.
- `@vuepress/theme-blog`

Contributions are welcome!

Expand Down
1 change: 1 addition & 0 deletions __mocks__/@org/vuepress-plugin-a.js
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
module.exports = {}
1 change: 1 addition & 0 deletions __mocks__/@org/vuepress-plugin-b.js
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
module.exports = {}
1 change: 1 addition & 0 deletions __mocks__/@org/vuepress-theme-a/index.js
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
module.exports = {}
1 change: 1 addition & 0 deletions __mocks__/@vuepress/plugin-a.js
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
module.exports = {}
1 change: 1 addition & 0 deletions __mocks__/@vuepress/theme-a/index.js
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
module.exports = {}
1 change: 1 addition & 0 deletions __mocks__/vuepress-plugin-a.js
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
module.exports = {}
3 changes: 3 additions & 0 deletions __mocks__/vuepress-plugin-b.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
module.exports = {
multiple: true
}
1 change: 1 addition & 0 deletions __mocks__/vuepress-theme-a/index.js
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
module.exports = {}
9 changes: 9 additions & 0 deletions babel.config.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
module.exports = {
'env': {
'test': {
'presets': [
['@babel/preset-env', { 'targets': { 'node': 'current' }}]
]
}
}
}
110 changes: 0 additions & 110 deletions bin/vuepress.js

This file was deleted.

6 changes: 6 additions & 0 deletions lerna.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
{
"lerna": "2.5.1",
"npmClient": "yarn",
"useWorkspaces": true,
"version": "1.0.0"
}
74 changes: 0 additions & 74 deletions lib/app/clientEntry.js

This file was deleted.

17 changes: 0 additions & 17 deletions lib/app/components/Content.js

This file was deleted.

90 changes: 0 additions & 90 deletions lib/app/dataMixin.js

This file was deleted.

7 changes: 0 additions & 7 deletions lib/app/root-mixins/index.js

This file was deleted.

14 changes: 0 additions & 14 deletions lib/app/serverEntry.js

This file was deleted.

Loading