From 0678adac7fec0ad2a0502c847f122c71b2d4215b Mon Sep 17 00:00:00 2001 From: Stian Larsen <71408982+Stianlars1@users.noreply.github.com> Date: Thu, 10 Sep 2026 00:17:20 +0200 Subject: [PATCH 1/2] fix: use react-glaze.app and release 0.1.2 --- README.md | 4 ++-- apps/demo/src/lib/seo.ts | 2 +- apps/demo/tests/analytics.test.mjs | 6 +++--- apps/demo/tests/seo.test.mjs | 12 ++++++------ docs/releasing.md | 2 +- packages/react/README.md | 4 ++-- packages/react/package.json | 4 ++-- 7 files changed, 17 insertions(+), 17 deletions(-) diff --git a/README.md b/README.md index 3ac486e..0da4916 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,6 @@ -[![React Glaze - Liquid glass for React](apps/demo/public/brand/readme-banner.png)](https://react-glaze.vercel.app/) +[![React Glaze - Liquid glass for React](apps/demo/public/brand/readme-banner.png)](https://react-glaze.app/) -[Website](https://react-glaze.vercel.app/) · [Playground](https://react-glaze.vercel.app/playground) · [Showcase](https://react-glaze.vercel.app/showcase) · [npm](https://www.npmjs.com/package/react-glaze) +[Website](https://react-glaze.app/) · [Playground](https://react-glaze.app/playground) · [Showcase](https://react-glaze.app/showcase) · [npm](https://www.npmjs.com/package/react-glaze) A configurable React 19 component that refracts the page behind your content. Use a native button, link or ordinary wrapper, keep your own CSS, and adjust the material, shape and optional pointer-driven rim light. diff --git a/apps/demo/src/lib/seo.ts b/apps/demo/src/lib/seo.ts index d4d6574..265c8da 100644 --- a/apps/demo/src/lib/seo.ts +++ b/apps/demo/src/lib/seo.ts @@ -1,6 +1,6 @@ import type { Metadata, ResolvedMetadata } from "next"; -export const SITE_URL = "https://react-glaze.vercel.app"; +export const SITE_URL = "https://react-glaze.app"; export const SITE_NAME = "React Glaze"; export const REPOSITORY_URL = "https://github.com/Stianlars1/react-glaze"; export const PACKAGE_URL = "https://www.npmjs.com/package/react-glaze"; diff --git a/apps/demo/tests/analytics.test.mjs b/apps/demo/tests/analytics.test.mjs index e827efc..49f8d3d 100644 --- a/apps/demo/tests/analytics.test.mjs +++ b/apps/demo/tests/analytics.test.mjs @@ -6,11 +6,11 @@ test("pageviews and custom events exclude playground configuration and URL fragm for (const type of ["pageview", "event"]) { const event = { type, - url: "https://react-glaze.vercel.app/playground?config=%7B%22background%22%3A%22private%22%7D&utm_source=github&config=second#preview", + url: "https://react-glaze.app/playground?config=%7B%22background%22%3A%22private%22%7D&utm_source=github&config=second#preview", }; assert.deepEqual(redactAnalyticsUrl(event), { type, - url: "https://react-glaze.vercel.app/playground?utm_source=github", + url: "https://react-glaze.app/playground?utm_source=github", }); assert.match(event.url, /private/); } @@ -18,7 +18,7 @@ test("pageviews and custom events exclude playground configuration and URL fragm test("ordinary route URLs are preserved", () => { for (const path of ["/", "/playground", "/showcase"]) { - const event = { type: "pageview", url: `https://react-glaze.vercel.app${path}` }; + const event = { type: "pageview", url: `https://react-glaze.app${path}` }; assert.deepEqual(redactAnalyticsUrl(event), event); } }); diff --git a/apps/demo/tests/seo.test.mjs b/apps/demo/tests/seo.test.mjs index 4b57247..7505d24 100644 --- a/apps/demo/tests/seo.test.mjs +++ b/apps/demo/tests/seo.test.mjs @@ -8,9 +8,9 @@ test("route canonicals and the sitemap agree on the three query-free production const routes = ["/", "/playground", "/showcase"]; const urls = routes.map((route) => pageMetadata(route).alternates.canonical); assert.deepEqual(urls, [ - "https://react-glaze.vercel.app", - "https://react-glaze.vercel.app/playground", - "https://react-glaze.vercel.app/showcase", + "https://react-glaze.app", + "https://react-glaze.app/playground", + "https://react-glaze.app/showcase", ]); assert.deepEqual(sitemap().map(({ url }) => url), urls); for (const route of routes) { @@ -30,10 +30,10 @@ test("child metadata preserves native file image URLs, dimensions and alt text f assert.equal(Object.hasOwn(pageMetadata("/").twitter, "images"), false); const parent = { openGraph: { - images: [{ url: "https://react-glaze.vercel.app/opengraph-image.png?build-hash", width: 1200, height: 630, alt: "React Glaze" }], + images: [{ url: "https://react-glaze.app/opengraph-image.png?build-hash", width: 1200, height: 630, alt: "React Glaze" }], }, twitter: { - images: [{ url: "https://react-glaze.vercel.app/twitter-image.png?build-hash", alt: "React Glaze" }], + images: [{ url: "https://react-glaze.app/twitter-image.png?build-hash", alt: "React Glaze" }], }, }; for (const route of ["/playground", "/showcase"]) { @@ -55,6 +55,6 @@ test("project structured data identifies its public source and icon without inve assert.equal(graph.find((node) => node["@type"] === "WebSite").alternateName, "react-glaze"); const source = graph.find((node) => node["@type"] === "SoftwareSourceCode"); assert.equal(source.codeRepository, "https://github.com/Stianlars1/react-glaze"); - assert.equal(source.image, "https://react-glaze.vercel.app/brand/icon-512.png"); + assert.equal(source.image, "https://react-glaze.app/brand/icon-512.png"); assert.doesNotMatch(JSON.stringify(siteStructuredData), /"(?:aggregateRating|review|ratingValue|reviewCount|offers)"/); }); diff --git a/docs/releasing.md b/docs/releasing.md index d6f29e2..3538a47 100644 --- a/docs/releasing.md +++ b/docs/releasing.md @@ -2,7 +2,7 @@ The library is the `packages/react` workspace. The root and demo app stay private. Releases use ordinary numeric versions, such as `0.1.0` and `0.2.0`, and the npm `latest` dist-tag. Users install with `npm install react-glaze`. -1. Update the package version and refresh the root lockfile when needed. Keep the demo pinned to an existing published version until the new release is available. Review the public README and compatibility limits. Check the packed metadata: `homepage` must point to `https://react-glaze.vercel.app/`, while `repository` and `bugs` point to GitHub. After publication, verify both the README banner and the Homepage link on npm. +1. Update the package version and refresh the root lockfile when needed. Keep the demo pinned to an existing published version until the new release is available. Review the public README and compatibility limits. Check the packed metadata: `homepage` must point to `https://react-glaze.app/`, while `repository` and `bugs` point to GitHub. After publication, verify both the README banner and the Homepage link on npm. 2. Run `pnpm install --frozen-lockfile` and `pnpm check` from a clean checkout. 3. Run `pnpm pack:local`. Inspect its archive manifest and install that exact tarball in an independent React application. Check public import, SSR and the relevant browser behavior. 4. Commit the reviewed source and wait for CI. Authenticate with npm locally; never commit a token. diff --git a/packages/react/README.md b/packages/react/README.md index 5fbced3..1f7d620 100644 --- a/packages/react/README.md +++ b/packages/react/README.md @@ -1,6 +1,6 @@ -[![React Glaze - Liquid glass for React](https://react-glaze.vercel.app/brand/readme-banner.png)](https://react-glaze.vercel.app/) +[![React Glaze - Liquid glass for React](https://react-glaze.app/brand/readme-banner.png)](https://react-glaze.app/) -[Website](https://react-glaze.vercel.app/) · [Playground](https://react-glaze.vercel.app/playground) · [Showcase](https://react-glaze.vercel.app/showcase) · [npm](https://www.npmjs.com/package/react-glaze) +[Website](https://react-glaze.app/) · [Playground](https://react-glaze.app/playground) · [Showcase](https://react-glaze.app/showcase) · [npm](https://www.npmjs.com/package/react-glaze) One configurable component for React 19 / Next.js, licensed under [MIT](LICENSE). This is an experimental library. The rounded surface is new; the optical lens, physical material values and studio lighting derive from the pinned Drawn To reference. See [third-party notices](THIRD-PARTY-NOTICES.md). diff --git a/packages/react/package.json b/packages/react/package.json index a66cbb5..d85b94e 100644 --- a/packages/react/package.json +++ b/packages/react/package.json @@ -1,6 +1,6 @@ { "name": "react-glaze", - "version": "0.1.1", + "version": "0.1.2", "type": "module", "license": "MIT", "description": "Liquid glass for React. A configurable wrapper with automatic background refraction and optional pointer-driven rim lighting.", @@ -34,7 +34,7 @@ "url": "git+https://github.com/Stianlars1/react-glaze.git", "directory": "packages/react" }, - "homepage": "https://react-glaze.vercel.app/", + "homepage": "https://react-glaze.app/", "bugs": { "url": "https://github.com/Stianlars1/react-glaze/issues" }, From a57cd1b20d97e9464e921091dddc88bb25996858 Mon Sep 17 00:00:00 2001 From: Stian Larsen <71408982+Stianlars1@users.noreply.github.com> Date: Thu, 10 Sep 2026 00:20:38 +0200 Subject: [PATCH 2/2] chore: update demo to react-glaze 0.1.2 --- apps/demo/package.json | 2 +- pnpm-lock.yaml | 10 +++++----- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/apps/demo/package.json b/apps/demo/package.json index 50bd112..82e5623 100644 --- a/apps/demo/package.json +++ b/apps/demo/package.json @@ -14,7 +14,7 @@ "next": "16.3.4", "react": "19.2.8", "react-dom": "19.2.8", - "react-glaze": "0.1.1" + "react-glaze": "0.1.2" }, "devDependencies": { "@types/node": "^20", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 76f9bd9..1acd055 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -42,8 +42,8 @@ importers: specifier: 19.2.8 version: 19.2.8(react@19.2.8) react-glaze: - specifier: 0.1.1 - version: 0.1.1(react@19.2.8) + specifier: 0.1.2 + version: 0.1.2(react@19.2.8) devDependencies: '@types/node': specifier: ^20 @@ -1749,8 +1749,8 @@ packages: peerDependencies: react: ^19.2.8 - react-glaze@0.1.1: - resolution: {integrity: sha512-sKMP5ajCNJc+bv0MvosQeSfhh9scTx6WM57vQQ75lLewTgIrWb4AQ8yIGZpYkuKvRCFmrpuVagyMZ4PZy/33iQ==} + react-glaze@0.1.2: + resolution: {integrity: sha512-/fcUfB4cuYY3hvoL2eFtxd2nVBd4mhv8DkySfmNV+COwDOQ8g21mro+y59TYDX6V5o+mhWSbMu9fiuAg19xGfA==} peerDependencies: react: ^19.0.0 @@ -3756,7 +3756,7 @@ snapshots: react: 19.2.8 scheduler: 0.27.0 - react-glaze@0.1.1(react@19.2.8): + react-glaze@0.1.2(react@19.2.8): dependencies: html-to-image: 1.11.13 react: 19.2.8