ultra-runner
ni
Our great sponsors
ultra-runner | ni | |
---|---|---|
4 | 12 | |
1,188 | 5,724 | |
- | 5.5% | |
0.0 | 7.4 | |
3 days ago | about 2 months ago | |
TypeScript | TypeScript | |
Apache License 2.0 | 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.
ultra-runner
-
Directly point to source code when referencing dependencies in monorepo
Cache built files to avoid rebuilds. For example nx.js, yarn-plugin-change, ultra-runner
-
Next.js monorepo build process optimization
Then comes the question of triggering docker builds if you need to release images. If you have many apps, it's better to create a docker file for each, so you can decide which one needs to be built. Nx help in this area, because it can compute which apps needs to be rebuilt... If you have only few apps you can use github action paths (ie: simplified example) or eventually make use of things like [ultra-runner](https://github.com/folke/ultra-runner). Anyway docker and nextjs take times to setup (env...). It's another story.
-
What is monorepo? (and should you use it)
ultra-runner: scripts for JavaScripts monorepo management. Plugs in with Yarn, pnpm, and Lerna. Supports parallel building.
-
JavaScript Monorepo Tooling
๐ ultra-runner
ni
-
Nรฃo se preocupe mais com o package manager do seu projeto NodeJS
View on GitHub
- GitHub - antfu/ni: ๐ก Use the right package manager
-
antfu/ni helps you select the right package manager
Repo: https://github.com/antfu/ni
-
Never Use the WRONG Package Manager Again!
Here's a description of all currently supported commands. In case something changes and this gets outdated, you can always check the full list on the project's README.
-
TypeScript tooling and ecosystem
I highly recommend using https://github.com/antfu/ni to not care about if the project uses npm/yarn/pnpm
-
Say Goodbye to Package Manager Chaos with ni
By using ni, you can save yourself a lot of time and avoid the frustration of dealing with conflicting lock files and dependencies. So if you haven't already, give ni a try โ you won't regret it!
-
How do you manage projects using different package managers?
You might want take a look at ni by antfu: https://github.com/antfu/ni
- Ni
-
Next.js + MDX
If not, the easiest way to get a Next.js project off the ground is using the create-next-app npm package, which scaffolds an entire project for you. You can execute the package using your favourite Node.js package manager (such as npm, yarn, or pnpm)1. Alternatively, you can also use ni2, which is what I'll use for this guide to avoid confusion. Choose a package manager and you will be good to go.
What are some alternatives?
lerna - :dragon: Lerna is a fast, modern build system for managing and publishing multiple JavaScript/TypeScript packages from the same repository.
npm-quick-run - Quickly run NPM script by prefix without typing the full name
nextjs-monorepo-example - Collection of monorepo tips & tricks
importly - import map generator
yarn.build - Build ๐ and Bundle ๐ฆ your local workspaces. Like Bazel, Buck, Pants and Please but for Yarn Berry. Build any language, mix javascript, typescript, golang and more in one polyglot repo. Ship your bundles to AWS Lambda, Docker, or any nodejs runtime.
corepack - Zero-runtime-dependency package acting as bridge between Node projects and their package managers
pnpm - Fast, disk space efficient package manager
cotton - A package manager for JavaScript projects. `cotton install` runs faster than `rm -rf node_modules`.
npm-lint - A linter for npm & node package.json files with a focus on dependency security
commonmark-spec - CommonMark spec, with reference implementations in C and JavaScript
xum - ๐คน Extremely Universal Manager - A script that unifies all Node package managers