@powerlines/plugin-i18next 0.1.149 → 0.1.151

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 (72) hide show
  1. package/dist/_virtual/rolldown_runtime.cjs +29 -0
  2. package/dist/helpers/config-utils.cjs +31 -0
  3. package/dist/helpers/config-utils.mjs +31 -0
  4. package/dist/helpers/config-utils.mjs.map +1 -0
  5. package/dist/index.cjs +13 -241
  6. package/dist/index.d.cts +3 -3
  7. package/dist/index.d.mts +3 -3
  8. package/dist/index.mjs +4 -206
  9. package/dist/index.mjs.map +1 -1
  10. package/dist/node_modules/.pnpm/@stryke_type-checks@0.5.23/node_modules/@stryke/type-checks/dist/get-object-tag.cjs +15 -0
  11. package/dist/node_modules/.pnpm/@stryke_type-checks@0.5.23/node_modules/@stryke/type-checks/dist/get-object-tag.mjs +15 -0
  12. package/dist/node_modules/.pnpm/@stryke_type-checks@0.5.23/node_modules/@stryke/type-checks/dist/get-object-tag.mjs.map +1 -0
  13. package/dist/node_modules/.pnpm/@stryke_type-checks@0.5.23/node_modules/@stryke/type-checks/dist/is-empty.cjs +20 -0
  14. package/dist/node_modules/.pnpm/@stryke_type-checks@0.5.23/node_modules/@stryke/type-checks/dist/is-empty.mjs +21 -0
  15. package/dist/node_modules/.pnpm/@stryke_type-checks@0.5.23/node_modules/@stryke/type-checks/dist/is-empty.mjs.map +1 -0
  16. package/dist/node_modules/.pnpm/@stryke_type-checks@0.5.23/node_modules/@stryke/type-checks/dist/is-non-null-object.cjs +16 -0
  17. package/dist/node_modules/.pnpm/@stryke_type-checks@0.5.23/node_modules/@stryke/type-checks/dist/is-non-null-object.mjs +17 -0
  18. package/dist/node_modules/.pnpm/@stryke_type-checks@0.5.23/node_modules/@stryke/type-checks/dist/is-non-null-object.mjs.map +1 -0
  19. package/dist/node_modules/.pnpm/@stryke_type-checks@0.5.23/node_modules/@stryke/type-checks/dist/is-null.cjs +12 -0
  20. package/dist/node_modules/.pnpm/@stryke_type-checks@0.5.23/node_modules/@stryke/type-checks/dist/is-null.mjs +12 -0
  21. package/dist/node_modules/.pnpm/@stryke_type-checks@0.5.23/node_modules/@stryke/type-checks/dist/is-null.mjs.map +1 -0
  22. package/dist/node_modules/.pnpm/@stryke_type-checks@0.5.23/node_modules/@stryke/type-checks/dist/is-object.cjs +19 -0
  23. package/dist/node_modules/.pnpm/@stryke_type-checks@0.5.23/node_modules/@stryke/type-checks/dist/is-object.mjs +20 -0
  24. package/dist/node_modules/.pnpm/@stryke_type-checks@0.5.23/node_modules/@stryke/type-checks/dist/is-object.mjs.map +1 -0
  25. package/dist/node_modules/.pnpm/@stryke_type-checks@0.5.23/node_modules/@stryke/type-checks/dist/is-plain-object.cjs +63 -0
  26. package/dist/node_modules/.pnpm/@stryke_type-checks@0.5.23/node_modules/@stryke/type-checks/dist/is-plain-object.mjs +64 -0
  27. package/dist/node_modules/.pnpm/@stryke_type-checks@0.5.23/node_modules/@stryke/type-checks/dist/is-plain-object.mjs.map +1 -0
  28. package/dist/node_modules/.pnpm/@stryke_type-checks@0.5.23/node_modules/@stryke/type-checks/dist/is-set-object.cjs +19 -0
  29. package/dist/node_modules/.pnpm/@stryke_type-checks@0.5.23/node_modules/@stryke/type-checks/dist/is-set-object.mjs +20 -0
  30. package/dist/node_modules/.pnpm/@stryke_type-checks@0.5.23/node_modules/@stryke/type-checks/dist/is-set-object.mjs.map +1 -0
  31. package/dist/node_modules/.pnpm/@stryke_type-checks@0.5.23/node_modules/@stryke/type-checks/dist/is-set.cjs +19 -0
  32. package/dist/node_modules/.pnpm/@stryke_type-checks@0.5.23/node_modules/@stryke/type-checks/dist/is-set.mjs +20 -0
  33. package/dist/node_modules/.pnpm/@stryke_type-checks@0.5.23/node_modules/@stryke/type-checks/dist/is-set.mjs.map +1 -0
  34. package/dist/node_modules/.pnpm/@stryke_type-checks@0.5.23/node_modules/@stryke/type-checks/dist/is-string.cjs +12 -0
  35. package/dist/node_modules/.pnpm/@stryke_type-checks@0.5.23/node_modules/@stryke/type-checks/dist/is-string.mjs +12 -0
  36. package/dist/node_modules/.pnpm/@stryke_type-checks@0.5.23/node_modules/@stryke/type-checks/dist/is-string.mjs.map +1 -0
  37. package/dist/node_modules/.pnpm/@stryke_type-checks@0.5.23/node_modules/@stryke/type-checks/dist/is-undefined.cjs +8 -0
  38. package/dist/node_modules/.pnpm/@stryke_type-checks@0.5.23/node_modules/@stryke/type-checks/dist/is-undefined.mjs +8 -0
  39. package/dist/node_modules/.pnpm/@stryke_type-checks@0.5.23/node_modules/@stryke/type-checks/dist/is-undefined.mjs.map +1 -0
  40. package/dist/types/i18n.cjs +0 -1
  41. package/dist/types/i18n.d.cts +23 -2
  42. package/dist/types/i18n.d.cts.map +1 -0
  43. package/dist/types/i18n.d.mts +23 -2
  44. package/dist/types/i18n.d.mts.map +1 -0
  45. package/dist/types/i18n.mjs +0 -2
  46. package/dist/types/index.cjs +0 -3
  47. package/dist/types/index.d.cts +2 -3
  48. package/dist/types/index.d.mts +2 -3
  49. package/dist/types/index.mjs +0 -4
  50. package/dist/types/plugin.cjs +0 -1
  51. package/dist/types/plugin.d.cts +26 -2
  52. package/dist/types/plugin.d.cts.map +1 -0
  53. package/dist/types/plugin.d.mts +26 -2
  54. package/dist/types/plugin.d.mts.map +1 -0
  55. package/dist/types/plugin.mjs +0 -2
  56. package/package.json +7 -7
  57. package/dist/i18n-C5zfq1YM.d.mts +0 -23
  58. package/dist/i18n-C5zfq1YM.d.mts.map +0 -1
  59. package/dist/i18n-CUSH-jI_.mjs +0 -1
  60. package/dist/i18n-ComTDYPk.d.cts +0 -23
  61. package/dist/i18n-ComTDYPk.d.cts.map +0 -1
  62. package/dist/i18n-Ctazdbgs.cjs +0 -0
  63. package/dist/index-CA4VvAY_.d.mts +0 -1
  64. package/dist/index-CmCelmEL.d.cts +0 -1
  65. package/dist/plugin-2ZxcgDXs.d.cts +0 -26
  66. package/dist/plugin-2ZxcgDXs.d.cts.map +0 -1
  67. package/dist/plugin-B-8QVe28.cjs +0 -0
  68. package/dist/plugin-B6BWQgT4.d.mts +0 -26
  69. package/dist/plugin-B6BWQgT4.d.mts.map +0 -1
  70. package/dist/plugin-B7p8VtjC.mjs +0 -1
  71. package/dist/types-BReKsBV6.mjs +0 -1
  72. package/dist/types-CBTc19th.cjs +0 -0
