Skip to content

Commit

Permalink
workflow: using monoo
Browse files Browse the repository at this point in the history
  • Loading branch information
ulivz committed Feb 25, 2023
1 parent 6343a8c commit df1fc26
Show file tree
Hide file tree
Showing 3 changed files with 122 additions and 36 deletions.
6 changes: 5 additions & 1 deletion .vscode/settings.json
Expand Up @@ -39,6 +39,10 @@
"strings": true
}
},
"eslint.trace.server": "verbose"
"eslint.trace.server": "verbose",
"cSpell.words": [
"commitlint",
"monoo"
]
}

4 changes: 2 additions & 2 deletions package.json
Expand Up @@ -19,7 +19,7 @@
"packages:diff": "lerna diff",
"packages:list": "lerna ls -l",
"register-vuepress": "lerna exec --scope vuepress -- yarn link",
"release": "yarn lint && yarn build && mono release",
"release": "yarn lint && yarn build && monoo release",
"remote-version": "node scripts/remote-version.js",
"show-help": "yarn workspace docs show-help",
"test": "node scripts/test.js",
Expand Down Expand Up @@ -48,7 +48,6 @@
"@babel/plugin-proposal-class-properties": "7",
"@commitlint/cli": "^8.2.0",
"@commitlint/config-conventional": "^8.2.0",
"@nomadland/mono": "0.3.4",
"@types/escape-html": "^0.0.20",
"@types/fs-extra": "^5.0.4",
"@types/globby": "^9.1.0",
Expand All @@ -68,6 +67,7 @@
"lerna": "3.16.4",
"lint-staged": "^9.3.0",
"minimist": "^1.2.0",
"monoo": "0.4.3",
"sort-package-json": "^1.24.0",
"typescript": "4.5.2"
}
Expand Down
148 changes: 115 additions & 33 deletions yarn.lock
Expand Up @@ -2695,6 +2695,27 @@
mkdirp "^0.5.1"
rimraf "^2.5.2"

"@monoo/shared@0.4.3":
version "0.4.3"
resolved "https://registry.npmjs.org/@monoo/shared/-/shared-0.4.3.tgz#9331837d8b1984fb99a09a5bf7ba9923b4ddc1ec"
integrity sha512-W+sdSi54wha4QnPgUSfa2CNf93kvv9LvfYKGHH7BFM/fNP7+bnIQzjnozaVXQ9LvvaQTkCEcXsJjtiNa+xyxZw==
dependencies:
"@monoo/types" "0.4.3"
"@types/fs-extra" "8.1.0"
chalk "2.4.1"
chokidar "3.4.0"
execa "^3.2.0"
fs-extra "7.0.0"
globby "^9.0.0"
shelljs "0.8.4"

"@monoo/types@0.4.3":
version "0.4.3"
resolved "https://registry.npmjs.org/@monoo/types/-/types-0.4.3.tgz#d53b614cc0098aeccc572c647b81008cafe56147"
integrity sha512-GAgRpYyUEumNsP9QtDymqebnxP4UB97xYsavhej9iAR39mOEjPzTWobE2cagBo10DtDI0QwrArOSyY59rynEqg==
dependencies:
"@types/node" "16"

"@mrmlnc/readdir-enhanced@^2.2.1":
version "2.2.1"
resolved "https://registry.npmjs.org/@mrmlnc/readdir-enhanced/-/readdir-enhanced-2.2.1.tgz#524af240d1a360527b730475ecfa1344aa540dde"
Expand Down Expand Up @@ -2729,32 +2750,6 @@
"@nodelib/fs.scandir" "2.1.5"
fastq "^1.6.0"

"@nomadland/mono@0.3.4":
version "0.3.4"
resolved "https://registry.npmjs.org/@nomadland/mono/-/mono-0.3.4.tgz#32bfba60c77003cdc96f7e47afa7614b861f12d1"
integrity sha512-kYo8MVqcjLFdt1nuqpnUxwcqwYSOyjlPE7NlPXBuTnMvinDV6VTA8jsqmxIohBIiXZzUOCGx/MYPmurdOXkirQ==
dependencies:
"@speedy-js/config-loader" "0.1.3"
boxen "^4.1.0"
cac "^6.5.10"
chalk "^2.4.1"
chokidar "^3.4.0"
conventional-changelog "^3.1.24"
conventional-changelog-cli "^2.0.31"
debug "^4.3.2"
execa "^3.2.0"
fs-extra "^7.0.0"
globby "^9.0.0"
inquirer "^7.2.0"
lerna "^4.0.0"
node-fetch "^2.6.0"
semver "^6.3.0"
shelljs "^0.8.4"
string-width "^4.2.0"
text-table "^0.2.0"
tslib "^2.3.1"
url-join "^4.0.1"

