Our great sponsors
- Appwrite - The open-source backend cloud platform
- Amplication - open-source Node.js backend code generator
- SurveyJS - A Non-Cloud Alternative to Google Forms that has it all.
- InfluxDB - Collect and Analyze Billions of Data Points in Real Time
- Mergify - Updating dependencies is time-consuming.
|4 days ago||4 days ago|
|MIT License||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.
Nx 16.8 Release!!!
5 projects | dev.to | 6 Sep 2023
On Netlify's enterprise tier, approximately 46% of builds are monorepos, with the majority leveraging Nx and Lerna. Recognizing this trend, Netlify has focused on enhancing the setup and deployment experiences for monorepo projects. In particular they worked on an "automatic monorepo detection" feature. When you connect your project to GitHub, Netlify automatically detects if it's part of a monorepo, reads the relevant settings, and pre-configures your project. This eliminates the need for manual setup. This feature also extends to local development via the Netlify CLI.
Mocha/Chai with TypeScript (2023 update)
3 projects | dev.to | 12 Aug 2023
Help with library implementation in a big webapp
2 projects | /r/webdev | 26 Jun 2023
This is the exact problem monorepos were born to solve. Not only will a monorepo let you share UI components, you'll be able to gradually add shared application logic as well (for instance, do all of your apps have their own logic for connecting to a database? you could roll that into a shared library with a monorepo). There are a lot of tools for accomplishing this in JS, but probably the most popular is lerna, which is built on top of NX (though lots of teams roll their own monorepo in nx without lerna, which IMO is a totally valid option).
How to Build and Publish Your First React NPM Package
8 projects | dev.to | 9 Jun 2023
To begin, you need to prepare your environment. A few ways to build a React package include tools like Bit, Storybook, Lerna, and TSDX. However, for this tutorial, you will use a zero-configuration bundler for tiny modules called Microbundle.
Utility for making sure that I'm using the right `@types/react`
2 projects | /r/typescript | 5 Jun 2023
If so, are you using a monorepo tool like Nx or Lerna? If not, start there and see if it solves your problem.
[AskJS] Is there a silver bullet for consuming Typescript libraries in a Monorepo?
I mean I don't know what your monorepo looks like, but for example infernojs (actually written with typescript) uses lerna, and lerna seems simpler than typescript references
Understanding npm Versioning
3 projects | dev.to | 4 Apr 2023
Tools for publishing, such as Lerna (when using the --conventional-commit flag), follow this convention when incrementing package versions and generating changelog files.
How to split an Angular app into micro-frontend apps
5 projects | dev.to | 27 Mar 2023
We could improve part of this by using something like Lerna. With the right configuration, Lerna can be really helpful.
Need help making sense of TRPC + express + React setup
2 projects | /r/typescript | 27 Mar 2023
It feels dirty to be adding express as a dependency to a react project, but I'm pretty sure TRPC requires all of client and server code to be in the same node.js project, since types are shared. I've read that you can use a tool like Lerna to share types between node projects, but it requires a build step, which would diminish the benefits of TRPC.
What's New With Lerna 6.5?
4 projects | dev.to | 22 Feb 2023
For more information, check out the PR
Building a Minimalist Docker Image with Node, TypeScript
4 projects | dev.to | 5 Sep 2023
FROM node:18.16.0-alpine RUN apk add \ curl \ git \ && rm -rf /var/cache/* \ && mkdir /var/cache/apk RUN mkdir -p /app WORKDIR /app RUN mkdir -p /bin && curl -fsSL "https://github.com/pnpm/pnpm/releases/download/v8.6.3/pnpm-linuxstatic-x64" -o /bin/pnpm; chmod +x /bin/pnpm; ENV PATH /app/node_modules/.bin:$PATH ADD package.json pnpm-lock.yaml .npmrc /app/ RUN pnpm install ADD . /app RUN pnpm run build EXPOSE 5000 CMD [ "pnpm", "start" ]
Lockfile merge conflicts, how to handle it correctly?
3 projects | dev.to | 14 Jul 2023
The conflict resolution algorithm for pnpm is maintained by the @pnpm/merge-lockfile-changes project.
Releasing local.ai - an LLM local playground with minimal setup
6 projects | /r/LocalLLaMA | 5 Jun 2023
What version of pnpm are you using? I found this issue, maybe it's related?
Why is PNPM not supported in Expo app?
2 projects | /r/expo | 13 May 2023
Please check here https://github.com/nrwl/nx-labs/issues/34 and here https://github.com/pnpm/pnpm/issues/1501
Can cargo caching be changed?
2 projects | /r/rust | 8 May 2023
I had been using https://github.com/pnpm/pnpm for some web projects and it's really fast due it caches all dependencies so different projects use the same cached dependency, this results in really fast build times.
3 projects | /r/typescript | 25 Apr 2023
If using pnpm, you can create a dedicated lockfile for a sub-directory using https://github.com/pnpm/pnpm/tree/main/packages/make-dedicated-lockfile. This means shared org1 org2 could have their own lockfiles, preventing any differences in shared when used in each different monorepo workspace.
[email protected] is out!
2 projects | /r/pnpm | 23 Mar 2023
## Patch Changes * Don't write the `pnpm-lock.yaml` file if it has no changes and `pnpm install --frozen-lockfile` was executed [#6158](https://github.com/pnpm/pnpm/issues/6158). * Fix git-hosted dependencies referenced via `git+ssh` that use semver selectors [#6239](https://github.com/pnpm/pnpm/pull/6239). * When publish some package throws an error, the exit code should be non-zero [#5528](https://github.com/pnpm/pnpm/issues/5528). * Only three paths are displayed in `pnpm audit` output [#6203](https://github.com/pnpm/pnpm/issues/6203) * Aliased packages should be used to resolve peer dependencies too [#4301](https://github.com/pnpm/pnpm/issues/4301).2 projects | /r/pnpm | 23 Mar 2023
Use tsx instead of nodemon
6 projects | dev.to | 7 Oct 2022
I prefer use pnpm but you can use npm, yarn, ...etc.
Esteros - Online ice cream shop
8 projects | dev.to | 29 Aug 2022
What are some alternatives?
nx - Smart, Fast and Extensible Build System
changesets - 🦋 A way to manage your versioning and changelogs with a focus on monorepos
berry - 📦🐈 Active development trunk for Yarn ⚒
yarn - The 1.x line is frozen - features and bugfixes now happen on https://github.com/yarnpkg/berry
single-spa - The router for easy microfrontends
husky - Git hooks made easy 🐶 woof!
rushstack - Monorepo for tools developed by the Rush Stack community