fix(typert): keep generator bootstrap self-contained

This commit is contained in:
imccyu
2026-08-07 11:13:19 +08:00
parent 2e1f9a5cea
commit 0ad5885015
4 changed files with 1 additions and 9 deletions

View File

@@ -30,7 +30,6 @@
],
"license": "BSD-3-Clause",
"dependencies": {
"@deepseek-ai/dsh-type-meta": "workspace:^",
"@jridgewell/gen-mapping": "^0.3.13",
"typescript": "^6.0.3"
},

View File

@@ -8,7 +8,6 @@
import { existsSync, readFileSync, realpathSync, writeFileSync } from 'node:fs'
import { dirname, extname, join, relative, resolve, sep } from 'node:path'
import ts from 'typescript'
import { isTypeRTRemoteSegment } from '@deepseek-ai/dsh-type-meta'
import type {
CrossFaceLink,
DocumentationModel,
@@ -2811,7 +2810,7 @@ function stringLiteralValue(node: ts.Node | undefined): string | undefined {
}
function isRemoteSegment(value: string): boolean {
return isTypeRTRemoteSegment(value)
return /^[A-Za-z0-9_$.-]+$/.test(value)
}
function expressionName(node: ts.Expression): string | undefined {

View File

@@ -16,9 +16,6 @@
},
{
"path": "../../support/invariants"
},
{
"path": "../type-meta"
}
]
}