@kitr/i18n 0.2.1 → 0.3.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.
Files changed (2) hide show
  1. package/docs/index.md +3 -3
  2. package/package.json +3 -3
package/docs/index.md CHANGED
@@ -466,7 +466,7 @@ The provider binds the instance as `i18n` in the container. Read it where there
466
466
 
467
467
  ```ts
468
468
  // app/lib/orders/notify.ts
469
- import type { KitrApp } from 'kitr/app'
469
+ import type { KitrApp } from '@kitr/kitr/app'
470
470
 
471
471
  export function orderSavedMessage(app: KitrApp, orderId: string) {
472
472
  const i18n = app.container.use('i18n')
@@ -500,7 +500,7 @@ Every bundle in `resources` ships in the main JavaScript bundle. Load rarely use
500
500
 
501
501
  ```ts
502
502
  // app/lib/settings/load-language.ts
503
- import type { KitrApp } from 'kitr/app'
503
+ import type { KitrApp } from '@kitr/kitr/app'
504
504
 
505
505
  export async function useFrench(app: KitrApp) {
506
506
  const i18n = app.container.use('i18n')
@@ -534,7 +534,7 @@ A key missing in German shows the English string. A key that exists nowhere show
534
534
 
535
535
  ```ts
536
536
  // app/lib/orders/missing.ts
537
- import type { KitrApp } from 'kitr/app'
537
+ import type { KitrApp } from '@kitr/kitr/app'
538
538
 
539
539
  export function demo(app: KitrApp) {
540
540
  const i18n = app.container.use('i18n')
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@kitr/i18n",
3
- "version": "0.2.1",
3
+ "version": "0.3.0",
4
4
  "description": "@kitr/i18n: react-i18next re-exported, plus typed keys and locale helpers.",
5
5
  "kitr": {
6
6
  "name": "i18n",
@@ -48,7 +48,7 @@
48
48
  "docs"
49
49
  ],
50
50
  "dependencies": {
51
- "@kitr/core": "0.2.1"
51
+ "@kitr/core": "0.3.0"
52
52
  },
53
53
  "peerDependencies": {
54
54
  "react": ">=18.0.0",
@@ -62,7 +62,7 @@
62
62
  "@types/react": "^19.3.0",
63
63
  "i18next": "^27.0.0",
64
64
  "react-i18next": "^18.0.0",
65
- "@kitr/react": "0.2.1"
65
+ "@kitr/react": "0.3.0"
66
66
  },
67
67
  "keywords": [
68
68
  "kitr",