@dialpad/i18n 1.25.0 → 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 +0 -4
- package/package.json +25 -25
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.
|
|
@@ -726,4 +723,3 @@ github action when a PR to main is merged.
|
|
|
726
723
|
- [i18n-goblin-core docs](../../i18n-goblin-core/docs/README.md)
|
|
727
724
|
- [i18n-goblin-services docs](../../i18n-goblin-services/docs/README.md)
|
|
728
725
|
- [i18n-services docs (deprecated)](../../i18n-services/docs/README.md)
|
|
729
|
-
- [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.25.
|
|
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": [
|
|
@@ -21,21 +21,38 @@
|
|
|
21
21
|
"docs",
|
|
22
22
|
"index.ts"
|
|
23
23
|
],
|
|
24
|
+
"scripts": {
|
|
25
|
+
"typecheck": "rushx types:check",
|
|
26
|
+
"typecheck:ci": "rushx typecheck",
|
|
27
|
+
"lint": "echo 'needs migration to use @dialpad/eslint-config'",
|
|
28
|
+
"lint:ci": "echo 'needs migration to use @dialpad/eslint-config'",
|
|
29
|
+
"format": "prettier ./ --write",
|
|
30
|
+
"format:ci": "prettier ./ --check",
|
|
31
|
+
"test": "vitest run --passWithNoTests",
|
|
32
|
+
"test:ci": "echo 'no tests'",
|
|
33
|
+
"coverage": "vitest run --coverage --passWithNoTests",
|
|
34
|
+
"coverage:open": "rushx coverage && open coverage/index.html",
|
|
35
|
+
"build": "run-p build:*",
|
|
36
|
+
"build:main": "vite build --config vite.config.ts",
|
|
37
|
+
"build:types": "rushx types:build",
|
|
38
|
+
"types:build": "tsc",
|
|
39
|
+
"types:check": "tsc --noEmit"
|
|
40
|
+
},
|
|
24
41
|
"dependencies": {
|
|
25
|
-
"@dialpad/i18n-goblin-
|
|
26
|
-
"@dialpad/i18n-goblin-
|
|
42
|
+
"@dialpad/i18n-goblin-core": "1.2.0",
|
|
43
|
+
"@dialpad/i18n-goblin-services": "1.3.0"
|
|
27
44
|
},
|
|
28
45
|
"devDependencies": {
|
|
29
|
-
"@
|
|
46
|
+
"@dialpad/eslint-config": "workspace:*",
|
|
47
|
+
"@vitejs/plugin-vue": "~6.0.5",
|
|
30
48
|
"npm-run-all": "4.1.5",
|
|
31
49
|
"prettier": "~3.3.3",
|
|
32
50
|
"typescript": "~5.6.3",
|
|
33
|
-
"vite": "~
|
|
51
|
+
"vite": "~8.0.1",
|
|
34
52
|
"vue": "~3.5.12",
|
|
35
53
|
"eslint": "~9.13.0",
|
|
36
54
|
"vue-tsc": "~3.1.1",
|
|
37
|
-
"vitest": "~
|
|
38
|
-
"@dialpad/eslint-config": "2.1.2"
|
|
55
|
+
"vitest": "~4.1.0"
|
|
39
56
|
},
|
|
40
57
|
"exports": {
|
|
41
58
|
"import": "./dist/i18n.js",
|
|
@@ -59,22 +76,5 @@
|
|
|
59
76
|
"repository": {
|
|
60
77
|
"type": "git",
|
|
61
78
|
"url": "https://github.com/dialpad/goblin-client-tools"
|
|
62
|
-
},
|
|
63
|
-
"scripts": {
|
|
64
|
-
"typecheck": "rushx types:check",
|
|
65
|
-
"typecheck:ci": "rushx typecheck",
|
|
66
|
-
"lint": "echo 'needs migration to use @dialpad/eslint-config'",
|
|
67
|
-
"lint:ci": "echo 'needs migration to use @dialpad/eslint-config'",
|
|
68
|
-
"format": "prettier ./ --write",
|
|
69
|
-
"format:ci": "prettier ./ --check",
|
|
70
|
-
"test": "vitest",
|
|
71
|
-
"test:ci": "echo 'no tests'",
|
|
72
|
-
"coverage": "vitest run --coverage --passWithNoTests",
|
|
73
|
-
"coverage:open": "rushx coverage && open coverage/index.html",
|
|
74
|
-
"build": "run-p build:*",
|
|
75
|
-
"build:main": "vite build --config vite.config.ts",
|
|
76
|
-
"build:types": "rushx types:build",
|
|
77
|
-
"types:build": "tsc",
|
|
78
|
-
"types:check": "tsc --noEmit"
|
|
79
79
|
}
|
|
80
|
-
}
|
|
80
|
+
}
|