tool.typescript
Pinned TypeScript tooling and shared compiler configuration for ContractSpec packages.
@lssm-tech/tool.typescriptSource, release and verification context
Source snapshot bcc79fcc · Declared package version 5.0.4. This page combines the checked-in package guide and manifest; commands and runtime behavior were not executed in this review.
See where this package fits.
Follow a declared connection, inspect an import, then open the source guide when you need the detail.
Arrows point from a package to its direct dependency. Each count is derived from the captured manifests.
Aucune dépendance Exécution n’est déclarée ici.
@lssm-tech/tool.typescript
Website: https://contractspec.io
Shared TypeScript configuration presets (base, nextjs, react-library) extended by every package's tsconfig.json in the monorepo.
What It Provides
- Couche: tool
- Consumers: all monorepo packages (via
"extends": "@lssm-tech/tool.typescript/...")
Installation
npm install @lssm-tech/tool.typescript
or
bun add @lssm-tech/tool.typescript
Local Commands
bun run build— validate every published shared config as a hashable Turbo dependency taskbun run typecheck— run the same deterministic config validationbun run publish:pkg— bun publish --tolerate-republish --ignore-scripts --verbosebun run publish:pkg:canary— bun publish:pkg --tag canary
Recent Updates
- Replace eslint+prettier by biomejs to optimize speed
- PublishConfig not supported by bun
- Migrate non-app builds to shared Bun toolchain
TypeScript 7
The monorepo uses the stable TypeScript 7 compiler for apps, packages, declaration emit, and repository tooling. Run the broad non-app compiler check from the repository root:
bun run typecheck:typescript:not-appsThis command scans packages/libs, packages/modules, and packages/bundles, uses each package's existing typecheck project (tsconfig.build.json when the package script selects it), and intentionally skips packages/apps. Use
bun run typecheck:typescript:not-apps:sample for a fast representative smoke check.
contractspec-bun-build types emits declarations with the stable TypeScript 7
tsc binary.
TypeScript 7.0's programmatic API is explicitly unstable. Repository code that needs AST or project access must use an owned adapter boundary rather than importing the removed legacy typescript compiler API.
Notes
- Compiler option changes propagate to every package -- verify with
bun run typecheckacross the repo - Do not weaken strict-mode settings (
strict,noUncheckedIndexedAccess, etc.) - Adding a new preset file requires documenting which packages should use it
Declared capabilities.
This manifest does not declare a capability catalogue. Use the guide, import map and source to assess the package.
Imports and export paths.
0 entriesThese are package-manifest entry points. Named symbols listed above come from the capability catalogue; this is not an exhaustive TypeScript symbol reference.
This workspace does not declare package export paths.
Dependencies and related packages.
Development dependencies 1
- typescript
- catalog:
Package scripts.
Commands declared by this package. Review its setup requirements before running them; no command here was executed by this review.
bun scripts/validate-configs.mjsbun publish --tolerate-republish --ignore-scripts --verbosebun publish:pkg --tag canarybun scripts/validate-configs.mjs