@powerlines/plugin-deepkit 0.11.75 → 0.11.77

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.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-BS9iTMUd.cjs";
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-o1mVcDhR.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-gvbZ2WfY.mjs";
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-kTmTs2WF.mjs";
2
2
  import "./index-BgAdqTbb.mjs";
3
3
 
4
4
  //#region src/index.d.ts
@@ -1,3 +1,4 @@
1
+ import "node:module";
1
2
  import { ArrayValues } from "@stryke/types/array";
2
3
  import { AnyFunction, MaybePromise, NonUndefined } from "@stryke/types/base";
3
4
  import { LoadResult, OutputOptions, RollupOptions } from "rollup";
@@ -751,6 +752,7 @@ type ParsedTypeScriptConfig = ts.ParsedCommandLine & {
751
752
  };
752
753
  //#endregion
753
754
  //#region ../powerlines/src/types/config.d.ts
755
+ type LogLevel = "error" | "warn" | "info" | "debug" | "trace";
754
756
  type LogFn = (type: LogLevelLabel, ...args: string[]) => void;
755
757
  /**
756
758
  * The {@link StormWorkspaceConfig | configuration} object for an entire Powerlines workspace
@@ -828,15 +830,6 @@ interface OutputConfig {
828
830
  * @defaultValue "\{projectRoot\}/powerlines.d.ts"
829
831
  */
830
832
  dts?: string | false;
831
- /**
832
- * A prefix to use for identifying builtin modules
833
- *
834
- * @remarks
835
- * This prefix will be used to identify all builtin modules generated during the "prepare" phase. An example builtin ID for a module called `"utils"` would be `"{builtinPrefix}:utils"`.
836
- *
837
- * @defaultValue "powerlines"
838
- */
839
- builtinPrefix?: string;
840
833
  /**
841
834
  * The module format of the output files
842
835
  *
@@ -999,7 +992,7 @@ interface CommonUserConfig extends BaseConfig {
999
992
  *
1000
993
  * @defaultValue "info"
1001
994
  */
1002
- logLevel?: LogLevelLabel | null;
995
+ logLevel?: LogLevel | null;
1003
996
  /**
1004
997
  * A custom logger function to use for logging messages
1005
998
  */
@@ -1072,7 +1065,7 @@ interface CommonUserConfig extends BaseConfig {
1072
1065
  * A string identifier that allows a child framework or tool to identify itself when using Powerlines.
1073
1066
  *
1074
1067
  * @remarks
1075
- * If no values are provided for {@link OutputConfig.dts | output.dts}, {@link OutputConfig.builtinPrefix | output.builtinPrefix}, or {@link OutputConfig.artifactsPath | output.artifactsFolder}, this value will be used as the default.
1068
+ * If no values are provided for {@link OutputConfig.dts | output.dts} or {@link OutputConfig.artifactsPath | output.artifactsFolder}, this value will be used as the default.
1076
1069
  *
1077
1070
  * @defaultValue "powerlines"
1078
1071
  */
@@ -1263,7 +1256,7 @@ type ResolvedConfig<TUserConfig extends UserConfig$3 = UserConfig$3> = Omit<TUse
1263
1256
  *
1264
1257
  * @defaultValue "info"
1265
1258
  */
1266
- logLevel: "error" | "warn" | "info" | "debug" | "trace" | null;
1259
+ logLevel: LogLevel | null;
1267
1260
  };
1268
1261
  type ViteResolvedConfig = ResolvedConfig<ViteUserConfig>;
1269
1262
  type WebpackResolvedConfig = ResolvedConfig<WebpackUserConfig>;
@@ -1486,6 +1479,13 @@ interface UnresolvedContext<TResolvedConfig extends ResolvedConfig = ResolvedCon
1486
1479
  * The builtin module id that exist in the Powerlines virtual file system
1487
1480
  */
1488
1481
  builtins: string[];
1482
+ /**
1483
+ * The alias mappings for the project used during module resolution
1484
+ *
1485
+ * @remarks
1486
+ * This includes both the built-in module aliases as well as any custom aliases defined in the build configuration.
1487
+ */
1488
+ alias: Record<string, string>;
1489
1489
  /**
1490
1490
  * The {@link Project} instance used for type reflection and module manipulation
1491
1491
  *
@@ -1,4 +1,3 @@
1
- import "node:module";
2
1
  import { ArrayValues } from "@stryke/types/array";
3
2
  import { AnyFunction, MaybePromise, NonUndefined } from "@stryke/types/base";
4
3
  import { LoadResult, OutputOptions, RollupOptions } from "rollup";
@@ -752,6 +751,7 @@ type ParsedTypeScriptConfig = ts.ParsedCommandLine & {
752
751
  };
753
752
  //#endregion
754
753
  //#region ../powerlines/src/types/config.d.ts
754
+ type LogLevel = "error" | "warn" | "info" | "debug" | "trace";
755
755
  type LogFn = (type: LogLevelLabel, ...args: string[]) => void;
756
756
  /**
757
757
  * The {@link StormWorkspaceConfig | configuration} object for an entire Powerlines workspace
@@ -829,15 +829,6 @@ interface OutputConfig {
829
829
  * @defaultValue "\{projectRoot\}/powerlines.d.ts"
830
830
  */
831
831
  dts?: string | false;
