mirror of
https://github.com/unanmed/HumanBreak.git
synced 2026-11-25 02:24:30 +08:00
chore: 将样板类型声明修改到 src/types 文件夹
This commit is contained in:
1 parent
091a1c76e9
commit
127af11e5e
26 files changed
+3
-8
No files matched your search
+2
-7
@@ -49,13 +49,8 @@ async function buildPackages() {
|
||||
const dirs = await fs.readdir(packages);
|
||||
for (const name of dirs) {
|
||||
const dir = path.join(process.cwd(), name);
|
||||
if (name === 'types') {
|
||||
await fs.emptyDir(path.join(dir, 'src'));
|
||||
await fs.rmdir(path.join(dir, 'src'));
|
||||
} else {
|
||||
await fs.emptyDir(dir);
|
||||
await fs.rmdir(dir);
|
||||
}
|
||||
await fs.emptyDir(dir);
|
||||
await fs.rmdir(dir);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
+1
-1
@@ -32,7 +32,7 @@
|
||||
"packages-user/**/*.ts",
|
||||
"packages-user/**/*.d.ts",
|
||||
"packages-user/**/*.tsx",
|
||||
"types/**/*.d.ts"
|
||||
"src/types/**/*.d.ts"
|
||||
],
|
||||
"references": [{ "path": "./tsconfig.node.json" }]
|
||||
}
|
||||
Reference in new issue
Block a user