mirror of
https://github.com/unanmed/HumanBreak.git
synced 2025-10-29 02:12:58 +08:00
fix: maps.d.ts 写入错误
This commit is contained in:
parent
9fc4cd07f4
commit
9c614f0789
@ -10,7 +10,7 @@
|
||||
"type": "vue-tsc --noEmit",
|
||||
"lines": "tsx script/lines.ts packages packages-user",
|
||||
"build:packages": "vue-tsc --noEmit && tsx script/build-packages.ts",
|
||||
"build:game": "vue-tsc --noEmit && tsx script/build-game.ts",
|
||||
"build:game": "tsx script/declare.ts vue-tsc --noEmit && tsx script/build-game.ts",
|
||||
"build:lib": "vue-tsc --noEmit && tsx script/build-lib.ts",
|
||||
"docs:dev": "concurrently -k -n SIDEBAR,VITEPRESS -c blue,green \"tsx docs/.vitepress/api.ts\" \"vitepress dev docs\"",
|
||||
"docs:build": "vitepress build docs",
|
||||
|
||||
@ -559,7 +559,7 @@ async function doDeclaration(type: string, data: string) {
|
||||
num2id += '}';
|
||||
await writeFile('src/types/source/cls.d.ts', id2cls, 'utf-8');
|
||||
await writeFile(
|
||||
'src/source/maps.d.ts',
|
||||
'src/types/source/maps.d.ts',
|
||||
`${id2num}\n${num2id}`,
|
||||
'utf-8'
|
||||
);
|
||||
|
||||
Loading…
Reference in New Issue
Block a user