tsconfig-paths
ts-monorepo-absolute-import-paths
tsconfig-paths | ts-monorepo-absolute-import-paths | |
---|---|---|
5 | 1 | |
1,768 | 2 | |
0.8% | - | |
1.0 | 0.0 | |
21 days ago | over 3 years ago | |
TypeScript | TypeScript | |
MIT License | The Unlicense |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
tsconfig-paths
-
ERDIA: TypeORM entity specification documentation tool
If you've use a re-map path in your project, you have to pass it up to tsconfig-paths like this,
-
The Native Way To Configure Path Aliases in Frontend Projects
There are multiple libraries available for configuring path aliases in Node.js, such as alias-hq and tsconfig-paths. However, while looking through the Node.js documentation, I discovered a way to configure path aliases without having to rely on third-party libraries. Moreover, this approach enables the use of aliases without requiring the build step.
-
How to write path.resolve cleaner?
If you're not using webpack, you can give tsconfig-paths a try.
-
Ultimate Node.js starter that scales with DI, native TypeScript, super fast unit tests and all batteries included
Path mapping Very handy tsconfig-paths library allows to import modules from the filesystem without prefixing them with "./".
-
Use ts-node to run code across multiple monorepo packages
was just dealing with this yesterday. You need to use this package: https://github.com/dividab/tsconfig-paths
ts-monorepo-absolute-import-paths
-
Use ts-node to run code across multiple monorepo packages
I updated my example to show you what I mean here.
What are some alternatives?
ts-monorepo - Template for setting up a TypeScript monorepo
storybook - Storybook is a frontend workshop for building UI components and pages in isolation. Made for UI development, testing, and documentation.
babel-plugin-tsconfig-paths-module-resolver - Use tsconfig-paths in any bundler that supports a custom babel config.
Visual Studio Code - Visual Studio Code
tsconfig-applier - Welcome to `tsconfig-applier`! This Visual Studio Code extension simplifies the process of selecting and applying TypeScript configuration files (`tsconfig.json`) from the https://github.com/tsconfig/bases repository. With this extension, you can effortlessly browse through available configuration
tsconfck - A utility to find and parse tsconfig files without depending on typescript
nodejs-ulitmate-template - ulitmate nodejs template
alias-hq - The end-to-end solution for configuring, refactoring, maintaining and using path aliases
antd - An enterprise-class UI design language and React UI library
Prisma - Next-generation ORM for Node.js & TypeScript | PostgreSQL, MySQL, MariaDB, SQL Server, SQLite, MongoDB and CockroachDB
dotenv - Loads environment variables from .env for nodejs projects.