2.0.0 • Published 3 months ago

@repobuddy/typescript v2.0.0

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

@repobuddy/typescript

NPM version NPM downloads

@repobuddy/typescript provides tools and utilities to take care of TypeScript stuffs so you don't have to.

Install

# npm
npm install -D @repobuddy/typescript

# yarn
yarn add -D @repobuddy/typescript

# pnpm
pnpm install -D @repobuddy/typescript

#rush
rush add -p --dev @repobuddy/typescript

tsconfigs

@repobuddy/typescript provides a set of tsconfigs that you can use in your project.

  • @repobuddy/typescript/tsconfig/monorepo: for monorepo projects.
  • @repobuddy/typescript/tsconfig/legacy/monorepo: for monorepo projects using TypeScript < 5.0\ including astro project which uses tsconfig-resolver (https://github.com/withastro/astro/issues/6918).

There are individual configs available for you to compose your own config. For more information, see tsconfig.

Notes

The verbatimModuleSyntax setting should be enabled for Node16. But it is disabled currently due to some issue with ts-jest:

error TS1286: ESM syntax is not allowed in a CommonJS module when 'verbatimModuleSyntax' is enabled.

It seems like somehow it is treated as CommonJS while it is not (setting useESM to true).

buddy CLI

  • 🐤 buddy ts build cjs (in beta)
  • 🐤 buddy ts build tslib (in beta)
  • 🚧 buddy ts init
  • 🚧 buddy ts up
2.0.0

3 months ago

1.3.0

4 months ago

1.2.1

9 months ago

1.2.0

1 year ago

1.1.2

1 year ago

1.1.1

1 year ago

1.1.0

1 year ago

1.0.0

1 year ago