Package Exports
- @clabnet/configs-ts
- @clabnet/configs-ts/tsconfig.json
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (@clabnet/configs-ts) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
Shared typescript configuration
The purpose of the typescript is to add strong typing to javascript.
This configuration targets lib typescript packages.
Contents
Setup
Add workspace reference to
@clabnet/configs-tsand its peers dependencies:pnpm add -w @clabnet/configs-ts typescript @types/node
Add typescript configuration file
// packages/foo/tsconfig.json { "extends": "@clabnet/configs-ts", "compilerOptions": { "baseUrl": "src", "rootDir": "src" }, "include": ["src"] }