@powerlines/plugin-capnp 0.1.58 → 0.1.60
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 +1 -1
- package/dist/index.d.mts +1 -1
- package/dist/{plugin-BIDEQ1Bp.d.cts → plugin-CY9bA6vv.d.mts} +3 -6
- package/dist/{plugin-DReuK7d2.d.mts → plugin-qAfyOsuQ.d.cts} +3 -6
- 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 +5 -5
package/dist/index.d.cts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { a as __ΩCapnpPluginContext, c as __ΩCapnpPluginUserConfig, i as CapnpPluginUserConfig, l as Plugin, n as CapnpPluginOptions, o as __ΩCapnpPluginOptions, r as CapnpPluginResolvedConfig, s as __ΩCapnpPluginResolvedConfig, t as CapnpPluginContext } from "./plugin-
|
|
1
|
+
import { a as __ΩCapnpPluginContext, c as __ΩCapnpPluginUserConfig, i as CapnpPluginUserConfig, l as Plugin, n as CapnpPluginOptions, o as __ΩCapnpPluginOptions, r as CapnpPluginResolvedConfig, s as __ΩCapnpPluginResolvedConfig, t as CapnpPluginContext } from "./plugin-qAfyOsuQ.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 __ΩCapnpPluginContext, c as __ΩCapnpPluginUserConfig, i as CapnpPluginUserConfig, l as Plugin, n as CapnpPluginOptions, o as __ΩCapnpPluginOptions, r as CapnpPluginResolvedConfig, s as __ΩCapnpPluginResolvedConfig, t as CapnpPluginContext } from "./plugin-
|
|
1
|
+
import { a as __ΩCapnpPluginContext, c as __ΩCapnpPluginUserConfig, i as CapnpPluginUserConfig, l as Plugin, n as CapnpPluginOptions, o as __ΩCapnpPluginOptions, r as CapnpPluginResolvedConfig, s as __ΩCapnpPluginResolvedConfig, t as CapnpPluginContext } from "./plugin-CY9bA6vv.mjs";
|
|
2
2
|
import "./index-BgAdqTbb.mjs";
|
|
3
3
|
|
|
4
4
|
//#region src/index.d.ts
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { LogLevelLabel } from "@storm-software/config-tools/types";
|
|
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";
|
|
@@ -12,7 +13,6 @@ import { Range } from "semver";
|
|
|
12
13
|
import { Project } from "ts-morph";
|
|
13
14
|
import { RequestInfo, Response } from "undici";
|
|
14
15
|
import { Format } from "@storm-software/build-tools/types";
|
|
15
|
-
import { LogLevelLabel } from "@storm-software/config-tools/types";
|
|
16
16
|
import { StormWorkspaceConfig } from "@storm-software/config/types";
|
|
17
17
|
import { TypeDefinition, TypeDefinitionParameter } from "@stryke/types/configuration";
|
|
18
18
|
import { AssetGlob } from "@stryke/types/file";
|
|
@@ -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
|
-
|
|
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) =>
|
|
1634
|
+
applyToEnvironment?: (environment: EnvironmentResolvedConfig) => boolean | PluginConfig<any>;
|
|
1638
1635
|
}
|
|
1639
1636
|
//#endregion
|
|
1640
1637
|
//#region src/types/plugin.d.ts
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import { LogLevelLabel } from "@storm-software/config-tools/types";
|
|
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";
|
|
@@ -13,6 +12,7 @@ import { Range } from "semver";
|
|
|
13
12
|
import { Project } from "ts-morph";
|
|
14
13
|
import { RequestInfo, Response } from "undici";
|
|
15
14
|
import { Format } from "@storm-software/build-tools/types";
|
|
15
|
+
import { LogLevelLabel } from "@storm-software/config-tools/types";
|
|
16
16
|
import { StormWorkspaceConfig } from "@storm-software/config/types";
|
|
17
17
|
import { TypeDefinition, TypeDefinitionParameter } from "@stryke/types/configuration";
|
|
18
18
|
import { AssetGlob } from "@stryke/types/file";
|
|
@@ -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
|
-
|
|
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) =>
|
|
1634
|
+
applyToEnvironment?: (environment: EnvironmentResolvedConfig) => boolean | PluginConfig<any>;
|
|
1638
1635
|
}
|
|
1639
1636
|
//#endregion
|
|
1640
1637
|
//#region src/types/plugin.d.ts
|
package/dist/types/index.d.cts
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { a as __ΩCapnpPluginContext, c as __ΩCapnpPluginUserConfig, i as CapnpPluginUserConfig, n as CapnpPluginOptions, o as __ΩCapnpPluginOptions, r as CapnpPluginResolvedConfig, s as __ΩCapnpPluginResolvedConfig, t as CapnpPluginContext } from "../plugin-
|
|
1
|
+
import { a as __ΩCapnpPluginContext, c as __ΩCapnpPluginUserConfig, i as CapnpPluginUserConfig, n as CapnpPluginOptions, o as __ΩCapnpPluginOptions, r as CapnpPluginResolvedConfig, s as __ΩCapnpPluginResolvedConfig, t as CapnpPluginContext } from "../plugin-qAfyOsuQ.cjs";
|
|
2
2
|
import "../index-CEgs-Dz2.cjs";
|
|
3
3
|
export { CapnpPluginContext, CapnpPluginOptions, CapnpPluginResolvedConfig, CapnpPluginUserConfig, __ΩCapnpPluginContext, __ΩCapnpPluginOptions, __ΩCapnpPluginResolvedConfig, __ΩCapnpPluginUserConfig };
|
package/dist/types/index.d.mts
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { a as __ΩCapnpPluginContext, c as __ΩCapnpPluginUserConfig, i as CapnpPluginUserConfig, n as CapnpPluginOptions, o as __ΩCapnpPluginOptions, r as CapnpPluginResolvedConfig, s as __ΩCapnpPluginResolvedConfig, t as CapnpPluginContext } from "../plugin-
|
|
1
|
+
import { a as __ΩCapnpPluginContext, c as __ΩCapnpPluginUserConfig, i as CapnpPluginUserConfig, n as CapnpPluginOptions, o as __ΩCapnpPluginOptions, r as CapnpPluginResolvedConfig, s as __ΩCapnpPluginResolvedConfig, t as CapnpPluginContext } from "../plugin-CY9bA6vv.mjs";
|
|
2
2
|
import "../index-BgAdqTbb.mjs";
|
|
3
3
|
export { CapnpPluginContext, CapnpPluginOptions, CapnpPluginResolvedConfig, CapnpPluginUserConfig, __ΩCapnpPluginContext, __ΩCapnpPluginOptions, __ΩCapnpPluginResolvedConfig, __ΩCapnpPluginUserConfig };
|
package/dist/types/plugin.d.cts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { a as __ΩCapnpPluginContext, c as __ΩCapnpPluginUserConfig, i as CapnpPluginUserConfig, n as CapnpPluginOptions, o as __ΩCapnpPluginOptions, r as CapnpPluginResolvedConfig, s as __ΩCapnpPluginResolvedConfig, t as CapnpPluginContext } from "../plugin-
|
|
1
|
+
import { a as __ΩCapnpPluginContext, c as __ΩCapnpPluginUserConfig, i as CapnpPluginUserConfig, n as CapnpPluginOptions, o as __ΩCapnpPluginOptions, r as CapnpPluginResolvedConfig, s as __ΩCapnpPluginResolvedConfig, t as CapnpPluginContext } from "../plugin-qAfyOsuQ.cjs";
|
|
2
2
|
export { CapnpPluginContext, CapnpPluginOptions, CapnpPluginResolvedConfig, CapnpPluginUserConfig, __ΩCapnpPluginContext, __ΩCapnpPluginOptions, __ΩCapnpPluginResolvedConfig, __ΩCapnpPluginUserConfig };
|
package/dist/types/plugin.d.mts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { a as __ΩCapnpPluginContext, c as __ΩCapnpPluginUserConfig, i as CapnpPluginUserConfig, n as CapnpPluginOptions, o as __ΩCapnpPluginOptions, r as CapnpPluginResolvedConfig, s as __ΩCapnpPluginResolvedConfig, t as CapnpPluginContext } from "../plugin-
|
|
1
|
+
import { a as __ΩCapnpPluginContext, c as __ΩCapnpPluginUserConfig, i as CapnpPluginUserConfig, n as CapnpPluginOptions, o as __ΩCapnpPluginOptions, r as CapnpPluginResolvedConfig, s as __ΩCapnpPluginResolvedConfig, t as CapnpPluginContext } from "../plugin-CY9bA6vv.mjs";
|
|
2
2
|
export { CapnpPluginContext, CapnpPluginOptions, CapnpPluginResolvedConfig, CapnpPluginUserConfig, __ΩCapnpPluginContext, __ΩCapnpPluginOptions, __ΩCapnpPluginResolvedConfig, __ΩCapnpPluginUserConfig };
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@powerlines/plugin-capnp",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.60",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"description": "A Powerlines plugin to generate project code from Cap'n Proto schemas.",
|
|
6
6
|
"repository": {
|
|
@@ -123,13 +123,13 @@
|
|
|
123
123
|
"@stryke/types": "^0.10.13",
|
|
124
124
|
"defu": "^6.1.4",
|
|
125
125
|
"jiti": "^2.6.1",
|
|
126
|
-
"powerlines": "^0.30.
|
|
126
|
+
"powerlines": "^0.30.9"
|
|
127
127
|
},
|
|
128
128
|
"devDependencies": {
|
|
129
|
-
"@powerlines/nx": "^0.10.
|
|
130
|
-
"@powerlines/plugin-plugin": "^0.12.
|
|
129
|
+
"@powerlines/nx": "^0.10.58",
|
|
130
|
+
"@powerlines/plugin-plugin": "^0.12.10",
|
|
131
131
|
"@types/node": "^24.10.1"
|
|
132
132
|
},
|
|
133
133
|
"publishConfig": { "access": "public" },
|
|
134
|
-
"gitHead": "
|
|
134
|
+
"gitHead": "00fa339177561d404892937d2c24fe2a5b3df4e7"
|
|
135
135
|
}
|