@@ -1,2 +1,23 @@
1
- import { n as ResourceContent, t as Resource } from "../i18n-C5zfq1YM.mjs";
2
- export { Resource, ResourceContent };
1
+ //#region src/types/i18n.d.ts
2
+ /**
3
+ * Represents a translation resource with its namespace name and content
4
+ */
5
+ interface ResourceContent {
6
+ [key: string]: string | ResourceContent;
7
+ }
8
+ /**
9
+ * Represents a translation resource with its namespace name and content
10
+ */
11
+ interface Resource {
12
+ /**
13
+ * The namespace name (filename without extension)
14
+ */
15
+ name: string;
16
+ /**
17
+ * The parsed JSON resources object
18
+ */
19
+ resources: ResourceContent;
20
+ }
21
+ //#endregion
22
+ export { Resource, ResourceContent };
23
+ //# sourceMappingURL=i18n.d.mts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"i18n.d.mts","names":[],"sources":["../../src/types/i18n.ts"],"sourcesContent":[],"mappings":";;AAqBA;AAOA;UAPiB,eAAA;0BACS;;;;;UAMT,QAAA;;;;;;;;aASJ"}
@@ -1,3 +1 @@
1
- import "../i18n-CUSH-jI_.mjs";
2
-
3
1
  export { };