"@npmcli/ci-detect@^1.0.0":
version "1.4.0"
resolved "https://registry.npmjs.org/@npmcli/ci-detect/-/ci-detect-1.4.0.tgz#18478bbaa900c37bfbd8a2006a6262c62e8b0fe1"
Expand Down Expand Up @@ -3254,6 +3249,13 @@
"@types/qs" "*"
"@types/serve-static" "*"

"@types/fs-extra@8.1.0":
version "8.1.0"
resolved "https://registry.npmjs.org/@types/fs-extra/-/fs-extra-8.1.0.tgz#1114834b53c3914806cd03b3304b37b3bd221a4d"
integrity sha512-UoOfVEzAUpeSPmjm7h1uk5MH6KZma2z2O7a75onTGjnNvAvMVrPzPL/vBbT65iIGHWj6rokwfmYcmxmlSf2uwg==
dependencies:
"@types/node" "*"

"@types/fs-extra@^5.0.4":
version "5.1.0"
resolved "https://registry.npmjs.org/@types/fs-extra/-/fs-extra-5.1.0.tgz#2a325ef97901504a3828718c390d34b8426a10a1"
Expand Down Expand Up @@ -3377,6 +3379,11 @@
resolved "https://registry.npmjs.org/@types/node/-/node-17.0.8.tgz#50d680c8a8a78fe30abe6906453b21ad8ab0ad7b"
integrity sha512-YofkM6fGv4gDJq78g4j0mMuGMkZVxZDgtU0JRdx6FgiJDG+0fY0GKVolOV8WqVmEhLCXkQRjwDdKyPxJp/uucg==

"@types/node@16":
version "16.18.12"
resolved "https://registry.npmjs.org/@types/node/-/node-16.18.12.tgz#e3bfea80e31523fde4292a6118f19ffa24fd6f65"
integrity sha512-vzLe5NaNMjIE3mcddFVGlAXN1LEWueUsMsOJWaT6wWMJGyljHAWHznqfnKUQWGzu7TLPrGvWdNAsvQYW+C0xtw==

"@types/node@^12.7.5":
version "12.20.41"
resolved "https://registry.npmjs.org/@types/node/-/node-12.20.41.tgz#81d7734c5257da9f04354bd9084a6ebbdd5198a5"
Expand Down Expand Up @@ -4133,6 +4140,14 @@ anymatch@^3.0.0, anymatch@~3.1.2:
normalize-path "^3.0.0"
picomatch "^2.0.4"

anymatch@~3.1.1:
version "3.1.3"
resolved "https://registry.npmjs.org/anymatch/-/anymatch-3.1.3.tgz#790c58b19ba1720a84205b57c618d5ad8524973e"
integrity sha512-KMReFUr0B4t+D+OBkjR3KYqvocp2XaSzO55UcB6mgQMd3KbcE+mWTyvVV7D/zsdEbNnV6acZUutkiHQXvTr1Rw==
dependencies:
normalize-path "^3.0.0"
picomatch "^2.0.4"

aproba@^1.0.3, aproba@^1.1.1:
version "1.2.0"
resolved "https://registry.npmjs.org/aproba/-/aproba-1.2.0.tgz#6802e6264efd18c790a1b0d517f0f2627bf2c94a"
Expand Down Expand Up @@ -5055,6 +5070,15 @@ caseless@~0.12.0:
resolved "https://registry.npmjs.org/caseless/-/caseless-0.12.0.tgz#1b681c21ff84033c826543090689420d187151dc"
integrity sha1-G2gcIf+EAzyCZUMJBolCDRhxUdw=

chalk@2.4.1:
version "2.4.1"
resolved "https://registry.npmjs.org/chalk/-/chalk-2.4.1.tgz#18c49ab16a037b6eb0152cc83e3471338215b66e"
integrity sha512-ObN6h1v2fTJSmUXoS3nMQ92LbDK9be4TV+6G+omQlGJFdcUX5heKi1LZ1YnRMIgwTLEj3E24bT6tYni50rlCfQ==
dependencies:
ansi-styles "^3.2.1"
escape-string-regexp "^1.0.5"
supports-color "^5.3.0"

chalk@2.4.2, 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:
version "2.4.2"
resolved "https://registry.npmjs.org/chalk/-/chalk-2.4.2.tgz#cd42541677a54333cf541a49108c1432b44c9424"
Expand Down Expand Up @@ -5116,6 +5140,21 @@ charenc@0.0.2:
resolved "https://registry.npmjs.org/charenc/-/charenc-0.0.2.tgz#c0a1d2f3a7092e03774bfa83f14c0fc5790a8667"
integrity sha1-wKHS86cJLgN3S/qD8UwPxXkKhmc=

