mirror of
https://github.com/Tencent/tmagic-editor.git
synced 2025-05-20 21:19:29 +08:00
chore: docs移除工作空间
This commit is contained in:
parent
f235e4665b
commit
102aed78e5
@ -1,5 +1,4 @@
|
|||||||
packages:
|
packages:
|
||||||
- 'packages/*'
|
- 'packages/*'
|
||||||
- 'playground'
|
- 'playground'
|
||||||
- 'docs'
|
|
||||||
- 'runtime/*'
|
- 'runtime/*'
|
@ -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) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user