Repository navigation
aube publish now works with AWS CodeArtifact for scoped packages, and concurrent installs that share the global virtual store no longer fail on Windows. Warm repeat installs and fresh resolution of large dependency trees are also faster.
Fixed
- Scoped packages published to AWS CodeArtifact (#1990, reported by @mekwall): CodeArtifact rejected
aube publishof a scoped package with400 Bad Request: ... the tarball attachment is missing from the request. aube now keys the tarball in_attachmentsas@scope/pkg-1.2.3.tgz, as npm and pnpm do. Before, it used the sanitized namescope-pkg-1.2.3.tgz.dist.tarballnow uses the same name. Unscoped packages don't change. The fileaube packwrites and thefilenamein--jsonoutput keep the sanitized name. - Concurrent Windows installs sharing the global virtual store (#1992): installs that ran at the same time could fail with
Access is denied(os error 5) on the shared hidden-hoist directory<store>/aube-cache/virtual-store/node_modules/<name>. On Windows, aube now builds each shared junction under a temporary name and then renames it into place. It also retries short-lived access and sharing errors. Temporary links left behind by a crashed process are removed after 5 minutes. Linux and macOS don't change.
Changed
-
Faster warm installs (#1996, #1997, #1998, #1999, #2002): a frozen-lockfile install with a warm global virtual store and no
node_modulesnow does less work:- lockfile entries are parsed in parallel, and the graph hash is cached
- the
node --versioncheck and license collection run alongside the rest of the install - packages already in the shared store are reused without loading their store index
- the lockfile graph and its hashes are reused instead of being computed again
- only the needed
package.jsonfields (engines,bin) are read
On the
gvs-warmbenchmark, the median time fell from about 197 ms to about 103 ms. Install results on disk are the same. -
Faster resolution of large peer-heavy graphs (#2001): during a pass, the resolver now reuses the rewritten peer suffix for packages that share it. On vlt's
largefixture, with a warm cache and no lockfile, the median install time fell from 5.72 s to 1.20 s. The lockfiles were byte-for-byte the same.
Full Changelog: v2.11.0...v2.11.1
💚 Sponsor aube
aube is built and maintained by @jdx, an open source developer at entire.io, the title sponsor of his open source work.
If aube saves your team install time or CI minutes, please consider becoming an individual or company sponsor. Your support funds ongoing development and helps keep aube fast, free, and independent.