@verbaly/svelte 0.86.1 → 0.87.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 +5 -5
- package/dist/index.d.ts +1 -1
- package/package.json +7 -7
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/lockup-light.svg" alt="Verbaly" height="64" />
|
|
3
3
|
</p>
|
|
4
4
|
|
|
5
5
|
<p align="center"><em>Svelte bindings for Verbaly: stores over the reactive core.</em></p>
|
|
@@ -7,14 +7,14 @@
|
|
|
7
7
|
<p align="center">
|
|
8
8
|
<a href="https://www.npmjs.com/package/@verbaly/svelte"><img src="https://img.shields.io/npm/v/@verbaly/svelte?logo=npm&color=cb3837" alt="npm version" /></a>
|
|
9
9
|
<a href="https://verbaly.dev/docs/frameworks/svelte"><img src="https://img.shields.io/npm/dependency-version/@verbaly/svelte/peer/svelte?logo=svelte&logoColor=FF3E00&label=Svelte&color=2A1A14" alt="supported Svelte versions" /></a>
|
|
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/svelte#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/svelte?color=blue" alt="MIT" /></a>
|
|
13
13
|
</p>
|
|
14
14
|
|
|
15
15
|
---
|
|
16
16
|
|
|
17
|
-
Idiomatic Svelte 5 stores over the [Verbaly](https://github.com/
|
|
17
|
+
Idiomatic Svelte 5 stores over the [Verbaly](https://github.com/verbaly-i18n/verbaly) core: the `$` auto-subscription just works, re-rendering on every locale switch.
|
|
18
18
|
|
|
19
19
|
## 🚀 Install
|
|
20
20
|
|
|
@@ -117,4 +117,4 @@ Uses the instance from `provideVerbaly` (or pass `instance={verbaly}` explicitly
|
|
|
117
117
|
|
|
118
118
|
## License
|
|
119
119
|
|
|
120
|
-
[MIT](https://github.com/
|
|
120
|
+
[MIT](https://github.com/verbaly-i18n/verbaly/blob/develop/LICENSE) © Aron Soto
|
package/dist/index.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { DictionaryInput, Params, TFunction, Verbaly } from "verbaly";
|
|
2
1
|
import { Readable, Writable } from "svelte/store";
|
|
2
|
+
import { DictionaryInput, Params, TFunction, Verbaly } from "verbaly";
|
|
3
3
|
export declare function provideVerbaly<D extends DictionaryInput>(instance: Verbaly<D>): Verbaly<D>;
|
|
4
4
|
export declare function useVerbaly<D extends DictionaryInput = DictionaryInput>(): Verbaly<D>;
|
|
5
5
|
export declare function tStore<D extends DictionaryInput>(instance: Verbaly<D>): Readable<Verbaly<D>['t']>;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@verbaly/svelte",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.87.0",
|
|
4
4
|
"description": "Svelte bindings for Verbaly: stores over the reactive core.",
|
|
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/svelte"
|
|
17
17
|
},
|
|
18
18
|
"homepage": "https://verbaly.dev/docs/frameworks/svelte",
|
|
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",
|
|
@@ -49,13 +49,13 @@
|
|
|
49
49
|
},
|
|
50
50
|
"peerDependencies": {
|
|
51
51
|
"svelte": "^5.0.0",
|
|
52
|
-
"verbaly": "^0.
|
|
52
|
+
"verbaly": "^0.87.0"
|
|
53
53
|
},
|
|
54
54
|
"devDependencies": {
|
|
55
|
-
"@sveltejs/vite-plugin-svelte": "^7.3.
|
|
55
|
+
"@sveltejs/vite-plugin-svelte": "^7.3.2",
|
|
56
56
|
"happy-dom": "^21.0.4",
|
|
57
|
-
"svelte": "^5.
|
|
58
|
-
"verbaly": "^0.
|
|
57
|
+
"svelte": "^5.59.2",
|
|
58
|
+
"verbaly": "^0.87.0"
|
|
59
59
|
},
|
|
60
60
|
"scripts": {
|
|
61
61
|
"build": "tsdown && node scripts/copy-svelte.mjs",
|