chore: docs移除工作空间

This commit is contained in:
roymondchen 2022-12-01 20:21:07 +08:00
parent f235e4665b
commit 102aed78e5
2 changed files with 0 additions and 3 deletions

View File

@ -1,5 +1,4 @@
packages:
- 'packages/*'
- 'playground'
- 'docs'
- 'runtime/*'

View File

@ -31,7 +31,6 @@ const runIfNotDry = isDryRun ? dryRun : run;
const getPkgRoot = (pkg) => path.resolve(__dirname, `../packages/${pkg}`);
const getRunTimeRoot = (pkg) => path.resolve(__dirname, `../runtime/${pkg}`);
const getPlayground = () => path.resolve(__dirname, `../playground`);
const getDocs = () => path.resolve(__dirname, `../docs`);
const step = (msg) => console.log(chalk.cyan(msg));
async function main() {
@ -141,7 +140,6 @@ function updateVersions(version) {
packages.forEach((p) => updatePackage(getPkgRoot(p), version));
['vue3', 'react', 'vue2'].forEach((p) => updatePackage(getRunTimeRoot(p), version));
updatePackage(getPlayground(), version);
updatePackage(getDocs(), version);
}
function updatePackage(pkgRoot, version) {