832
- /**
833
- * A prefix to use for identifying builtin modules
834
- *
835
- * @remarks
836
- * This prefix will be used to identify all builtin modules generated during the "prepare" phase. An example builtin ID for a module called `"utils"` would be `"{builtinPrefix}:utils"`.
837
- *
838
- * @defaultValue "powerlines"
839
- */
840
- builtinPrefix?: string;
841
832
  /**
842
833
  * The module format of the output files
843
834
  *
@@ -1000,7 +991,7 @@ interface CommonUserConfig extends BaseConfig {
1000
991
  *
1001
992
  * @defaultValue "info"
1002
993
  */
1003
- logLevel?: LogLevelLabel | null;
994
+ logLevel?: LogLevel | null;
1004
995
  /**
1005
996
  * A custom logger function to use for logging messages
1006
997
  */
@@ -1073,7 +1064,7 @@ interface CommonUserConfig extends BaseConfig {
1073
1064
  * A string identifier that allows a child framework or tool to identify itself when using Powerlines.
1074
1065
  *
1075
1066
  * @remarks
1076
- * If no values are provided for {@link OutputConfig.dts | output.dts}, {@link OutputConfig.builtinPrefix | output.builtinPrefix}, or {@link OutputConfig.artifactsPath | output.artifactsFolder}, this value will be used as the default.
1067
+ * If no values are provided for {@link OutputConfig.dts | output.dts} or {@link OutputConfig.artifactsPath | output.artifactsFolder}, this value will be used as the default.
1077
1068
  *
1078
1069
  * @defaultValue "powerlines"
1079
1070
  */
@@ -1264,7 +1255,7 @@ type ResolvedConfig<TUserConfig extends UserConfig$3 = UserConfig$3> = Omit<TUse
1264
1255
  *
1265
1256
  * @defaultValue "info"
1266
1257
  */
1267
- logLevel: "error" | "warn" | "info" | "debug" | "trace" | null;
1258
+ logLevel: LogLevel | null;
1268
1259
  };
1269
1260
  type ViteResolvedConfig = ResolvedConfig<ViteUserConfig>;
1270
1261
  type WebpackResolvedConfig = ResolvedConfig<WebpackUserConfig>;
@@ -1487,6 +1478,13 @@ interface UnresolvedContext<TResolvedConfig extends ResolvedConfig = ResolvedCon
1487
1478
  * The builtin module id that exist in the Powerlines virtual file system
1488
1479
  */
1489
1480
  builtins: string[];
1481
+ /**
1482
+ * The alias mappings for the project used during module resolution
1483
+ *
1484
+ * @remarks
1485
+ * This includes both the built-in module aliases as well as any custom aliases defined in the build configuration.
1486
+ */
1487
+ alias: Record<string, string>;
1490
1488
  /**
1491
1489
  * The {@link Project} instance used for type reflection and module manipulation
1492
1490
  *
@@ -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-BS9iTMUd.cjs";
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-o1mVcDhR.cjs";
2
2
  import "../index-CEgs-Dz2.cjs";
3
3
  export { DeepkitPluginContext, DeepkitPluginOptions, DeepkitPluginResolvedConfig, DeepkitPluginUserConfig, __ΩDeepkitPluginContext, __ΩDeepkitPluginOptions, __ΩDeepkitPluginResolvedConfig, __ΩDeepkitPluginUserConfig };
@@ -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-gvbZ2WfY.mjs";
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-kTmTs2WF.mjs";
2
2
  import "../index-BgAdqTbb.mjs";
3
3
  export { DeepkitPluginContext, DeepkitPluginOptions, DeepkitPluginResolvedConfig, DeepkitPluginUserConfig, __ΩDeepkitPluginContext, __ΩDeepkitPluginOptions, __ΩDeepkitPluginResolvedConfig, __ΩDeepkitPluginUserConfig };
@@ -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-BS9iTMUd.cjs";
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-o1mVcDhR.cjs";
2
2
  export { DeepkitPluginContext, DeepkitPluginOptions, DeepkitPluginResolvedConfig, DeepkitPluginUserConfig, __ΩDeepkitPluginContext, __ΩDeepkitPluginOptions, __ΩDeepkitPluginResolvedConfig, __ΩDeepkitPluginUserConfig };
@@ -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-gvbZ2WfY.mjs";
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-kTmTs2WF.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.11.75",
3
+ "version": "0.11.77",
4
4
  "type": "module",
5
5
  "description": "A package containing a Powerlines plugin to assist in developing other Powerlines plugins.",
6
6
  "repository": {
@@ -117,16 +117,16 @@
117
117
  "files": ["dist/**/*"],
118
118
  "keywords": ["deepkit", "powerlines", "storm-software", "powerlines-plugin"],
119
119
  "dependencies": {
120
- "@powerlines/deepkit": "^0.5.114",
121
- "@powerlines/plugin-tsc": "^0.2.205",
120
+ "@powerlines/deepkit": "^0.5.116",
121
+ "@powerlines/plugin-tsc": "^0.2.207",
122
122
  "@stryke/json": "^0.9.38",
123
- "powerlines": "^0.37.71",
123
+ "powerlines": "^0.37.73",
124
124
  "typescript": "^5.9.3"
125
125
  },
126
126
  "devDependencies": {
127
- "@powerlines/plugin-plugin": "^0.12.149",
127
+ "@powerlines/plugin-plugin": "^0.12.151",
128
128
  "@types/node": "^24.10.9"
129
129
  },
130
130
  "publishConfig": { "access": "public" },
131
- "gitHead": "6fd6de6c956acc53f73c34d8b19827d094e604af"
131
+ "gitHead": "df743ef7ebac849eb4ce90899884df4758b61172"
132
132
  }