next-intlayer 7.2.3 → 7.3.0-canary.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.
package/README.md CHANGED
@@ -24,6 +24,8 @@
24
24
  <a href="https://github.com/aymericzip/intlayer/blob/main/LICENSE" target="_blank" rel="noopener noreferrer nofollow"><img src="https://img.shields.io/github/license/aymericzip/intlayer?style=for-the-badge&labelColor=000000&color=FFFFFF&logoColor=000000&cacheSeconds=86400" alt="license"/></a>
25
25
  <a href="https://github.com/aymericzip/intlayer/commits/main" target="_blank" rel="noopener noreferrer nofollow"><img src="https://img.shields.io/github/last-commit/aymericzip/intlayer?style=for-the-badge&labelColor=000000&color=FFFFFF&logoColor=000000&cacheSeconds=86400" alt="last commit"/>
26
26
  </a>
27
+ <a href="https://bountyhub.dev/bounties?repo=intlayer" target="_blank" rel="noopener noreferrer nofollow"><img src="https://img.shields.io/badge/Bounties-on%20BountyHub-yellow?style=for-the-badge&labelColor=000000&color=FFFFFF&logoColor=000000&cacheSeconds=86400" alt="Bounties on BountyHub"/>
28
+ </a>
27
29
  </p>
28
30
 
29
31
  ![Watch the video](https://github.com/aymericzip/intlayer/blob/main/docs/assets/demo_video.gif)
@@ -1,4 +1,4 @@
1
- import * as _intlayer_types0 from "@intlayer/types";
1
+ import * as _intlayer_types3 from "@intlayer/types";
2
2
  import { LocalesValues } from "@intlayer/types";
3
3
 
4
4
  //#region src/client/useLocale.d.ts
@@ -9,9 +9,9 @@ declare const useLocale: ({
9
9
  onChange
10
10
  }?: UseLocaleProps) => {
11
11
  pathWithoutLocale: string;
12
- locale: _intlayer_types0.DeclaredLocales;
13
- defaultLocale: _intlayer_types0.DeclaredLocales;
14
- availableLocales: _intlayer_types0.DeclaredLocales[];
12
+ locale: _intlayer_types3.DeclaredLocales;
13
+ defaultLocale: _intlayer_types3.DeclaredLocales;
14
+ availableLocales: _intlayer_types3.DeclaredLocales[];
15
15
  setLocale: (locale: LocalesValues) => void;
16
16
  };
17
17
  //#endregion
@@ -1 +1 @@
1
- {"version":3,"file":"useLocale.d.ts","names":[],"sources":["../../../src/client/useLocale.ts"],"sourcesContent":[],"mappings":";;;;KAQK,cAAA;4CACuC;;AADvC,cAkBQ,SAlBM,EACyB,CAAA;EAAA;AAAa,CAAA,CAAA,EAiBjB,cAjBiB,EAAA,GAAA;EAiB5C,iBAiCZ,EAAA,MAAA;EAjCyB,MAAA,EAAiC,gBAAA,CAAA,eAAjC;EAAc,aAAA,kCAAA;EAAmB,gBAAA,oCAAA"}
1
+ {"version":3,"file":"useLocale.d.ts","names":[],"sources":["../../../src/client/useLocale.ts"],"sourcesContent":[],"mappings":";;;;KAQK,cAAA;4CACuC;;AADvC,cAkBQ,SAlBM,EAAA,CACyB;EAAA;AAAa,CAAA,CAAb,EAiBJ,cAjBiB,EAAA,GAAA;EAiB5C,iBAiCZ,EAAA,MAAA;EAjCyB,MAAA,EAAiC,gBAAA,CAAA,eAAjC;EAAc,aAAA,kCAAA;EAAmB,gBAAA,oCAAA"}
@@ -1,12 +1,12 @@
1
- import * as _intlayer_types3 from "@intlayer/types";
1
+ import * as _intlayer_types0 from "@intlayer/types";
2
2
  import { LocalesValues } from "@intlayer/types";
3
3
 
4
4
  //#region src/client/useLocalePageRouter.d.ts
5
5
  declare const useLocalePageRouter: () => {
6
6
  pathWithoutLocale: string;
7
- locale: _intlayer_types3.DeclaredLocales;
8
- defaultLocale: _intlayer_types3.DeclaredLocales;
9
- availableLocales: _intlayer_types3.DeclaredLocales[];
7
+ locale: _intlayer_types0.DeclaredLocales;
8
+ defaultLocale: _intlayer_types0.DeclaredLocales;
9
+ availableLocales: _intlayer_types0.DeclaredLocales[];
10
10
  setLocale: (locale: LocalesValues) => void;
11
11
  };
12
12
  //#endregion
@@ -1,8 +1,8 @@
1
- import * as _intlayer_types0 from "@intlayer/types";
1
+ import * as _intlayer_types2 from "@intlayer/types";
2
2
 
3
3
  //#region src/generateStaticParams.d.ts
4
4
  declare const generateStaticParams: () => {
5
- locale: _intlayer_types0.Locale;
5
+ locale: _intlayer_types2.Locale;
6
6
  }[];
7
7
  //#endregion
8
8
  export { generateStaticParams };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "next-intlayer",
3
- "version": "7.2.3",
3
+ "version": "7.3.0-canary.0",
4
4
  "private": false,
5
5
  "description": "Simplify internationalization i18n in Next.js with context providers, hooks, locale detection, and multilingual content integration.",
6
6
  "keywords": [
@@ -117,16 +117,16 @@
117
117
  "typecheck": "tsc --noEmit --project tsconfig.types.json"
118
118
  },
119
119
  "dependencies": {
120
- "@intlayer/chokidar": "7.2.3",
121
- "@intlayer/config": "7.2.3",
122
- "@intlayer/core": "7.2.3",
123
- "@intlayer/dictionaries-entry": "7.2.3",
124
- "@intlayer/types": "7.2.3",
125
- "@intlayer/webpack": "7.2.3",
120
+ "@intlayer/chokidar": "7.3.0-canary.0",
121
+ "@intlayer/config": "7.3.0-canary.0",
122
+ "@intlayer/core": "7.3.0-canary.0",
123
+ "@intlayer/dictionaries-entry": "7.3.0-canary.0",
124
+ "@intlayer/types": "7.3.0-canary.0",
125
+ "@intlayer/webpack": "7.3.0-canary.0",
126
126
  "deepmerge": "4.3.1",
127
127
  "fast-glob": "3.3.3",
128
128
  "node-loader": "2.1.0",
129
- "react-intlayer": "7.2.3"
129
+ "react-intlayer": "7.3.0-canary.0"
130
130
  },
131
131
  "devDependencies": {
132
132
  "@types/node": "24.10.1",
@@ -138,7 +138,7 @@
138
138
  "rimraf": "6.1.2",
139
139
  "tsdown": "0.16.6",
140
140
  "typescript": "5.9.3",
141
- "vitest": "4.0.12"
141
+ "vitest": "4.0.13"
142
142
  },
143
143
  "peerDependencies": {
144
144
  "next": ">=14.0.0",