libraryPackage manifestv2.0.5

lib.typescript-runtime

Owned TypeScript compiler API boundary for ContractSpec tooling

@lssm-tech/lib.typescript-runtime
Source, release and verification context

Source snapshot bcc79fcc · Declared package version 2.0.5. This page combines the checked-in package guide and manifest; commands and runtime behavior were not executed in this review.

Package source ↗ Manifest ↗
servernode
EXPLORE THE PACKAGE

See where this package fits.

Follow a declared connection, inspect an import, then open the source guide when you need the detail.

THIS PACKAGElib.typescript-runtimetools

Arrows point from a package to its direct dependency. Each count is derived from the captured manifests.

3 declaracionesSELECT TO INSPECT

@lssm-tech/lib.typescript-runtime

Owned runtime boundary for TypeScript compiler and AST access.

Consumers import AST helpers and source parsing from this package so TypeScript upgrades have one repair point. The adapter isolates TypeScript 7's unstable AST and asynchronous compiler APIs while preserving a stable asynchronous parser contract for callers.

ts
import {
	TypeScriptSourceParser,
	isVariableStatement,
} from "@lssm-tech/lib.typescript-runtime";

Call close() on long-lived parsers after use.

The explicit server-only @lssm-tech/lib.typescript-runtime/docs-manifest-builder entry owns compiler-backed same-file DocBlock extraction and package manifest generation. It exports extractModuleDocData and buildPackageDocManifest with their existing asynchronous signatures and is the canonical import path. The deprecated @lssm-tech/lib.contracts-spec/docs/manifest-builder subpath forwards the same function identities until the next major release of @lssm-tech/lib.contracts-spec removes it; new code imports this entry. This entry rejects browser resolution and is not reexported by the root AST adapter. Manifest and DocBlock types remain owned by surface-runtime and contracts-spec-core, respectively.

buildPackageDocManifest({ followReexports: true, ... }) additionally follows static value reexports to canonical same-file DocBlocks. The option is additive and defaults to false; existing callers keep their source-root-only behavior. The compatibility package's docs:manifest producer imports this entry directly and enables it so moving a contract into its canonical owner does not remove its documentation. Traversal does not execute source modules or scan private sibling files. Named aliases, cycles, and explicit export precedence are respected; ambiguous documentation bindings, duplicate identifiers/routes, and missing references fail validation. DocBlock identifiers and payloads are preserved, while sourceModule identifies the canonical package and source file for documentation outside the input root.

Each parser owns an isolated temporary workspace and native TypeScript session. On Windows, the adapter uses the compiler client's supported stdio transport; other platforms retain Unix sockets. This avoids Windows named-pipe readiness and naming races without changing the asynchronous parser API or snapshot semantics. The matching native TypeScript executable must be installed.

The root build targets Node-compatible server execution (including Bun). It requires filesystem, process, or native compiler facilities and does not advertise a browser export condition. Browser applications should use the relevant browser-safe contracts or UI entry points instead of importing this server root.

Declared capabilities.

Lib Typescript Runtime

Owned TypeScript compiler API boundary for ContractSpec tooling

Use it to

  • Adopt owned typescript compiler api boundary for contractspec tooling

Requires

  • TypeScript

Choose another boundary when

  • The @lssm-tech/lib.typescript-runtime package constraints do not match the target runtime or platform.

@lssm-tech/lib.typescript-runtime

Imports and export paths.

2 entries

These are package-manifest entry points. Named symbols listed above come from the capability catalogue; this is not an exhaustive TypeScript symbol reference.

2 importaciones

Dependencies and related packages.

Runtime dependencies 3
typescript
catalog:
Development dependencies 2

Package scripts.

Commands declared by this package. Review its setup requirements before running them; no command here was executed by this review.

buildcontractspec-bun-build build
build:bundlecontractspec-bun-build transpile
build:typescontractspec-bun-build types
cleanrm -rf dist
devcontractspec-bun-build dev
lintbun run lint:fix
lint:checknode ../../../scripts/biome.cjs check .
lint:fixnode ../../../scripts/biome.cjs check --write .
prebuildcontractspec-bun-build prebuild
testbun test
typechecktsgo --noEmit
Tu vista

Make room for your context.

Shape the presentation around this moment. You can change it whenever you need.

Tu contexto

The different parts of you

Choose a starting point

Una mezcla útil de contexto, imágenes y orientación discreta.

Tune each dimension
Each dimension can change independently. Product permissions and available actions stay unchanged.

Support the way you begin and return

Tune your support

Comodidad de lectura

Elige tu idioma

El idioma de la interfaz solo cambia el texto. Los mercados, precios y flujos de trabajo conservan sus propios ajustes.

Cobertura de traducción

Parte del contenido se muestra en inglés.

Navegación151
Grafo616
Categorías188
Portafolio332
Ejemplos2035
Vista previa de la fuente41

Se añadirán más traducciones a medida que se revise el contenido.

Esta preferencia se guarda en este navegador.

Buscar en el sitio web

Puntos de partida útiles

Sin resultados. Prueba una frase más corta, un nombre de operación u otro ámbito de búsqueda.

UN POCO DE ESPACIO PARA EXPLORAR

Encuentra algo que explorar.

Abre una vista detallada en esta página, prueba otra perspectiva o sigue el detalle a su propia página.

Cómo funcionan las vistas previas y los controles
01

Mirar antes de salir

Pasa el cursor por un enlace o enfócalo con Tab para ver una vista previa. Hacer clic en el enlace original o pulsar Intro siempre abre su destino.

02

Mantener el contexto

Entra en la vista previa para explorar sus secciones. Usa Alt + ↓ desde un enlace enfocado para entrar con el teclado. Escape la cierra.

03

Abrir las posibilidades

Las filas desplegables, las perspectivas y los controles destacados revelan más. Tu vista cambia la comodidad de lectura y el contexto que exploras.

Un botón separado para mirar más de cerca

Muestra pequeños botones de vista previa junto a los enlaces donde haya espacio. Toca el ojo para inspeccionar o el enlace para ir directamente. Esta elección permanece en esta pestaña.

No se recoge historial de navegación. El movimiento reducido sigue tu dispositivo y Tu vista.