@@ -1,3 +0,0 @@
1
- require('../i18n-Ctazdbgs.cjs');
2
- require('../plugin-B-8QVe28.cjs');
3
- require('../types-CBTc19th.cjs');
@@ -1,4 +1,3 @@
1
- import { i as I18NextPluginUserConfig, n as I18NextPluginOptions, r as I18NextPluginResolvedConfig, t as I18NextPluginContext } from "../plugin-2ZxcgDXs.cjs";
2
- import { n as ResourceContent, t as Resource } from "../i18n-ComTDYPk.cjs";
3
- import "../index-CmCelmEL.cjs";
1
+ import { I18NextPluginContext, I18NextPluginOptions, I18NextPluginResolvedConfig, I18NextPluginUserConfig } from "./plugin.cjs";
2
+ import { Resource, ResourceContent } from "./i18n.cjs";
4
3
  export { I18NextPluginContext, I18NextPluginOptions, I18NextPluginResolvedConfig, I18NextPluginUserConfig, Resource, ResourceContent };
@@ -1,4 +1,3 @@
1
- import { i as I18NextPluginUserConfig, n as I18NextPluginOptions, r as I18NextPluginResolvedConfig, t as I18NextPluginContext } from "../plugin-B6BWQgT4.mjs";
2
- import { n as ResourceContent, t as Resource } from "../i18n-C5zfq1YM.mjs";
3
- import "../index-CA4VvAY_.mjs";
1
+ import { I18NextPluginContext, I18NextPluginOptions, I18NextPluginResolvedConfig, I18NextPluginUserConfig } from "./plugin.mjs";
2
+ import { Resource, ResourceContent } from "./i18n.mjs";
4
3
  export { I18NextPluginContext, I18NextPluginOptions, I18NextPluginResolvedConfig, I18NextPluginUserConfig, Resource, ResourceContent };
@@ -1,5 +1 @@
1
- import "../i18n-CUSH-jI_.mjs";
2
- import "../plugin-B7p8VtjC.mjs";
3
- import "../types-BReKsBV6.mjs";
4
-
5
1
  export { };
