Skip to content

Commit df1fc26

Browse files
committed
workflow: using monoo
1 parent 6343a8c commit df1fc26

File tree

3 files changed

+122
-36
lines changed

3 files changed

+122
-36
lines changed

.vscode/settings.json

+5-1
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,10 @@
3939
"strings": true
4040
}
4141
},
42-
"eslint.trace.server": "verbose"
42+
"eslint.trace.server": "verbose",
43+
"cSpell.words": [
44+
"commitlint",
45+
"monoo"
46+
]
4347
}
4448

package.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
"packages:diff": "lerna diff",
2020
"packages:list": "lerna ls -l",
2121
"register-vuepress": "lerna exec --scope vuepress -- yarn link",
22-
"release": "yarn lint && yarn build && mono release",
22+
"release": "yarn lint && yarn build && monoo release",
2323
"remote-version": "node scripts/remote-version.js",
2424
"show-help": "yarn workspace docs show-help",
2525
"test": "node scripts/test.js",
@@ -48,7 +48,6 @@
4848
"@babel/plugin-proposal-class-properties": "7",
4949
"@commitlint/cli": "^8.2.0",
5050
"@commitlint/config-conventional": "^8.2.0",
51-
"@nomadland/mono": "0.3.4",
5251
"@types/escape-html": "^0.0.20",
5352
"@types/fs-extra": "^5.0.4",
5453
"@types/globby": "^9.1.0",
@@ -68,6 +67,7 @@
6867
"lerna": "3.16.4",
6968
"lint-staged": "^9.3.0",
7069
"minimist": "^1.2.0",
70+
"monoo": "0.4.3",
7171
"sort-package-json": "^1.24.0",
7272
"typescript": "4.5.2"
7373
}

yarn.lock

+115-33
Original file line numberDiff line numberDiff line change
@@ -2695,6 +2695,27 @@
26952695
mkdirp "^0.5.1"
26962696
rimraf "^2.5.2"
26972697

2698+
2699+
version "0.4.3"
2700+
resolved "https://registry.npmjs.org/@monoo/shared/-/shared-0.4.3.tgz#9331837d8b1984fb99a09a5bf7ba9923b4ddc1ec"
2701+
integrity sha512-W+sdSi54wha4QnPgUSfa2CNf93kvv9LvfYKGHH7BFM/fNP7+bnIQzjnozaVXQ9LvvaQTkCEcXsJjtiNa+xyxZw==
2702+
dependencies:
2703+
"@monoo/types" "0.4.3"
2704+
"@types/fs-extra" "8.1.0"
2705+
chalk "2.4.1"
2706+
chokidar "3.4.0"
2707+
execa "^3.2.0"
2708+
fs-extra "7.0.0"
2709+
globby "^9.0.0"
2710+
shelljs "0.8.4"
2711+
2712+
2713+
version "0.4.3"
2714+
resolved "https://registry.npmjs.org/@monoo/types/-/types-0.4.3.tgz#d53b614cc0098aeccc572c647b81008cafe56147"
2715+
integrity sha512-GAgRpYyUEumNsP9QtDymqebnxP4UB97xYsavhej9iAR39mOEjPzTWobE2cagBo10DtDI0QwrArOSyY59rynEqg==
2716+
dependencies:
2717+
"@types/node" "16"
2718+
26982719
"@mrmlnc/readdir-enhanced@^2.2.1":
26992720
version "2.2.1"
27002721
resolved "https://registry.npmjs.org/@mrmlnc/readdir-enhanced/-/readdir-enhanced-2.2.1.tgz#524af240d1a360527b730475ecfa1344aa540dde"
@@ -2729,32 +2750,6 @@
27292750
"@nodelib/fs.scandir" "2.1.5"
27302751
fastq "^1.6.0"
27312752

