Skip to content

Commit 8496f97

Browse files
committed
chore: update deps
1 parent fdbf499 commit 8496f97

File tree

4 files changed

+28
-16
lines changed

4 files changed

+28
-16
lines changed

bin/index.js

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

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
"scripts": {
77
"prepublishOnly": "npm run test",
88
"test": "jest",
9-
"release": "node bin/index.js release",
9+
"release": "micro-app release",
1010
"release:alpha": "npm run release -- --preRelease=alpha",
1111
"release:next": "npm run release -- --preRelease=next",
1212
"release:minor": "npm run release minor",
@@ -45,7 +45,7 @@
4545
"webpack": "^4.42.0"
4646
},
4747
"dependencies": {
48-
"@micro-app/core": "^0.3.18",
48+
"@micro-app/cli": "^0.3.9",
4949
"@micro-app/plugin-webpack": "^0.0.11"
5050
}
5151
}

src/utils/createService.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
'use strict';
22

3-
const Service = require('@micro-app/core');
3+
const { createService } = require('@micro-app/cli');
44
const { SKIP_TARGET, BUILT_IN } = require('../constants');
55

66
module.exports = function() {
7-
const service = new Service({ target: SKIP_TARGET });
7+
const service = createService({ target: SKIP_TARGET });
88

99
const WEBPACK_PLUGIN_ID = '@micro-app/plugin-webpack';
1010
if (!service.hasPlugin(WEBPACK_PLUGIN_ID)) {

yarn.lock

Lines changed: 24 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -323,6 +323,16 @@
323323
dependencies:
324324
sourcemap-codec "^1.4.4"
325325

326+
"@micro-app/cli@^0.3.9":
327+
version "0.3.9"
328+
resolved "https://registry.yarnpkg.com/@micro-app/cli/-/cli-0.3.9.tgz#d8560a4b84f2596bdafdc3c4630177e400529731"
329+
integrity sha512-1f/PwN+bNL41d+AsqUxrlbh1zHbVFu2SRn/FEIHCfWtOqLHa47XOWF56VK9kw+tA+AJOMEHT1W0COAh1mNAwHA==
330+
dependencies:
331+
"@micro-app/core" "^0.3.18"
332+
"@zkochan/cmd-shim" "^4.3.0"
333+
read-cmd-shim "^2.0.0"
334+
update-notifier "^4.1.0"
335+
326336
"@micro-app/core@^0.3.18":
327337
version "0.3.18"
328338
resolved "https://registry.yarnpkg.com/@micro-app/core/-/core-0.3.18.tgz#9ca602e6c9da51ddfe333283de9c8f6642244206"
@@ -981,6 +991,14 @@
981991
resolved "https://registry.yarnpkg.com/@xtuc/long/-/long-4.2.2.tgz#d291c6a4e97989b5c61d9acf396ae4fe133a718d"
982992
integrity sha512-NuHqBY1PB/D8xU6s/thBgOAiAP7HOYDQ32+BFZILJ8ivkUkAHQnWfn6WhL79Owj1qmUnoN/YPhktdIoucipkAQ==
983993

994+
"@zkochan/cmd-shim@^4.3.0":
995+
version "4.3.0"
996+
resolved "https://registry.yarnpkg.com/@zkochan/cmd-shim/-/cmd-shim-4.3.0.tgz#4569222afef8efe6147b2eb934911e88309959f1"
997+
integrity sha512-i3eTvq0VnWRb9U2Hj22unmiN5Gg+J776xhrr/fAtuaf5xL+/qf4QIu+6tQgo9Soll489dWF4yJmzXJ8pv8oUiw==
998+
dependencies:
999+
is-windows "^1.0.2"
1000+
make-dir "^3.0.0"
1001+
9841002
JSONStream@^1.0.4:
9851003
version "1.3.5"
9861004
resolved "https://registry.yarnpkg.com/JSONStream/-/JSONStream-1.3.5.tgz#3208c1f08d3a4d99261ab64f92302bc15e111ca0"
@@ -8032,6 +8050,11 @@ react-is@^16.8.1, react-is@^16.8.4:
80328050
resolved "https://registry.npm.taobao.org/react-is/download/react-is-16.13.0.tgz?cache=0&sync_timestamp=1583523222586&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2Freact-is%2Fdownload%2Freact-is-16.13.0.tgz#0f37c3613c34fe6b37cd7f763a0d6293ab15c527"
80338051
integrity sha1-DzfDYTw0/ms3zX92Og1ik6sVxSc=
80348052

8053+
read-cmd-shim@^2.0.0:
8054+
version "2.0.0"
8055+
resolved "https://registry.yarnpkg.com/read-cmd-shim/-/read-cmd-shim-2.0.0.tgz#4a50a71d6f0965364938e9038476f7eede3928d9"
8056+
integrity sha512-HJpV9bQpkl6KwjxlJcBoqu9Ba0PQg8TqSNIOrulGt54a0uup0HtevreFHzYzkm0lpnleRdNBzXznKrgxglEHQw==
8057+
80358058
read-pkg-up@^1.0.1:
80368059
version "1.0.1"
80378060
resolved "https://registry.yarnpkg.com/read-pkg-up/-/read-pkg-up-1.0.1.tgz#9d63c13276c065918d57f002a57f40a1b643fb02"
@@ -9679,7 +9702,7 @@ upath@^1.1.1:
96799702
resolved "https://registry.yarnpkg.com/upath/-/upath-1.2.0.tgz#8f66dbcd55a883acdae4408af8b035a5044c1894"
96809703
integrity sha512-aZwGpamFO61g3OlfT7OQCHqhGnW43ieH9WZeP7QxN/G/jS4jfqUkZxoryvJgVPEcrl5NL/ggHsSmLMHuH64Lhg==
96819704

9682-
9705+
[email protected], update-notifier@^4.1.0:
96839706
version "4.1.0"
96849707
resolved "https://registry.yarnpkg.com/update-notifier/-/update-notifier-4.1.0.tgz#4866b98c3bc5b5473c020b1250583628f9a328f3"
96859708
integrity sha512-w3doE1qtI0/ZmgeoDoARmI5fjDoT93IfKgEGqm26dGUOh8oNpaSTsGNdYRN/SjOuo10jcJGwkEL3mroKzktkew==

0 commit comments

Comments
 (0)