@powerlines/plugin-deepkit 0.11.241 → 0.11.242
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/package.json +6 -6
- package/dist/chunk-BCHjMept.mjs +0 -3
- package/dist/index.cjs +0 -87
- package/dist/index.d.cts +0 -19
- package/dist/index.d.cts.map +0 -1
- package/dist/index.d.mts +0 -19
- package/dist/index.d.mts.map +0 -1
- package/dist/index.mjs +0 -59
- package/dist/index.mjs.map +0 -1
- package/dist/types/index.cjs +0 -0
- package/dist/types/index.d.cts +0 -2
- package/dist/types/index.d.mts +0 -2
- package/dist/types/index.mjs +0 -3
- package/dist/types/plugin.cjs +0 -0
- package/dist/types/plugin.d.cts +0 -25
- package/dist/types/plugin.d.cts.map +0 -1
- package/dist/types/plugin.d.mts +0 -25
- package/dist/types/plugin.d.mts.map +0 -1
- package/dist/types/plugin.mjs +0 -3
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@powerlines/plugin-deepkit",
|
|
3
|
-
"version": "0.11.
|
|
3
|
+
"version": "0.11.242",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"description": "A package containing a Powerlines plugin to assist in developing other Powerlines plugins.",
|
|
6
6
|
"repository": {
|
|
@@ -90,16 +90,16 @@
|
|
|
90
90
|
"files": ["dist/**/*"],
|
|
91
91
|
"keywords": ["deepkit", "powerlines", "storm-software", "powerlines-plugin"],
|
|
92
92
|
"dependencies": {
|
|
93
|
-
"@powerlines/deepkit": "^0.6.
|
|
94
|
-
"@powerlines/plugin-tsc": "^0.2.
|
|
93
|
+
"@powerlines/deepkit": "^0.6.142",
|
|
94
|
+
"@powerlines/plugin-tsc": "^0.2.371",
|
|
95
95
|
"@stryke/json": "^0.14.10",
|
|
96
|
-
"powerlines": "^0.42.
|
|
96
|
+
"powerlines": "^0.42.4",
|
|
97
97
|
"typescript": "^5.9.3"
|
|
98
98
|
},
|
|
99
99
|
"devDependencies": {
|
|
100
|
-
"@powerlines/plugin-plugin": "^0.12.
|
|
100
|
+
"@powerlines/plugin-plugin": "^0.12.314",
|
|
101
101
|
"@types/node": "^25.5.0"
|
|
102
102
|
},
|
|
103
103
|
"publishConfig": { "access": "public" },
|
|
104
|
-
"gitHead": "
|
|
104
|
+
"gitHead": "c3243c1ec0fbacb4afd4bd3db20432f443334076"
|
|
105
105
|
}
|
package/dist/chunk-BCHjMept.mjs
DELETED
package/dist/index.cjs
DELETED
|
@@ -1,87 +0,0 @@
|
|
|
1
|
-
Object.defineProperties(exports, { __esModule: { value: true }, [Symbol.toStringTag]: { value: 'Module' } });
|
|
2
|
-
//#region \0rolldown/runtime.js
|
|
3
|
-
var __create = Object.create;
|
|
4
|
-
var __defProp = Object.defineProperty;
|
|
5
|
-
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
6
|
-
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
7
|
-
var __getProtoOf = Object.getPrototypeOf;
|
|
8
|
-
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
9
|
-
var __copyProps = (to, from, except, desc) => {
|
|
10
|
-
if (from && typeof from === "object" || typeof from === "function") {
|
|
11
|
-
for (var keys = __getOwnPropNames(from), i = 0, n = keys.length, key; i < n; i++) {
|
|
12
|
-
key = keys[i];
|
|
13
|
-
if (!__hasOwnProp.call(to, key) && key !== except) {
|
|
14
|
-
__defProp(to, key, {
|
|
15
|
-
get: ((k) => from[k]).bind(null, key),
|
|
16
|
-
enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable
|
|
17
|
-
});
|
|
18
|
-
}
|
|
19
|
-
}
|
|
20
|
-
}
|
|
21
|
-
return to;
|
|
22
|
-
};
|
|
23
|
-
var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", {
|
|
24
|
-
value: mod,
|
|
25
|
-
enumerable: true
|
|
26
|
-
}) : target, mod));
|
|
27
|
-
|
|
28
|
-
//#endregion
|
|
29
|
-
require('./types/index.cjs');
|
|
30
|
-
let _powerlines_deepkit_transformer = require("@powerlines/deepkit/transformer");
|
|
31
|
-
let _powerlines_plugin_tsc = require("@powerlines/plugin-tsc");
|
|
32
|
-
_powerlines_plugin_tsc = __toESM(_powerlines_plugin_tsc);
|
|
33
|
-
let _stryke_json_storm_json = require("@stryke/json/storm-json");
|
|
34
|
-
|
|
35
|
-
//#region src/index.ts
|
|
36
|
-
/**
|
|
37
|
-
* Deepkit plugin for Powerlines.
|
|
38
|
-
*
|
|
39
|
-
* @param options - The Deepkit plugin user configuration options.
|
|
40
|
-
* @returns A Powerlines plugin that integrates Deepkit transformations.
|
|
41
|
-
*/
|
|
42
|
-
const plugin = (options = {}) => {
|
|
43
|
-
return [(0, _powerlines_plugin_tsc.default)(options), {
|
|
44
|
-
name: "deepkit",
|
|
45
|
-
config() {
|
|
46
|
-
return {
|
|
47
|
-
deepkit: options ?? {},
|
|
48
|
-
resolve: { external: [
|
|
49
|
-
"@powerlines/deepkit/vendor/type-compiler",
|
|
50
|
-
"@powerlines/deepkit/vendor/type-spec",
|
|
51
|
-
"@powerlines/deepkit/vendor/type",
|
|
52
|
-
"@powerlines/deepkit/vendor/core"
|
|
53
|
-
] }
|
|
54
|
-
};
|
|
55
|
-
},
|
|
56
|
-
configResolved: {
|
|
57
|
-
order: "post",
|
|
58
|
-
async handler() {
|
|
59
|
-
const reflection = this.config.deepkit.reflection || this.tsconfig.tsconfigJson.compilerOptions?.reflection || this.tsconfig.tsconfigJson.reflection || "default";
|
|
60
|
-
const reflectionLevel = this.config.deepkit.reflectionLevel || this.tsconfig.tsconfigJson.compilerOptions?.reflectionLevel || this.tsconfig.tsconfigJson.reflectionLevel || "minimal";
|
|
61
|
-
if (!this.tsconfig.tsconfigJson.reflection || !this.tsconfig.tsconfigJson.reflectionLevel) {
|
|
62
|
-
this.tsconfig.tsconfigJson.reflection ??= reflection;
|
|
63
|
-
this.tsconfig.tsconfigJson.reflectionLevel ??= reflectionLevel;
|
|
64
|
-
await this.fs.write(this.tsconfig.tsconfigFilePath, _stryke_json_storm_json.StormJSON.stringify(this.tsconfig.tsconfigJson));
|
|
65
|
-
}
|
|
66
|
-
this.config.tsc ??= {};
|
|
67
|
-
this.config.tsc.compilerOptions = {
|
|
68
|
-
...this.config.tsc.compilerOptions ?? {},
|
|
69
|
-
exclude: this.config.deepkit.exclude ?? [],
|
|
70
|
-
reflection,
|
|
71
|
-
reflectionLevel,
|
|
72
|
-
configFilePath: this.tsconfig.tsconfigFilePath
|
|
73
|
-
};
|
|
74
|
-
this.config.tsc.transformers ??= {
|
|
75
|
-
before: [],
|
|
76
|
-
after: []
|
|
77
|
-
};
|
|
78
|
-
this.config.tsc.transformers.before.push((0, _powerlines_deepkit_transformer.createTransformer)(this, this.config.deepkit));
|
|
79
|
-
this.config.tsc.transformers.after.push((0, _powerlines_deepkit_transformer.createDeclarationTransformer)(this, this.config.deepkit));
|
|
80
|
-
}
|
|
81
|
-
}
|
|
82
|
-
}];
|
|
83
|
-
};
|
|
84
|
-
|
|
85
|
-
//#endregion
|
|
86
|
-
exports.default = plugin;
|
|
87
|
-
exports.plugin = plugin;
|
package/dist/index.d.cts
DELETED
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
import { DeepkitPluginContext, DeepkitPluginOptions, DeepkitPluginResolvedConfig, DeepkitPluginUserConfig, __ΩDeepkitPluginContext, __ΩDeepkitPluginOptions, __ΩDeepkitPluginResolvedConfig, __ΩDeepkitPluginUserConfig } from "./types/plugin.cjs";
|
|
2
|
-
import { Plugin } from "powerlines";
|
|
3
|
-
|
|
4
|
-
//#region src/index.d.ts
|
|
5
|
-
declare module "powerlines" {
|
|
6
|
-
interface Config {
|
|
7
|
-
deepkit?: DeepkitPluginOptions;
|
|
8
|
-
}
|
|
9
|
-
}
|
|
10
|
-
/**
|
|
11
|
-
* Deepkit plugin for Powerlines.
|
|
12
|
-
*
|
|
13
|
-
* @param options - The Deepkit plugin user configuration options.
|
|
14
|
-
* @returns A Powerlines plugin that integrates Deepkit transformations.
|
|
15
|
-
*/
|
|
16
|
-
declare const plugin: <TContext extends DeepkitPluginContext = DeepkitPluginContext>(options?: DeepkitPluginOptions) => Plugin<TContext>[];
|
|
17
|
-
//#endregion
|
|
18
|
-
export { DeepkitPluginContext, DeepkitPluginOptions, DeepkitPluginResolvedConfig, DeepkitPluginUserConfig, __ΩDeepkitPluginContext, __ΩDeepkitPluginOptions, __ΩDeepkitPluginResolvedConfig, __ΩDeepkitPluginUserConfig, plugin as default, plugin };
|
|
19
|
-
//# sourceMappingURL=index.d.cts.map
|
package/dist/index.d.cts.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.cts","names":[],"sources":["../src/index.ts"],"mappings":";;;;;YA8BY,MAAA;IACR,OAAA,GAAU,oBAAA;EAAA;AAAA;;;;;;;cAUD,MAAA,oBACM,oBAAA,GAAuB,oBAAA,EAExC,OAAA,GAAS,oBAAA,KACR,MAAA,CAAO,QAAA"}
|
package/dist/index.d.mts
DELETED
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
import { DeepkitPluginContext, DeepkitPluginOptions, DeepkitPluginResolvedConfig, DeepkitPluginUserConfig, __ΩDeepkitPluginContext, __ΩDeepkitPluginOptions, __ΩDeepkitPluginResolvedConfig, __ΩDeepkitPluginUserConfig } from "./types/plugin.mjs";
|
|
2
|
-
import { Plugin } from "powerlines";
|
|
3
|
-
|
|
4
|
-
//#region src/index.d.ts
|
|
5
|
-
declare module "powerlines" {
|
|
6
|
-
interface Config {
|
|
7
|
-
deepkit?: DeepkitPluginOptions;
|
|
8
|
-
}
|
|
9
|
-
}
|
|
10
|
-
/**
|
|
11
|
-
* Deepkit plugin for Powerlines.
|
|
12
|
-
*
|
|
13
|
-
* @param options - The Deepkit plugin user configuration options.
|
|
14
|
-
* @returns A Powerlines plugin that integrates Deepkit transformations.
|
|
15
|
-
*/
|
|
16
|
-
declare const plugin: <TContext extends DeepkitPluginContext = DeepkitPluginContext>(options?: DeepkitPluginOptions) => Plugin<TContext>[];
|
|
17
|
-
//#endregion
|
|
18
|
-
export { DeepkitPluginContext, DeepkitPluginOptions, DeepkitPluginResolvedConfig, DeepkitPluginUserConfig, __ΩDeepkitPluginContext, __ΩDeepkitPluginOptions, __ΩDeepkitPluginResolvedConfig, __ΩDeepkitPluginUserConfig, plugin as default, plugin };
|
|
19
|
-
//# sourceMappingURL=index.d.mts.map
|
package/dist/index.d.mts.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.mts","names":[],"sources":["../src/index.ts"],"mappings":";;;;;YA8BY,MAAA;IACR,OAAA,GAAU,oBAAA;EAAA;AAAA;;;;;;;cAUD,MAAA,oBACM,oBAAA,GAAuB,oBAAA,EAExC,OAAA,GAAS,oBAAA,KACR,MAAA,CAAO,QAAA"}
|
package/dist/index.mjs
DELETED
|
@@ -1,59 +0,0 @@
|
|
|
1
|
-
import "./chunk-BCHjMept.mjs";
|
|
2
|
-
import "./types/index.mjs";
|
|
3
|
-
import { createDeclarationTransformer, createTransformer } from "@powerlines/deepkit/transformer";
|
|
4
|
-
import tsc from "@powerlines/plugin-tsc";
|
|
5
|
-
import { StormJSON } from "@stryke/json/storm-json";
|
|
6
|
-
|
|
7
|
-
//#region src/index.ts
|
|
8
|
-
/**
|
|
9
|
-
* Deepkit plugin for Powerlines.
|
|
10
|
-
*
|
|
11
|
-
* @param options - The Deepkit plugin user configuration options.
|
|
12
|
-
* @returns A Powerlines plugin that integrates Deepkit transformations.
|
|
13
|
-
*/
|
|
14
|
-
const plugin = (options = {}) => {
|
|
15
|
-
return [tsc(options), {
|
|
16
|
-
name: "deepkit",
|
|
17
|
-
config() {
|
|
18
|
-
return {
|
|
19
|
-
deepkit: options ?? {},
|
|
20
|
-
resolve: { external: [
|
|
21
|
-
"@powerlines/deepkit/vendor/type-compiler",
|
|
22
|
-
"@powerlines/deepkit/vendor/type-spec",
|
|
23
|
-
"@powerlines/deepkit/vendor/type",
|
|
24
|
-
"@powerlines/deepkit/vendor/core"
|
|
25
|
-
] }
|
|
26
|
-
};
|
|
27
|
-
},
|
|
28
|
-
configResolved: {
|
|
29
|
-
order: "post",
|
|
30
|
-
async handler() {
|
|
31
|
-
const reflection = this.config.deepkit.reflection || this.tsconfig.tsconfigJson.compilerOptions?.reflection || this.tsconfig.tsconfigJson.reflection || "default";
|
|
32
|
-
const reflectionLevel = this.config.deepkit.reflectionLevel || this.tsconfig.tsconfigJson.compilerOptions?.reflectionLevel || this.tsconfig.tsconfigJson.reflectionLevel || "minimal";
|
|
33
|
-
if (!this.tsconfig.tsconfigJson.reflection || !this.tsconfig.tsconfigJson.reflectionLevel) {
|
|
34
|
-
this.tsconfig.tsconfigJson.reflection ??= reflection;
|
|
35
|
-
this.tsconfig.tsconfigJson.reflectionLevel ??= reflectionLevel;
|
|
36
|
-
await this.fs.write(this.tsconfig.tsconfigFilePath, StormJSON.stringify(this.tsconfig.tsconfigJson));
|
|
37
|
-
}
|
|
38
|
-
this.config.tsc ??= {};
|
|
39
|
-
this.config.tsc.compilerOptions = {
|
|
40
|
-
...this.config.tsc.compilerOptions ?? {},
|
|
41
|
-
exclude: this.config.deepkit.exclude ?? [],
|
|
42
|
-
reflection,
|
|
43
|
-
reflectionLevel,
|
|
44
|
-
configFilePath: this.tsconfig.tsconfigFilePath
|
|
45
|
-
};
|
|
46
|
-
this.config.tsc.transformers ??= {
|
|
47
|
-
before: [],
|
|
48
|
-
after: []
|
|
49
|
-
};
|
|
50
|
-
this.config.tsc.transformers.before.push(createTransformer(this, this.config.deepkit));
|
|
51
|
-
this.config.tsc.transformers.after.push(createDeclarationTransformer(this, this.config.deepkit));
|
|
52
|
-
}
|
|
53
|
-
}
|
|
54
|
-
}];
|
|
55
|
-
};
|
|
56
|
-
|
|
57
|
-
//#endregion
|
|
58
|
-
export { plugin as default, plugin };
|
|
59
|
-
//# sourceMappingURL=index.mjs.map
|
package/dist/index.mjs.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.mjs","names":[],"sources":["../src/index.ts"],"sourcesContent":["/* -------------------------------------------------------------------\n\n ⚡ Storm Software - Powerlines\n\n This code was released as part of the Powerlines project. Powerlines\n is maintained by Storm Software under the Apache-2.0 license, and is\n free for commercial and private use. For more information, please visit\n our licensing page at https://stormsoftware.com/licenses/projects/powerlines.\n\n Website: https://stormsoftware.com\n Repository: https://github.com/storm-software/powerlines\n Documentation: https://docs.stormsoftware.com/projects/powerlines\n Contact: https://stormsoftware.com/contact\n\n SPDX-License-Identifier: Apache-2.0\n\n ------------------------------------------------------------------- */\n\nimport {\n createDeclarationTransformer,\n createTransformer\n} from \"@powerlines/deepkit/transformer\";\nimport tsc from \"@powerlines/plugin-tsc\";\nimport { StormJSON } from \"@stryke/json/storm-json\";\nimport { Plugin, ReflectionLevel } from \"powerlines\";\nimport { DeepkitPluginContext, DeepkitPluginOptions } from \"./types/plugin\";\n\nexport * from \"./types\";\n\ndeclare module \"powerlines\" {\n interface Config {\n deepkit?: DeepkitPluginOptions;\n }\n}\n\n/**\n * Deepkit plugin for Powerlines.\n *\n * @param options - The Deepkit plugin user configuration options.\n * @returns A Powerlines plugin that integrates Deepkit transformations.\n */\nexport const plugin = <\n TContext extends DeepkitPluginContext = DeepkitPluginContext\n>(\n options: DeepkitPluginOptions = {}\n): Plugin<TContext>[] => {\n return [\n tsc(options),\n {\n name: \"deepkit\",\n config() {\n return {\n deepkit: options ?? {},\n resolve: {\n external: [\n \"@powerlines/deepkit/vendor/type-compiler\",\n \"@powerlines/deepkit/vendor/type-spec\",\n \"@powerlines/deepkit/vendor/type\",\n \"@powerlines/deepkit/vendor/core\"\n ]\n }\n };\n },\n configResolved: {\n order: \"post\",\n async handler() {\n const reflection =\n this.config.deepkit.reflection ||\n this.tsconfig.tsconfigJson.compilerOptions?.reflection ||\n this.tsconfig.tsconfigJson.reflection ||\n \"default\";\n const reflectionLevel =\n this.config.deepkit.reflectionLevel ||\n this.tsconfig.tsconfigJson.compilerOptions?.reflectionLevel ||\n this.tsconfig.tsconfigJson.reflectionLevel ||\n \"minimal\";\n\n if (\n !this.tsconfig.tsconfigJson.reflection ||\n !this.tsconfig.tsconfigJson.reflectionLevel\n ) {\n this.tsconfig.tsconfigJson.reflection ??= reflection;\n this.tsconfig.tsconfigJson.reflectionLevel ??=\n reflectionLevel as ReflectionLevel;\n\n await this.fs.write(\n this.tsconfig.tsconfigFilePath,\n StormJSON.stringify(this.tsconfig.tsconfigJson)\n );\n }\n\n this.config.tsc ??= {} as TContext[\"config\"][\"tsc\"];\n this.config.tsc.compilerOptions = {\n ...(this.config.tsc.compilerOptions ?? {}),\n exclude: this.config.deepkit.exclude ?? [],\n reflection,\n reflectionLevel,\n configFilePath: this.tsconfig.tsconfigFilePath\n };\n\n this.config.tsc.transformers ??= {\n before: [],\n after: []\n };\n\n this.config.tsc.transformers.before!.push(\n createTransformer(this, this.config.deepkit)\n );\n this.config.tsc.transformers.after!.push(\n createDeclarationTransformer(this, this.config.deepkit)\n );\n }\n }\n }\n ] as Plugin<TContext>[];\n};\n\nexport default plugin;\n"],"mappings":";;;;;;;;;;;;;AAyCA,MAAa,UAGX,UAAgC,EAAE,KACX;AACvB,QAAO,CACL,IAAI,QAAQ,EACZ;EACE,MAAM;EACN,SAAS;AACP,UAAO;IACL,SAAS,WAAW,EAAE;IACtB,SAAS,EACP,UAAU;KACR;KACA;KACA;KACA;KACD,EACF;IACF;;EAEH,gBAAgB;GACd,OAAO;GACP,MAAM,UAAU;IACd,MAAM,aACJ,KAAK,OAAO,QAAQ,cACpB,KAAK,SAAS,aAAa,iBAAiB,cAC5C,KAAK,SAAS,aAAa,cAC3B;IACF,MAAM,kBACJ,KAAK,OAAO,QAAQ,mBACpB,KAAK,SAAS,aAAa,iBAAiB,mBAC5C,KAAK,SAAS,aAAa,mBAC3B;AAEF,QACE,CAAC,KAAK,SAAS,aAAa,cAC5B,CAAC,KAAK,SAAS,aAAa,iBAC5B;AACA,UAAK,SAAS,aAAa,eAAe;AAC1C,UAAK,SAAS,aAAa,oBACzB;AAEF,WAAM,KAAK,GAAG,MACZ,KAAK,SAAS,kBACd,UAAU,UAAU,KAAK,SAAS,aAAa,CAChD;;AAGH,SAAK,OAAO,QAAQ,EAAE;AACtB,SAAK,OAAO,IAAI,kBAAkB;KAChC,GAAI,KAAK,OAAO,IAAI,mBAAmB,EAAE;KACzC,SAAS,KAAK,OAAO,QAAQ,WAAW,EAAE;KAC1C;KACA;KACA,gBAAgB,KAAK,SAAS;KAC/B;AAED,SAAK,OAAO,IAAI,iBAAiB;KAC/B,QAAQ,EAAE;KACV,OAAO,EAAE;KACV;AAED,SAAK,OAAO,IAAI,aAAa,OAAQ,KACnC,kBAAkB,MAAM,KAAK,OAAO,QAAQ,CAC7C;AACD,SAAK,OAAO,IAAI,aAAa,MAAO,KAClC,6BAA6B,MAAM,KAAK,OAAO,QAAQ,CACxD;;GAEJ;EACF,CACF"}
|
package/dist/types/index.cjs
DELETED
|
File without changes
|
package/dist/types/index.d.cts
DELETED
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import { DeepkitPluginContext, DeepkitPluginOptions, DeepkitPluginResolvedConfig, DeepkitPluginUserConfig, __ΩDeepkitPluginContext, __ΩDeepkitPluginOptions, __ΩDeepkitPluginResolvedConfig, __ΩDeepkitPluginUserConfig } from "./plugin.cjs";
|
|
2
|
-
export { DeepkitPluginContext, DeepkitPluginOptions, DeepkitPluginResolvedConfig, DeepkitPluginUserConfig, __ΩDeepkitPluginContext, __ΩDeepkitPluginOptions, __ΩDeepkitPluginResolvedConfig, __ΩDeepkitPluginUserConfig };
|
package/dist/types/index.d.mts
DELETED
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import { DeepkitPluginContext, DeepkitPluginOptions, DeepkitPluginResolvedConfig, DeepkitPluginUserConfig, __ΩDeepkitPluginContext, __ΩDeepkitPluginOptions, __ΩDeepkitPluginResolvedConfig, __ΩDeepkitPluginUserConfig } from "./plugin.mjs";
|
|
2
|
-
export { DeepkitPluginContext, DeepkitPluginOptions, DeepkitPluginResolvedConfig, DeepkitPluginUserConfig, __ΩDeepkitPluginContext, __ΩDeepkitPluginOptions, __ΩDeepkitPluginResolvedConfig, __ΩDeepkitPluginUserConfig };
|
package/dist/types/index.mjs
DELETED
package/dist/types/plugin.cjs
DELETED
|
File without changes
|
package/dist/types/plugin.d.cts
DELETED
|
@@ -1,25 +0,0 @@
|
|
|
1
|
-
import { ReflectionConfig } from "@powerlines/deepkit/vendor/type-compiler/config";
|
|
2
|
-
import { TypeScriptCompilerPluginContext, TypeScriptCompilerPluginOptions, TypeScriptCompilerPluginResolvedConfig, TypeScriptCompilerPluginUserConfig } from "@powerlines/plugin-tsc/types/plugin";
|
|
3
|
-
|
|
4
|
-
//#region src/types/plugin.d.ts
|
|
5
|
-
type DeepkitPluginOptions = Partial<ReflectionConfig> & TypeScriptCompilerPluginOptions;
|
|
6
|
-
interface DeepkitPluginUserConfig extends TypeScriptCompilerPluginUserConfig {
|
|
7
|
-
/**
|
|
8
|
-
* Deepkit transformation options
|
|
9
|
-
*/
|
|
10
|
-
deepkit: DeepkitPluginOptions;
|
|
11
|
-
}
|
|
12
|
-
interface DeepkitPluginResolvedConfig extends TypeScriptCompilerPluginResolvedConfig {
|
|
13
|
-
/**
|
|
14
|
-
* Resolved deepkit transformation options
|
|
15
|
-
*/
|
|
16
|
-
deepkit: Required<DeepkitPluginOptions>;
|
|
17
|
-
}
|
|
18
|
-
type DeepkitPluginContext<TResolvedConfig extends DeepkitPluginResolvedConfig = DeepkitPluginResolvedConfig> = TypeScriptCompilerPluginContext<TResolvedConfig>;
|
|
19
|
-
declare type __ΩDeepkitPluginOptions = any[];
|
|
20
|
-
declare type __ΩDeepkitPluginUserConfig = any[];
|
|
21
|
-
declare type __ΩDeepkitPluginResolvedConfig = any[];
|
|
22
|
-
declare type __ΩDeepkitPluginContext = any[];
|
|
23
|
-
//#endregion
|
|
24
|
-
export { DeepkitPluginContext, DeepkitPluginOptions, DeepkitPluginResolvedConfig, DeepkitPluginUserConfig, __ΩDeepkitPluginContext, __ΩDeepkitPluginOptions, __ΩDeepkitPluginResolvedConfig, __ΩDeepkitPluginUserConfig };
|
|
25
|
-
//# sourceMappingURL=plugin.d.cts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"plugin.d.cts","names":[],"sources":["../../src/types/plugin.ts"],"mappings":";;;;KA0BY,oBAAA,GAAuB,OAAA,CAAQ,gBAAA,IACzC,+BAAA;AAAA,UAEe,uBAAA,SAAgC,kCAAA;EAHrC;;;EAOV,OAAA,EAAS,oBAAA;AAAA;AAAA,UAGM,2BAAA,SAAoC,sCAAA;EATpB;;;EAa/B,OAAA,EAAS,QAAA,CAAS,oBAAA;AAAA;AAAA,KAGR,oBAAA,yBACc,2BAAA,GACtB,2BAAA,IACA,+BAAA,CAAgC,eAAA;AAAA"}
|
package/dist/types/plugin.d.mts
DELETED
|
@@ -1,25 +0,0 @@
|
|
|
1
|
-
import { ReflectionConfig } from "@powerlines/deepkit/vendor/type-compiler/config";
|
|
2
|
-
import { TypeScriptCompilerPluginContext, TypeScriptCompilerPluginOptions, TypeScriptCompilerPluginResolvedConfig, TypeScriptCompilerPluginUserConfig } from "@powerlines/plugin-tsc/types/plugin";
|
|
3
|
-
|
|
4
|
-
//#region src/types/plugin.d.ts
|
|
5
|
-
type DeepkitPluginOptions = Partial<ReflectionConfig> & TypeScriptCompilerPluginOptions;
|
|
6
|
-
interface DeepkitPluginUserConfig extends TypeScriptCompilerPluginUserConfig {
|
|
7
|
-
/**
|
|
8
|
-
* Deepkit transformation options
|
|
9
|
-
*/
|
|
10
|
-
deepkit: DeepkitPluginOptions;
|
|
11
|
-
}
|
|
12
|
-
interface DeepkitPluginResolvedConfig extends TypeScriptCompilerPluginResolvedConfig {
|
|
13
|
-
/**
|
|
14
|
-
* Resolved deepkit transformation options
|
|
15
|
-
*/
|
|
16
|
-
deepkit: Required<DeepkitPluginOptions>;
|
|
17
|
-
}
|
|
18
|
-
type DeepkitPluginContext<TResolvedConfig extends DeepkitPluginResolvedConfig = DeepkitPluginResolvedConfig> = TypeScriptCompilerPluginContext<TResolvedConfig>;
|
|
19
|
-
declare type __ΩDeepkitPluginOptions = any[];
|
|
20
|
-
declare type __ΩDeepkitPluginUserConfig = any[];
|
|
21
|
-
declare type __ΩDeepkitPluginResolvedConfig = any[];
|
|
22
|
-
declare type __ΩDeepkitPluginContext = any[];
|
|
23
|
-
//#endregion
|
|
24
|
-
export { DeepkitPluginContext, DeepkitPluginOptions, DeepkitPluginResolvedConfig, DeepkitPluginUserConfig, __ΩDeepkitPluginContext, __ΩDeepkitPluginOptions, __ΩDeepkitPluginResolvedConfig, __ΩDeepkitPluginUserConfig };
|
|
25
|
-
//# sourceMappingURL=plugin.d.mts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"plugin.d.mts","names":[],"sources":["../../src/types/plugin.ts"],"mappings":";;;;KA0BY,oBAAA,GAAuB,OAAA,CAAQ,gBAAA,IACzC,+BAAA;AAAA,UAEe,uBAAA,SAAgC,kCAAA;;AAHjD;;EAOE,OAAA,EAAS,oBAAA;AAAA;AAAA,UAGM,2BAAA,SAAoC,sCAAA;EATnD;;;EAaA,OAAA,EAAS,QAAA,CAAS,oBAAA;AAAA;AAAA,KAGR,oBAAA,yBACc,2BAAA,GACtB,2BAAA,IACA,+BAAA,CAAgC,eAAA;AAAA"}
|
package/dist/types/plugin.mjs
DELETED