mirror of https://github.com/certd/certd
feat: @certd/ui-server module import报错的问题
parent
2ae193092d
commit
0c61d4c978
|
@ -37,7 +37,6 @@
|
||||||
},
|
},
|
||||||
"license": "AGPL-3.0",
|
"license": "AGPL-3.0",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@certd/ui-server": "link:packages/ui/certd-server",
|
|
||||||
"axios": "^1.7.7",
|
"axios": "^1.7.7",
|
||||||
"copyfiles": "^2.4.1",
|
"copyfiles": "^2.4.1",
|
||||||
"lodash-es": "^4.17.21",
|
"lodash-es": "^4.17.21",
|
||||||
|
|
|
@ -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()
|
||||||
|
|
Loading…
Reference in New Issue