@powerlines/plugin-untyped 0.2.4 → 0.2.6

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 __ΩUntypedPluginContext, c as __ΩUntypedPluginUserConfig, i as UntypedPluginUserConfig, l as Plugin, n as UntypedPluginOptions, o as __ΩUntypedPluginOptions, r as UntypedPluginResolvedConfig, s as __ΩUntypedPluginResolvedConfig, t as UntypedPluginContext } from "./plugin-D7sW0Spi.cjs";
1
+ import { a as __ΩUntypedPluginContext, c as __ΩUntypedPluginUserConfig, i as UntypedPluginUserConfig, l as Plugin, n as UntypedPluginOptions, o as __ΩUntypedPluginOptions, r as UntypedPluginResolvedConfig, s as __ΩUntypedPluginResolvedConfig, t as UntypedPluginContext } from "./plugin-DgSkshvG.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 __ΩUntypedPluginContext, c as __ΩUntypedPluginUserConfig, i as UntypedPluginUserConfig, l as Plugin, n as UntypedPluginOptions, o as __ΩUntypedPluginOptions, r as UntypedPluginResolvedConfig, s as __ΩUntypedPluginResolvedConfig, t as UntypedPluginContext } from "./plugin-DR02RHOG.mjs";
1
+ import { a as __ΩUntypedPluginContext, c as __ΩUntypedPluginUserConfig, i as UntypedPluginUserConfig, l as Plugin, n as UntypedPluginOptions, o as __ΩUntypedPluginOptions, r as UntypedPluginResolvedConfig, s as __ΩUntypedPluginResolvedConfig, t as UntypedPluginContext } from "./plugin-ChTKn2-D.mjs";
2
2
  import "./index-BgAdqTbb.mjs";
3
3
 
4
4
  //#region src/index.d.ts
@@ -1,3 +1,4 @@
1
+ import { getGenerateAction } from "@storm-software/untyped/generate";
1
2
  import { ArrayValues } from "@stryke/types/array";
2
3
  import { FunctionLike, MaybePromise, NonUndefined } from "@stryke/types/base";
3
4
  import { ExternalIdResult, HookFilter, TransformResult, UnpluginBuildContext, UnpluginContext, UnpluginMessage, UnpluginOptions } from "unplugin";
@@ -19,7 +20,6 @@ import { AssetGlob } from "@stryke/types/file";
19
20
  import { ResolveOptions } from "@stryke/fs/resolve";
20
21
  import { CompilerOptions, TsConfigJson } from "@stryke/types/tsconfig";
21
22
  import ts from "typescript";
22
- import { getGenerateAction } from "@storm-software/untyped/generate";
23
23
 
24
24
  //#region ../powerlines/src/types/build.d.ts
25
25
  type UnpluginBuildVariant = "rollup" | "webpack" | "rspack" | "vite" | "esbuild" | "farm" | "unloader" | "rolldown";
@@ -1634,7 +1634,7 @@ interface Plugin<in out TContext extends PluginContext<ResolvedConfig> = PluginC
1634
1634
  * @param environment - The environment to check.
1635
1635
  * @returns `true` if the plugin should be active in the specified environment, `false` otherwise.
1636
1636
  */
1637
- applyToEnvironment?: (environment: EnvironmentResolvedConfig) => MaybePromise<boolean | Plugin<TContext>>;
1637
+ applyToEnvironment?: (environment: EnvironmentResolvedConfig) => MaybePromise<boolean | PluginConfig<any>>;
1638
1638
  }
1639
1639
  //#endregion
1640
1640
  //#region src/types/plugin.d.ts
@@ -1,4 +1,3 @@
1
- import { getGenerateAction } from "@storm-software/untyped/generate";
2
1
  import { ArrayValues } from "@stryke/types/array";
3
2
  import { FunctionLike, MaybePromise, NonUndefined } from "@stryke/types/base";
4
3
  import { ExternalIdResult, HookFilter, TransformResult, UnpluginBuildContext, UnpluginContext, UnpluginMessage, UnpluginOptions } from "unplugin";
@@ -20,6 +19,7 @@ import { AssetGlob } from "@stryke/types/file";
20
19
  import { ResolveOptions } from "@stryke/fs/resolve";
21
20
  import { CompilerOptions, TsConfigJson } from "@stryke/types/tsconfig";
22
21
  import ts from "typescript";
22
+ import { getGenerateAction } from "@storm-software/untyped/generate";
23
23
 
24
24
  //#region ../powerlines/src/types/build.d.ts
25
25
  type UnpluginBuildVariant = "rollup" | "webpack" | "rspack" | "vite" | "esbuild" | "farm" | "unloader" | "rolldown";
@@ -1634,7 +1634,7 @@ interface Plugin<in out TContext extends PluginContext<ResolvedConfig> = PluginC
1634
1634
  * @param environment - The environment to check.
1635
1635
  * @returns `true` if the plugin should be active in the specified environment, `false` otherwise.
1636
1636
  */
1637
- applyToEnvironment?: (environment: EnvironmentResolvedConfig) => MaybePromise<boolean | Plugin<TContext>>;
1637
+ applyToEnvironment?: (environment: EnvironmentResolvedConfig) => MaybePromise<boolean | PluginConfig<any>>;
1638
1638
  }
1639
1639
  //#endregion
1640
1640
  //#region src/types/plugin.d.ts