@@ -1 +0,0 @@
1
- require('../plugin-B-8QVe28.cjs');
@@ -1,2 +1,26 @@
1
- import { i as I18NextPluginUserConfig, n as I18NextPluginOptions, r as I18NextPluginResolvedConfig, t as I18NextPluginContext } from "../plugin-2ZxcgDXs.cjs";
2
- export { I18NextPluginContext, I18NextPluginOptions, I18NextPluginResolvedConfig, I18NextPluginUserConfig };
1
+ import { DeepPartial } from "@stryke/types/base";
2
+ import { I18nextToolkitConfig } from "i18next-cli";
3
+ import { UserConfig } from "powerlines/types/config";
4
+ import { PluginContext } from "powerlines/types/context";
5
+ import { ResolvedConfig } from "powerlines/types/resolved";
6
+
7
+ //#region src/types/plugin.d.ts
8
+ type I18NextPluginOptions = DeepPartial<I18nextToolkitConfig>;
9
+ type I18NextPluginUserConfig = UserConfig & {
10
+ i18next?: I18NextPluginOptions;
11
+ };
12
+ type I18NextPluginResolvedConfig = ResolvedConfig & {
13
+ i18next: Omit<I18nextToolkitConfig, "extract" | "types"> & {
14
+ extract: Omit<I18nextToolkitConfig["extract"], "output" | "primaryLanguage" | "indentation"> & Required<Pick<I18nextToolkitConfig["extract"], "output" | "primaryLanguage" | "indentation">>;
15
+ types: Omit<NonNullable<I18nextToolkitConfig["types"]>, "input" | "output" | "enableSelector" | "indentation"> & {
16
+ input?: string;
17
+ output?: string;
18
+ enableSelector: boolean | "optimize";
19
+ indentation: number | string;
20
+ };
21
+ };
22
+ };
23
+ type I18NextPluginContext<TResolvedConfig extends I18NextPluginResolvedConfig = I18NextPluginResolvedConfig> = PluginContext<TResolvedConfig>;
24
+ //#endregion
25
+ export { I18NextPluginContext, I18NextPluginOptions, I18NextPluginResolvedConfig, I18NextPluginUserConfig };
26
+ //# sourceMappingURL=plugin.d.cts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"plugin.d.cts","names":[],"sources":["../../src/types/plugin.ts"],"sourcesContent":[],"mappings":";;;;;;;KA0BY,oBAAA,GAAuB,YAAY;KAEnC,uBAAA,GAA0B;EAF1B,OAAA,CAAA,EAGA,oBAHoB;AAEhC,CAAA;AAIY,KAAA,2BAAA,GAA8B,cAAH,GAAA;EAAG,OAAA,EAC/B,IAD+B,CAC1B,oBAD0B,EAAA,SAAA,GAAA,OAAA,CAAA,GAAA;IAC1B,OAAA,EACH,IADG,CAEV,oBAFU,CAAA,SAAA,CAAA,EAAA,QAAA,GAAA,iBAAA,GAAA,aAAA,CAAA,GAKV,QALU,CAMR,IANQ,CAON,oBAPM,CAAA,SAAA,CAAA,EAAA,QAAA,GAAA,iBAAA,GAAA,aAAA,CAAA,CAAA;IAAL,KAAA,EAWA,IAXA,CAYL,WAZK,CAYO,oBAZP,CAAA,OAAA,CAAA,CAAA,EAAA,OAAA,GAAA,QAAA,GAAA,gBAAA,GAAA,aAAA,CAAA,GAAA;MAEL,KAAA,CAAA,EAAA,MAAA;MADO,MAAA,CAAA,EAAA,MAAA;MAMH,cAAA,EAAA,OAAA,GAAA,UAAA;MADF,WAAA,EAAA,MAAA,GAAA,MAAA;IADF,CAAA;EAOY,CAAA;CAAZ;AADK,KAYC,oBAZD,CAAA,wBAae,2BAbf,GAcP,2BAdO,CAAA,GAeP,aAfO,CAeO,eAfP,CAAA"}
@@ -1,2 +1,26 @@
1
- import { i as I18NextPluginUserConfig, n as I18NextPluginOptions, r as I18NextPluginResolvedConfig, t as I18NextPluginContext } from "../plugin-B6BWQgT4.mjs";
2
- export { I18NextPluginContext, I18NextPluginOptions, I18NextPluginResolvedConfig, I18NextPluginUserConfig };
1
+ import { I18nextToolkitConfig } from "i18next-cli";
2
+ import { DeepPartial } from "@stryke/types/base";
3
+ import { UserConfig } from "powerlines/types/config";
4
+ import { PluginContext } from "powerlines/types/context";
5
+ import { ResolvedConfig } from "powerlines/types/resolved";
6
+
7
+ //#region src/types/plugin.d.ts
8
+ type I18NextPluginOptions = DeepPartial<I18nextToolkitConfig>;
9
+ type I18NextPluginUserConfig = UserConfig & {
10
+ i18next?: I18NextPluginOptions;
11
+ };
12
+ type I18NextPluginResolvedConfig = ResolvedConfig & {
13
+ i18next: Omit<I18nextToolkitConfig, "extract" | "types"> & {
14
+ extract: Omit<I18nextToolkitConfig["extract"], "output" | "primaryLanguage" | "indentation"> & Required<Pick<I18nextToolkitConfig["extract"], "output" | "primaryLanguage" | "indentation">>;
15
+ types: Omit<NonNullable<I18nextToolkitConfig["types"]>, "input" | "output" | "enableSelector" | "indentation"> & {
16
+ input?: string;
17
+ output?: string;
18
+ enableSelector: boolean | "optimize";
19
+ indentation: number | string;
20
+ };
21
+ };
22
+ };
23
+ type I18NextPluginContext<TResolvedConfig extends I18NextPluginResolvedConfig = I18NextPluginResolvedConfig> = PluginContext<TResolvedConfig>;
24
+ //#endregion
25
+ export { I18NextPluginContext, I18NextPluginOptions, I18NextPluginResolvedConfig, I18NextPluginUserConfig };
26
+ //# sourceMappingURL=plugin.d.mts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"plugin.d.mts","names":[],"sources":["../../src/types/plugin.ts"],"sourcesContent":[],"mappings":";;;;;;;KA0BY,oBAAA,GAAuB,YAAY;KAEnC,uBAAA,GAA0B;EAF1B,OAAA,CAAA,EAGA,oBAHoB;AAEhC,CAAA;AAIY,KAAA,2BAAA,GAA8B,cAAH,GAAA;EAAG,OAAA,EAC/B,IAD+B,CAC1B,oBAD0B,EAAA,SAAA,GAAA,OAAA,CAAA,GAAA;IAC1B,OAAA,EACH,IADG,CAEV,oBAFU,CAAA,SAAA,CAAA,EAAA,QAAA,GAAA,iBAAA,GAAA,aAAA,CAAA,GAKV,QALU,CAMR,IANQ,CAON,oBAPM,CAAA,SAAA,CAAA,EAAA,QAAA,GAAA,iBAAA,GAAA,aAAA,CAAA,CAAA;IAAL,KAAA,EAWA,IAXA,CAYL,WAZK,CAYO,oBAZP,CAAA,OAAA,CAAA,CAAA,EAAA,OAAA,GAAA,QAAA,GAAA,gBAAA,GAAA,aAAA,CAAA,GAAA;MAEL,KAAA,CAAA,EAAA,MAAA;MADO,MAAA,CAAA,EAAA,MAAA;MAMH,cAAA,EAAA,OAAA,GAAA,UAAA;MADF,WAAA,EAAA,MAAA,GAAA,MAAA;IADF,CAAA;EAOY,CAAA;CAAZ;AADK,KAYC,oBAZD,CAAA,wBAae,2BAbf,GAcP,2BAdO,CAAA,GAeP,aAfO,CAeO,eAfP,CAAA"}
@@ -1,3 +1 @@
1
- import "../plugin-B7p8VtjC.mjs";
2
-
3
1
  export { };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@powerlines/plugin-i18next",