2732-
"@nomadland/[email protected]":
2733-
version "0.3.4"
2734-
resolved "https://registry.npmjs.org/@nomadland/mono/-/mono-0.3.4.tgz#32bfba60c77003cdc96f7e47afa7614b861f12d1"
2735-
integrity sha512-kYo8MVqcjLFdt1nuqpnUxwcqwYSOyjlPE7NlPXBuTnMvinDV6VTA8jsqmxIohBIiXZzUOCGx/MYPmurdOXkirQ==
2736-
dependencies:
2737-
"@speedy-js/config-loader" "0.1.3"
2738-
boxen "^4.1.0"
2739-
cac "^6.5.10"
2740-
chalk "^2.4.1"
2741-
chokidar "^3.4.0"
2742-
conventional-changelog "^3.1.24"
2743-
conventional-changelog-cli "^2.0.31"
2744-
debug "^4.3.2"
2745-
execa "^3.2.0"
2746-
fs-extra "^7.0.0"
2747-
globby "^9.0.0"
2748-
inquirer "^7.2.0"
2749-
lerna "^4.0.0"
2750-
node-fetch "^2.6.0"
2751-
semver "^6.3.0"
2752-
shelljs "^0.8.4"
2753-
string-width "^4.2.0"
2754-
text-table "^0.2.0"
2755-
tslib "^2.3.1"
2756-
url-join "^4.0.1"
2757-
27582753
"@npmcli/ci-detect@^1.0.0":
27592754
version "1.4.0"
27602755
resolved "https://registry.npmjs.org/@npmcli/ci-detect/-/ci-detect-1.4.0.tgz#18478bbaa900c37bfbd8a2006a6262c62e8b0fe1"
@@ -3254,6 +3249,13 @@
32543249
"@types/qs" "*"
32553250
"@types/serve-static" "*"
32563251

3252+
3253+
version "8.1.0"
3254+
resolved "https://registry.npmjs.org/@types/fs-extra/-/fs-extra-8.1.0.tgz#1114834b53c3914806cd03b3304b37b3bd221a4d"
3255+
integrity sha512-UoOfVEzAUpeSPmjm7h1uk5MH6KZma2z2O7a75onTGjnNvAvMVrPzPL/vBbT65iIGHWj6rokwfmYcmxmlSf2uwg==
3256+
dependencies:
3257+
"@types/node" "*"
3258+
32573259
"@types/fs-extra@^5.0.4":
32583260
version "5.1.0"
32593261
resolved "https://registry.npmjs.org/@types/fs-extra/-/fs-extra-5.1.0.tgz#2a325ef97901504a3828718c390d34b8426a10a1"
@@ -3377,6 +3379,11 @@
33773379
resolved "https://registry.npmjs.org/@types/node/-/node-17.0.8.tgz#50d680c8a8a78fe30abe6906453b21ad8ab0ad7b"
33783380
integrity sha512-YofkM6fGv4gDJq78g4j0mMuGMkZVxZDgtU0JRdx6FgiJDG+0fY0GKVolOV8WqVmEhLCXkQRjwDdKyPxJp/uucg==
33793381

3382+
"@types/node@16":
3383+
version "16.18.12"
3384+
resolved "https://registry.npmjs.org/@types/node/-/node-16.18.12.tgz#e3bfea80e31523fde4292a6118f19ffa24fd6f65"
3385+
integrity sha512-vzLe5NaNMjIE3mcddFVGlAXN1LEWueUsMsOJWaT6wWMJGyljHAWHznqfnKUQWGzu7TLPrGvWdNAsvQYW+C0xtw==
3386+
33803387
"@types/node@^12.7.5":
33813388
version "12.20.41"
33823389
resolved "https://registry.npmjs.org/@types/node/-/node-12.20.41.tgz#81d7734c5257da9f04354bd9084a6ebbdd5198a5"
@@ -4133,6 +4140,14 @@ anymatch@^3.0.0, anymatch@~3.1.2:
41334140
normalize-path "^3.0.0"
41344141
picomatch "^2.0.4"
41354142

