@fluentic/i18n 0.0.0-stage → 0.1.0-beta.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/CHANGELOG.md +23 -0
- package/LICENSE +21 -0
- package/README.md +29 -2
- package/dist/adapter.d.ts +6 -0
- package/dist/adapter.js +5 -0
- package/dist/compact-E3zj3Z8d.js +34 -0
- package/dist/compact-E3zj3Z8d.js.map +1 -0
- package/dist/compiled.d.ts +29 -0
- package/dist/compiled.js +53 -0
- package/dist/compiled.js.map +1 -0
- package/dist/compiler-support.d.ts +4 -0
- package/dist/compiler-support.js +4 -0
- package/dist/core/format.d.ts +11 -0
- package/dist/core/i18n.d.ts +26 -0
- package/dist/core/index.d.ts +1 -0
- package/dist/core/index.js +5 -0
- package/dist/core/types.d.ts +79 -0
- package/dist/hash-VJlyT31Z.js +90 -0
- package/dist/hash-VJlyT31Z.js.map +1 -0
- package/dist/hydration-store-BK6UxrtJ.js +13 -0
- package/dist/hydration-store-BK6UxrtJ.js.map +1 -0
- package/dist/hydration-store.d.ts +29 -0
- package/dist/hydration.d.ts +7 -0
- package/dist/hydration.js +35 -0
- package/dist/hydration.js.map +1 -0
- package/dist/index.d.ts +6 -0
- package/dist/index.js +5 -0
- package/dist/interpreter-BfzvLLrD.js +187 -0
- package/dist/interpreter-BfzvLLrD.js.map +1 -0
- package/dist/manager-BgMJWXWY.js +183 -0
- package/dist/manager-BgMJWXWY.js.map +1 -0
- package/dist/manager.d.ts +62 -0
- package/dist/message-D4jK2Lzc.js +9 -0
- package/dist/message-D4jK2Lzc.js.map +1 -0
- package/dist/react.d.ts +48 -0
- package/dist/react.js +64 -0
- package/dist/react.js.map +1 -0
- package/dist/registry-manager.d.ts +7 -0
- package/dist/runtime-DXnGeCBw.js +110 -0
- package/dist/runtime-DXnGeCBw.js.map +1 -0
- package/dist/shared/compact.d.ts +5 -0
- package/dist/shared/formatting.d.ts +11 -0
- package/dist/shared/hash.d.ts +7 -0
- package/dist/shared/interpreter.d.ts +2 -0
- package/dist/shared/message.d.ts +2 -0
- package/dist/shared/runtime.d.ts +49 -0
- package/dist/src-ON68XIog.js +144 -0
- package/dist/src-ON68XIog.js.map +1 -0
- package/dist/state-manager.d.ts +6 -0
- package/dist/state.d.ts +8 -0
- package/dist/storage-manager.d.ts +14 -0
- package/dist/translation-manager-BkmFnlb_.js +114 -0
- package/dist/translation-manager-BkmFnlb_.js.map +1 -0
- package/dist/translation-manager.d.ts +34 -0
- package/dist/translation.d.ts +20 -0
- package/dist/types-BkDsJfVD.js +13 -0
- package/dist/types-BkDsJfVD.js.map +1 -0
- package/dist/types.d.ts +3 -0
- package/dist/types.js +1 -0
- package/package.json +96 -3
package/package.json
CHANGED
|
@@ -1,6 +1,99 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@fluentic/i18n",
|
|
3
|
-
"version": "0.
|
|
4
|
-
"
|
|
5
|
-
"
|
|
3
|
+
"version": "0.1.0-beta.2",
|
|
4
|
+
"description": "Framework-independent internationalization primitives for Fluentic applications.",
|
|
5
|
+
"license": "MIT",
|
|
6
|
+
"repository": {
|
|
7
|
+
"type": "git",
|
|
8
|
+
"url": "git+https://github.com/fluentic-dev/i18n.git",
|
|
9
|
+
"directory": "packages/i18n"
|
|
10
|
+
},
|
|
11
|
+
"homepage": "https://fluenticstack.com/i18n/",
|
|
12
|
+
"bugs": {
|
|
13
|
+
"url": "https://github.com/fluentic-dev/i18n/issues"
|
|
14
|
+
},
|
|
15
|
+
"type": "module",
|
|
16
|
+
"keywords": [
|
|
17
|
+
"i18n",
|
|
18
|
+
"internationalization",
|
|
19
|
+
"localization",
|
|
20
|
+
"typescript"
|
|
21
|
+
],
|
|
22
|
+
"publishConfig": {
|
|
23
|
+
"access": "public"
|
|
24
|
+
},
|
|
25
|
+
"exports": {
|
|
26
|
+
".": {
|
|
27
|
+
"types": "./dist/index.d.ts",
|
|
28
|
+
"import": "./dist/index.js",
|
|
29
|
+
"default": "./dist/index.js"
|
|
30
|
+
},
|
|
31
|
+
"./core": {
|
|
32
|
+
"types": "./dist/core/index.d.ts",
|
|
33
|
+
"import": "./dist/core/index.js",
|
|
34
|
+
"default": "./dist/core/index.js"
|
|
35
|
+
},
|
|
36
|
+
"./adapter": {
|
|
37
|
+
"types": "./dist/adapter.d.ts",
|
|
38
|
+
"import": "./dist/adapter.js",
|
|
39
|
+
"default": "./dist/adapter.js"
|
|
40
|
+
},
|
|
41
|
+
"./react": {
|
|
42
|
+
"types": "./dist/react.d.ts",
|
|
43
|
+
"import": "./dist/react.js",
|
|
44
|
+
"default": "./dist/react.js"
|
|
45
|
+
},
|
|
46
|
+
"./hydration": {
|
|
47
|
+
"types": "./dist/hydration.d.ts",
|
|
48
|
+
"import": "./dist/hydration.js",
|
|
49
|
+
"default": "./dist/hydration.js"
|
|
50
|
+
},
|
|
51
|
+
"./types": {
|
|
52
|
+
"types": "./dist/types.d.ts",
|
|
53
|
+
"import": "./dist/types.js",
|
|
54
|
+
"default": "./dist/types.js"
|
|
55
|
+
},
|
|
56
|
+
"./compiled": {
|
|
57
|
+
"types": "./dist/compiled.d.ts",
|
|
58
|
+
"default": "./dist/compiled.js"
|
|
59
|
+
},
|
|
60
|
+
"./compiler-support": {
|
|
61
|
+
"types": "./dist/compiler-support.d.ts",
|
|
62
|
+
"default": "./dist/compiler-support.js"
|
|
63
|
+
}
|
|
64
|
+
},
|
|
65
|
+
"files": [
|
|
66
|
+
"dist",
|
|
67
|
+
"README.md",
|
|
68
|
+
"CHANGELOG.md",
|
|
69
|
+
"LICENSE"
|
|
70
|
+
],
|
|
71
|
+
"dependencies": {
|
|
72
|
+
"intl-messageformat": "^10.7.16"
|
|
73
|
+
},
|
|
74
|
+
"devDependencies": {
|
|
75
|
+
"@types/react": "^19.2.14",
|
|
76
|
+
"react": "^19.2.0",
|
|
77
|
+
"react-test-renderer": "19.3.1",
|
|
78
|
+
"tsdown": "^0.22.1",
|
|
79
|
+
"typescript": "^7.0.2"
|
|
80
|
+
},
|
|
81
|
+
"peerDependencies": {
|
|
82
|
+
"react": ">=18"
|
|
83
|
+
},
|
|
84
|
+
"peerDependenciesMeta": {
|
|
85
|
+
"react": {
|
|
86
|
+
"optional": true
|
|
87
|
+
}
|
|
88
|
+
},
|
|
89
|
+
"sideEffects": [
|
|
90
|
+
"./dist/react.js"
|
|
91
|
+
],
|
|
92
|
+
"scripts": {
|
|
93
|
+
"build": "tsdown && tsc -p tsconfig.build.json",
|
|
94
|
+
"dev": "tsdown --watch",
|
|
95
|
+
"typecheck": "tsc -p tsconfig.json --noEmit",
|
|
96
|
+
"test": "pnpm test:types && pnpm build && node --test test/*.test.mjs",
|
|
97
|
+
"test:types": "tsc --ignoreConfig --noEmit --strict --skipLibCheck --esModuleInterop --module ESNext --moduleResolution Bundler --target ES2020 --lib ES2022,DOM --jsx react-jsx test/react.types.tsx test/compiled.types.ts"
|
|
98
|
+
}
|
|
6
99
|
}
|