@nexusts/i18n 0.9.0 → 0.9.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/dist/index.d.ts +3 -3
- package/dist/types.d.ts +2 -2
- package/package.json +2 -2
package/dist/index.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
*
|
|
2
|
+
* `@nexusts/i18n` — internationalization for the Bun-native stack.
|
|
3
3
|
*
|
|
4
4
|
* Public API:
|
|
5
5
|
* - `I18nService` — the main service. Translates messages,
|
|
@@ -16,8 +16,8 @@
|
|
|
16
16
|
*
|
|
17
17
|
* Quick start:
|
|
18
18
|
*
|
|
19
|
-
* import { Module } from "
|
|
20
|
-
* import { I18nModule, I18nService, I18N_SERVICE_TOKEN } from "
|
|
19
|
+
* import { Module } from "@nexusts/core";
|
|
20
|
+
* import { I18nModule, I18nService, I18N_SERVICE_TOKEN } from "@nexusts/i18n";
|
|
21
21
|
*
|
|
22
22
|
* @Module({
|
|
23
23
|
* imports: [
|
package/dist/types.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* Public types for
|
|
2
|
+
* Public types for `@nexusts/i18n`.
|
|
3
3
|
*
|
|
4
|
-
*
|
|
4
|
+
* `@nexusts/i18n` provides locale-aware translation and formatting
|
|
5
5
|
* for the Bun-native stack. It uses Node's built-in `Intl` API
|
|
6
6
|
* for date / number / currency / pluralization — zero external
|
|
7
7
|
* dependencies.
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@nexusts/i18n",
|
|
3
|
-
"version": "0.9.
|
|
3
|
+
"version": "0.9.2",
|
|
4
4
|
"description": "Internationalization (Intl-based, pluralization)",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "./dist/index.js",
|
|
@@ -26,7 +26,7 @@
|
|
|
26
26
|
],
|
|
27
27
|
"license": "MIT",
|
|
28
28
|
"dependencies": {
|
|
29
|
-
"@nexusts/core": "^0.9.
|
|
29
|
+
"@nexusts/core": "^0.9.2"
|
|
30
30
|
},
|
|
31
31
|
"repository": {
|
|
32
32
|
"type": "git",
|