From 6479c4204ba6a3325436b6d3562373614094f48e Mon Sep 17 00:00:00 2001 From: "Alexis H. Munsayac" Date: Tue, 17 Nov 2026 23:08:47 +0800 Subject: [PATCH 1/2] docs: show how to install the Solid 1.x line Co-Authored-By: Claude Opus 5.5 --- README.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 4300013..833c94e 100644 --- a/README.md +++ b/README.md @@ -16,9 +16,15 @@ Optimized image components and Vite tooling for [Solid](https://solidjs.com). npm i @solidjs/image ``` +For Solid 1.x, install the 0.x line from the `solid-1` tag. Its code is on the [`solid-1`](https://github.com/solidjs/solid-image/tree/solid-1) branch. + +```bash +npm i @solidjs/image@solid-1 +``` + Requirements: -- `solid-js` and `@solidjs/web` 2.0 or newer, and Vite 8 or newer. All three are peer dependencies. For Solid 1.x, use the 0.x versions of this package, maintained on the `solid-1` branch. +- `solid-js` and `@solidjs/web` 2.0 or newer, and Vite 8 or newer. All three are peer dependencies. - Node 24 or newer for the Vite plugin. It uses [`sharp`](https://sharp.pixelplumbing.com) to process images. - [`blurhash`](https://github.com/woltapp/blurhash) 2 or newer, only for the BlurHash preview. It is an optional peer dependency. - [`thumbhash`](https://github.com/evanw/thumbhash) 0.1.1 or newer, only for the ThumbHash preview. It is an optional peer dependency. From 5d005f5eb0b1aab2be9616d3914a01b9ec721d9a Mon Sep 17 00:00:00 2001 From: "Alexis H. Munsayac" Date: Tue, 17 Nov 2026 23:13:23 +0800 Subject: [PATCH 2/2] docs: install the Solid 1.x line with a version range npm resolves @0 to the newest 0.x release, so no dist-tag is needed. Co-Authored-By: Claude Opus 5.5 --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 833c94e..2bc4dd3 100644 --- a/README.md +++ b/README.md @@ -16,10 +16,10 @@ Optimized image components and Vite tooling for [Solid](https://solidjs.com). npm i @solidjs/image ``` -For Solid 1.x, install the 0.x line from the `solid-1` tag. Its code is on the [`solid-1`](https://github.com/solidjs/solid-image/tree/solid-1) branch. +For Solid 1.x, install the 0.x line. Its code is on the [`solid-1`](https://github.com/solidjs/solid-image/tree/solid-1) branch. ```bash -npm i @solidjs/image@solid-1 +npm i @solidjs/image@0 ``` Requirements: