8e79ec4942
- Updated README and README.zh to clarify packaging commands and added verification step. - Improved packaging scripts to automatically build the self-contained runtime and verify its integrity. - Introduced new scripts for verifying harness self-containment and booting the web profile. - Added comprehensive tests for relinking harness symlinks and ensuring self-containment. - Updated package.json scripts to reflect new build and verification processes.
15 lines
512 B
TypeScript
15 lines
512 B
TypeScript
/** Type declarations for the pure relink/verify helpers in harness-relink.mjs. */
|
|
export interface RelinkReport {
|
|
normalized: number
|
|
dereferenced: number
|
|
unchanged: number
|
|
removed: number
|
|
errors: string[]
|
|
}
|
|
|
|
export function isWithin(root: string, p: string): boolean
|
|
export function relinkHarness(out: string, repoRoot: string): RelinkReport
|
|
export function findEscapingLinks(out: string): string[]
|
|
export function assertSelfContained(out: string): void
|
|
export function probeSymlinkSupport(): boolean
|