Skip to content

Commit 2c74b78

Browse files
committed
chore: update deps
1 parent 9531ae8 commit 2c74b78

File tree

9 files changed

+44
-89
lines changed

9 files changed

+44
-89
lines changed

microapp/config/release.js

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

package.json

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -50,18 +50,17 @@
5050
}
5151
},
5252
"devDependencies": {
53-
"@micro-app/plugin-deploy": "^0.0.4",
53+
"@micro-app/plugin-deploy": "^0.0.5",
5454
"@types/jest": "^24.9.1",
5555
"eslint-config-2o3t": "^2.0.1",
5656
"husky": "^3.1.0",
5757
"jest": "^24.9.0"
5858
},
5959
"dependencies": {
60-
"@micro-app/core": "^0.3.10",
60+
"@micro-app/core": "^0.3.11",
6161
"@zkochan/cmd-shim": "^3.1.0",
6262
"read-cmd-shim": "^1.0.5",
63-
"update-notifier": "^3.0.1",
64-
"yargs-parser": "^16.1.0"
63+
"update-notifier": "^3.0.1"
6564
},
6665
"engines": {
6766
"node": ">=8"
Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
'use strict';
2+
3+
module.exports = function cleanCommand(api, opts) {
4+
5+
// const { path } = require('@micro-app/shared-utils');
6+
7+
// const cleanDir = [
8+
// path.resolve(__dirname, './test'),
9+
// ];
10+
// api.addCommandClean(cleanDir);
11+
12+
};
13+
14+
15+
module.exports.configuration = {
16+
description: '增强清空命令行',
17+
};

src/plugins/commands/init/index.js

Lines changed: 13 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,21 @@
11
'use strict';
22

3-
// module.exports = function initCommand(api, opts) {
3+
module.exports = function initCommand(api, opts) {
44

5-
// const { _, chalk, fs, prompt, smartMerge } = require('@micro-app/shared-utils');
5+
// const { _, chalk, fs, prompt, smartMerge } = require('@micro-app/shared-utils');
66

7-
// api.addCommandInit((last, old) => {
8-
// console.warn('last: ', last);
9-
// console.warn('old: ', old);
10-
// return {};
11-
// });
12-
// };
7+
// api.addCommandInit((last, old) => {
8+
// console.warn('last: ', last);
9+
// console.warn('old: ', old);
10+
// return {};
11+
// });
12+
13+
// api.addCommandInit({
14+
// abc: 'aa',
15+
// });
16+
};
1317

1418

1519
module.exports.configuration = {
16-
description: '初始化命令行',
20+
description: '增加初始化命令行',
1721
};

src/plugins/commands/init/init.test.js

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

src/plugins/register.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,10 +9,11 @@ const commands = [
99
'start',
1010
'serve',
1111
'update',
12-
// 'init',
12+
'init',
1313
'bootstrap',
1414
'check',
1515
'build',
16+
'clean',
1617
];
1718

1819
const builtIn = Symbol.for('built-in');

test/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
'use strict';
22

3-
const { cmd, argv, service } = require('../bin/base');
3+
const { cmd, argv, service } = require('../');
44
service.run(cmd, argv);

yarn.lock

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -354,19 +354,19 @@
354354
"@types/istanbul-reports" "^1.1.1"
355355
"@types/yargs" "^13.0.0"
356356

357-
"@micro-app/core@^0.3.10":
358-
version "0.3.10"
359-
resolved "https://registry.yarnpkg.com/@micro-app/core/-/core-0.3.10.tgz#edcc2b25517ea6251e1874c99e10b569b10f4736"
360-
integrity sha512-edMezbsnMTGD/kiNY3iSLo+CstOaMbPKYhJOfQ3mlatBM2aw6ODj186tn+Xv73ZPockAxMKwL7mFh0TrL0Ssaw==
357+
"@micro-app/core@^0.3.11":
358+
version "0.3.11"
359+
resolved "https://registry.yarnpkg.com/@micro-app/core/-/core-0.3.11.tgz#118241ef89935f2592884386272cb252cb679009"
360+
integrity sha512-ElM6SymqaAKzpMGnJKVhzisrP4NtHauW972EpAy3+2GEjWTVFCFi9E1w9g4AIyCbvxRvM3MTWxPDUZFZH3HlNA==
361361
dependencies:
362362
"@micro-app/shared-utils" "^0.1.15"
363363
dotenv "^8.2.0"
364364
dotenv-expand "^5.1.0"
365365

366-
"@micro-app/plugin-deploy@^0.0.4":
367-
version "0.0.4"
368-
resolved "https://registry.yarnpkg.com/@micro-app/plugin-deploy/-/plugin-deploy-0.0.4.tgz#0125b16ed43e3668bdeb27ee6ff8db646d0ffed4"
369-
integrity sha512-3hEFZvb5LuTu0N/TalV3Scr2GIJYpc9G2B+qL2VLf+K3GvF0c94uwjTGjT0OsFeJ3UtRC2xVll89FmieJpVWfA==
366+
"@micro-app/plugin-deploy@^0.0.5":
367+
version "0.0.5"
368+
resolved "https://registry.yarnpkg.com/@micro-app/plugin-deploy/-/plugin-deploy-0.0.5.tgz#5fc98861023e2d712b5f9aecb4e990a3900c74ab"
369+
integrity sha512-e8ycu/h02XhRqjLIKz2mrer05fVFFDQlSvxZxsKRk6GNTqb4ZZ9xsmbfDDI3omp+56WPmbK3FElr/9piB+S1OQ==
370370
dependencies:
371371
"@release-it/conventional-changelog" "^1.1.0"
372372
release-it "^12.4.3"

0 commit comments

Comments
 (0)