@intlayer/nuxtjs-i18n 9.7.1 → 9.7.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.
@@ -1,9 +1,9 @@
1
1
  import { defaultLocale, detectBrowserLocale, getActiveLocale, getCurrentFullPath, getRouter, localeCodes, localizeFullPath, strategy } from "./routing.mjs";
2
- import { computed } from "vue";
2
+ import { useDictionary as useDictionary$1, useDictionaryDynamic as useDictionaryDynamic$1, useI18n as useI18n$1 } from "@intlayer/vue-i18n";
3
3
  import { getHTMLTextDir, getLocaleName } from "@intlayer/core/localization";
4
4
  import { getCachedLocaleFromStorageClient, localeStorageOptions, setLocaleInStorageClient } from "@intlayer/core/utils";
5
+ import { computed } from "vue";
5
6
  import { createIntlayerClient } from "vue-intlayer";
6
- import { useDictionary as useDictionary$1, useDictionaryDynamic as useDictionaryDynamic$1, useI18n as useI18n$1 } from "@intlayer/vue-i18n";
7
7
 
8
8
  // src/runtime/composer.ts
9
9
  /** The @nuxtjs/i18n locale object describing a locale code. */
@@ -1,7 +1,7 @@
1
- import { computed, getCurrentInstance, ref } from "vue";
2
1
  import { internationalization, routing } from "@intlayer/config/built";
3
2
  import { getHTMLTextDir, getLocalizedUrl, getPathWithoutLocale } from "@intlayer/core/localization";
4
3
  import { getCachedLocaleFromStorageClient } from "@intlayer/core/utils";
4
+ import { computed, getCurrentInstance, ref } from "vue";
5
5
  import { createIntlayerClient } from "vue-intlayer";
6
6
 
7
7
  // src/runtime/routing.ts
package/package.json CHANGED
@@ -1,25 +1,21 @@
1
1
  {
2
2
  "name": "@intlayer/nuxtjs-i18n",
3
- "version": "9.7.1",
3
+ "version": "9.7.3",
4
4
  "private": false,
5
5
  "description": "@nuxtjs/i18n API adapter for intlayer — drop-in compatibility layer",
6
6
  "keywords": [
7
+ "adapter",
8
+ "compatibility",
9
+ "i18n",
7
10
  "intlayer",
8
- "nuxtjs-i18n",
9
11
  "nuxt",
10
- "vue",
11
- "i18n",
12
- "adapter",
13
- "compatibility"
12
+ "nuxtjs-i18n",
13
+ "vue"
14
14
  ],
15
15
  "homepage": "https://intlayer.org",
16
16
  "bugs": {
17
17
  "url": "https://github.com/aymericzip/intlayer/issues"
18
18
  },
19
- "repository": {
20
- "type": "git",
21
- "url": "git+https://github.com/aymericzip/intlayer.git"
22
- },
23
19
  "license": "Apache-2.0",
24
20
  "author": {
25
21
  "name": "Aymeric PINEAU",
@@ -32,7 +28,18 @@
32
28
  "url": "https://github.com/aymericzip"
33
29
  }
34
30
  ],
31
+ "repository": {
32
+ "type": "git",
33
+ "url": "git+https://github.com/aymericzip/intlayer.git"
34
+ },
35
+ "files": [
36
+ "./dist",
37
+ "./package.json"
38
+ ],
35
39
  "sideEffects": false,
40
+ "main": "dist/esm/index.mjs",
41
+ "module": "dist/esm/index.mjs",
42
+ "types": "dist/types/index.d.ts",
36
43
  "exports": {
37
44
  ".": {
38
45
  "types": "./dist/types/index.d.ts",
@@ -44,22 +51,15 @@
44
51
  },
45
52
  "./package.json": "./package.json"
46
53
  },
47
- "main": "dist/esm/index.mjs",
48
- "module": "dist/esm/index.mjs",
49
- "types": "dist/types/index.d.ts",
50
- "files": [
51
- "./dist",
52
- "./package.json"
53
- ],
54
54
  "scripts": {
55
55
  "build": "bun --bun tsdown --config tsdown.config.ts",
56
56
  "build:ci": "bun --bun tsdown --config tsdown.config.ts",
57
57
  "clean": "bun --bun rimraf ./dist .turbo",
58
58
  "dev": "bun --bun tsdown --config tsdown.config.ts --watch",
59
- "format": "bun --bun biome format . --check",
60
- "format:fix": "bun --bun biome format --write .",
61
- "lint": "bun --bun biome lint .",
62
- "lint:fix": "bun --bun biome lint --write .",
59
+ "format": "oxfmt --check .",
60
+ "format:fix": "oxfmt .",
61
+ "lint": "oxlint .",
62
+ "lint:fix": "oxlint --fix .",
63
63
  "prepublish": "cp -f ../../README.md ./README.md",
64
64
  "publish": "bun publish || true",
65
65
  "publish:canary": "bun publish --access public --tag canary || true",
@@ -70,12 +70,12 @@
70
70
  "typecheck": "tsc --noEmit --project tsconfig.types.json"
71
71
  },
72
72
  "dependencies": {
73
- "@intlayer/config": "9.7.1",
74
- "@intlayer/core": "9.7.1",
75
- "@intlayer/types": "9.7.1",
76
- "@intlayer/vue-i18n": "9.7.1",
77
- "nuxt-intlayer": "9.7.1",
78
- "vue-intlayer": "9.7.1"
73
+ "@intlayer/config": "9.7.3",
74
+ "@intlayer/core": "9.7.3",
75
+ "@intlayer/types": "9.7.3",
76
+ "@intlayer/vue-i18n": "9.7.3",
77
+ "nuxt-intlayer": "9.7.3",
78
+ "vue-intlayer": "9.7.3"
79
79
  },
80
80
  "devDependencies": {
81
81
  "@nuxt/kit": "4.6.4",
@@ -85,8 +85,8 @@
85
85
  "@utils/ts-config": "1.0.4",
86
86
  "@utils/ts-config-types": "1.0.4",
87
87
  "@utils/tsdown-config": "1.0.4",
88
- "rimraf": "6.1.3",
89
- "tsdown": "0.23.4",
88
+ "rimraf": "6.1.4",
89
+ "tsdown": "0.23.7",
90
90
  "typescript": "7.0.2",
91
91
  "vitest": "5.1.0",
92
92
  "vue": "3.5.44",