Skip to content

🍰Feature sliced design typescript shared configuration

License

Notifications You must be signed in to change notification settings

xionhub/fsd-typescript

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

@xionhub/fsd-typescript

@xionhub/fsd-typescript is a shared tsconfig.json configuration library built with the assumption of being used with @xionhub/fsd-prettier.

This library surprisingly relies on TypeScript and is recommended for use with @xionhub/fsd-prettier.

For more information, please refer to the @xionhub/fsd-prettier document.

You can refer to actual example projects applying this library at @xionhub/fsd-example repository.

Overview

@xionhub/fsd-typescript helps set up path allias to quickly and easily comply with feature sliced ​​design and leads to close integration with @xionhub/fsd-prettier.

Installation

To install the @xionhub/fsd-typescript in your project, use the following command:

npm install -D @xionhub/fsd-typescript
pnpm install -D @xionhub/fsd-typescript
yarn add -D @xionhub/fsd-typescript

Usage

Add the following settings to the path section of tsconfig.json:

  "extends": ["@xionhub/fsd-typescript"],
  "compilerOptions": {
    "baseUrl": ".",
  },

baseUrl and extends are very important.

BaseUrl should be based on where your src folder is located (usually ".")

Maintainers

@XionWCFM

License

MIT

About

🍰Feature sliced design typescript shared configuration

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published