diff --git a/package.json b/package.json index e6d13615..5357159c 100644 --- a/package.json +++ b/package.json @@ -37,7 +37,6 @@ }, "license": "AGPL-3.0", "dependencies": { - "@certd/ui-server": "link:packages/ui/certd-server", "axios": "^1.7.7", "copyfiles": "^2.4.1", "lodash-es": "^4.17.21", diff --git a/publish-check.js b/publish-check.js index d2de3910..a24c308b 100644 --- a/publish-check.js +++ b/publish-check.js @@ -19,4 +19,23 @@ function check(){ } } -check() +function checkDist(){ + + function scanDir(root,excludes){ + //扫描文件,忽略node_modules + const files = fs.readdirSync(root) + const dirs = [] + for (const file of files) { + if (excludes.includes(file)) { + continue; + } + const filePath = join(root, file); + } + + console.log("检查",file) + } + + +} +checkDist() +// check()