mirror of
https://github.com/zhw2590582/ArtPlayer.git
synced 2026-10-20 12:11:20 -08:00
refactor(docs): [SITE-03] migrate desktop editor and integrate typed generation
This commit is contained in:
1 parent
a468cb2c39
commit
2f130c58f1
37 files changed
+1921
-305
No files matched your search
@@ -1,4 +1,11 @@
|
||||
import { spawnSync } from 'node:child_process'
|
||||
import process from 'node:process'
|
||||
import { runEditorDeclarations } from './editor-declarations/generate.ts'
|
||||
|
||||
await runEditorDeclarations(process.argv.slice(2))
|
||||
if (!process.argv.includes('--check')) {
|
||||
const child = spawnSync(process.execPath, ['scripts/build-site-assets.mjs'], { stdio: 'inherit', windowsHide: true })
|
||||
if (child.error)
|
||||
throw child.error
|
||||
process.exitCode = child.status ?? 1
|
||||
}
|
||||
Reference in new issue
Block a user