svelte-intlayer 7.0.9-canary.0 → 7.0.9-canary.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 +2 -1
- package/dist/types/client/useLocale.d.ts +2 -2
- package/package.json +20 -17
package/README.md
CHANGED
|
@@ -171,8 +171,9 @@ Explore our comprehensive documentation to get started with Intlayer and learn h
|
|
|
171
171
|
<details open>
|
|
172
172
|
<summary style="font-size:16px; font-weight:bold;">🌐 Environment</summary>
|
|
173
173
|
<ul>
|
|
174
|
-
<li><a href="https://intlayer.org/doc/environment/nextjs" rel=''>Intlayer with Next.js
|
|
174
|
+
<li><a href="https://intlayer.org/doc/environment/nextjs" rel=''>Intlayer with Next.js 16</a>
|
|
175
175
|
<ul>
|
|
176
|
+
<li><a href="https://intlayer.org/doc/environment/nextjs/15" rel=''>Next.js 15</a></li>
|
|
176
177
|
<li><a href="https://intlayer.org/doc/environment/nextjs/14" rel=''>Next.js 14 (App Router)</a></li>
|
|
177
178
|
<li><a href="https://intlayer.org/doc/environment/nextjs/next-with-Page-Router" rel=''>Next.js Page Router</a></li>
|
|
178
179
|
</ul>
|
|
@@ -3,6 +3,6 @@
|
|
|
3
3
|
* @returns Readable store with current locale and setter function
|
|
4
4
|
*/
|
|
5
5
|
export declare const useLocale: () => {
|
|
6
|
-
locale: import('svelte/store').Readable<import('
|
|
7
|
-
setLocale: (locale: import('
|
|
6
|
+
locale: import('svelte/store').Readable<import('intlayer').LocalesValues>;
|
|
7
|
+
setLocale: (locale: import('intlayer').LocalesValues) => void;
|
|
8
8
|
};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "svelte-intlayer",
|
|
3
|
-
"version": "7.0.9-canary.
|
|
3
|
+
"version": "7.0.9-canary.2",
|
|
4
4
|
"private": false,
|
|
5
5
|
"description": "Easily internationalize i18n your Svelte applications with type-safe multilingual content management.",
|
|
6
6
|
"keywords": [
|
|
@@ -66,38 +66,41 @@
|
|
|
66
66
|
"lint": "biome lint .",
|
|
67
67
|
"lint:fix": "biome lint --write .",
|
|
68
68
|
"prepublish": "cp -f ../../README.md ./README.md",
|
|
69
|
+
"publish": "bun publish --access public || true",
|
|
70
|
+
"publish:canary": "bun publish --tag canary --access public || true",
|
|
71
|
+
"publish:latest": "bun publish --tag latest --access public || true",
|
|
69
72
|
"test": "vitest run",
|
|
70
73
|
"test:watch": "vitest",
|
|
71
74
|
"typecheck": "tsc --noEmit --project tsconfig.types.json"
|
|
72
75
|
},
|
|
73
76
|
"dependencies": {
|
|
74
|
-
"@intlayer/api": "7.0.9-canary.
|
|
75
|
-
"@intlayer/config": "7.0.9-canary.
|
|
76
|
-
"@intlayer/core": "7.0.9-canary.
|
|
77
|
-
"@intlayer/editor": "7.0.9-canary.
|
|
78
|
-
"@intlayer/types": "7.0.9-canary.
|
|
77
|
+
"@intlayer/api": "7.0.9-canary.2",
|
|
78
|
+
"@intlayer/config": "7.0.9-canary.2",
|
|
79
|
+
"@intlayer/core": "7.0.9-canary.2",
|
|
80
|
+
"@intlayer/editor": "7.0.9-canary.2",
|
|
81
|
+
"@intlayer/types": "7.0.9-canary.2",
|
|
79
82
|
"js-cookie": "3.0.5"
|
|
80
83
|
},
|
|
81
84
|
"devDependencies": {
|
|
82
85
|
"@sveltejs/vite-plugin-svelte": "6.1.4",
|
|
83
86
|
"@types/js-cookie": "3.0.6",
|
|
84
|
-
"@types/node": "24.10.
|
|
85
|
-
"@utils/ts-config": "
|
|
86
|
-
"@utils/ts-config-types": "
|
|
87
|
-
"@utils/tsdown-config": "
|
|
87
|
+
"@types/node": "24.10.1",
|
|
88
|
+
"@utils/ts-config": "1.0.4",
|
|
89
|
+
"@utils/ts-config-types": "1.0.4",
|
|
90
|
+
"@utils/tsdown-config": "1.0.4",
|
|
88
91
|
"rimraf": "6.1.0",
|
|
89
|
-
"tsdown": "0.16.
|
|
92
|
+
"tsdown": "0.16.4",
|
|
90
93
|
"typescript": "5.9.3",
|
|
91
94
|
"vite": "7.2.0",
|
|
92
95
|
"vite-plugin-dts": "4.5.4",
|
|
93
|
-
"vitest": "4.0.
|
|
96
|
+
"vitest": "4.0.8"
|
|
94
97
|
},
|
|
95
98
|
"peerDependencies": {
|
|
96
|
-
"@intlayer/api": "7.0.9-canary.
|
|
97
|
-
"@intlayer/config": "7.0.9-canary.
|
|
98
|
-
"@intlayer/core": "7.0.9-canary.
|
|
99
|
-
"@intlayer/editor": "7.0.9-canary.
|
|
100
|
-
"@intlayer/types": "7.0.9-canary.
|
|
99
|
+
"@intlayer/api": "7.0.9-canary.2",
|
|
100
|
+
"@intlayer/config": "7.0.9-canary.2",
|
|
101
|
+
"@intlayer/core": "7.0.9-canary.2",
|
|
102
|
+
"@intlayer/editor": "7.0.9-canary.2",
|
|
103
|
+
"@intlayer/types": "7.0.9-canary.2",
|
|
101
104
|
"svelte": ">=5.0.0"
|
|
102
105
|
},
|
|
103
106
|
"engines": {
|