@tinacms/astro 0.3.0 → 0.4.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +2 -2
- package/package.json +4 -4
package/README.md
CHANGED
|
@@ -14,7 +14,7 @@ pnpm add @tinacms/astro tinacms
|
|
|
14
14
|
pnpm add -D @tinacms/cli
|
|
15
15
|
```
|
|
16
16
|
|
|
17
|
-
Requires Astro 5 and an SSR adapter (`@astrojs/node`, `vercel`, `netlify`, or `cloudflare`) — the island-refresh endpoint (`/tina-island/[name]`) is on-demand. `output: 'server'` is the simplest choice; `output: 'static'` also works as long as editable regions are wrapped in [`<TinaIsland>`](#static-site-editing) and the adapter can serve that one on-demand route.
|
|
17
|
+
Requires Astro 5 or 6 and an SSR adapter (`@astrojs/node`, `vercel`, `netlify`, or `cloudflare`) — the island-refresh endpoint (`/tina-island/[name]`) is on-demand. `output: 'server'` is the simplest choice; `output: 'static'` also works as long as editable regions are wrapped in [`<TinaIsland>`](#static-site-editing) and the adapter can serve that one on-demand route.
|
|
18
18
|
|
|
19
19
|
## Usage
|
|
20
20
|
|
|
@@ -161,7 +161,7 @@ CMS-supplied URLs in `a` and `img` nodes pass through `sanitizeHref` / `sanitize
|
|
|
161
161
|
|
|
162
162
|
## Testing
|
|
163
163
|
|
|
164
|
-
Tests use Astro
|
|
164
|
+
Tests use Astro's [`experimental_AstroContainer`](https://docs.astro.build/en/reference/container-reference/). Fixtures are synced from `@tinacms/mdx`'s parser test corpus so renderer assertions track real editor output.
|
|
165
165
|
|
|
166
166
|
```bash
|
|
167
167
|
pnpm test
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@tinacms/astro",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.4.0",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"main": "src/TinaMarkdown.astro",
|
|
6
6
|
"types": "dist/index.d.ts",
|
|
@@ -124,13 +124,13 @@
|
|
|
124
124
|
"@tinacms/bridge": "0.3.0"
|
|
125
125
|
},
|
|
126
126
|
"peerDependencies": {
|
|
127
|
-
"astro": "^5.0.0"
|
|
127
|
+
"astro": "^5.0.0 || ^6.0.0"
|
|
128
128
|
},
|
|
129
129
|
"devDependencies": {
|
|
130
130
|
"@types/node": "^22.13.1",
|
|
131
|
-
"astro": "^
|
|
131
|
+
"astro": "^6.3.7",
|
|
132
132
|
"typescript": "^5.7.3",
|
|
133
|
-
"vite": "^
|
|
133
|
+
"vite": "^7.3.3",
|
|
134
134
|
"vitest": "^3.0.0",
|
|
135
135
|
"@tinacms/scripts": "1.6.1"
|
|
136
136
|
},
|