@dialpad/i18n 1.24.1 → 1.25.3
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/docs/README.md +2 -4
- package/package.json +7 -7
package/docs/README.md
CHANGED
|
@@ -351,9 +351,6 @@ await createHost(hostEnv)
|
|
|
351
351
|
|
|
352
352
|
### User's locale selection criteria
|
|
353
353
|
|
|
354
|
-
You will find that this API is (and should always be) the same as the
|
|
355
|
-
[i18n-vue2 tool](../../i18n-vue2/docs/README.md).
|
|
356
|
-
|
|
357
354
|
When instantiating the LocaleManager (or when calling setI18N), the
|
|
358
355
|
preferredLocale and allowedLocales parameters are optional. BUT this is the
|
|
359
356
|
following criteria to select it.
|
|
@@ -723,5 +720,6 @@ github action when a PR to main is merged.
|
|
|
723
720
|
|
|
724
721
|
- [Fluent docs](https://github.com/projectfluent/fluent/wiki)
|
|
725
722
|
- [I18n best practices](https://localization.blog/2022/05/16/i18n-best-practices-keep-it-together/)
|
|
723
|
+
- [i18n-goblin-core docs](../../i18n-goblin-core/docs/README.md)
|
|
724
|
+
- [i18n-goblin-services docs](../../i18n-goblin-services/docs/README.md)
|
|
726
725
|
- [i18n-services docs (deprecated)](../../i18n-services/docs/README.md)
|
|
727
|
-
- [i18n for vue2 docs (deprecated)](../../i18n-vue2/docs/README.md)
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@dialpad/i18n",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.25.3",
|
|
4
4
|
"private": false,
|
|
5
5
|
"description": "Internationalization library for Vue 3 apps using Mozilla's Fluent syntax, with locale management, translation bundle loading, and CLI tools for translation workflows",
|
|
6
6
|
"keywords": [
|
|
@@ -28,7 +28,7 @@
|
|
|
28
28
|
"lint:ci": "echo 'needs migration to use @dialpad/eslint-config'",
|
|
29
29
|
"format": "prettier ./ --write",
|
|
30
30
|
"format:ci": "prettier ./ --check",
|
|
31
|
-
"test": "vitest",
|
|
31
|
+
"test": "vitest run --passWithNoTests",
|
|
32
32
|
"test:ci": "echo 'no tests'",
|
|
33
33
|
"coverage": "vitest run --coverage --passWithNoTests",
|
|
34
34
|
"coverage:open": "rushx coverage && open coverage/index.html",
|
|
@@ -39,20 +39,20 @@
|
|
|
39
39
|
"types:check": "tsc --noEmit"
|
|
40
40
|
},
|
|
41
41
|
"dependencies": {
|
|
42
|
-
"@dialpad/i18n-goblin-core": "1.0
|
|
43
|
-
"@dialpad/i18n-goblin-services": "1.
|
|
42
|
+
"@dialpad/i18n-goblin-core": "1.2.0",
|
|
43
|
+
"@dialpad/i18n-goblin-services": "1.3.0"
|
|
44
44
|
},
|
|
45
45
|
"devDependencies": {
|
|
46
46
|
"@dialpad/eslint-config": "workspace:*",
|
|
47
|
-
"@vitejs/plugin-vue": "~
|
|
47
|
+
"@vitejs/plugin-vue": "~6.0.5",
|
|
48
48
|
"npm-run-all": "4.1.5",
|
|
49
49
|
"prettier": "~3.3.3",
|
|
50
50
|
"typescript": "~5.6.3",
|
|
51
|
-
"vite": "~
|
|
51
|
+
"vite": "~8.0.1",
|
|
52
52
|
"vue": "~3.5.12",
|
|
53
53
|
"eslint": "~9.13.0",
|
|
54
54
|
"vue-tsc": "~3.1.1",
|
|
55
|
-
"vitest": "~
|
|
55
|
+
"vitest": "~4.1.0"
|
|
56
56
|
},
|
|
57
57
|
"exports": {
|
|
58
58
|
"import": "./dist/i18n.js",
|