diff --git a/.changeset/config.json b/.changeset/config.json index 5ec4a55..1c9626a 100644 --- a/.changeset/config.json +++ b/.changeset/config.json @@ -5,7 +5,7 @@ "fixed": [], "linked": [], "access": "public", - "baseBranch": "main", + "baseBranch": "solid-1", "updateInternalDependencies": "patch", "ignore": [], "privatePackages": { diff --git a/.github/workflows/cr.yml b/.github/workflows/cr.yml index 811dabe..dd762e9 100644 --- a/.github/workflows/cr.yml +++ b/.github/workflows/cr.yml @@ -3,7 +3,7 @@ name: ⚡️ Continuous Releases on: push: branches: - - main + - solid-1 merge_group: pull_request: diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 49f4079..c60cc3d 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -3,7 +3,7 @@ name: Release on: push: branches: - - main + - solid-1 concurrency: ${{ github.workflow }}-${{ github.ref }} @@ -37,7 +37,7 @@ jobs: uses: changesets/action@v1 with: publish: pnpm run release - title: "chore: release" - commit: "chore: release" + title: "chore: release (solid-1)" + commit: "chore: release (solid-1)" env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 85686c7..348a377 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -4,10 +4,10 @@ on: workflow_dispatch: pull_request: branches: - - main + - solid-1 push: branches: - - main + - solid-1 permissions: contents: read diff --git a/README.md b/README.md index 293bbdd..6d07d54 100644 --- a/README.md +++ b/README.md @@ -12,8 +12,10 @@ Optimized image components and Vite tooling for [Solid](https://solidjs.com). ## Install +This branch holds the 0.x line for Solid 1.x. For Solid 2, use the [`main`](https://github.com/solidjs/solid-image) branch and version 1.0 or newer. + ```bash -npm i @solidjs/image +npm i @solidjs/image@0 ``` Requirements: diff --git a/package.json b/package.json index de27e70..e507a97 100644 --- a/package.json +++ b/package.json @@ -13,7 +13,8 @@ }, "homepage": "https://github.com/solidjs/solid-image#readme", "publishConfig": { - "access": "public" + "access": "public", + "tag": "solid-1" }, "files": [ "dist", @@ -28,7 +29,7 @@ "test:watch": "vitest", "changeset": "changeset", "version": "changeset version", - "release": "pnpm build && changeset publish" + "release": "pnpm build && changeset publish --tag solid-1" }, "dependencies": { "sharp": "^0.35.3"