@verbaly/astro 0.69.1 → 0.70.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.
Files changed (2) hide show
  1. package/README.md +2 -2
  2. package/package.json +5 -5
package/README.md CHANGED
@@ -13,7 +13,7 @@
13
13
 
14
14
  Write your text in place, in the frontmatter or right in the markup of your `.astro` files. The compiler extracts the messages, generates stable keys, typed params and one catalog per language, and the dev server keeps them in sync while you code.
15
15
 
16
- One line in `astro.config` wires everything: the Vite plugin (live extraction, the `virtual:verbaly` module and the build gate) and, if you use the mirror flow, `verbaly render` runs by itself after every build. The generated types live inside Astro's own `.astro` folder (via `injectTypes`), so no extra file lands in your project.
16
+ One line in `astro.config` wires everything: the Vite plugin (live extraction, the `virtual:verbaly` module and the build report) and, if you use the mirror flow, `verbaly render` runs by itself after every build. The generated types live inside Astro's own `.astro` folder (via `injectTypes`), so no extra file lands in your project.
17
17
 
18
18
  ## 🚀 Install
19
19
 
@@ -51,7 +51,7 @@ const title = t`Search and find`;
51
51
  <img alt={t`Company logo`} src="/logo.png" />
52
52
  ```
53
53
 
54
- Every message becomes a stable key with typed params. Untranslated entries fail the build (opt out with `failOnMissing: false`). The types go to the slot Astro gives integrations (`.astro/integrations/_verbaly_astro/verbaly.d.ts`), and `npx verbaly extract` writes that same file, so `astro check` never sees the module declared twice.
54
+ Every message becomes a stable key with typed params. A build lists what `verbaly check` would fail on and goes on, so run `check` in CI (`failOnMissing: true` stops the build instead). The types go to the slot Astro gives integrations (`.astro/integrations/_verbaly_astro/verbaly.d.ts`), and `npx verbaly extract` writes that same file, so `astro check` never sees the module declared twice.
55
55
 
56
56
  ## 🌍 Two ways to ship the languages
57
57
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@verbaly/astro",
3
- "version": "0.69.1",
3
+ "version": "0.70.0",
4
4
  "description": "Astro integration for Verbaly: write-in-source extraction for .astro files plus automatic per-locale static rendering.",
5
5
  "keywords": [
6
6
  "i18n",
@@ -41,15 +41,15 @@
41
41
  "access": "public"
42
42
  },
43
43
  "dependencies": {
44
- "@verbaly/compiler": "^0.69.1",
45
- "@verbaly/vite": "^0.69.1"
44
+ "@verbaly/compiler": "^0.70.0",
45
+ "@verbaly/vite": "^0.70.0"
46
46
  },
47
47
  "peerDependencies": {
48
- "verbaly": "^0.69.1"
48
+ "verbaly": "^0.70.0"
49
49
  },
50
50
  "devDependencies": {
51
51
  "astro": "^7.3.7",
52
- "verbaly": "^0.69.1"
52
+ "verbaly": "^0.70.0"
53
53
  },
54
54
  "scripts": {
55
55
  "build": "tsdown",