Microbundle
lerna
Our great sponsors
Microbundle | lerna | |
---|---|---|
17 | 150 | |
7,566 | 34,372 | |
- | 0.6% | |
7.1 | 9.7 | |
13 days ago | 3 days ago | |
JavaScript | TypeScript | |
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.
Microbundle
-
micro-ts , a minimalist template to build packages with TypeScript
I discovered microbundle lately, and I would like to share with you a mini template with the bare essentials and comfort to develop your packages with TypeScript.
- How to create a component library?
-
How do I properly learn Typescript?
For package authoring - microbundle is a handy boilerplate (I would avoid tsdx personally - it’s basically been abandoned for turborepo but that’s not apparent at first glance).
-
What I learned from making my first OSS NPM package/Component Library
My tech stack was React + Typescript, Storybook for docs, vite.js for build instead of webpack, microbundle for bundling (basically a no-config rollup wrapper), and Google's release please bot for handling release/deployment.
-
Microbundle is not enough
Setting up a modern Typescript or Javascript development stack is a daunting task, there are a lot of moving parts, and sometimes the whole process seems like magic, so I switched to Microbundle. While microbundle handles the compilation, there are a lot of other moving parts that need to be set up to start developing with Nodejs/Typescript (CI, tests, linting, etc). So I've created an opinionated template repository with Typescript, Microbundle, Jest, eslint, husky, prettier, github actions, pnpm, and a bunch of other scripts. It enables me to start developing a library immediately by using the repository as a starter template. Let me know what you think and if some processes could be improved, or some valuable tools that could be added. Pull requests and suggestions are welcomed.
-
Creating a react library, why bundle to ESM?
I would recommend starting by using https://github.com/developit/microbundle , as it has pretty good default behavior for generating library output.
-
Beginner's Thread / Easy Questions (November 2021)
Check out microbundle, which is what TSDX started as a typescript alternative to.
-
I want to create a component library.
I’m quite happy with Microbundle
-
Microbundle VS bundle - a user suggested alternative
2 projects | 17 Sep 2021
-
I created a template for React packages that are very easy to publish to NPM
Pick up Microbundle or something similar.
lerna
-
What's New With Lerna 6.5?
For more information, check out the PR
🧠 Lerna Docs
- Outstanding Monorepo Tools
-
Reflecting on 2022 - The Year in Review
we completely redesigned both the website and docs at https://lerna.js.org
-
How to Build a Secure React and Fastify API App
Our app will be a monorepo with Okta authentication, using React for the frontend and Fastify for the backend. Fastify is a highly performant web framework with low overhead that we'll connect to a PostgreSQL database. We'll also use Lerna to manage the frontend and backend apps in a monorepo.
-
Learn how to build a monorepo in Next.js
Lerna: Fast and modern build system for managing and publishing multiple JavaScript/TypeScript packages from the same repository
-
Monorepos
There are multiple options on how to do this. `lerna` was the first tool to the party - strapi uses lerna (based on the `lerna.json` file in the repo). If that is your only interest, https://lerna.js.org/ will probably suffice.
-
Building a full-stack TypeScript application with Turborepo
There are many tools like Lerna, Nx, Turborepo, Moon, Rush, and Bazel, to name a few. Today, we'll be using Turborepo, as it's lightweight, flexible, and easy to use.
-
Is Turbopack really 10x Faster than Vite ?
He was booted from the Lerna project because, without any time for discussion, changed the MIT licence suddenly despite having no involvement with the project for over a year https://github.com/lerna/lerna/pull/1616
-
Why we stopped using Lerna for monorepos
I'm not sure there was an official announcement, but there was a GitHub issue https://github.com/lerna/lerna/issues/2703 Nrwl has since taken ownership of the project in June.
What are some alternatives?
turborepo - Incremental bundler and build system optimized for JavaScript and TypeScript, written in Rust – including Turborepo and Turbopack. [Moved to: https://github.com/vercel/turbo]
nx - Smart, Fast and Extensible Build System
changesets - 🦋 A way to manage your versioning and changelogs with a focus on monorepos
pnpm - Fast, disk space efficient package manager -- 快速的,节省磁盘空间的包管理工具
tsdx - Zero-config CLI for TypeScript package development
webpack - A bundler for javascript and friends. Packs many modules into a few bundled assets. Code Splitting allows for loading parts of the application on demand. Through "loaders", modules can be CommonJs, AMD, ES6 modules, CSS, Images, JSON, Coffeescript, LESS, ... and your custom stuff.
Rollup - Next-generation ES module bundler
husky - Git hooks made easy 🐶 woof!
single-spa - The router for easy microfrontends
rushstack - Monorepo for tools developed by the Rush Stack community
lerna-with-nextjs