@tolgee/svelte 2.4.0 → 2.8.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/CHANGELOG.md +41 -0
- package/README.md +1 -2
- package/TolgeeProvider.svelte +1 -1
- package/package.json +12 -14
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,47 @@
|
|
|
3
3
|
All notable changes to this project will be documented in this file.
|
|
4
4
|
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
5
5
|
|
|
6
|
+
# [2.8.0](https://github.com/tolgee/tolgee-js/compare/v2.7.0...v2.8.0) (2021-11-25)
|
|
7
|
+
|
|
8
|
+
**Note:** Version bump only for package @tolgee/svelte
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
# [2.7.0](https://github.com/tolgee/tolgee-js/compare/v2.6.0...v2.7.0) (2021-11-23)
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
### Bug Fixes
|
|
18
|
+
|
|
19
|
+
* **js:** Fix readmes TG-415 ([856539f](https://github.com/tolgee/tolgee-js/commit/856539fe5d3de82a07317915d2b1222cd0785dcc))
|
|
20
|
+
|
|
21
|
+
|
|
22
|
+
|
|
23
|
+
|
|
24
|
+
|
|
25
|
+
## [2.5.1](https://github.com/tolgee/tolgee-js/compare/v2.5.0...v2.5.1) (2021-11-11)
|
|
26
|
+
|
|
27
|
+
|
|
28
|
+
### Bug Fixes
|
|
29
|
+
|
|
30
|
+
* Svelte integration TG-380 - fix document not defined error ([ffabdf8](https://github.com/tolgee/tolgee-js/commit/ffabdf859d50439729e5ac770f836e224cdd9b99))
|
|
31
|
+
|
|
32
|
+
|
|
33
|
+
|
|
34
|
+
|
|
35
|
+
|
|
36
|
+
## [2.4.1](https://github.com/tolgee/tolgee-js/compare/v2.4.0...v2.4.1) (2021-11-10)
|
|
37
|
+
|
|
38
|
+
|
|
39
|
+
### Bug Fixes
|
|
40
|
+
|
|
41
|
+
* Svelte integration TG-380 - Fix missing document in svelteKit v192 ([218e3d0](https://github.com/tolgee/tolgee-js/commit/218e3d08b429b8a1c5e078c694a884945c3e2116))
|
|
42
|
+
|
|
43
|
+
|
|
44
|
+
|
|
45
|
+
|
|
46
|
+
|
|
6
47
|
# [2.4.0](https://github.com/tolgee/tolgee-js/compare/v2.3.2...v2.4.0) (2021-11-09)
|
|
7
48
|
|
|
8
49
|
|
package/README.md
CHANGED
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
# Tolgee for Svelte
|
|
1
2
|

|
|
2
3
|

|
|
3
4
|

|
|
@@ -5,8 +6,6 @@
|
|
|
5
6
|
[](https://twitter.com/Tolgee_i18n)
|
|
6
7
|
[](https://github.com/tolgee/tolgee-js)
|
|
7
8
|
|
|
8
|
-
# Tolgee for Svelte
|
|
9
|
-
|
|
10
9
|
Svelte integration library (SDK) of Tolgee. For more information about using Tolgee with Svelte, visit our
|
|
11
10
|
[documentation website 📖](https://tolgee.io/docs).
|
|
12
11
|
|
package/TolgeeProvider.svelte
CHANGED
|
@@ -3,11 +3,11 @@ import { Tolgee, TolgeeConfig } from "@tolgee/core";
|
|
|
3
3
|
export let config;
|
|
4
4
|
const tolgee = new Tolgee(config || new TolgeeConfig());
|
|
5
5
|
let tolgeeRunPromise;
|
|
6
|
-
onMount(() => tolgeeRunPromise = tolgee.run());
|
|
7
6
|
setContext("tolgeeContext", {
|
|
8
7
|
tolgee
|
|
9
8
|
});
|
|
10
9
|
if (typeof window !== "undefined") {
|
|
10
|
+
onMount(() => tolgeeRunPromise = tolgee.run());
|
|
11
11
|
onDestroy(tolgee.stop);
|
|
12
12
|
}
|
|
13
13
|
</script>
|
package/package.json
CHANGED
|
@@ -1,32 +1,30 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@tolgee/svelte",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.8.0",
|
|
4
4
|
"dependencies": {
|
|
5
|
-
"@tolgee/core": "^2.
|
|
5
|
+
"@tolgee/core": "^2.8.0"
|
|
6
6
|
},
|
|
7
7
|
"devDependencies": {
|
|
8
8
|
"@sveltejs/kit": "next",
|
|
9
|
-
"@testing-library/jest-dom": "5.
|
|
9
|
+
"@testing-library/jest-dom": "5.15.1",
|
|
10
10
|
"@testing-library/svelte": "3.0.3",
|
|
11
|
-
"@
|
|
12
|
-
"@
|
|
13
|
-
"@
|
|
14
|
-
"
|
|
15
|
-
"@typescript-eslint/parser": "^4.31.1",
|
|
16
|
-
"eslint": "^7.32.0",
|
|
11
|
+
"@types/jest": "27.0.3",
|
|
12
|
+
"@typescript-eslint/eslint-plugin": "^5.4.0",
|
|
13
|
+
"@typescript-eslint/parser": "^5.4.0",
|
|
14
|
+
"eslint": "^8.3.0",
|
|
17
15
|
"eslint-config-prettier": "^8.3.0",
|
|
18
16
|
"eslint-plugin-svelte3": "^3.2.1",
|
|
19
17
|
"jest": "27.3.1",
|
|
20
18
|
"prettier": "^2.4.1",
|
|
21
|
-
"prettier-plugin-svelte": "^2.
|
|
22
|
-
"svelte": "^3.
|
|
23
|
-
"svelte-check": "^2.2.
|
|
19
|
+
"prettier-plugin-svelte": "^2.5.0",
|
|
20
|
+
"svelte": "^3.44.2",
|
|
21
|
+
"svelte-check": "^2.2.10",
|
|
24
22
|
"svelte-jester": "2.1.5",
|
|
25
23
|
"svelte-preprocess": "^4.9.4",
|
|
26
|
-
"svelte2tsx": "0.4.
|
|
24
|
+
"svelte2tsx": "0.4.10",
|
|
27
25
|
"ts-jest": "27.0.7",
|
|
28
26
|
"tslib": "^2.3.1",
|
|
29
|
-
"typescript": "^4.
|
|
27
|
+
"typescript": "^4.5.2"
|
|
30
28
|
},
|
|
31
29
|
"type": "module",
|
|
32
30
|
"publishConfig": {
|