Version 2.4.1
@freshjuice/zest@2.4.1 is a patch that fixes a broken npm install for v2.4.0 consumers and cleans up the monorepo’s internal development tooling. See the full release on GitHub.
If you’re on v2.4.0 and
npm installworked for you, there’s no behavioral change. This release only affects the install path — the runtime is identical to v2.4.0.
Fixed
Removed postinstall script that broke consumer installs
The node scripts/link-self.js postinstall hook was a monorepo-internal symlink tool that never shipped in the npm tarball (the files field excludes scripts/). Every npm install of v2.4.0 failed with MODULE_NOT_FOUND. The script is now removed — it was only needed during local monorepo development, not for consumers.
Replaced link-self.js with workspace-native resolution
The zest-astro and zest-eleventy plugins now declare @freshjuice/zest as a devDependency with "*", which npm workspaces resolve to the local root package. This gives the plugins access to the Zest dist files during local development without any postinstall hack. Both plugins bumped to 2.4.1 with peer dep range updated to ^2.4.1.
Install
npm install @freshjuice/zest
Or with a framework plugin:
npm install @freshjuice/zest @freshjuice/zest-astro # Astro
npm install @freshjuice/zest @freshjuice/zest-eleventy # Eleventy
Or via CDN:
<script src="https://cdn.jsdelivr.net/npm/@freshjuice/zest@2" data-geo="on"></script>