4143+
anymatch@~3.1.1:
4144+
version "3.1.3"
4145+
resolved "https://registry.npmjs.org/anymatch/-/anymatch-3.1.3.tgz#790c58b19ba1720a84205b57c618d5ad8524973e"
4146+
integrity sha512-KMReFUr0B4t+D+OBkjR3KYqvocp2XaSzO55UcB6mgQMd3KbcE+mWTyvVV7D/zsdEbNnV6acZUutkiHQXvTr1Rw==
4147+
dependencies:
4148+
normalize-path "^3.0.0"
4149+
picomatch "^2.0.4"
4150+
41364151
aproba@^1.0.3, aproba@^1.1.1:
41374152
version "1.2.0"
41384153
resolved "https://registry.npmjs.org/aproba/-/aproba-1.2.0.tgz#6802e6264efd18c790a1b0d517f0f2627bf2c94a"
@@ -5055,6 +5070,15 @@ caseless@~0.12.0:
50555070
resolved "https://registry.npmjs.org/caseless/-/caseless-0.12.0.tgz#1b681c21ff84033c826543090689420d187151dc"
50565071
integrity sha1-G2gcIf+EAzyCZUMJBolCDRhxUdw=
50575072

5073+
5074+
version "2.4.1"
5075+
resolved "https://registry.npmjs.org/chalk/-/chalk-2.4.1.tgz#18c49ab16a037b6eb0152cc83e3471338215b66e"
5076+
integrity sha512-ObN6h1v2fTJSmUXoS3nMQ92LbDK9be4TV+6G+omQlGJFdcUX5heKi1LZ1YnRMIgwTLEj3E24bT6tYni50rlCfQ==
5077+
dependencies:
5078+
ansi-styles "^3.2.1"
5079+
escape-string-regexp "^1.0.5"
5080+
supports-color "^5.3.0"
5081+
50585082
[email protected], chalk@^2.0.0, chalk@^2.0.1, chalk@^2.1.0, chalk@^2.3.1, chalk@^2.3.2, chalk@^2.4.1, chalk@^2.4.2:
50595083
version "2.4.2"
50605084
resolved "https://registry.npmjs.org/chalk/-/chalk-2.4.2.tgz#cd42541677a54333cf541a49108c1432b44c9424"
@@ -5116,6 +5140,21 @@ [email protected]:
51165140
resolved "https://registry.npmjs.org/charenc/-/charenc-0.0.2.tgz#c0a1d2f3a7092e03774bfa83f14c0fc5790a8667"
51175141
integrity sha1-wKHS86cJLgN3S/qD8UwPxXkKhmc=
51185142

5143+
5144+
version "3.4.0"
5145+
resolved "https://registry.npmjs.org/chokidar/-/chokidar-3.4.0.tgz#b30611423ce376357c765b9b8f904b9fba3c0be8"
5146+
integrity sha512-aXAaho2VJtisB/1fg1+3nlLJqGOuewTzQpd/Tz0yTg2R0e4IGtshYvtjowyEumcBv2z+y4+kc75Mz7j5xJskcQ==
5147+
dependencies:
5148+
anymatch "~3.1.1"
5149+
braces "~3.0.2"
5150+
glob-parent "~5.1.0"
5151+
is-binary-path "~2.1.0"
5152+
is-glob "~4.0.1"
5153+
normalize-path "~3.0.0"
5154+
readdirp "~3.4.0"
5155+
optionalDependencies:
5156+
fsevents "~2.1.2"
5157+
51195158
chokidar@^2.0.3, chokidar@^2.1.8:
51205159
version "2.1.8"
51215160
resolved "https://registry.npmjs.org/chokidar/-/chokidar-2.1.8.tgz#804b3a7b6a99358c3c5c61e71d8728f041cff917"
@@ -5135,7 +5174,7 @@ chokidar@^2.0.3, chokidar@^2.1.8:
51355174
optionalDependencies:
51365175
fsevents "^1.2.7"
51375176

5138-
chokidar@^3.0.0, chokidar@^3.4.0, chokidar@^3.4.1:
5177+
chokidar@^3.0.0, chokidar@^3.4.1:
51395178
version "3.5.2"
51405179
resolved "https://registry.npmjs.org/chokidar/-/chokidar-3.5.2.tgz#dba3976fcadb016f66fd365021d91600d01c1e75"
51415180
integrity sha512-ekGhOnNVPgT77r4K/U3GDhu+FQ2S8TnK/s2KbIGXi0SZWuwkZ2QNyfWdZW+TVfn84DpEP7rLeCt2UI6bJ8GwbQ==
@@ -7715,6 +7754,15 @@ from2@^2.1.0:
77157754
inherits "^2.0.1"
77167755
readable-stream "^2.0.0"
77177756

