Skip to content

Commit 22c71e5

Browse files
authored
Merge pull request #9 from MicrosApp/develop
Develop
2 parents 2feff8a + e36b273 commit 22c71e5

File tree

23 files changed

+333
-573
lines changed

23 files changed

+333
-573
lines changed

README.md

Lines changed: 0 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -46,12 +46,6 @@ module.exports = {
4646
description: '',
4747
version: '0.0.1',
4848
type: '', // types 类型
49-
webpack: { // webpack 配置
50-
// output: {
51-
// path: path.resolve(__dirname, 'public'),
52-
// publicPath: '/public/',
53-
// },
54-
},
5549

5650
staticPath: [], // String | Array
5751

@@ -87,10 +81,6 @@ module.exports = {
8781
strict: true, // 严格强依赖模式
8882

8983
micros: [ 'test' ], // 被注册的容器
90-
// micros$$test: { // 单独配置
91-
// disabled: true, // 禁用入口
92-
// link: '', // 本地路径, 进行本地开发使用的软链接.
93-
// },
9484

9585
// 服务配置
9686
server: {
@@ -110,16 +100,6 @@ module.exports = {
110100
// a: 1,
111101
// }],
112102
],
113-
114-
// deploy: {
115-
// git: 'git+ssh://[email protected]',
116-
// branch: 'test',
117-
// // branch: {
118-
// // name: 'develop',
119-
// // extends: true,
120-
// // },
121-
// message: '', // 提交 message 中增加内容
122-
// },
123103
};
124104
```
125105

bin/micro-app-build.js

Lines changed: 0 additions & 10 deletions
This file was deleted.

package.json

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,10 @@
11
{
22
"name": "@micro-app/cli",
3-
"version": "0.1.6",
3+
"version": "0.2.0-beta.1",
44
"description": "[CLI] Pluggable micro application framework.",
55
"bin": {
66
"micro-app": "./bin/micro-app.js",
77
"micro-app-dev": "./bin/micro-app-dev.js",
8-
"micro-app-build": "./bin/micro-app-build.js",
98
"micro-app-start": "./bin/micro-app-start.js"
109
},
1110
"scripts": {
@@ -53,7 +52,6 @@
5352
"@micro-app/plugin-webpack-adapter": "^0.0.5"
5453
},
5554
"dependencies": {
56-
"cli-highlight": "^2.1.1",
5755
"koa": "^2.8.1",
5856
"shelljs": "^0.8.3",
5957
"update-notifier": "^3.0.1",

plugins/commands/build/index.js

Lines changed: 0 additions & 107 deletions
This file was deleted.

plugins/commands/build/methods.js

Lines changed: 0 additions & 22 deletions
This file was deleted.
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ describe('Command init', () => {
66

77
it('init', () => {
88

9-
const { service } = require('../../bin/base');
9+
const { service } = require('../../../bin/base');
1010

1111
const plugin = service.plugins.find(item => item.id === 'cli:plugins-commands-init');
1212
expect(typeof plugin).toEqual('object');

plugins/commands/inspect/index.js

Lines changed: 0 additions & 107 deletions
This file was deleted.

plugins/commands/inspect/index.test.js

Lines changed: 0 additions & 74 deletions
This file was deleted.

0 commit comments

Comments
 (0)