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:
- 'packages/*' - 'packages/*'
- 'playground' - 'playground'
- 'docs'
- 'runtime/*' - 'runtime/*'

View File

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