7757+
7758+
version "7.0.0"
7759+
resolved "https://registry.npmjs.org/fs-extra/-/fs-extra-7.0.0.tgz#8cc3f47ce07ef7b3593a11b9fb245f7e34c041d6"
7760+
integrity sha512-EglNDLRpmaTWiD/qraZn6HREAEAHJcJOmxNEYwq6xeMKnVMAy3GUcFB+wXt2C6k4CNvB/mP1y/U3dzvKKj5OtQ==
7761+
dependencies:
7762+
graceful-fs "^4.1.2"
7763+
jsonfile "^4.0.0"
7764+
universalify "^0.1.0"
7765+
77187766
fs-extra@^4.0.2:
77197767
version "4.0.3"
77207768
resolved "https://registry.npmjs.org/fs-extra/-/fs-extra-4.0.3.tgz#0d852122e5bc5beb453fb028e9c0c9bf36340c94"
@@ -7724,7 +7772,7 @@ fs-extra@^4.0.2:
77247772
jsonfile "^4.0.0"
77257773
universalify "^0.1.0"
77267774

7727-
fs-extra@^7.0.0, fs-extra@^7.0.1:
7775+
fs-extra@^7.0.1:
77287776
version "7.0.1"
77297777
resolved "https://registry.npmjs.org/fs-extra/-/fs-extra-7.0.1.tgz#4f189c44aa123b895f722804f55ea23eadc348e9"
77307778
integrity sha512-YJDaCJZEnBmcbw13fvdAM9AwNOJwOzrE4pqMqBq5nFiEqXUqHwlK4B+3pUw6JNvfSPtX05xFHtYy/1ni01eGCw==
@@ -7789,6 +7837,11 @@ fsevents@^1.2.7:
77897837
bindings "^1.5.0"
77907838
nan "^2.12.1"
77917839

7840+
fsevents@~2.1.2:
7841+
version "2.1.3"
7842+
resolved "https://registry.npmjs.org/fsevents/-/fsevents-2.1.3.tgz#fb738703ae8d2f9fe900c33836ddebee8b97f23e"
7843+
integrity sha512-Auw9a4AxqWpa9GUfj370BMPzzyncfBABW8Mab7BGWBYDj4Isgq+cDKtx0i6u9jcX9pQDnswsaaOTgTmA5pEjuQ==
7844+
77927845
fsevents@~2.3.2:
77937846
version "2.3.2"
77947847
resolved "https://registry.npmjs.org/fsevents/-/fsevents-2.3.2.tgz#8a526f78b8fdf4623b709e0b975c52c24c02fd1a"
@@ -8018,7 +8071,7 @@ glob-parent@^3.1.0:
80188071
is-glob "^3.1.0"
80198072
path-dirname "^1.0.0"
80208073

8021-
glob-parent@^5.0.0, glob-parent@^5.1.1, glob-parent@^5.1.2, glob-parent@~5.1.2:
8074+
glob-parent@^5.0.0, glob-parent@^5.1.1, glob-parent@^5.1.2, glob-parent@~5.1.0, glob-parent@~5.1.2:
80228075
version "5.1.2"
80238076
resolved "https://registry.npmjs.org/glob-parent/-/glob-parent-5.1.2.tgz#869832c58034fe68a4093c17dc15e8340d8401c4"
80248077
integrity sha512-AOIgSQCepiJYwP3ARnGx+5VnTu2HBYdzbGP45eLw1vr3zB3vZLeyed1sC9hnbcOc9/SrMyM5RPQrkGz4aS9Zow==
@@ -11185,6 +11238,28 @@ modify-values@^1.0.0:
1118511238
resolved "https://registry.npmjs.org/modify-values/-/modify-values-1.0.1.tgz#b3939fa605546474e3e3e3c63d64bd43b4ee6022"
1118611239
integrity sha512-xV2bxeN6F7oYjZWTe/YPAy6MN2M+sL4u/Rlm2AHCIVGfo2p1yGmBHQ6vHehl4bRTZBdHu3TSkWdYgkwpYzAGSw==
1118711240

