@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.
- package/dist/_virtual/rolldown_runtime.cjs +29 -0
- package/dist/helpers/config-utils.cjs +31 -0
- package/dist/helpers/config-utils.mjs +31 -0
- package/dist/helpers/config-utils.mjs.map +1 -0
- package/dist/index.cjs +13 -241
- package/dist/index.d.cts +3 -3
- package/dist/index.d.mts +3 -3
- package/dist/index.mjs +4 -206
- package/dist/index.mjs.map +1 -1
- package/dist/node_modules/.pnpm/@stryke_type-checks@0.5.23/node_modules/@stryke/type-checks/dist/get-object-tag.cjs +15 -0
- package/dist/node_modules/.pnpm/@stryke_type-checks@0.5.23/node_modules/@stryke/type-checks/dist/get-object-tag.mjs +15 -0
- package/dist/node_modules/.pnpm/@stryke_type-checks@0.5.23/node_modules/@stryke/type-checks/dist/get-object-tag.mjs.map +1 -0
- package/dist/node_modules/.pnpm/@stryke_type-checks@0.5.23/node_modules/@stryke/type-checks/dist/is-empty.cjs +20 -0
- package/dist/node_modules/.pnpm/@stryke_type-checks@0.5.23/node_modules/@stryke/type-checks/dist/is-empty.mjs +21 -0
- package/dist/node_modules/.pnpm/@stryke_type-checks@0.5.23/node_modules/@stryke/type-checks/dist/is-empty.mjs.map +1 -0
- package/dist/node_modules/.pnpm/@stryke_type-checks@0.5.23/node_modules/@stryke/type-checks/dist/is-non-null-object.cjs +16 -0
- package/dist/node_modules/.pnpm/@stryke_type-checks@0.5.23/node_modules/@stryke/type-checks/dist/is-non-null-object.mjs +17 -0
- 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
- package/dist/node_modules/.pnpm/@stryke_type-checks@0.5.23/node_modules/@stryke/type-checks/dist/is-null.cjs +12 -0
- package/dist/node_modules/.pnpm/@stryke_type-checks@0.5.23/node_modules/@stryke/type-checks/dist/is-null.mjs +12 -0
- package/dist/node_modules/.pnpm/@stryke_type-checks@0.5.23/node_modules/@stryke/type-checks/dist/is-null.mjs.map +1 -0
- package/dist/node_modules/.pnpm/@stryke_type-checks@0.5.23/node_modules/@stryke/type-checks/dist/is-object.cjs +19 -0
- package/dist/node_modules/.pnpm/@stryke_type-checks@0.5.23/node_modules/@stryke/type-checks/dist/is-object.mjs +20 -0
- package/dist/node_modules/.pnpm/@stryke_type-checks@0.5.23/node_modules/@stryke/type-checks/dist/is-object.mjs.map +1 -0
- package/dist/node_modules/.pnpm/@stryke_type-checks@0.5.23/node_modules/@stryke/type-checks/dist/is-plain-object.cjs +63 -0
- package/dist/node_modules/.pnpm/@stryke_type-checks@0.5.23/node_modules/@stryke/type-checks/dist/is-plain-object.mjs +64 -0
- package/dist/node_modules/.pnpm/@stryke_type-checks@0.5.23/node_modules/@stryke/type-checks/dist/is-plain-object.mjs.map +1 -0
- package/dist/node_modules/.pnpm/@stryke_type-checks@0.5.23/node_modules/@stryke/type-checks/dist/is-set-object.cjs +19 -0
- package/dist/node_modules/.pnpm/@stryke_type-checks@0.5.23/node_modules/@stryke/type-checks/dist/is-set-object.mjs +20 -0
- package/dist/node_modules/.pnpm/@stryke_type-checks@0.5.23/node_modules/@stryke/type-checks/dist/is-set-object.mjs.map +1 -0
- package/dist/node_modules/.pnpm/@stryke_type-checks@0.5.23/node_modules/@stryke/type-checks/dist/is-set.cjs +19 -0
- package/dist/node_modules/.pnpm/@stryke_type-checks@0.5.23/node_modules/@stryke/type-checks/dist/is-set.mjs +20 -0
- package/dist/node_modules/.pnpm/@stryke_type-checks@0.5.23/node_modules/@stryke/type-checks/dist/is-set.mjs.map +1 -0
- package/dist/node_modules/.pnpm/@stryke_type-checks@0.5.23/node_modules/@stryke/type-checks/dist/is-string.cjs +12 -0
- package/dist/node_modules/.pnpm/@stryke_type-checks@0.5.23/node_modules/@stryke/type-checks/dist/is-string.mjs +12 -0
- package/dist/node_modules/.pnpm/@stryke_type-checks@0.5.23/node_modules/@stryke/type-checks/dist/is-string.mjs.map +1 -0
- package/dist/node_modules/.pnpm/@stryke_type-checks@0.5.23/node_modules/@stryke/type-checks/dist/is-undefined.cjs +8 -0
- package/dist/node_modules/.pnpm/@stryke_type-checks@0.5.23/node_modules/@stryke/type-checks/dist/is-undefined.mjs +8 -0
- package/dist/node_modules/.pnpm/@stryke_type-checks@0.5.23/node_modules/@stryke/type-checks/dist/is-undefined.mjs.map +1 -0
- package/dist/types/i18n.cjs +0 -1
- package/dist/types/i18n.d.cts +23 -2
- package/dist/types/i18n.d.cts.map +1 -0
- package/dist/types/i18n.d.mts +23 -2
- package/dist/types/i18n.d.mts.map +1 -0
- package/dist/types/i18n.mjs +0 -2
- package/dist/types/index.cjs +0 -3
- package/dist/types/index.d.cts +2 -3
- package/dist/types/index.d.mts +2 -3
- package/dist/types/index.mjs +0 -4
- package/dist/types/plugin.cjs +0 -1
- package/dist/types/plugin.d.cts +26 -2
- package/dist/types/plugin.d.cts.map +1 -0
- package/dist/types/plugin.d.mts +26 -2
- package/dist/types/plugin.d.mts.map +1 -0
- package/dist/types/plugin.mjs +0 -2
- package/package.json +7 -7
- package/dist/i18n-C5zfq1YM.d.mts +0 -23
- package/dist/i18n-C5zfq1YM.d.mts.map +0 -1
- package/dist/i18n-CUSH-jI_.mjs +0 -1
- package/dist/i18n-ComTDYPk.d.cts +0 -23
- package/dist/i18n-ComTDYPk.d.cts.map +0 -1
- package/dist/i18n-Ctazdbgs.cjs +0 -0
- package/dist/index-CA4VvAY_.d.mts +0 -1
- package/dist/index-CmCelmEL.d.cts +0 -1
- package/dist/plugin-2ZxcgDXs.d.cts +0 -26
- package/dist/plugin-2ZxcgDXs.d.cts.map +0 -1
- package/dist/plugin-B-8QVe28.cjs +0 -0
- package/dist/plugin-B6BWQgT4.d.mts +0 -26
- package/dist/plugin-B6BWQgT4.d.mts.map +0 -1
- package/dist/plugin-B7p8VtjC.mjs +0 -1
- package/dist/types-BReKsBV6.mjs +0 -1
- package/dist/types-CBTc19th.cjs +0 -0
package/dist/types/i18n.d.mts
CHANGED
|
@@ -1,2 +1,23 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
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"}
|
package/dist/types/i18n.mjs
CHANGED
package/dist/types/index.cjs
CHANGED
package/dist/types/index.d.cts
CHANGED
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
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 };
|
package/dist/types/index.d.mts
CHANGED
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
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 };
|
package/dist/types/index.mjs
CHANGED
package/dist/types/plugin.cjs
CHANGED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
require('../plugin-B-8QVe28.cjs');
|
package/dist/types/plugin.d.cts
CHANGED
|
@@ -1,2 +1,26 @@
|
|
|
1
|
-
import {
|
|
2
|
-
|
|
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"}
|
package/dist/types/plugin.d.mts
CHANGED
|
@@ -1,2 +1,26 @@
|
|
|
1
|
-
import {
|
|
2
|
-
|
|
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"}
|
package/dist/types/plugin.mjs
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@powerlines/plugin-i18next",
|
|
3
|
-
"version": "0.1.
|
|
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.
|
|
107
|
-
"@stryke/path": "^0.26.
|
|
108
|
-
"@stryke/types": "^0.10.
|
|
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.
|
|
112
|
+
"powerlines": "^0.38.21"
|
|
113
113
|
},
|
|
114
114
|
"devDependencies": {
|
|
115
|
-
"@powerlines/plugin-plugin": "^0.12.
|
|
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": "
|
|
120
|
+
"gitHead": "6000a15bf3fbc1b7eaaf967088c68eef9949786a"
|
|
121
121
|
}
|
package/dist/i18n-C5zfq1YM.d.mts
DELETED
|
@@ -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"}
|
package/dist/i18n-CUSH-jI_.mjs
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { };
|
package/dist/i18n-ComTDYPk.d.cts
DELETED
|
@@ -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"}
|
package/dist/i18n-Ctazdbgs.cjs
DELETED
|
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"}
|
package/dist/plugin-B-8QVe28.cjs
DELETED
|
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"}
|
package/dist/plugin-B7p8VtjC.mjs
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { };
|
package/dist/types-BReKsBV6.mjs
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { };
|
package/dist/types-CBTc19th.cjs
DELETED
|
File without changes
|