0.5.3 • Published 10 months ago

@langri-sha/projen-typescript-config v0.5.3

Weekly downloads
-
License
MIT
Repository
github
Last release
10 months ago

@langri-sha/typescript-config

A projen component for managing TSConfig files for TypeScript projects.

Offers full support for configuring TypeScript via @schemastore/tsconfig, as well as a handful of helpers that make it easy to maintain several TypeScript projects inside a monorepo.

Usage

Install required dependencies:

npm install projen @langri-sha/typescript-config

Create a TypeScript configuration for your project:

import { Project } from 'projen'
import { TypeScriptConfig } from '@langri-sha/typescript-config'

const project = new Project({
  name: 'test',
})

const tsconfig = new TypeScriptConfig(project)

const tsconfigBuild = new TypeScriptConfig(project, {
  fileName: 'tsconfig.build.json',
  config: {
    extends: ['tsconfig.json'],
    compilerOptions: {
      target: 'es2020',
    },
  }
})

project.synth()
0.5.3

10 months ago

0.5.2

11 months ago

0.3.0

1 year ago

0.5.0

12 months ago

0.4.1

12 months ago

0.4.0

1 year ago

0.5.1

12 months ago

0.2.1

1 year ago

0.2.0

1 year ago

0.1.0

1 year ago