@powerlines/plugin-i18next 0.1.573 → 0.1.575

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,4 +1,3 @@
1
- //#region src/types/i18n.d.ts
2
1
  /**
3
2
  * Represents a translation resource with its namespace name and content
4
3
  */
@@ -18,6 +17,5 @@ interface Resource {
18
17
  */
19
18
  resources: ResourceContent;
20
19
  }
21
- //#endregion
22
20
  export { ResourceContent as n, Resource as t };
23
- //# sourceMappingURL=i18n-bWSQ51xe.d.cts.map
21
+ //# sourceMappingURL=i18n-BbaDg6Ol.d.cts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"i18n-BbaDg6Ol.d.cts","names":[],"sources":["../src/types/i18n.ts"],"mappings":";;;UAqBiB;GACd,uBAAuB;;;;;UAMT;;;;EAIf;;;;EAKA,WAAW"}
@@ -1,4 +1,3 @@
1
- //#region src/types/i18n.d.ts
2
1
  /**
3
2
  * Represents a translation resource with its namespace name and content
4
3
  */
@@ -18,6 +17,5 @@ interface Resource {
18
17
  */
19
18
  resources: ResourceContent;
20
19
  }
21
- //#endregion
22
20
  export { ResourceContent as n, Resource as t };
23
- //# sourceMappingURL=i18n-bWSQ51xe.d.mts.map
21
+ //# sourceMappingURL=i18n-BbaDg6Ol.d.mts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"i18n-BbaDg6Ol.d.mts","names":[],"sources":["../src/types/i18n.ts"],"mappings":""}
package/dist/index.cjs CHANGED
@@ -1,5 +1,5 @@
1
1
  Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
2
- //#region \0rolldown/runtime.js
2
+ // \0rolldown/runtime.js
3
3
  var __create = Object.create;
4
4
  var __defProp = Object.defineProperty;
5
5
  var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
@@ -25,8 +25,7 @@ var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__ge
25
25
  enumerable: true
26
26
  }) : target, mod));
27
27
 
28
- //#endregion
29
- require('./types/index.cjs');
28
+ require("./types/index.cjs");
30
29
  let _stryke_fs_list_files = require("@stryke/fs/list-files");
31
30
  let _stryke_path_append = require("@stryke/path/append");
32
31
  let _stryke_path_file_path_fns = require("@stryke/path/file-path-fns");
@@ -40,7 +39,7 @@ let i18next_cli = require("i18next-cli");
40
39
  let i18next_resources_for_ts = require("i18next-resources-for-ts");
41
40
  let _stryke_path_correct_path = require("@stryke/path/correct-path");
42
41
 
43
- //#region src/helpers/config-utils.ts
42
+ // src/helpers/config-utils.ts
44
43
  /**
45
44
  * Resolve an output template (string or function) into an actual path string.
46
45
  *
@@ -67,8 +66,7 @@ function getOutputPath(outputTemplate, language, namespace) {
67
66
  return (0, _stryke_path_correct_path.correctPath)(out);
68
67
  }
69
68
 
70
- //#endregion
71
- //#region src/index.ts
69
+ // src/index.ts
72
70
  /**
73
71
  * i18next Plugin
74
72
  *
@@ -186,5 +184,4 @@ declare module 'i18next' {
186
184
  };
187
185
  };
188
186
 
189
- //#endregion
190
187
  exports.plugin = plugin;
package/dist/index.d.cts CHANGED
@@ -1,8 +1,7 @@
1
1
  import { I18NextPluginContext, I18NextPluginOptions, I18NextPluginResolvedConfig, I18NextPluginUserConfig } from "./types/plugin.cjs";
2
- import { n as ResourceContent, t as Resource } from "./i18n-bWSQ51xe.cjs";
2
+ import { n as ResourceContent, t as Resource } from "./i18n-BbaDg6Ol.cjs";
3
3
  import "./types/index.cjs";
4
4
  import { Plugin } from "powerlines";
5
- //#region src/index.d.ts
6
5
  declare module "powerlines" {
7
6
  interface Config {
8
7
  i18next?: I18NextPluginOptions;
@@ -20,6 +19,5 @@ declare module "powerlines" {
20
19
  * @returns A Powerlines plugin instance.
21
20
  */
22
21
  declare const plugin: <TContext extends I18NextPluginContext = I18NextPluginContext>(options?: I18NextPluginOptions) => Plugin<TContext>;
23
- //#endregion
24
22
  export { I18NextPluginContext, I18NextPluginOptions, I18NextPluginResolvedConfig, I18NextPluginUserConfig, Resource, ResourceContent, plugin };
25
23
  //# sourceMappingURL=index.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.cts","names":[],"sources":["../src/index.ts"],"mappings":";;;;;;YAwCY;IACR,UAAU;;;;;;;;;;;;;;cAeD,SACX,iBAAiB,uBAAuB,sBAExC,UAAS,yBACR,OAAO"}
