Introducing Socket Firewall: Free, Proactive Protection for Your Software Supply Chain.Learn More
Socket
Book a DemoInstallSign in
Socket

@realbase/tsconfig

Package Overview
Dependencies
Maintainers
1
Versions
4
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@realbase/tsconfig

A TypeScript configuration package for Realbase projects.

latest
npmnpm
Version
1.1.1
Version published
Maintainers
1
Created
Source

@realbase/tsconfig

RealBase 모노레포에서 공통으로 사용하는 TypeScript 설정 패키지입니다. 각 앱/패키지는 이 설정을 확장해 일관된 컴파일 옵션을 적용합니다.

설치

pnpm add -D @realbase/tsconfig

사용법

프로젝트의 tsconfig.json에서 확장하세요.

{
  "extends": "@realbase/tsconfig/base.json",
  "compilerOptions": {
    "baseUrl": ".",
    "paths": { "@/*": ["src/*"] }
  },
  "include": ["src", "next-env.d.ts"]
}

포함 파일

  • base.json: RealBase 기본 TS 옵션

기본 옵션 요약

  • Target/Lib: ES2022
  • 모듈: module="Preserve", moduleResolution="Bundler" (번들러 중심 빌드)
  • 출력: noEmit: true (트랜스파일은 Next.js 등 번들러가 담당)
  • 안정성: strictNullChecks, noUncheckedIndexedAccess
  • 모노레포 성능: incremental, tsBuildInfoFile

재정의 예시

라이브러리에서 타입 선언만 배포해야 할 때:

{
  "extends": "@realbase/tsconfig/base.json",
  "compilerOptions": {
    "noEmit": false,
    "declaration": true,
    "emitDeclarationOnly": true
  }
}

MIT Licensed.

FAQs

Package last updated on 27 Aug 2025

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts