@powerlines/plugin-deepkit 0.10.138 → 0.11.0
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/index.cjs +8 -12
- package/dist/index.d.cts +1 -1
- package/dist/index.d.mts +1 -1
- package/dist/index.mjs +8 -12
- package/dist/{plugin-CW8k-fOr.d.mts → plugin-ColAw2L2.d.mts} +8 -1
- package/dist/{plugin-BuwTR6h1.d.cts → plugin-CzKWQV6e.d.cts} +8 -1
- package/dist/types/index.d.cts +1 -1
- package/dist/types/index.d.mts +1 -1
- package/dist/types/plugin.d.cts +1 -1
- package/dist/types/plugin.d.mts +1 -1
- package/package.json +6 -6
package/dist/index.cjs
CHANGED
|
@@ -46,17 +46,12 @@ const plugin = (options = {}) => {
|
|
|
46
46
|
config() {
|
|
47
47
|
return {
|
|
48
48
|
transform: { deepkit: options ?? {} },
|
|
49
|
-
build: {
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
"@powerlines/deepkit/vendor/type-spec",
|
|
56
|
-
"@powerlines/deepkit/vendor/type",
|
|
57
|
-
"@powerlines/deepkit/vendor/core"
|
|
58
|
-
]
|
|
59
|
-
}
|
|
49
|
+
build: { external: [
|
|
50
|
+
"@powerlines/deepkit/vendor/type-compiler",
|
|
51
|
+
"@powerlines/deepkit/vendor/type-spec",
|
|
52
|
+
"@powerlines/deepkit/vendor/type",
|
|
53
|
+
"@powerlines/deepkit/vendor/core"
|
|
54
|
+
] }
|
|
60
55
|
};
|
|
61
56
|
},
|
|
62
57
|
configResolved: {
|
|
@@ -74,7 +69,8 @@ const plugin = (options = {}) => {
|
|
|
74
69
|
...this.config.transform.tsc.compilerOptions ?? {},
|
|
75
70
|
exclude: this.config.transform.deepkit.exclude ?? [],
|
|
76
71
|
reflection,
|
|
77
|
-
reflectionLevel
|
|
72
|
+
reflectionLevel,
|
|
73
|
+
configFilePath: this.tsconfig.tsconfigFilePath
|
|
78
74
|
};
|
|
79
75
|
this.config.transform.tsc.transformers ??= {
|
|
80
76
|
before: [],
|
package/dist/index.d.cts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { a as __ΩDeepkitPluginContext, c as __ΩDeepkitPluginUserConfig, i as DeepkitPluginUserConfig, l as Plugin, n as DeepkitPluginOptions, o as __ΩDeepkitPluginOptions, r as DeepkitPluginResolvedConfig, s as __ΩDeepkitPluginResolvedConfig, t as DeepkitPluginContext } from "./plugin-
|
|
1
|
+
import { a as __ΩDeepkitPluginContext, c as __ΩDeepkitPluginUserConfig, i as DeepkitPluginUserConfig, l as Plugin, n as DeepkitPluginOptions, o as __ΩDeepkitPluginOptions, r as DeepkitPluginResolvedConfig, s as __ΩDeepkitPluginResolvedConfig, t as DeepkitPluginContext } from "./plugin-CzKWQV6e.cjs";
|
|
2
2
|
import "./index-CEgs-Dz2.cjs";
|
|
3
3
|
|
|
4
4
|
//#region src/index.d.ts
|
package/dist/index.d.mts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { a as __ΩDeepkitPluginContext, c as __ΩDeepkitPluginUserConfig, i as DeepkitPluginUserConfig, l as Plugin, n as DeepkitPluginOptions, o as __ΩDeepkitPluginOptions, r as DeepkitPluginResolvedConfig, s as __ΩDeepkitPluginResolvedConfig, t as DeepkitPluginContext } from "./plugin-
|
|
1
|
+
import { a as __ΩDeepkitPluginContext, c as __ΩDeepkitPluginUserConfig, i as DeepkitPluginUserConfig, l as Plugin, n as DeepkitPluginOptions, o as __ΩDeepkitPluginOptions, r as DeepkitPluginResolvedConfig, s as __ΩDeepkitPluginResolvedConfig, t as DeepkitPluginContext } from "./plugin-ColAw2L2.mjs";
|
|
2
2
|
import "./index-BgAdqTbb.mjs";
|
|
3
3
|
|
|
4
4
|
//#region src/index.d.ts
|
package/dist/index.mjs
CHANGED
|
@@ -17,17 +17,12 @@ const plugin = (options = {}) => {
|
|
|
17
17
|
config() {
|
|
18
18
|
return {
|
|
19
19
|
transform: { deepkit: options ?? {} },
|
|
20
|
-
build: {
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
"@powerlines/deepkit/vendor/type-spec",
|
|
27
|
-
"@powerlines/deepkit/vendor/type",
|
|
28
|
-
"@powerlines/deepkit/vendor/core"
|
|
29
|
-
]
|
|
30
|
-
}
|
|
20
|
+
build: { external: [
|
|
21
|
+
"@powerlines/deepkit/vendor/type-compiler",
|
|
22
|
+
"@powerlines/deepkit/vendor/type-spec",
|
|
23
|
+
"@powerlines/deepkit/vendor/type",
|
|
24
|
+
"@powerlines/deepkit/vendor/core"
|
|
25
|
+
] }
|
|
31
26
|
};
|
|
32
27
|
},
|
|
33
28
|
configResolved: {
|
|
@@ -45,7 +40,8 @@ const plugin = (options = {}) => {
|
|
|
45
40
|
...this.config.transform.tsc.compilerOptions ?? {},
|
|
46
41
|
exclude: this.config.transform.deepkit.exclude ?? [],
|
|
47
42
|
reflection,
|
|
48
|
-
reflectionLevel
|
|
43
|
+
reflectionLevel,
|
|
44
|
+
configFilePath: this.tsconfig.tsconfigFilePath
|
|
49
45
|
};
|
|
50
46
|
this.config.transform.tsc.transformers ??= {
|
|
51
47
|
before: [],
|
|
@@ -938,6 +938,13 @@ interface CommonUserConfig extends BaseConfig {
|
|
|
938
938
|
* If this option is not provided, the build process will try to use the \`description\` value from the `\package.json\` file.
|
|
939
939
|
*/
|
|
940
940
|
description?: string;
|
|
941
|
+
/**
|
|
942
|
+
* The organization or author of the project
|
|
943
|
+
*
|
|
944
|
+
* @remarks
|
|
945
|
+
* If this option is not provided, the build process will try to use the \`author\` value from the \`package.json\` file. If the \`author\` value cannot be determined, the {@link name | name configuration} will be used.
|
|
946
|
+
*/
|
|
947
|
+
organization?: string;
|
|
941
948
|
/**
|
|
942
949
|
* The date to use for compatibility checks
|
|
943
950
|
*
|
|
@@ -1093,7 +1100,7 @@ type OutputResolvedConfig = Required<Omit<OutputConfig, "assets" | "storage"> &
|
|
|
1093
1100
|
/**
|
|
1094
1101
|
* The resolved options for the Powerlines project configuration.
|
|
1095
1102
|
*/
|
|
1096
|
-
type ResolvedConfig<TUserConfig extends UserConfig = UserConfig> = Omit<TUserConfig, "name" | "title" | "compatibilityDate" | "plugins" | "mode" | "environments" | "platform" | "tsconfig" | "lint" | "test" | "build" | "transform" | "deploy" | "variant" | "type" | "output" | "logLevel" | "framework" | "sourceRoot"> & Required<Pick<TUserConfig, "name" | "title" | "compatibilityDate" | "plugins" | "mode" | "environments" | "tsconfig" | "lint" | "test" | "build" | "transform" | "deploy" | "framework" | "sourceRoot">> & {
|
|
1103
|
+
type ResolvedConfig<TUserConfig extends UserConfig = UserConfig> = Omit<TUserConfig, "name" | "title" | "organization" | "compatibilityDate" | "plugins" | "mode" | "environments" | "platform" | "tsconfig" | "lint" | "test" | "build" | "transform" | "deploy" | "variant" | "type" | "output" | "logLevel" | "framework" | "sourceRoot"> & Required<Pick<TUserConfig, "name" | "title" | "organization" | "compatibilityDate" | "plugins" | "mode" | "environments" | "tsconfig" | "lint" | "test" | "build" | "transform" | "deploy" | "framework" | "sourceRoot">> & {
|
|
1097
1104
|
/**
|
|
1098
1105
|
* The configuration options that were provided inline to the Powerlines CLI.
|
|
1099
1106
|
*/
|
|
@@ -937,6 +937,13 @@ interface CommonUserConfig extends BaseConfig {
|
|
|
937
937
|
* If this option is not provided, the build process will try to use the \`description\` value from the `\package.json\` file.
|
|
938
938
|
*/
|
|
939
939
|
description?: string;
|
|
940
|
+
/**
|
|
941
|
+
* The organization or author of the project
|
|
942
|
+
*
|
|
943
|
+
* @remarks
|
|
944
|
+
* If this option is not provided, the build process will try to use the \`author\` value from the \`package.json\` file. If the \`author\` value cannot be determined, the {@link name | name configuration} will be used.
|
|
945
|
+
*/
|
|
946
|
+
organization?: string;
|
|
940
947
|
/**
|
|
941
948
|
* The date to use for compatibility checks
|
|
942
949
|
*
|
|
@@ -1092,7 +1099,7 @@ type OutputResolvedConfig = Required<Omit<OutputConfig, "assets" | "storage"> &
|
|
|
1092
1099
|
/**
|
|
1093
1100
|
* The resolved options for the Powerlines project configuration.
|
|
1094
1101
|
*/
|
|
1095
|
-
type ResolvedConfig<TUserConfig extends UserConfig = UserConfig> = Omit<TUserConfig, "name" | "title" | "compatibilityDate" | "plugins" | "mode" | "environments" | "platform" | "tsconfig" | "lint" | "test" | "build" | "transform" | "deploy" | "variant" | "type" | "output" | "logLevel" | "framework" | "sourceRoot"> & Required<Pick<TUserConfig, "name" | "title" | "compatibilityDate" | "plugins" | "mode" | "environments" | "tsconfig" | "lint" | "test" | "build" | "transform" | "deploy" | "framework" | "sourceRoot">> & {
|
|
1102
|
+
type ResolvedConfig<TUserConfig extends UserConfig = UserConfig> = Omit<TUserConfig, "name" | "title" | "organization" | "compatibilityDate" | "plugins" | "mode" | "environments" | "platform" | "tsconfig" | "lint" | "test" | "build" | "transform" | "deploy" | "variant" | "type" | "output" | "logLevel" | "framework" | "sourceRoot"> & Required<Pick<TUserConfig, "name" | "title" | "organization" | "compatibilityDate" | "plugins" | "mode" | "environments" | "tsconfig" | "lint" | "test" | "build" | "transform" | "deploy" | "framework" | "sourceRoot">> & {
|
|
1096
1103
|
/**
|
|
1097
1104
|
* The configuration options that were provided inline to the Powerlines CLI.
|
|
1098
1105
|
*/
|
package/dist/types/index.d.cts
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { a as __ΩDeepkitPluginContext, c as __ΩDeepkitPluginUserConfig, i as DeepkitPluginUserConfig, n as DeepkitPluginOptions, o as __ΩDeepkitPluginOptions, r as DeepkitPluginResolvedConfig, s as __ΩDeepkitPluginResolvedConfig, t as DeepkitPluginContext } from "../plugin-
|
|
1
|
+
import { a as __ΩDeepkitPluginContext, c as __ΩDeepkitPluginUserConfig, i as DeepkitPluginUserConfig, n as DeepkitPluginOptions, o as __ΩDeepkitPluginOptions, r as DeepkitPluginResolvedConfig, s as __ΩDeepkitPluginResolvedConfig, t as DeepkitPluginContext } from "../plugin-CzKWQV6e.cjs";
|
|
2
2
|
import "../index-CEgs-Dz2.cjs";
|
|
3
3
|
export { DeepkitPluginContext, DeepkitPluginOptions, DeepkitPluginResolvedConfig, DeepkitPluginUserConfig, __ΩDeepkitPluginContext, __ΩDeepkitPluginOptions, __ΩDeepkitPluginResolvedConfig, __ΩDeepkitPluginUserConfig };
|
package/dist/types/index.d.mts
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { a as __ΩDeepkitPluginContext, c as __ΩDeepkitPluginUserConfig, i as DeepkitPluginUserConfig, n as DeepkitPluginOptions, o as __ΩDeepkitPluginOptions, r as DeepkitPluginResolvedConfig, s as __ΩDeepkitPluginResolvedConfig, t as DeepkitPluginContext } from "../plugin-
|
|
1
|
+
import { a as __ΩDeepkitPluginContext, c as __ΩDeepkitPluginUserConfig, i as DeepkitPluginUserConfig, n as DeepkitPluginOptions, o as __ΩDeepkitPluginOptions, r as DeepkitPluginResolvedConfig, s as __ΩDeepkitPluginResolvedConfig, t as DeepkitPluginContext } from "../plugin-ColAw2L2.mjs";
|
|
2
2
|
import "../index-BgAdqTbb.mjs";
|
|
3
3
|
export { DeepkitPluginContext, DeepkitPluginOptions, DeepkitPluginResolvedConfig, DeepkitPluginUserConfig, __ΩDeepkitPluginContext, __ΩDeepkitPluginOptions, __ΩDeepkitPluginResolvedConfig, __ΩDeepkitPluginUserConfig };
|
package/dist/types/plugin.d.cts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { a as __ΩDeepkitPluginContext, c as __ΩDeepkitPluginUserConfig, i as DeepkitPluginUserConfig, n as DeepkitPluginOptions, o as __ΩDeepkitPluginOptions, r as DeepkitPluginResolvedConfig, s as __ΩDeepkitPluginResolvedConfig, t as DeepkitPluginContext } from "../plugin-
|
|
1
|
+
import { a as __ΩDeepkitPluginContext, c as __ΩDeepkitPluginUserConfig, i as DeepkitPluginUserConfig, n as DeepkitPluginOptions, o as __ΩDeepkitPluginOptions, r as DeepkitPluginResolvedConfig, s as __ΩDeepkitPluginResolvedConfig, t as DeepkitPluginContext } from "../plugin-CzKWQV6e.cjs";
|
|
2
2
|
export { DeepkitPluginContext, DeepkitPluginOptions, DeepkitPluginResolvedConfig, DeepkitPluginUserConfig, __ΩDeepkitPluginContext, __ΩDeepkitPluginOptions, __ΩDeepkitPluginResolvedConfig, __ΩDeepkitPluginUserConfig };
|
package/dist/types/plugin.d.mts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { a as __ΩDeepkitPluginContext, c as __ΩDeepkitPluginUserConfig, i as DeepkitPluginUserConfig, n as DeepkitPluginOptions, o as __ΩDeepkitPluginOptions, r as DeepkitPluginResolvedConfig, s as __ΩDeepkitPluginResolvedConfig, t as DeepkitPluginContext } from "../plugin-
|
|
1
|
+
import { a as __ΩDeepkitPluginContext, c as __ΩDeepkitPluginUserConfig, i as DeepkitPluginUserConfig, n as DeepkitPluginOptions, o as __ΩDeepkitPluginOptions, r as DeepkitPluginResolvedConfig, s as __ΩDeepkitPluginResolvedConfig, t as DeepkitPluginContext } from "../plugin-ColAw2L2.mjs";
|
|
2
2
|
export { DeepkitPluginContext, DeepkitPluginOptions, DeepkitPluginResolvedConfig, DeepkitPluginUserConfig, __ΩDeepkitPluginContext, __ΩDeepkitPluginOptions, __ΩDeepkitPluginResolvedConfig, __ΩDeepkitPluginUserConfig };
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@powerlines/plugin-deepkit",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.11.0",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"description": "A package containing a Powerlines plugin to assist in developing other Powerlines plugins.",
|
|
6
6
|
"repository": {
|
|
@@ -118,15 +118,15 @@
|
|
|
118
118
|
"keywords": ["deepkit", "powerlines", "storm-software", "powerlines-plugin"],
|
|
119
119
|
"dependencies": {
|
|
120
120
|
"@stryke/json": "^0.9.33",
|
|
121
|
-
"@powerlines/deepkit": "^0.5.
|
|
122
|
-
"@powerlines/plugin-tsc": "^0.2.
|
|
123
|
-
"powerlines": "^0.36.
|
|
121
|
+
"@powerlines/deepkit": "^0.5.39",
|
|
122
|
+
"@powerlines/plugin-tsc": "^0.2.132",
|
|
123
|
+
"powerlines": "^0.36.28",
|
|
124
124
|
"typescript": "^5.9.3"
|
|
125
125
|
},
|
|
126
126
|
"devDependencies": {
|
|
127
|
-
"@powerlines/nx": "^0.11.
|
|
127
|
+
"@powerlines/nx": "^0.11.54",
|
|
128
128
|
"@types/node": "^24.10.4"
|
|
129
129
|
},
|
|
130
130
|
"publishConfig": { "access": "public" },
|
|
131
|
-
"gitHead": "
|
|
131
|
+
"gitHead": "6891ff1330798e807c4caef6134df09d9f57686d"
|
|
132
132
|
}
|