1
+ {"version":3,"file":"index.d.cts","names":[],"sources":["../src/index.ts"],"mappings":";;;;;YAwCY;IACR,UAAU;;;;;;;;;;;;;;cAeD,SACX,iBAAiB,uBAAuB,sBAExC,UAAS,yBACR,OAAO"}
package/dist/index.d.mts CHANGED
@@ -1,8 +1,7 @@
1
1
  import { I18NextPluginContext, I18NextPluginOptions, I18NextPluginResolvedConfig, I18NextPluginUserConfig } from "./types/plugin.mjs";
2
- import { n as ResourceContent, t as Resource } from "./i18n-bWSQ51xe.mjs";
2
+ import { n as ResourceContent, t as Resource } from "./i18n-BbaDg6Ol.mjs";
3
3
  import "./types/index.mjs";
4
4
  import { Plugin } from "powerlines";
5
- //#region src/index.d.ts
6
5
  declare module "powerlines" {
7
6
  interface Config {
8
7
  i18next?: I18NextPluginOptions;
@@ -20,6 +19,5 @@ declare module "powerlines" {
20
19
  * @returns A Powerlines plugin instance.
21
20
  */
22
21
  declare const plugin: <TContext extends I18NextPluginContext = I18NextPluginContext>(options?: I18NextPluginOptions) => Plugin<TContext>;
23
- //#endregion
24
22
  export { I18NextPluginContext, I18NextPluginOptions, I18NextPluginResolvedConfig, I18NextPluginUserConfig, Resource, ResourceContent, plugin };
25
23
  //# sourceMappingURL=index.d.mts.map
package/dist/index.mjs CHANGED
@@ -11,7 +11,7 @@ import { runExtractor } from "i18next-cli";
11
11
  import { mergeResourcesAsInterface } from "i18next-resources-for-ts";
12
12
  import { correctPath } from "@stryke/path/correct-path";
13
13
 
14
- //#region src/helpers/config-utils.ts
14
+ // src/helpers/config-utils.ts
15
15
  /**
16
16
  * Resolve an output template (string or function) into an actual path string.
17
17
  *
@@ -38,8 +38,7 @@ function getOutputPath(outputTemplate, language, namespace) {
38
38
  return correctPath(out);
39
39
  }
40
40
 
41
- //#endregion
42
- //#region src/index.ts
41
+ // src/index.ts
43
42
  /**
44
43
  * i18next Plugin
45
44
  *
@@ -157,6 +156,5 @@ declare module 'i18next' {
157
156
  };
158
157
  };
159
158
 
160
- //#endregion
161
159
  export { plugin };
162
160
  //# sourceMappingURL=index.mjs.map
@@ -1,2 +1,2 @@
1
- import { n as ResourceContent, t as Resource } from "../i18n-bWSQ51xe.cjs";
1
+ import { n as ResourceContent, t as Resource } from "../i18n-BbaDg6Ol.cjs";
2
2
  export { Resource, ResourceContent };
@@ -1,2 +1,2 @@
1
- import { n as ResourceContent, t as Resource } from "../i18n-bWSQ51xe.mjs";
1
+ import { n as ResourceContent, t as Resource } from "../i18n-BbaDg6Ol.mjs";
2
2
  export { Resource, ResourceContent };
@@ -1,3 +1,3 @@
1
1
  import { I18NextPluginContext, I18NextPluginOptions, I18NextPluginResolvedConfig, I18NextPluginUserConfig } from "./plugin.cjs";
2
- import { n as ResourceContent, t as Resource } from "../i18n-bWSQ51xe.cjs";
2
+ import { n as ResourceContent, t as Resource } from "../i18n-BbaDg6Ol.cjs";
3
3
  export { I18NextPluginContext, I18NextPluginOptions, I18NextPluginResolvedConfig, I18NextPluginUserConfig, Resource, ResourceContent };
@@ -1,3 +1,3 @@
1
1
  import { I18NextPluginContext, I18NextPluginOptions, I18NextPluginResolvedConfig, I18NextPluginUserConfig } from "./plugin.mjs";
2
- import { n as ResourceContent, t as Resource } from "../i18n-bWSQ51xe.mjs";
2
+ import { n as ResourceContent, t as Resource } from "../i18n-BbaDg6Ol.mjs";
3
3
  export { I18NextPluginContext, I18NextPluginOptions, I18NextPluginResolvedConfig, I18NextPluginUserConfig, Resource, ResourceContent };
@@ -1,7 +1,6 @@
1
1
  import { PluginContext, ResolvedConfig, UserConfig } from "powerlines";
2
2
  import { DeepPartial } from "@stryke/types/base";
3
3
  import { I18nextToolkitConfig } from "i18next-cli";
4
- //#region src/types/plugin.d.ts
5
4
  type I18NextPluginOptions = DeepPartial<I18nextToolkitConfig>;
6
5
  type I18NextPluginUserConfig = UserConfig & {
7
6
  /**
@@ -24,6 +23,5 @@ type I18NextPluginResolvedConfig = ResolvedConfig & {
24
23
  };
25
24
  };
26
25
  type I18NextPluginContext<TResolvedConfig extends I18NextPluginResolvedConfig = I18NextPluginResolvedConfig> = PluginContext<TResolvedConfig>;
27
- //#endregion
28
26
  export { I18NextPluginContext, I18NextPluginOptions, I18NextPluginResolvedConfig, I18NextPluginUserConfig };
29
27
  //# sourceMappingURL=plugin.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"plugin.d.cts","names":[],"sources":["../../src/types/plugin.ts"],"mappings":";;;;KAsBY,uBAAuB,YAAY;KAEnC,0BAA0B;;;;;;;EAOpC,UAAU;;KAGA,8BAA8B;EACxC,SAAS,KAAK;IACZ,SAAS,KACP,iFAGA,SACE,KACE;IAIN,OAAO,KACL,YAAY;MAGZ;MACA;MACA;MACA;;;;KAKM,qBACV,wBAAwB,8BACtB,+BACA,cAAc"}
1
+ {"version":3,"file":"plugin.d.cts","names":[],"sources":["../../src/types/plugin.ts"],"mappings":";;;KAsBY,uBAAuB,YAAY;KAEnC,0BAA0B;;;;;;;EAOpC,UAAU;;KAGA,8BAA8B;EACxC,SAAS,KAAK;IACZ,SAAS,KACP,iFAGA,SACE,KACE;IAIN,OAAO,KACL,YAAY;MAGZ;MACA;MACA;MACA;;;;KAKM,qBACV,wBAAwB,8BACtB,+BACA,cAAc"}
@@ -1,7 +1,6 @@
1
1
  import { I18nextToolkitConfig } from "i18next-cli";
2
2
  import { PluginContext, ResolvedConfig, UserConfig } from "powerlines";
3
3
  import { DeepPartial } from "@stryke/types/base";
4
- //#region src/types/plugin.d.ts
5
4
  type I18NextPluginOptions = DeepPartial<I18nextToolkitConfig>;
6
5
  type I18NextPluginUserConfig = UserConfig & {
7
6
  /**
@@ -24,6 +23,5 @@ type I18NextPluginResolvedConfig = ResolvedConfig & {
24
23
  };
25
24
  };
26
25
  type I18NextPluginContext<TResolvedConfig extends I18NextPluginResolvedConfig = I18NextPluginResolvedConfig> = PluginContext<TResolvedConfig>;
27
- //#endregion
28
26
  export { I18NextPluginContext, I18NextPluginOptions, I18NextPluginResolvedConfig, I18NextPluginUserConfig };
29
27
  //# sourceMappingURL=plugin.d.mts.map
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@powerlines/plugin-i18next",
3
- "version": "0.1.573",
3
+ "version": "0.1.575",
4
4
  "private": false,
5
5
  "description": "A Powerlines plugin to use i18next for internationalization.",
6
6
  "keywords": ["i18next", "powerlines", "storm-software", "powerlines-plugin"],
@@ -109,14 +109,14 @@
109
109
  "@stryke/type-checks": "^0.6.49",
110
110
  "@stryke/types": "^0.12.44",
111
111
  "defu": "^6.1.7",
112
- "i18next-cli": "^1.74.4",
112
+ "i18next-cli": "^1.80.0",
113
113
  "i18next-resources-for-ts": "^2.1.1",
114
- "powerlines": "^0.47.214"
114
+ "powerlines": "^0.47.216"
115
115
  },
116
116
  "devDependencies": {
117
- "@powerlines/plugin-plugin": "^0.12.627",
117
+ "@powerlines/plugin-plugin": "^0.12.629",
118
118
  "@types/node": "^25.9.9"
119
119
  },
120
120
  "publishConfig": { "access": "public" },
121
- "gitHead": "11405039d1373508718de6817cecb7b8f8e46104"
121
+ "gitHead": "75efa1cc4eb8bc90093202669065576aa70fbfef"
122
122
  }
@@ -1 +0,0 @@
1
- {"version":3,"file":"i18n-bWSQ51xe.d.cts","names":[],"sources":["../src/types/i18n.ts"],"mappings":";;;;UAqBiB;GACd,uBAAuB;;;;;UAMT;;;;EAIf;;;;EAKA,WAAW"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"i18n-bWSQ51xe.d.mts","names":[],"sources":["../src/types/i18n.ts"],"mappings":""}