@powerlines/plugin-untyped 0.2.6 → 0.2.8

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-DgSkshvG.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-CjyEok5g.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-ChTKn2-D.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-Bm3TWwRE.mjs";
2
2
  import "./index-BgAdqTbb.mjs";
3
3
 
4
4
  //#region src/index.d.ts
@@ -159,10 +159,7 @@ interface BuildConfig {
159
159
  type BuildResolvedConfig = Omit<BuildConfig, "override">;
160
160
  //#endregion
161
161
  //#region ../powerlines/src/types/fs.d.ts
162
- declare enum StoragePreset {
163
- VIRTUAL = "virtual",
164
- FS = "fs",
165
- }
162
+ type StoragePreset = "fs" | "virtual";
166
163
  /**
167
164
  * Interface defining the methods and properties for a storage adapter.
168
165
  */
@@ -1634,7 +1631,7 @@ interface Plugin<in out TContext extends PluginContext<ResolvedConfig> = PluginC
1634
1631
  * @param environment - The environment to check.
1635
1632
  * @returns `true` if the plugin should be active in the specified environment, `false` otherwise.
1636
1633
  */
1637
- applyToEnvironment?: (environment: EnvironmentResolvedConfig) => MaybePromise<boolean | PluginConfig<any>>;
1634
+ applyToEnvironment?: (environment: EnvironmentResolvedConfig) => boolean | PluginConfig<any>;
1638
1635
  }
1639
1636
  //#endregion
1640
1637
  //#region src/types/plugin.d.ts
@@ -159,10 +159,7 @@ interface BuildConfig {
159
159
  type BuildResolvedConfig = Omit<BuildConfig, "override">;
160
160
  //#endregion
161
161
  //#region ../powerlines/src/types/fs.d.ts
162
- declare enum StoragePreset {
163
- VIRTUAL = "virtual",
164
- FS = "fs",
165
- }
162
+ type StoragePreset = "fs" | "virtual";
166
163
  /**
167
164
  * Interface defining the methods and properties for a storage adapter.
168
165
  */
@@ -1634,7 +1631,7 @@ interface Plugin<in out TContext extends PluginContext<ResolvedConfig> = PluginC
1634
1631
  * @param environment - The environment to check.
1635
1632
  * @returns `true` if the plugin should be active in the specified environment, `false` otherwise.
1636
1633
  */
1637
- applyToEnvironment?: (environment: EnvironmentResolvedConfig) => MaybePromise<boolean | PluginConfig<any>>;
1634
+ applyToEnvironment?: (environment: EnvironmentResolvedConfig) => boolean | PluginConfig<any>;
1638
1635
  }
1639
1636
  //#endregion
1640
1637
  //#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-DgSkshvG.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-CjyEok5g.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-ChTKn2-D.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-Bm3TWwRE.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-DgSkshvG.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-CjyEok5g.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-ChTKn2-D.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-Bm3TWwRE.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.6",
3
+ "version": "0.2.8",
4
4
  "type": "module",
5
5
  "description": "A Powerlines plugin to use Untyped for code generation based on user-defined schemas.",
6
6
  "repository": {
@@ -121,14 +121,14 @@
121
121
  "defu": "^6.1.4",
122
122
  "jiti": "^2.6.1",
123
123
  "@storm-software/untyped": "^0.24.40",
124
- "powerlines": "^0.30.7"
124
+ "powerlines": "^0.30.9"
125
125
  },
126
126
  "devDependencies": {
127
127
  "@storm-software/config": "^1.134.59",
128
- "@powerlines/nx": "^0.10.56",
129
- "@powerlines/plugin-plugin": "^0.12.8",
128
+ "@powerlines/nx": "^0.10.58",
129
+ "@powerlines/plugin-plugin": "^0.12.10",
130
130
  "@types/node": "^24.10.1"
131
131
  },
132
132
  "publishConfig": { "access": "public" },
133
- "gitHead": "c99d14f5c417d27c6854661afcf485f629f4e143"
133
+ "gitHead": "00fa339177561d404892937d2c24fe2a5b3df4e7"
134
134
  }