@i18n-micro/types 1.2.17 → 1.2.18

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.cts CHANGED
@@ -587,6 +587,11 @@ export interface ModuleOptionsExtend extends ModuleOptions {
587
587
  export interface ModulePrivateOptionsExtend extends ModuleOptions {
588
588
  /** Absolute path to the Nuxt project root directory. */
589
589
  rootDir: string;
590
+ /**
591
+ * Absolute Nuxt layer roots in merge order (extends first, project last).
592
+ * Used by live/HMR translation reads so layers match build-time merge.
593
+ */
594
+ rootDirs: string[];
590
595
  /** Resolved debug flag. */
591
596
  debug: boolean;
592
597
  /** Resolved path to the translations directory. */
package/dist/index.d.ts CHANGED
@@ -587,6 +587,11 @@ export interface ModuleOptionsExtend extends ModuleOptions {
587
587
  export interface ModulePrivateOptionsExtend extends ModuleOptions {
588
588
  /** Absolute path to the Nuxt project root directory. */
589
589
  rootDir: string;
590
+ /**
591
+ * Absolute Nuxt layer roots in merge order (extends first, project last).
592
+ * Used by live/HMR translation reads so layers match build-time merge.
593
+ */
594
+ rootDirs: string[];
590
595
  /** Resolved debug flag. */
591
596
  debug: boolean;
592
597
  /** Resolved path to the translations directory. */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@i18n-micro/types",
3
- "version": "1.2.17",
3
+ "version": "1.2.18",
4
4
  "description": "TypeScript definitions for the Nuxt I18n Micro ecosystem.",
5
5
  "keywords": [
6
6
  "i18n",
@@ -51,9 +51,9 @@
51
51
  },
52
52
  "devDependencies": {
53
53
  "publint": "^0.3.24",
54
- "vite": "^8.2.2",
55
- "vite-plugin-dts": "^5.1.0",
56
- "vitest": "^4.1.11"
54
+ "vite": "^8.3.1",
55
+ "vite-plugin-dts": "^5.1.1",
56
+ "vitest": "^5.0.2"
57
57
  },
58
58
  "engines": {
59
59
  "node": ">=18"