fix(typert): keep generator bootstrap self-contained
This commit is contained in:
@@ -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"
|
||||
},
|
||||
|
||||
@@ -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 {
|
||||
|
||||
@@ -16,9 +16,6 @@
|
||||
},
|
||||
{
|
||||
"path": "../../support/invariants"
|
||||
},
|
||||
{
|
||||
"path": "../type-meta"
|
||||
}
|
||||
]
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user