chokidar@3.4.0:
version "3.4.0"
resolved "https://registry.npmjs.org/chokidar/-/chokidar-3.4.0.tgz#b30611423ce376357c765b9b8f904b9fba3c0be8"
integrity sha512-aXAaho2VJtisB/1fg1+3nlLJqGOuewTzQpd/Tz0yTg2R0e4IGtshYvtjowyEumcBv2z+y4+kc75Mz7j5xJskcQ==
dependencies:
anymatch "~3.1.1"
braces "~3.0.2"
glob-parent "~5.1.0"
is-binary-path "~2.1.0"
is-glob "~4.0.1"
normalize-path "~3.0.0"
readdirp "~3.4.0"
optionalDependencies:
fsevents "~2.1.2"

chokidar@^2.0.3, chokidar@^2.1.8:
version "2.1.8"
resolved "https://registry.npmjs.org/chokidar/-/chokidar-2.1.8.tgz#804b3a7b6a99358c3c5c61e71d8728f041cff917"
Expand All @@ -5135,7 +5174,7 @@ chokidar@^2.0.3, chokidar@^2.1.8:
optionalDependencies:
fsevents "^1.2.7"

chokidar@^3.0.0, chokidar@^3.4.0, chokidar@^3.4.1:
chokidar@^3.0.0, chokidar@^3.4.1:
version "3.5.2"
resolved "https://registry.npmjs.org/chokidar/-/chokidar-3.5.2.tgz#dba3976fcadb016f66fd365021d91600d01c1e75"
integrity sha512-ekGhOnNVPgT77r4K/U3GDhu+FQ2S8TnK/s2KbIGXi0SZWuwkZ2QNyfWdZW+TVfn84DpEP7rLeCt2UI6bJ8GwbQ==
Expand Down Expand Up @@ -7715,6 +7754,15 @@ from2@^2.1.0:
inherits "^2.0.1"
readable-stream "^2.0.0"

fs-extra@7.0.0:
version "7.0.0"
resolved "https://registry.npmjs.org/fs-extra/-/fs-extra-7.0.0.tgz#8cc3f47ce07ef7b3593a11b9fb245f7e34c041d6"
integrity sha512-EglNDLRpmaTWiD/qraZn6HREAEAHJcJOmxNEYwq6xeMKnVMAy3GUcFB+wXt2C6k4CNvB/mP1y/U3dzvKKj5OtQ==
dependencies:
graceful-fs "^4.1.2"
jsonfile "^4.0.0"
universalify "^0.1.0"

fs-extra@^4.0.2:
version "4.0.3"
resolved "https://registry.npmjs.org/fs-extra/-/fs-extra-4.0.3.tgz#0d852122e5bc5beb453fb028e9c0c9bf36340c94"
Expand All @@ -7724,7 +7772,7 @@ fs-extra@^4.0.2:
jsonfile "^4.0.0"
universalify "^0.1.0"

fs-extra@^7.0.0, fs-extra@^7.0.1:
fs-extra@^7.0.1:
version "7.0.1"
resolved "https://registry.npmjs.org/fs-extra/-/fs-extra-7.0.1.tgz#4f189c44aa123b895f722804f55ea23eadc348e9"
integrity sha512-YJDaCJZEnBmcbw13fvdAM9AwNOJwOzrE4pqMqBq5nFiEqXUqHwlK4B+3pUw6JNvfSPtX05xFHtYy/1ni01eGCw==
Expand Down Expand Up @@ -7789,6 +7837,11 @@ fsevents@^1.2.7:
bindings "^1.5.0"
nan "^2.12.1"

fsevents@~2.1.2:
version "2.1.3"
resolved "https://registry.npmjs.org/fsevents/-/fsevents-2.1.3.tgz#fb738703ae8d2f9fe900c33836ddebee8b97f23e"
integrity sha512-Auw9a4AxqWpa9GUfj370BMPzzyncfBABW8Mab7BGWBYDj4Isgq+cDKtx0i6u9jcX9pQDnswsaaOTgTmA5pEjuQ==

fsevents@~2.3.2:
version "2.3.2"
resolved "https://registry.npmjs.org/fsevents/-/fsevents-2.3.2.tgz#8a526f78b8fdf4623b709e0b975c52c24c02fd1a"
Expand Down Expand Up @@ -8018,7 +8071,7 @@ glob-parent@^3.1.0:
is-glob "^3.1.0"
path-dirname "^1.0.0"

