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