@@ -1,3 +1,3 @@
1
- import { a as __ΩUntypedPluginContext, c as __ΩUntypedPluginUserConfig, i as UntypedPluginUserConfig, n as UntypedPluginOptions, o as __ΩUntypedPluginOptions, r as UntypedPluginResolvedConfig, s as __ΩUntypedPluginResolvedConfig, t as UntypedPluginContext } from "../plugin-D7sW0Spi.cjs";
1
+ import { a as __ΩUntypedPluginContext, c as __ΩUntypedPluginUserConfig, i as UntypedPluginUserConfig, n as UntypedPluginOptions, o as __ΩUntypedPluginOptions, r as UntypedPluginResolvedConfig, s as __ΩUntypedPluginResolvedConfig, t as UntypedPluginContext } from "../plugin-DgSkshvG.cjs";
2
2
  import "../index-CEgs-Dz2.cjs";
3
3
  export { UntypedPluginContext, UntypedPluginOptions, UntypedPluginResolvedConfig, UntypedPluginUserConfig, __ΩUntypedPluginContext, __ΩUntypedPluginOptions, __ΩUntypedPluginResolvedConfig, __ΩUntypedPluginUserConfig };
@@ -1,3 +1,3 @@
1
- import { a as __ΩUntypedPluginContext, c as __ΩUntypedPluginUserConfig, i as UntypedPluginUserConfig, n as UntypedPluginOptions, o as __ΩUntypedPluginOptions, r as UntypedPluginResolvedConfig, s as __ΩUntypedPluginResolvedConfig, t as UntypedPluginContext } from "../plugin-DR02RHOG.mjs";
1
+ import { a as __ΩUntypedPluginContext, c as __ΩUntypedPluginUserConfig, i as UntypedPluginUserConfig, n as UntypedPluginOptions, o as __ΩUntypedPluginOptions, r as UntypedPluginResolvedConfig, s as __ΩUntypedPluginResolvedConfig, t as UntypedPluginContext } from "../plugin-ChTKn2-D.mjs";
2
2
  import "../index-BgAdqTbb.mjs";
3
3
  export { UntypedPluginContext, UntypedPluginOptions, UntypedPluginResolvedConfig, UntypedPluginUserConfig, __ΩUntypedPluginContext, __ΩUntypedPluginOptions, __ΩUntypedPluginResolvedConfig, __ΩUntypedPluginUserConfig };
@@ -1,2 +1,2 @@
1
- import { a as __ΩUntypedPluginContext, c as __ΩUntypedPluginUserConfig, i as UntypedPluginUserConfig, n as UntypedPluginOptions, o as __ΩUntypedPluginOptions, r as UntypedPluginResolvedConfig, s as __ΩUntypedPluginResolvedConfig, t as UntypedPluginContext } from "../plugin-D7sW0Spi.cjs";
1
+ import { a as __ΩUntypedPluginContext, c as __ΩUntypedPluginUserConfig, i as UntypedPluginUserConfig, n as UntypedPluginOptions, o as __ΩUntypedPluginOptions, r as UntypedPluginResolvedConfig, s as __ΩUntypedPluginResolvedConfig, t as UntypedPluginContext } from "../plugin-DgSkshvG.cjs";
2
2
  export { UntypedPluginContext, UntypedPluginOptions, UntypedPluginResolvedConfig, UntypedPluginUserConfig, __ΩUntypedPluginContext, __ΩUntypedPluginOptions, __ΩUntypedPluginResolvedConfig, __ΩUntypedPluginUserConfig };
@@ -1,2 +1,2 @@
1
- import { a as __ΩUntypedPluginContext, c as __ΩUntypedPluginUserConfig, i as UntypedPluginUserConfig, n as UntypedPluginOptions, o as __ΩUntypedPluginOptions, r as UntypedPluginResolvedConfig, s as __ΩUntypedPluginResolvedConfig, t as UntypedPluginContext } from "../plugin-DR02RHOG.mjs";
1
+ import { a as __ΩUntypedPluginContext, c as __ΩUntypedPluginUserConfig, i as UntypedPluginUserConfig, n as UntypedPluginOptions, o as __ΩUntypedPluginOptions, r as UntypedPluginResolvedConfig, s as __ΩUntypedPluginResolvedConfig, t as UntypedPluginContext } from "../plugin-ChTKn2-D.mjs";
2
2
  export { UntypedPluginContext, UntypedPluginOptions, UntypedPluginResolvedConfig, UntypedPluginUserConfig, __ΩUntypedPluginContext, __ΩUntypedPluginOptions, __ΩUntypedPluginResolvedConfig, __ΩUntypedPluginUserConfig };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@powerlines/plugin-untyped",
3
- "version": "0.2.4",
3
+ "version": "0.2.6",
4
4
  "type": "module",
5
5
  "description": "A Powerlines plugin to use Untyped for code generation based on user-defined schemas.",
6
6
  "repository": {
@@ -120,15 +120,15 @@
120
120
  "@stryke/convert": "^0.6.13",
121
121
  "defu": "^6.1.4",
122
122
  "jiti": "^2.6.1",
123
- "@storm-software/untyped": "^0.24.35",
124
- "powerlines": "^0.30.5"
123
+ "@storm-software/untyped": "^0.24.40",
124
+ "powerlines": "^0.30.7"
125
125
  },
126
126
  "devDependencies": {
127
- "@storm-software/config": "^1.134.54",
128
- "@powerlines/nx": "^0.10.54",
129
- "@powerlines/plugin-plugin": "^0.12.6",
127
+ "@storm-software/config": "^1.134.59",
128
+ "@powerlines/nx": "^0.10.56",
129
+ "@powerlines/plugin-plugin": "^0.12.8",
130
130
  "@types/node": "^24.10.1"
131
131
  },
132
132
  "publishConfig": { "access": "public" },
133
- "gitHead": "12939184c800cdcfa2dd68f9aa9adb7ed40fb651"
133
+ "gitHead": "c99d14f5c417d27c6854661afcf485f629f4e143"
134
134
  }