@powerlines/plugin-deepkit 0.11.219 → 0.11.221
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/README.md +14 -16
- package/dist/chunk-BCHjMept.mjs +3 -0
- package/dist/index.cjs +11 -12
- package/dist/index.d.cts +1 -2
- package/dist/index.d.cts.map +1 -1
- package/dist/index.d.mts +1 -2
- package/dist/index.d.mts.map +1 -1
- package/dist/index.mjs +2 -2
- package/dist/index.mjs.map +1 -1
- package/dist/types/index.d.cts +1 -2
- package/dist/types/index.d.mts +1 -2
- package/dist/types/index.mjs +2 -0
- package/dist/types/plugin.d.cts +25 -2
- package/dist/types/plugin.d.cts.map +1 -0
- package/dist/types/plugin.d.mts +25 -2
- package/dist/types/plugin.d.mts.map +1 -0
- package/dist/types/plugin.mjs +2 -0
- package/package.json +7 -7
- package/dist/index-CEgs-Dz2.d.cts +0 -1
- package/dist/index-DvIJYkSC.d.mts +0 -1
- package/dist/plugin-BkCdQ7Qi.d.cts +0 -25
- package/dist/plugin-BkCdQ7Qi.d.cts.map +0 -1
- package/dist/plugin-C3MaN5jp.mjs +0 -1
- package/dist/plugin-DHXHjv16.cjs +0 -0
- package/dist/plugin-Dk9YCgdY.d.mts +0 -25
- package/dist/plugin-Dk9YCgdY.d.mts.map +0 -1
package/README.md
CHANGED
|
@@ -27,7 +27,7 @@ This package is part of the <b>🔌 Powerlines</b> monorepo. Powerlines is the "
|
|
|
27
27
|
|
|
28
28
|
<h3 align="center">💻 Visit <a href="https://stormsoftware.com" target="_blank">stormsoftware.com</a> to stay up to date with this developer</h3><br />
|
|
29
29
|
|
|
30
|
-
[](https://stormsoftware.com/projects/powerlines) [](http://commitizen.github.io/cz-cli/)  
|
|
31
31
|
|
|
32
32
|
<!-- prettier-ignore-start -->
|
|
33
33
|
<!-- markdownlint-disable -->
|
|
@@ -58,21 +58,19 @@ A package containing the Deepkit plugin for Powerlines, various helper utilities
|
|
|
58
58
|
|
|
59
59
|
## Table of Contents
|
|
60
60
|
|
|
61
|
-
- [
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
- [
|
|
65
|
-
- [
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
- [Contributing](#contributing)
|
|
75
|
-
- [Contributors](#contributors)
|
|
61
|
+
- [Installing](#installing)
|
|
62
|
+
- [Reduced Package Size](#reduced-package-size)
|
|
63
|
+
- [Development](#development)
|
|
64
|
+
- [Building](#building)
|
|
65
|
+
- [Running unit tests](#running-unit-tests)
|
|
66
|
+
- [Linting](#linting)
|
|
67
|
+
- [Storm Workspaces](#storm-workspaces)
|
|
68
|
+
- [Roadmap](#roadmap)
|
|
69
|
+
- [Support](#support)
|
|
70
|
+
- [License](#license)
|
|
71
|
+
- [Changelog](#changelog)
|
|
72
|
+
- [Contributing](#contributing)
|
|
73
|
+
- [Contributors](#contributors)
|
|
76
74
|
|
|
77
75
|
<!-- END doctoc -->
|
|
78
76
|
|
package/dist/index.cjs
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
Object.
|
|
2
|
-
//#region
|
|
1
|
+
Object.defineProperties(exports, { __esModule: { value: true }, [Symbol.toStringTag]: { value: 'Module' } });
|
|
2
|
+
//#region \0rolldown/runtime.js
|
|
3
3
|
var __create = Object.create;
|
|
4
4
|
var __defProp = Object.defineProperty;
|
|
5
5
|
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
@@ -27,10 +27,10 @@ var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__ge
|
|
|
27
27
|
|
|
28
28
|
//#endregion
|
|
29
29
|
require('./types/index.cjs');
|
|
30
|
-
let
|
|
31
|
-
let
|
|
32
|
-
|
|
33
|
-
let
|
|
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
34
|
|
|
35
35
|
//#region src/index.ts
|
|
36
36
|
/**
|
|
@@ -40,7 +40,7 @@ let __stryke_json_storm_json = require("@stryke/json/storm-json");
|
|
|
40
40
|
* @returns A Powerlines plugin that integrates Deepkit transformations.
|
|
41
41
|
*/
|
|
42
42
|
const plugin = (options = {}) => {
|
|
43
|
-
return [(0,
|
|
43
|
+
return [(0, _powerlines_plugin_tsc.default)(options), {
|
|
44
44
|
name: "deepkit",
|
|
45
45
|
config() {
|
|
46
46
|
return {
|
|
@@ -61,7 +61,7 @@ const plugin = (options = {}) => {
|
|
|
61
61
|
if (!this.tsconfig.tsconfigJson.reflection || !this.tsconfig.tsconfigJson.reflectionLevel) {
|
|
62
62
|
this.tsconfig.tsconfigJson.reflection ??= reflection;
|
|
63
63
|
this.tsconfig.tsconfigJson.reflectionLevel ??= reflectionLevel;
|
|
64
|
-
await this.fs.write(this.tsconfig.tsconfigFilePath,
|
|
64
|
+
await this.fs.write(this.tsconfig.tsconfigFilePath, _stryke_json_storm_json.StormJSON.stringify(this.tsconfig.tsconfigJson));
|
|
65
65
|
}
|
|
66
66
|
this.config.tsc ??= {};
|
|
67
67
|
this.config.tsc.compilerOptions = {
|
|
@@ -75,14 +75,13 @@ const plugin = (options = {}) => {
|
|
|
75
75
|
before: [],
|
|
76
76
|
after: []
|
|
77
77
|
};
|
|
78
|
-
this.config.tsc.transformers.before.push((0,
|
|
79
|
-
this.config.tsc.transformers.after.push((0,
|
|
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
80
|
}
|
|
81
81
|
}
|
|
82
82
|
}];
|
|
83
83
|
};
|
|
84
|
-
var src_default = plugin;
|
|
85
84
|
|
|
86
85
|
//#endregion
|
|
87
|
-
exports.default =
|
|
86
|
+
exports.default = plugin;
|
|
88
87
|
exports.plugin = plugin;
|
package/dist/index.d.cts
CHANGED
|
@@ -1,5 +1,4 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import "./index-CEgs-Dz2.cjs";
|
|
1
|
+
import { DeepkitPluginContext, DeepkitPluginOptions, DeepkitPluginResolvedConfig, DeepkitPluginUserConfig, __ΩDeepkitPluginContext, __ΩDeepkitPluginOptions, __ΩDeepkitPluginResolvedConfig, __ΩDeepkitPluginUserConfig } from "./types/plugin.cjs";
|
|
3
2
|
import { Plugin } from "powerlines";
|
|
4
3
|
|
|
5
4
|
//#region src/index.d.ts
|
package/dist/index.d.cts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.cts","names":[],"sources":["../src/index.ts"],"
|
|
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
CHANGED
|
@@ -1,5 +1,4 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import "./index-DvIJYkSC.mjs";
|
|
1
|
+
import { DeepkitPluginContext, DeepkitPluginOptions, DeepkitPluginResolvedConfig, DeepkitPluginUserConfig, __ΩDeepkitPluginContext, __ΩDeepkitPluginOptions, __ΩDeepkitPluginResolvedConfig, __ΩDeepkitPluginUserConfig } from "./types/plugin.mjs";
|
|
3
2
|
import { Plugin } from "powerlines";
|
|
4
3
|
|
|
5
4
|
//#region src/index.d.ts
|
package/dist/index.d.mts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.mts","names":[],"sources":["../src/index.ts"],"
|
|
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
CHANGED
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import "./chunk-BCHjMept.mjs";
|
|
1
2
|
import "./types/index.mjs";
|
|
2
3
|
import { createDeclarationTransformer, createTransformer } from "@powerlines/deepkit/transformer";
|
|
3
4
|
import tsc from "@powerlines/plugin-tsc";
|
|
@@ -52,8 +53,7 @@ const plugin = (options = {}) => {
|
|
|
52
53
|
}
|
|
53
54
|
}];
|
|
54
55
|
};
|
|
55
|
-
var src_default = plugin;
|
|
56
56
|
|
|
57
57
|
//#endregion
|
|
58
|
-
export {
|
|
58
|
+
export { plugin as default, plugin };
|
|
59
59
|
//# sourceMappingURL=index.mjs.map
|
package/dist/index.mjs.map
CHANGED
|
@@ -1 +1 @@
|
|
|
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":"
|
|
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.d.cts
CHANGED
|
@@ -1,3 +1,2 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import "../index-CEgs-Dz2.cjs";
|
|
1
|
+
import { DeepkitPluginContext, DeepkitPluginOptions, DeepkitPluginResolvedConfig, DeepkitPluginUserConfig, __ΩDeepkitPluginContext, __ΩDeepkitPluginOptions, __ΩDeepkitPluginResolvedConfig, __ΩDeepkitPluginUserConfig } from "./plugin.cjs";
|
|
3
2
|
export { DeepkitPluginContext, DeepkitPluginOptions, DeepkitPluginResolvedConfig, DeepkitPluginUserConfig, __ΩDeepkitPluginContext, __ΩDeepkitPluginOptions, __ΩDeepkitPluginResolvedConfig, __ΩDeepkitPluginUserConfig };
|
package/dist/types/index.d.mts
CHANGED
|
@@ -1,3 +1,2 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import "../index-DvIJYkSC.mjs";
|
|
1
|
+
import { DeepkitPluginContext, DeepkitPluginOptions, DeepkitPluginResolvedConfig, DeepkitPluginUserConfig, __ΩDeepkitPluginContext, __ΩDeepkitPluginOptions, __ΩDeepkitPluginResolvedConfig, __ΩDeepkitPluginUserConfig } from "./plugin.mjs";
|
|
3
2
|
export { DeepkitPluginContext, DeepkitPluginOptions, DeepkitPluginResolvedConfig, DeepkitPluginUserConfig, __ΩDeepkitPluginContext, __ΩDeepkitPluginOptions, __ΩDeepkitPluginResolvedConfig, __ΩDeepkitPluginUserConfig };
|
package/dist/types/index.mjs
CHANGED
package/dist/types/plugin.d.cts
CHANGED
|
@@ -1,2 +1,25 @@
|
|
|
1
|
-
import {
|
|
2
|
-
|
|
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
|
|
@@ -0,0 +1 @@
|
|
|
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
CHANGED
|
@@ -1,2 +1,25 @@
|
|
|
1
|
-
import {
|
|
2
|
-
|
|
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
|
|
@@ -0,0 +1 @@
|
|
|
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
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@powerlines/plugin-deepkit",
|
|
3
|
-
"version": "0.11.
|
|
3
|
+
"version": "0.11.221",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"description": "A package containing a Powerlines plugin to assist in developing other Powerlines plugins.",
|
|
6
6
|
"repository": {
|
|
@@ -55,7 +55,7 @@
|
|
|
55
55
|
"default": "./dist/index.mjs"
|
|
56
56
|
}
|
|
57
57
|
},
|
|
58
|
-
"
|
|
58
|
+
"./package.json": "./package.json",
|
|
59
59
|
"./types": {
|
|
60
60
|
"require": {
|
|
61
61
|
"types": "./dist/types/index.d.cts",
|
|
@@ -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.121",
|
|
94
|
+
"@powerlines/plugin-tsc": "^0.2.350",
|
|
95
95
|
"@stryke/json": "^0.14.7",
|
|
96
|
-
"powerlines": "^0.41.
|
|
96
|
+
"powerlines": "^0.41.7",
|
|
97
97
|
"typescript": "^5.9.3"
|
|
98
98
|
},
|
|
99
99
|
"devDependencies": {
|
|
100
|
-
"@powerlines/plugin-plugin": "^0.12.
|
|
100
|
+
"@powerlines/plugin-plugin": "^0.12.293",
|
|
101
101
|
"@types/node": "^25.4.0"
|
|
102
102
|
},
|
|
103
103
|
"publishConfig": { "access": "public" },
|
|
104
|
-
"gitHead": "
|
|
104
|
+
"gitHead": "2fb48143904805988bac9bdbc04cdc4a35ff398b"
|
|
105
105
|
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { };
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { };
|
|
@@ -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 as a, __ΩDeepkitPluginUserConfig as c, DeepkitPluginUserConfig as i, DeepkitPluginOptions as n, __ΩDeepkitPluginOptions as o, DeepkitPluginResolvedConfig as r, __ΩDeepkitPluginResolvedConfig as s, DeepkitPluginContext as t };
|
|
25
|
-
//# sourceMappingURL=plugin-BkCdQ7Qi.d.cts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"plugin-BkCdQ7Qi.d.cts","names":[],"sources":["../src/types/plugin.ts"],"sourcesContent":[],"mappings":";;;;KA0BY,oBAAA,GAAuB,QAAQ,oBACzC;UAEe,uBAAA,SAAgC;EAHrC;;;EACV,OAAA,EAMS,oBANT;;AAEe,UAOA,2BAAA,SAAoC,sCAPJ,CAAA;EAOhC;;;EAAoC,OAAA,EAI1C,QAJ0C,CAIjC,oBAJiC,CAAA;;AAOzC,KAAA,oBAAoB,CAAA,wBACN,2BADM,GAE5B,2BAF4B,CAAA,GAG5B,+BAH4B,CAGI,eAHJ,CAAA;AACN,uCAAA,GAAA,EAAA;AACtB,0CAAA,GAAA,EAAA;AACgC,8CAAA,GAAA,EAAA;AAAhC,uCAAA,GAAA,EAAA"}
|
package/dist/plugin-C3MaN5jp.mjs
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { };
|
package/dist/plugin-DHXHjv16.cjs
DELETED
|
File without changes
|
|
@@ -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 as a, __ΩDeepkitPluginUserConfig as c, DeepkitPluginUserConfig as i, DeepkitPluginOptions as n, __ΩDeepkitPluginOptions as o, DeepkitPluginResolvedConfig as r, __ΩDeepkitPluginResolvedConfig as s, DeepkitPluginContext as t };
|
|
25
|
-
//# sourceMappingURL=plugin-Dk9YCgdY.d.mts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"plugin-Dk9YCgdY.d.mts","names":[],"sources":["../src/types/plugin.ts"],"sourcesContent":[],"mappings":";;;;KA0BY,oBAAA,GAAuB,QAAQ,oBACzC;UAEe,uBAAA,SAAgC;EAHrC;;;EACV,OAAA,EAMS,oBANT;;AAEe,UAOA,2BAAA,SAAoC,sCAPJ,CAAA;EAOhC;;;EAAoC,OAAA,EAI1C,QAJ0C,CAIjC,oBAJiC,CAAA;;AAOzC,KAAA,oBAAoB,CAAA,wBACN,2BADM,GAE5B,2BAF4B,CAAA,GAG5B,+BAH4B,CAGI,eAHJ,CAAA;AACN,uCAAA,GAAA,EAAA;AACtB,0CAAA,GAAA,EAAA;AACgC,8CAAA,GAAA,EAAA;AAAhC,uCAAA,GAAA,EAAA"}
|