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", "license": "BSD-3-Clause",
"dependencies": { "dependencies": {
"@deepseek-ai/dsh-type-meta": "workspace:^",
"@jridgewell/gen-mapping": "^0.3.13", "@jridgewell/gen-mapping": "^0.3.13",
"typescript": "^6.0.3" "typescript": "^6.0.3"
}, },

View File

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

View File

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

3
pnpm-lock.yaml generated
View File

@@ -6172,9 +6172,6 @@ importers:
packages/typert/generator: packages/typert/generator:
dependencies: dependencies:
'@deepseek-ai/dsh-type-meta':
specifier: workspace:^
version: link:../type-meta
'@jridgewell/gen-mapping': '@jridgewell/gen-mapping':
specifier: ^0.3.13 specifier: ^0.3.13
version: 0.3.13 version: 0.3.13