typescript-rollup
ts-monorepo
Our great sponsors
typescript-rollup | ts-monorepo | |
---|---|---|
2 | 14 | |
28 | 1,401 | |
- | - | |
0.0 | 8.6 | |
about 3 years ago | 3 days ago | |
TypeScript | TypeScript | |
- | MIT License |
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.
typescript-rollup
-
How to Setup a TypeScript project using Rollup.js
Find the complete project in this GitHub repository: typescript-rollup. Do not forget to give it a star ⭐️ and play around with the code.
ts-monorepo
-
[AskJS] Is there a silver bullet for consuming Typescript libraries in a Monorepo?
1. Linking libs with tsconfig paths. This approach involves setting a tsconfig.json paths object which maps the package name, to the local filesystem location. Eg. "paths": {"@org/lib":"../libs/lib"} - Nx uses this approach for their Integrated Monorepo configuration https://nx.dev/tutorials/integrated-repo-tutorial https://github.com/NiGhTTraX/ts-monorepo.
-
Recommendations for lerna/yarn mono repos?
FYI I tried renaming packages/bar/index.ts to index.js and adding allowJs: true in its tsconfig.json and tsconfig.build.json and everything works as expected.
-
Handling TypeScript in a monorepo
You can check https://github.com/NiGhTTraX/ts-monorepo.
-
[Question] Setting up monorepo: How be able to debug and build in the same project without changing package.json?
You can use two tsconfig.json files and in one of them configure path aliases to map your package names to the source code, effectively "overriding" package.json#main. You can find examples here https://github.com/NiGhTTraX/ts-monorepo.
-
Monorepo with Yarn Workspaces + TS + Docker Templates
Here is one I liked that is very basic, although I removed lerna from it personally. Shows examples of package sharing and a bunch of popular libraries. Next not nuxt but you get the idea. https://github.com/NiGhTTraX/ts-monorepo
- How do you manage TypeScript monorepos?
-
How i can reuse my own componants
Firstly, I have a monorepo in which I keep all of my personal projects. I have different packages which I can import into my different apps (some for UI, some for APIs, some for entire modules such as a rich-text editor). I used this template to set up the monorepo.
-
How do you import from "dist" directory of a Lerna package?
If these are libraries, and you aim to publish them, you will have to do some mangling in the prepublish scripts. I actually describe this in a recent issue here: https://github.com/NiGhTTraX/ts-monorepo/issues/53
What are some alternatives?
tsconfig-paths - Load node modules according to tsconfig paths, in run-time or via API.
babel-plugin-tsconfig-paths-module-resolver - Use tsconfig-paths in any bundler that supports a custom babel config.
rollup-plugin-typescript2 - Rollup plugin for typescript with compiler errors.
alias-hq - The end-to-end solution for configuring, refactoring, maintaining and using path aliases
dts-cli - Zero-config CLI for TypeScript package development
lerna-lite - Subset of Lerna in a smaller & more modular project. Helps manage and publish multiple packages in a monorepo/workspace structure
nestjs-monorepo-microservices-proxy - Example of how to implement a Nestjs monorepo with no shared folder
rimraf - A `rm -rf` util for nodejs
taro-hooks - Hooks Library for Taro
YgkTool - 🛠 A robust, feature-rich online toolbox designed for efficiency and simplicity. | 极简,强大,高效的在线工具箱,遵循MD设计规范
esbuild-scripts - An extremely fast create-react-app replacement.
lodash - A modern JavaScript utility library delivering modularity, performance, & extras.