11241+
11242+
version "0.4.3"
11243+
resolved "https://registry.npmjs.org/monoo/-/monoo-0.4.3.tgz#82282104f526df15ffe9e61d0225aec1eefa5b6c"
11244+
integrity sha512-JGE5eZo0GQWFEVuB29HTkdbll/7dYmKDf//vvyiT5YWdY6Q5B96ve+1FkUKEeiUZa2OH8O0iS+aySJMG2WJOmw==
11245+
dependencies:
11246+
"@monoo/shared" "0.4.3"
11247+
"@monoo/types" "0.4.3"
11248+
"@speedy-js/config-loader" "0.1.3"
11249+
boxen "^4.1.0"
11250+
cac "^6.5.10"
11251+
conventional-changelog "^3.1.24"
11252+
conventional-changelog-cli "^2.0.31"
11253+
debug "^4.3.2"
11254+
inquirer "^7.2.0"
11255+
lerna "^4.0.0"
11256+
node-fetch "^2.6.0"
11257+
semver "^6.3.0"
11258+
string-width "^4.2.0"
11259+
text-table "^0.2.0"
11260+
tslib "^2.3.1"
11261+
url-join "^4.0.1"
11262+
1118811263
move-concurrently@^1.0.1:
1118911264
version "1.0.1"
1119011265
resolved "https://registry.npmjs.org/move-concurrently/-/move-concurrently-1.0.1.tgz#be2c005fda32e0b29af1f05d7c4b33214c701f92"
@@ -13303,6 +13378,13 @@ readdirp@^2.2.1:
1330313378
micromatch "^3.1.10"
1330413379
readable-stream "^2.0.2"
1330513380

13381+
readdirp@~3.4.0:
13382+
version "3.4.0"
13383+
resolved "https://registry.npmjs.org/readdirp/-/readdirp-3.4.0.tgz#9fdccdf9e9155805449221ac645e8303ab5b9ada"
13384+
integrity sha512-0xe001vZBnJEK+uKcj8qOhyAKPzIT+gStxWr3LCB0DwcXR5NZJ3IaC+yGnHCYzB/S7ov3m3EEbZI2zeNvX+hGQ==
13385+
dependencies:
13386+
picomatch "^2.2.1"
13387+
1330613388
readdirp@~3.6.0:
1330713389
version "3.6.0"
1330813390
resolved "https://registry.npmjs.org/readdirp/-/readdirp-3.6.0.tgz#74a370bd857116e245b29cc97340cd431a02a6c7"
@@ -14375,10 +14457,10 @@ shebang-regex@^3.0.0:
1437514457
resolved "https://registry.npmjs.org/shebang-regex/-/shebang-regex-3.0.0.tgz#ae16f1644d873ecad843b0307b143362d4c42172"
1437614458
integrity sha512-7++dFhtcx3353uBaq8DDR4NuxBetBzC7ZQOhmTQInHEd6bSrXdiEyzCvG07Z44UYdLShWUyXt5M/yhz8ekcb1A==
1437714459

14378-
shelljs@^0.8.4:
14379-
version "0.8.5"
14380-
resolved "https://registry.npmjs.org/shelljs/-/shelljs-0.8.5.tgz#de055408d8361bed66c669d2f000538ced8ee20c"
14381-
integrity sha512-TiwcRcrkhHvbrZbnRcFYMLl30Dfov3HKqzp5tO5b4pt6G/SezKcYhmDg15zXVBswHmctSAQKznqNW2LO5tTDow==
14460+
14461+
version "0.8.4"
14462+
resolved "https://registry.npmjs.org/shelljs/-/shelljs-0.8.4.tgz#de7684feeb767f8716b326078a8a00875890e3c2"
14463+
integrity sha512-7gk3UZ9kOfPLIAbslLzyWeGiEqx9e3rxwZM0KE6EL8GlGwjym9Mrlx5/p33bWTu9YG6vcS4MBxYZDHYr5lr8BQ==
1438214464
dependencies:
1438314465
glob "^7.0.0"
1438414466
interpret "^1.0.0"

0 commit comments

Comments
 (0)