glob-parent@^5.0.0, glob-parent@^5.1.1, glob-parent@^5.1.2, glob-parent@~5.1.2:
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:
version "5.1.2"
resolved "https://registry.npmjs.org/glob-parent/-/glob-parent-5.1.2.tgz#869832c58034fe68a4093c17dc15e8340d8401c4"
integrity sha512-AOIgSQCepiJYwP3ARnGx+5VnTu2HBYdzbGP45eLw1vr3zB3vZLeyed1sC9hnbcOc9/SrMyM5RPQrkGz4aS9Zow==
Expand Down Expand Up @@ -11185,6 +11238,28 @@ modify-values@^1.0.0:
resolved "https://registry.npmjs.org/modify-values/-/modify-values-1.0.1.tgz#b3939fa605546474e3e3e3c63d64bd43b4ee6022"
integrity sha512-xV2bxeN6F7oYjZWTe/YPAy6MN2M+sL4u/Rlm2AHCIVGfo2p1yGmBHQ6vHehl4bRTZBdHu3TSkWdYgkwpYzAGSw==

monoo@0.4.3:
version "0.4.3"
resolved "https://registry.npmjs.org/monoo/-/monoo-0.4.3.tgz#82282104f526df15ffe9e61d0225aec1eefa5b6c"
integrity sha512-JGE5eZo0GQWFEVuB29HTkdbll/7dYmKDf//vvyiT5YWdY6Q5B96ve+1FkUKEeiUZa2OH8O0iS+aySJMG2WJOmw==
dependencies:
"@monoo/shared" "0.4.3"
"@monoo/types" "0.4.3"
"@speedy-js/config-loader" "0.1.3"
boxen "^4.1.0"
cac "^6.5.10"
conventional-changelog "^3.1.24"
conventional-changelog-cli "^2.0.31"
debug "^4.3.2"
inquirer "^7.2.0"
lerna "^4.0.0"
node-fetch "^2.6.0"
semver "^6.3.0"
string-width "^4.2.0"
text-table "^0.2.0"
tslib "^2.3.1"
url-join "^4.0.1"

move-concurrently@^1.0.1:
version "1.0.1"
resolved "https://registry.npmjs.org/move-concurrently/-/move-concurrently-1.0.1.tgz#be2c005fda32e0b29af1f05d7c4b33214c701f92"
Expand Down Expand Up @@ -13303,6 +13378,13 @@ readdirp@^2.2.1:
micromatch "^3.1.10"
readable-stream "^2.0.2"

readdirp@~3.4.0:
version "3.4.0"
resolved "https://registry.npmjs.org/readdirp/-/readdirp-3.4.0.tgz#9fdccdf9e9155805449221ac645e8303ab5b9ada"
integrity sha512-0xe001vZBnJEK+uKcj8qOhyAKPzIT+gStxWr3LCB0DwcXR5NZJ3IaC+yGnHCYzB/S7ov3m3EEbZI2zeNvX+hGQ==
dependencies:
picomatch "^2.2.1"

readdirp@~3.6.0:
version "3.6.0"
resolved "https://registry.npmjs.org/readdirp/-/readdirp-3.6.0.tgz#74a370bd857116e245b29cc97340cd431a02a6c7"
Expand Down Expand Up @@ -14375,10 +14457,10 @@ shebang-regex@^3.0.0:
resolved "https://registry.npmjs.org/shebang-regex/-/shebang-regex-3.0.0.tgz#ae16f1644d873ecad843b0307b143362d4c42172"
integrity sha512-7++dFhtcx3353uBaq8DDR4NuxBetBzC7ZQOhmTQInHEd6bSrXdiEyzCvG07Z44UYdLShWUyXt5M/yhz8ekcb1A==

shelljs@^0.8.4:
version "0.8.5"
resolved "https://registry.npmjs.org/shelljs/-/shelljs-0.8.5.tgz#de055408d8361bed66c669d2f000538ced8ee20c"
integrity sha512-TiwcRcrkhHvbrZbnRcFYMLl30Dfov3HKqzp5tO5b4pt6G/SezKcYhmDg15zXVBswHmctSAQKznqNW2LO5tTDow==
shelljs@0.8.4:
version "0.8.4"
resolved "https://registry.npmjs.org/shelljs/-/shelljs-0.8.4.tgz#de7684feeb767f8716b326078a8a00875890e3c2"
integrity sha512-7gk3UZ9kOfPLIAbslLzyWeGiEqx9e3rxwZM0KE6EL8GlGwjym9Mrlx5/p33bWTu9YG6vcS4MBxYZDHYr5lr8BQ==
dependencies:
glob "^7.0.0"
interpret "^1.0.0"
Expand Down

0 comments on commit df1fc26

Please sign in to comment.