Skip to content

Commit 105eb23

Browse files
committed
Merge remote-tracking branch 'origin/main' into docs/content-audit
2 parents 34ab45c + 085d4df commit 105eb23

13 files changed

Lines changed: 1774 additions & 1590 deletions

File tree

docs/content/2.renderers/0.index.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,13 +33,13 @@ All renderers share core features: [Tailwind CSS](https://tailwindcss.com) suppo
3333
| **Filters** ||||
3434
| **Emoji** | ✅ COLR fonts | ✅ 11 families ||
3535
| **Fonts** | WOFF2, variable | Google Fonts, local | Any |
36-
| **Dependencies** | `@takumi-rs/core@rc`<br>`@takumi-rs/wasm@rc` | `satori`<br>`@resvg/resvg-js`<br>`@resvg/resvg-wasm` | `playwright-core` |
36+
| **Dependencies** | `@takumi-rs/core`<br>`@takumi-rs/wasm` | `satori`<br>`@resvg/resvg-js`<br>`@resvg/resvg-wasm` | `playwright-core` |
3737

3838
## Environment Compatibility
3939

4040
| Environment | Satori | Takumi | Browser |
4141
|-------------|--------|--------|----------|
42-
| [Node.js](https://nodejs.org) ||`@takumi-rs/core@rc` |`playwright-core` |
42+
| [Node.js](https://nodejs.org) ||`@takumi-rs/core` |`playwright-core` |
4343
| Prerender / CI ||| ✅ Auto-installs |
4444
| AWS Lambda ||| ❌ Binary too large |
4545
| [Vercel](https://vercel.com) ||||

docs/content/2.renderers/1.takumi.md

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -22,26 +22,26 @@ Takumi is the **recommended renderer** for Nuxt OG Image. It offers the best com
2222

2323
```sh [pnpm]
2424
# Node.js
25-
pnpm i -D @takumi-rs/core@rc
25+
pnpm i -D @takumi-rs/core
2626

2727
# Edge runtimes (Cloudflare, Vercel Edge, etc.)
28-
pnpm i -D @takumi-rs/wasm@rc
28+
pnpm i -D @takumi-rs/wasm
2929
```
3030

3131
```bash [yarn]
3232
# Node.js
33-
yarn add -D @takumi-rs/core@rc
33+
yarn add -D @takumi-rs/core
3434

3535
# Edge runtimes (Cloudflare, Vercel Edge, etc.)
36-
yarn add -D @takumi-rs/wasm@rc
36+
yarn add -D @takumi-rs/wasm
3737
```
3838

3939
```bash [npm]
4040
# Node.js
41-
npm install -D @takumi-rs/core@rc
41+
npm install -D @takumi-rs/core
4242

4343
# Edge runtimes (Cloudflare, Vercel Edge, etc.)
44-
npm install -D @takumi-rs/wasm@rc
44+
npm install -D @takumi-rs/wasm
4545
```
4646

4747
::
@@ -162,11 +162,11 @@ Takumi supports both Node.js and Wasm runtimes. The module automatically selects
162162

163163
| Environment | Binding | Notes |
164164
|-------------|---------|-------|
165-
| Node.js | `@takumi-rs/core@rc` | Native performance |
166-
| Cloudflare Workers | `@takumi-rs/wasm@rc` | Wasm bundle |
167-
| Vercel Edge | `@takumi-rs/wasm@rc` | Wasm bundle |
168-
| Netlify Edge | `@takumi-rs/wasm@rc` | Wasm bundle |
169-
| AWS Lambda | `@takumi-rs/core@rc` | Native performance |
165+
| Node.js | `@takumi-rs/core` | Native performance |
166+
| Cloudflare Workers | `@takumi-rs/wasm` | Wasm bundle |
167+
| Vercel Edge | `@takumi-rs/wasm` | Wasm bundle |
168+
| Netlify Edge | `@takumi-rs/wasm` | Wasm bundle |
169+
| AWS Lambda | `@takumi-rs/core` | Native performance |
170170

171171
See the [Renderers](/docs/og-image/renderers) overview for more details on runtime support.
172172

docs/content/6.migration-guide/v6.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -49,10 +49,10 @@ See [PR #415](https://github.com/nuxt-modules/og-image/pull/415).
4949

5050
```bash
5151
# Node.js
52-
npm i @takumi-rs/core@rc
52+
npm i @takumi-rs/core
5353

5454
# Edge runtimes
55-
npm i @takumi-rs/wasm@rc
55+
npm i @takumi-rs/wasm
5656
```
5757

5858
**Satori:**
@@ -73,7 +73,7 @@ npm i playwright-core
7373

7474
Running `nuxi dev` in an interactive terminal will prompt you to install missing dependencies automatically.
7575

76-
In non-interactive environments (AI coding agents, CI, or any process without a TTY) there is nothing to answer the prompt, so the module skips it: it defaults to the `takumi` renderer and emits a warning. When an AI agent runs the module and cannot install a missing renderer dependency, the module throws a clear error (`npx nypm add @takumi-rs/core@rc`) instead of silently producing broken images. Set `NUXT_OG_IMAGE_SKIP_ONBOARDING=1` to opt out of onboarding entirely.
76+
In non-interactive environments (AI coding agents, CI, or any process without a TTY) there is nothing to answer the prompt, so the module skips it: it defaults to the `takumi` renderer and emits a warning. When an AI agent runs the module and cannot install a missing renderer dependency, the module throws a clear error (`npx nypm add @takumi-rs/core`) instead of silently producing broken images. Set `NUXT_OG_IMAGE_SKIP_ONBOARDING=1` to opt out of onboarding entirely.
7777

7878
### Component Renderer Suffix Required
7979

docs/content/7.releases/2.v6.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -124,8 +124,8 @@ Renderer dependencies are no longer bundled - install only what you need. Runnin
124124
**Takumi (recommended):**
125125

126126
```bash
127-
npm i @takumi-rs/core@rc # Node.js
128-
npm i @takumi-rs/wasm@rc # Edge runtimes
127+
npm i @takumi-rs/core # Node.js
128+
npm i @takumi-rs/wasm # Edge runtimes
129129
```
130130

131131
**Satori:**

examples/basic-takumi/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
"dependencies": {
1111
"@nuxt/fonts": "^0.14.0",
1212
"@tailwindcss/vite": "^4.3.2",
13-
"@takumi-rs/core": "^2.0.0-rc.5",
13+
"@takumi-rs/core": "^2.2.0",
1414
"nuxt": "^4.4.8",
1515
"nuxt-og-image": "latest",
1616
"nuxt-site-config": "^4.1.1",

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -72,8 +72,8 @@
7272
"peerDependencies": {
7373
"@resvg/resvg-js": "^2.6.0",
7474
"@resvg/resvg-wasm": "^2.6.0",
75-
"@takumi-rs/core": "^1.0.0-beta.3 || ^2.0.0-rc.5",
76-
"@takumi-rs/wasm": "^1.0.0-beta.3 || ^2.0.0-rc.5",
75+
"@takumi-rs/core": "^1.0.0-beta.3 || ^2.0.0",
76+
"@takumi-rs/wasm": "^1.0.0-beta.3 || ^2.0.0",
7777
"@unhead/vue": "^2.0.5 || ^3.0.0",
7878
"fontless": "^0.2.0",
7979
"nitropack": "catalog:",

0 commit comments

Comments
 (0)