@verbaly/compiler 0.86.1 → 0.86.2
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 +5 -5
- package/package.json +4 -4
package/README.md
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
<p align="center">
|
|
2
|
-
<img src="https://raw.githubusercontent.com/
|
|
2
|
+
<img src="https://raw.githubusercontent.com/verbaly-i18n/verbaly/develop/assets/logo.png" alt="Verbaly" width="300" />
|
|
3
3
|
</p>
|
|
4
4
|
|
|
5
5
|
<p align="center"><em>Message extraction, type-safe codegen and CLI for Verbaly.</em></p>
|
|
@@ -7,14 +7,14 @@
|
|
|
7
7
|
<p align="center">
|
|
8
8
|
<a href="https://www.npmjs.com/package/@verbaly/compiler"><img src="https://img.shields.io/npm/v/@verbaly/compiler?logo=npm&color=cb3837" alt="npm version" /></a>
|
|
9
9
|
<img src="https://img.shields.io/node/v/@verbaly/compiler?logo=nodedotjs&logoColor=white&color=5fa04e" alt="supported Node.js versions" />
|
|
10
|
-
<a href="https://scorecard.dev/viewer/?uri=github.com/
|
|
10
|
+
<a href="https://scorecard.dev/viewer/?uri=github.com/verbaly-i18n/verbaly"><img src="https://api.scorecard.dev/projects/github.com/verbaly-i18n/verbaly/badge" alt="OpenSSF Scorecard" /></a>
|
|
11
11
|
<a href="https://www.npmjs.com/package/@verbaly/compiler#provenance"><img src="https://img.shields.io/badge/provenance-SLSA%20v1-3fb950?logo=npm" alt="published with npm provenance" /></a>
|
|
12
|
-
<a href="https://github.com/
|
|
12
|
+
<a href="https://github.com/verbaly-i18n/verbaly/blob/develop/LICENSE"><img src="https://img.shields.io/npm/l/@verbaly/compiler?color=blue" alt="MIT" /></a>
|
|
13
13
|
</p>
|
|
14
14
|
|
|
15
15
|
---
|
|
16
16
|
|
|
17
|
-
The compiler behind [Verbaly](https://github.com/
|
|
17
|
+
The compiler behind [Verbaly](https://github.com/verbaly-i18n/verbaly): AST extraction of `` t`…` `` **and JSX `<Trans>` children** into stable hashed keys (or **readable keys** via `` t.id('inbox.title')`…` `` and `<Trans id="inbox.title">…</Trans>`), JSON catalog sync, and typed codegen. It also ships the **`verbaly` CLI**.
|
|
18
18
|
|
|
19
19
|
Extraction covers `.js`/`.ts`/`.jsx`/`.tsx` **and `.svelte`, `.vue` and `.astro` single-file components**: script blocks and frontmatter, plus markup expressions (Svelte's `$t` store form included). Text that only sits on screen is never extracted, so a documented snippet cannot become a real key.
|
|
20
20
|
|
|
@@ -404,4 +404,4 @@ A dev server that writes the catalogs goes through `syncProject`, the same path
|
|
|
404
404
|
|
|
405
405
|
## License
|
|
406
406
|
|
|
407
|
-
[MIT](https://github.com/
|
|
407
|
+
[MIT](https://github.com/verbaly-i18n/verbaly/blob/develop/LICENSE) © Aron Soto
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@verbaly/compiler",
|
|
3
|
-
"version": "0.86.
|
|
3
|
+
"version": "0.86.2",
|
|
4
4
|
"description": "Message extraction and type-safe codegen for Verbaly.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"i18n",
|
|
@@ -12,12 +12,12 @@
|
|
|
12
12
|
"author": "Aron Soto",
|
|
13
13
|
"repository": {
|
|
14
14
|
"type": "git",
|
|
15
|
-
"url": "git+https://github.com/
|
|
15
|
+
"url": "git+https://github.com/verbaly-i18n/verbaly.git",
|
|
16
16
|
"directory": "packages/compiler"
|
|
17
17
|
},
|
|
18
18
|
"homepage": "https://verbaly.dev/docs/reference/cli",
|
|
19
19
|
"bugs": {
|
|
20
|
-
"url": "https://github.com/
|
|
20
|
+
"url": "https://github.com/verbaly-i18n/verbaly/issues"
|
|
21
21
|
},
|
|
22
22
|
"funding": {
|
|
23
23
|
"type": "github",
|
|
@@ -52,7 +52,7 @@
|
|
|
52
52
|
"magic-string": "^1.4.5",
|
|
53
53
|
"picomatch": "^4.0.7",
|
|
54
54
|
"tinyglobby": "^0.2.17",
|
|
55
|
-
"verbaly": "0.86.
|
|
55
|
+
"verbaly": "0.86.2"
|
|
56
56
|
},
|
|
57
57
|
"peerDependencies": {
|
|
58
58
|
"@anthropic-ai/sdk": ">=0.110.0"
|