From 0c61d4c9788677c83c567db5381b9e257ec90bba Mon Sep 17 00:00:00 2001 From: xiaojunnuo Date: Sun, 28 Sep 2025 09:58:22 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20@certd/ui-server=20module=20import?= =?UTF-8?q?=E6=8A=A5=E9=94=99=E7=9A=84=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- package.json | 1 - publish-check.js | 21 ++++++++++++++++++++- 2 files changed, 20 insertions(+), 2 deletions(-) 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()