@verbaly/vite 0.21.0 → 0.23.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 +6 -6
- package/package.json +5 -5
package/README.md
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
<img src="https://raw.githubusercontent.com/AronSoto/verbaly/develop/assets/logo.png" alt="Verbaly" width="300" />
|
|
3
3
|
</p>
|
|
4
4
|
|
|
5
|
-
<p align="center"><em>Zero-config Vite plugin for Verbaly
|
|
5
|
+
<p align="center"><em>Zero-config Vite plugin for Verbaly: live extraction, codegen and HMR.</em></p>
|
|
6
6
|
|
|
7
7
|
<p align="center">
|
|
8
8
|
<a href="https://www.npmjs.com/package/@verbaly/vite"><img src="https://img.shields.io/npm/v/@verbaly/vite?logo=npm&color=cb3837" alt="npm version" /></a>
|
|
@@ -29,17 +29,17 @@ export default {
|
|
|
29
29
|
```
|
|
30
30
|
|
|
31
31
|
```ts
|
|
32
|
-
// anywhere in your app
|
|
32
|
+
// anywhere in your app, extracted + typed on save
|
|
33
33
|
import { t, setLocale } from 'virtual:verbaly';
|
|
34
34
|
```
|
|
35
35
|
|
|
36
|
-
- **Live extraction** with debounced catalog writes + HMR
|
|
37
|
-
- **Per-locale code-splitting
|
|
38
|
-
- **Build gate
|
|
36
|
+
- **Live extraction** with debounced catalog writes + HMR, from `.js/.ts/.jsx/.tsx` and `.svelte`/`.vue` files (script and markup).
|
|
37
|
+
- **Per-locale code-splitting**: `setLocale` lazy-loads only what's used.
|
|
38
|
+
- **Build gate**: missing translations stop the build (same as `verbaly check`); `failOnMissing: false` opts out.
|
|
39
39
|
|
|
40
40
|
📖 Docs & live playground: **https://verbaly-web.vercel.app**
|
|
41
41
|
|
|
42
|
-
> ⚠️ Early development (`0.x`)
|
|
42
|
+
> ⚠️ Early development (`0.x`): API not stable yet.
|
|
43
43
|
|
|
44
44
|
## License
|
|
45
45
|
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@verbaly/vite",
|
|
3
|
-
"version": "0.
|
|
4
|
-
"description": "Zero-config Vite plugin for Verbaly
|
|
3
|
+
"version": "0.23.0",
|
|
4
|
+
"description": "Zero-config Vite plugin for Verbaly: extraction, codegen and HMR.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"i18n",
|
|
7
7
|
"vite-plugin",
|
|
@@ -38,15 +38,15 @@
|
|
|
38
38
|
"access": "public"
|
|
39
39
|
},
|
|
40
40
|
"dependencies": {
|
|
41
|
-
"@verbaly/compiler": "0.
|
|
41
|
+
"@verbaly/compiler": "0.23.0"
|
|
42
42
|
},
|
|
43
43
|
"peerDependencies": {
|
|
44
44
|
"vite": "^7.0.0 || ^8.0.0",
|
|
45
|
-
"verbaly": "^0.
|
|
45
|
+
"verbaly": "^0.23.0"
|
|
46
46
|
},
|
|
47
47
|
"devDependencies": {
|
|
48
48
|
"vite": "^8.1.4",
|
|
49
|
-
"verbaly": "0.
|
|
49
|
+
"verbaly": "0.23.0"
|
|
50
50
|
},
|
|
51
51
|
"scripts": {
|
|
52
52
|
"build": "tsdown",
|