3
- "version": "0.1.149",
3
+ "version": "0.1.151",
4
4
  "type": "module",
5
5
  "description": "A Powerlines plugin to use i18next for internationalization.",
6
6
  "repository": {
@@ -103,19 +103,19 @@
103
103
  "files": ["dist/**/*"],
104
104
  "keywords": ["i18next", "powerlines", "storm-software", "powerlines-plugin"],
105
105
  "dependencies": {
106
- "@stryke/fs": "^0.33.39",
107
- "@stryke/path": "^0.26.3",
108
- "@stryke/types": "^0.10.36",
106
+ "@stryke/fs": "^0.33.40",
107
+ "@stryke/path": "^0.26.4",
108
+ "@stryke/types": "^0.10.37",
109
109
  "defu": "^6.1.4",
110
110
  "i18next-cli": "^1.40.1",
111
111
  "i18next-resources-for-ts": "^2.0.0",
112
- "powerlines": "^0.38.19"
112
+ "powerlines": "^0.38.21"
113
113
  },
114
114
  "devDependencies": {
115
- "@powerlines/plugin-plugin": "^0.12.203",
115
+ "@powerlines/plugin-plugin": "^0.12.205",
116
116
  "@types/node": "^24.10.9"
117
117
  },
118
118
  "publishConfig": { "access": "public" },
119
119
  "types": "./dist/index.d.cts",
120
- "gitHead": "ed4d8044dcb6e1de7843b3908424bb0a7e636620"
120
+ "gitHead": "6000a15bf3fbc1b7eaaf967088c68eef9949786a"
121
121
  }
