Skip to content

Commit

Permalink
feat: complete 2.x beta (#630)
Browse files Browse the repository at this point in the history
Co-authored-by: echosoar <82163514@qq.com>
  • Loading branch information
czy88840616 and echosoar authored Sep 13, 2020
1 parent 92735b0 commit b23cd00
Show file tree
Hide file tree
Showing 913 changed files with 8,754 additions and 5,934 deletions.
9 changes: 0 additions & 9 deletions .githooks/pre-commit/filter.sh

This file was deleted.

17 changes: 1 addition & 16 deletions .github/workflows/nodejs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ jobs:

strategy:
matrix:
node-version: [12.x, 13.x]
node-version: [12.x, 13.x, 14.x]

steps:
- uses: actions/checkout@v2
Expand All @@ -20,21 +20,6 @@ jobs:
- run: npm install && npm install codecov
- run: npm run bootstrap
- run: npm run build --if-present
- run: npm run link
- run: npm run cov
- name: Upload coverage to Codecov
uses: codecov/codecov-action@v1
- name: Run Midway FaaS case use link
uses: actions/checkout@v2
with:
repository: midwayjs/midway-faas
path: midway-faas
- run: |
cd midway-faas
npm install
npm run bootstrap
npm run build --if-present
cd packages/faas
npm link @midwayjs/core
npm link @midwayjs/decorator
npm run cov
1 change: 0 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -17,4 +17,3 @@ package-lock.json
.nodejs-cache
.tmp
packages/midway/_package.json
public
6 changes: 0 additions & 6 deletions .prettierrc

This file was deleted.

3 changes: 3 additions & 0 deletions .prettierrc.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
module.exports = {
...require('mwts/.prettierrc.json')
}
32 changes: 23 additions & 9 deletions docs/.vuepress/config.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
'use strict';

module.exports = {
base: '/midway/',
base: '/',
locales: {
'/': {
lang: 'zh-CN',
Expand Down Expand Up @@ -57,15 +57,21 @@ module.exports = {
{
text: '监控产品',
items: [
{ text: 'Sandbox - 私有化 Node.js 监控产品', link: 'https://github.com/midwayjs/sandbox-docker' },
{
text: 'Sandbox - 私有化 Node.js 监控产品',
link: 'https://github.com/midwayjs/sandbox-docker',
},
],
},
{
text: 'Node.js 依赖注入模块',
items: [
{ text: 'Injection - 让你的应用用上 IoC,体验依赖注入的感觉', link: 'http://midwayjs.org/injection' },
]
}
{
text: 'Injection - 让你的应用用上 IoC,体验依赖注入的感觉',
link: 'http://midwayjs.org/injection',
},
],
},
],
},
],
Expand Down Expand Up @@ -113,14 +119,22 @@ module.exports = {
},
{
text: 'Monitoring',
items: [{ text: 'Sandbox - Private Node.js APM', link: 'https://github.com/midwayjs/sandbox-docker' }],
items: [
{
text: 'Sandbox - Private Node.js APM',
link: 'https://github.com/midwayjs/sandbox-docker',
},
],
},
{
text: 'Node.js Injection Module',
items: [
{ text: 'Injection - Use IoC in your Node.js application', link: 'http://midwayjs.org/injection' },
]
}
{
text: 'Injection - Use IoC in your Node.js application',
link: 'http://midwayjs.org/injection',
},
],
},
],
},
],
Expand Down
3 changes: 0 additions & 3 deletions docs/.vuepress/override.styl

This file was deleted.

82 changes: 0 additions & 82 deletions docs/.vuepress/style.styl

This file was deleted.

33 changes: 33 additions & 0 deletions docs/.vuepress/styles/index copy.styl
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
#app
.no-sidebar
.navbar
display: none

.theme-default-content:not(.custom)
max-width: 100% !important
padding: 0;

.top-header
background-color: var(--wt-color-dark,#27282c) !important
width: 100%;
max-width: 100%
margin-top: 0 !important
.top-wrapper
max-width: 740px
margin: 0 auto

a
color: #fff
.logo-wrapper
display: inline-block;
.logo
max-width: 70px !important
.pull-right
float: right

.default-content
max-width: 740px
margin: 0 auto;
padding: 2rem 2.5rem;

// background-color: var(--wt-color-dark,#27282c) !important
Loading

0 comments on commit b23cd00

Please sign in to comment.