feat: 删除根目录下 demo mock 数据

This commit is contained in:
liujuping 2022-11-14 17:44:42 +08:00
parent 949abe995e
commit 0b479ae443
10 changed files with 16 additions and 22 deletions

View File

@ -1,6 +1,6 @@
{
"name": "@alilc/lowcode-demo",
"version": "1.0.28",
"version": "1.0.29-beta.0",
"description": "Low-Code Engine 低代码搭建引擎 Demo 项目",
"repository": "git@github.com:alibaba/lowcode-demo.git",
"license": "MIT",

View File

@ -1,3 +0,0 @@
{
"info": "Hello AliLowCode!!"
}

View File

@ -1,3 +0,0 @@
{
"info": "Hello AliLowCode!!"
}

View File

@ -1,3 +0,0 @@
{
"info": "Hello AliLowCode!!"
}

View File

@ -1,3 +0,0 @@
{
"info": "Hello AliLowCode!!"
}

View File

@ -1,3 +0,0 @@
{
"info": "Hello AliLowCode!!"
}

View File

@ -1,3 +0,0 @@
{
"info": "Hello AliLowCode!!"
}

View File

@ -1,3 +0,0 @@
{
"info": "Hello AliLowCode!!"
}

15
scripts/watchdog.js Executable file
View File

@ -0,0 +1,15 @@
#!/usr/bin/env node
const fs = require('fs');
const { join } = require('path');
const workingDir = process.cwd();
const pkg = JSON.parse(fs.readFileSync(join(workingDir, 'package.json'), 'utf-8'));
if (pkg.private) return;
const { files } = pkg;
files.forEach(file => {
const fileDir = join(workingDir, file);
if (!fs.existsSync(fileDir)) {
throw new Error(`${fileDir} does not exist, plz run build`);
}
});