corepack
asdf
corepack | asdf | |
---|---|---|
5 | 366 | |
2,622 | 22,156 | |
2.6% | 0.9% | |
8.7 | 5.7 | |
7 days ago | 5 days ago | |
TypeScript | Shell | |
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.
corepack
-
Yarn 4.0
I'd love to use Bun for my projects, but it's not integrated into Corepack yet (and therefore you cannot pin the bun version w/ checksum in package.json)
https://github.com/nodejs/corepack/issues/295
- corepack global package?
-
Every NPM package potentially compromised
Recently Node 16 LTS cycle started. One month and a few days before the carry-over, a super controversial package titled `coredeps` [0] was officially declared a core module and has been bundled with all official distributions since.
The NodeJS team refuses to discuss NPM because it's a separate 3rd party. And yet.... this NodeJS Core module comes pre-installed as a global NPM package.
We're just getting started.
This module installs or even reinstalls any supported package manager when you execute a script with a name that would match any that they'd recognise. Opt-in for only a short period, and intending to expand beyond package manager installations.
Amidst all that's been going on, NPM (Nonstop Published Moments) is working on a feature that silently hijacks user commands and installs foreign software. The code found in those compromised packages operated in a similar manner and was labeled a critical severity vulnerability.
The following might actually make you cry.
Of these third party remote distributions it's downloading, the number of checksum, keys, or even build configurations that are being verified is 0.
The game that Microsoft is playing with their recent acquisitions here is quite clear, but there's too much collateral damage.
[0] https://github.com/nodejs/corepack#readme
-
Corepack: the Node.js' manager of package managers
The new Node.js LTS v16 will be released at the end of October (without a fancy name assigned yet), it'll have Corepack preinstalled in the default configuration since v16.9.0. 👌
-
Yarn 3.0 🚀🤖 Performances, ESBuild, Better Patches, ...
Corepack integration
asdf
-
📦 ASDF: Gerenciando versões de linguagens e ferramentas num lugar só
FROM ubuntu:24.04 # Atualiza o sistema e instala as dependências RUN apt-get update && apt-get install -y \ make build-essential libssl-dev zlib1g-dev \ libbz2-dev libreadline-dev libsqlite3-dev wget curl \ llvm libncurses5-dev libncursesw5-dev \ xz-utils tk-dev libffi-dev liblzma-dev \ git nano sudo # Adiciona um novo usuário RUN useradd -m -s /bin/bash usuario && \ echo "usuario:123" | chpasswd && \ usermod -aG sudo usuario # Da permissões sudo sem senha para o novo usuário RUN echo "usuario ALL=(ALL) NOPASSWD: ALL" >> /etc/sudoers # Comando inicial para rodar o container no terminal do novo usuário USER usuario # Instala e configura o asdf RUN git clone https://github.com/asdf-vm/asdf.git ~/.asdf --branch v0.14.1 RUN echo '. "$HOME/.asdf/completions/asdf.bash"' >> ~/.bashrc && \ echo '. "$HOME/.asdf/asdf.sh"' >> ~/.bashrc CMD ["/bin/bash"]
-
Iamcco/Markdown-preview.nvim: Markdown preview plugin for (neo)Vim
I switched from this to https://github.com/toppair/peek.nvim as it's in lua and does more a less the same thing.
Combine that with https://asdf-vm.com for the deno runtime.
-
The Ultimate Guide to Node.js Version Managers: NVM, NVS, fnm, Volta, and asdf | Part 3
Official asdf Documentation — a comprehensive guide to installing, configuring, and using asdf.
-
Escaping from Anaconda's Stranglehold on macOS
Reckon they'd understand using something like asdf instead?
https://asdf-vm.com
- Ask HN: Developer PC setup automations for company owned devices
-
Instalando asdf e Golang no Linux
Sobre o asdf
- Menggunakan IEx, Shell Interaktif di Elixir
-
GIL Become Optional in Python 3.13
Looks like pyenv does the same thing as asdf, except only for python.
https://github.com/asdf-vm/asdf
And here's a list of everything it supports: https://github.com/asdf-vm/asdf-plugins/tree/master/plugins
-
How to use mise with FVM?
Flutter plugin for the asdf version manager.
-
Shims in Web Development
As a rubyist, you will need to manage multiple ruby runtime versions on your development machine. You can install each binary manually or you can use a runtime version manager asdf. Asdf allows you to install and switch between different ruby interpreter versions easily. asdf installs the executables using plugins while also creating shims inside ~/.asdf/shims. Running the ruby executable results in running the shim instead. The version of the executable asdf uses is defined in ~/.tool-versions.
What are some alternatives?
nvm - Node Version Manager - POSIX-compliant bash script to manage multiple active node.js versions
SDKMan - The SDKMAN! Command Line Interface
npm
pyenv - Simple Python version management
vscode-deploy-reloaded - Recoded version of Visual Studio Code extension 'vs-deploy', which provides commands to deploy files to one or more destinations.
rbenv - Manage your app's Ruby environment
berry - 📦🐈 Active development trunk for Yarn ⚒
volta - Volta: JS Toolchains as Code. ⚡
ultra-runner - 🏃⛰ Ultra fast monorepo script runner and build tool
node - Node.js JavaScript runtime ✨🐢🚀✨
HomeBrew - 🍺 The missing package manager for macOS (or Linux)