@@ -1,23 +0,0 @@
1
- //#region src/types/i18n.d.ts
2
- /**
3
- * Represents a translation resource with its namespace name and content
4
- */
5
- interface ResourceContent {
6
- [key: string]: string | ResourceContent;
7
- }
8
- /**
9
- * Represents a translation resource with its namespace name and content
10
- */
11
- interface Resource {
12
- /**
13
- * The namespace name (filename without extension)
14
- */
15
- name: string;
16
- /**
17
- * The parsed JSON resources object
18
- */
19
- resources: ResourceContent;
20
- }
21
- //#endregion
22
- export { ResourceContent as n, Resource as t };
23
- //# sourceMappingURL=i18n-C5zfq1YM.d.mts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"i18n-C5zfq1YM.d.mts","names":[],"sources":["../src/types/i18n.ts"],"sourcesContent":[],"mappings":";;AAqBA;AAOA;UAPiB,eAAA;0BACS;;;;;UAMT,QAAA;;;;;;;;aASJ"}
@@ -1 +0,0 @@
1
- export { };
@@ -1,23 +0,0 @@
1
- //#region src/types/i18n.d.ts
2
- /**
3
- * Represents a translation resource with its namespace name and content
4
- */
5
- interface ResourceContent {
6
- [key: string]: string | ResourceContent;
7
- }
8
- /**
9
- * Represents a translation resource with its namespace name and content
10
- */
11
- interface Resource {
12
- /**
13
- * The namespace name (filename without extension)
14
- */
15
- name: string;
16
- /**
17
- * The parsed JSON resources object
18
- */
19
- resources: ResourceContent;
20
- }
21
- //#endregion
22
- export { ResourceContent as n, Resource as t };
23
- //# sourceMappingURL=i18n-ComTDYPk.d.cts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"i18n-ComTDYPk.d.cts","names":[],"sources":["../src/types/i18n.ts"],"sourcesContent":[],"mappings":";;AAqBA;AAOA;UAPiB,eAAA;0BACS;;;;;UAMT,QAAA;;;;;;;;aASJ"}
File without changes
@@ -1 +0,0 @@
1
- export { };
@@ -1 +0,0 @@
1
- export { };
@@ -1,26 +0,0 @@
1
- import { DeepPartial } from "@stryke/types/base";
2
- import { I18nextToolkitConfig } from "i18next-cli";
3
- import { UserConfig } from "powerlines/types/config";
4
- import { PluginContext } from "powerlines/types/context";
5
- import { ResolvedConfig } from "powerlines/types/resolved";
6
-
7
- //#region src/types/plugin.d.ts
8
- type I18NextPluginOptions = DeepPartial<I18nextToolkitConfig>;
9
- type I18NextPluginUserConfig = UserConfig & {
10
- i18next?: I18NextPluginOptions;
11
- };
12
- type I18NextPluginResolvedConfig = ResolvedConfig & {
13
- i18next: Omit<I18nextToolkitConfig, "extract" | "types"> & {
14
- extract: Omit<I18nextToolkitConfig["extract"], "output" | "primaryLanguage" | "indentation"> & Required<Pick<I18nextToolkitConfig["extract"], "output" | "primaryLanguage" | "indentation">>;
15
- types: Omit<NonNullable<I18nextToolkitConfig["types"]>, "input" | "output" | "enableSelector" | "indentation"> & {
16
- input?: string;
17
- output?: string;
18
- enableSelector: boolean | "optimize";
19
- indentation: number | string;
20
- };
21
- };
22
- };
23
- type I18NextPluginContext<TResolvedConfig extends I18NextPluginResolvedConfig = I18NextPluginResolvedConfig> = PluginContext<TResolvedConfig>;
24
- //#endregion
25
- export { I18NextPluginUserConfig as i, I18NextPluginOptions as n, I18NextPluginResolvedConfig as r, I18NextPluginContext as t };
26
- //# sourceMappingURL=plugin-2ZxcgDXs.d.cts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"plugin-2ZxcgDXs.d.cts","names":[],"sources":["../src/types/plugin.ts"],"sourcesContent":[],"mappings":";;;;;;;KA0BY,oBAAA,GAAuB,YAAY;KAEnC,uBAAA,GAA0B;EAF1B,OAAA,CAAA,EAGA,oBAHoB;AAEhC,CAAA;AAIY,KAAA,2BAAA,GAA8B,cAAH,GAAA;EAAG,OAAA,EAC/B,IAD+B,CAC1B,oBAD0B,EAAA,SAAA,GAAA,OAAA,CAAA,GAAA;IAC1B,OAAA,EACH,IADG,CAEV,oBAFU,CAAA,SAAA,CAAA,EAAA,QAAA,GAAA,iBAAA,GAAA,aAAA,CAAA,GAKV,QALU,CAMR,IANQ,CAON,oBAPM,CAAA,SAAA,CAAA,EAAA,QAAA,GAAA,iBAAA,GAAA,aAAA,CAAA,CAAA;IAAL,KAAA,EAWA,IAXA,CAYL,WAZK,CAYO,oBAZP,CAAA,OAAA,CAAA,CAAA,EAAA,OAAA,GAAA,QAAA,GAAA,gBAAA,GAAA,aAAA,CAAA,GAAA;MAEL,KAAA,CAAA,EAAA,MAAA;MADO,MAAA,CAAA,EAAA,MAAA;MAMH,cAAA,EAAA,OAAA,GAAA,UAAA;MADF,WAAA,EAAA,MAAA,GAAA,MAAA;IADF,CAAA;EAOY,CAAA;CAAZ;AADK,KAYC,oBAZD,CAAA,wBAae,2BAbf,GAcP,2BAdO,CAAA,GAeP,aAfO,CAeO,eAfP,CAAA"}
File without changes
@@ -1,26 +0,0 @@
1
- import { I18nextToolkitConfig } from "i18next-cli";
2
- import { DeepPartial } from "@stryke/types/base";
3
- import { UserConfig } from "powerlines/types/config";
4
- import { PluginContext } from "powerlines/types/context";
5
- import { ResolvedConfig } from "powerlines/types/resolved";
6
-
7
- //#region src/types/plugin.d.ts
8
- type I18NextPluginOptions = DeepPartial<I18nextToolkitConfig>;
9
- type I18NextPluginUserConfig = UserConfig & {
10
- i18next?: I18NextPluginOptions;
11
- };
12
- type I18NextPluginResolvedConfig = ResolvedConfig & {
13
- i18next: Omit<I18nextToolkitConfig, "extract" | "types"> & {
14
- extract: Omit<I18nextToolkitConfig["extract"], "output" | "primaryLanguage" | "indentation"> & Required<Pick<I18nextToolkitConfig["extract"], "output" | "primaryLanguage" | "indentation">>;
15
- types: Omit<NonNullable<I18nextToolkitConfig["types"]>, "input" | "output" | "enableSelector" | "indentation"> & {
16
- input?: string;
17
- output?: string;
18
- enableSelector: boolean | "optimize";
19
- indentation: number | string;
20
- };
21
- };
22
- };
23
- type I18NextPluginContext<TResolvedConfig extends I18NextPluginResolvedConfig = I18NextPluginResolvedConfig> = PluginContext<TResolvedConfig>;
24
- //#endregion
25
- export { I18NextPluginUserConfig as i, I18NextPluginOptions as n, I18NextPluginResolvedConfig as r, I18NextPluginContext as t };
26
- //# sourceMappingURL=plugin-B6BWQgT4.d.mts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"plugin-B6BWQgT4.d.mts","names":[],"sources":["../src/types/plugin.ts"],"sourcesContent":[],"mappings":";;;;;;;KA0BY,oBAAA,GAAuB,YAAY;KAEnC,uBAAA,GAA0B;EAF1B,OAAA,CAAA,EAGA,oBAHoB;AAEhC,CAAA;AAIY,KAAA,2BAAA,GAA8B,cAAH,GAAA;EAAG,OAAA,EAC/B,IAD+B,CAC1B,oBAD0B,EAAA,SAAA,GAAA,OAAA,CAAA,GAAA;IAC1B,OAAA,EACH,IADG,CAEV,oBAFU,CAAA,SAAA,CAAA,EAAA,QAAA,GAAA,iBAAA,GAAA,aAAA,CAAA,GAKV,QALU,CAMR,IANQ,CAON,oBAPM,CAAA,SAAA,CAAA,EAAA,QAAA,GAAA,iBAAA,GAAA,aAAA,CAAA,CAAA;IAAL,KAAA,EAWA,IAXA,CAYL,WAZK,CAYO,oBAZP,CAAA,OAAA,CAAA,CAAA,EAAA,OAAA,GAAA,QAAA,GAAA,gBAAA,GAAA,aAAA,CAAA,GAAA;MAEL,KAAA,CAAA,EAAA,MAAA;MADO,MAAA,CAAA,EAAA,MAAA;MAMH,cAAA,EAAA,OAAA,GAAA,UAAA;MADF,WAAA,EAAA,MAAA,GAAA,MAAA;IADF,CAAA;EAOY,CAAA;CAAZ;AADK,KAYC,oBAZD,CAAA,wBAae,2BAbf,GAcP,2BAdO,CAAA,GAeP,aAfO,CAeO,eAfP,CAAA"}
@@ -1 +0,0 @@
1
- export { };
@@ -1 +0,0 @@
1
- export { };
File without changes