@powerlines/plugin-asyncapi 0.1.680 → 0.1.681
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 +3 -5
- package/dist/index.d.cts +0 -2
- package/dist/index.d.cts.map +1 -1
- package/dist/index.d.mts +0 -2
- package/dist/index.mjs +1 -2
- package/dist/types/plugin.d.cts +0 -2
- package/dist/types/plugin.d.cts.map +1 -1
- package/dist/types/plugin.d.mts +0 -2
- package/package.json +7 -7
package/dist/index.cjs
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
|
|
2
|
-
|
|
2
|
+
// \0rolldown/runtime.js
|
|
3
3
|
var __create = Object.create;
|
|
4
4
|
var __defProp = Object.defineProperty;
|
|
5
5
|
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
@@ -25,8 +25,7 @@ var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__ge
|
|
|
25
25
|
enumerable: true
|
|
26
26
|
}) : target, mod));
|
|
27
27
|
|
|
28
|
-
|
|
29
|
-
require('./types/index.cjs');
|
|
28
|
+
require("./types/index.cjs");
|
|
30
29
|
let _power_plant_asyncapi = require("@power-plant/asyncapi");
|
|
31
30
|
_power_plant_asyncapi = __toESM(_power_plant_asyncapi, 1);
|
|
32
31
|
let _powerlines_plugin_power_plant = require("@powerlines/plugin-power-plant");
|
|
@@ -37,7 +36,7 @@ let defu = require("defu");
|
|
|
37
36
|
defu = __toESM(defu, 1);
|
|
38
37
|
let powerlines_plugin_utils = require("powerlines/plugin-utils");
|
|
39
38
|
|
|
40
|
-
|
|
39
|
+
// src/index.ts
|
|
41
40
|
function isLoadedDocument(value) {
|
|
42
41
|
return typeof value === "object" && value !== null && !(value instanceof URL);
|
|
43
42
|
}
|
|
@@ -104,5 +103,4 @@ const plugin = (options) => {
|
|
|
104
103
|
}];
|
|
105
104
|
};
|
|
106
105
|
|
|
107
|
-
//#endregion
|
|
108
106
|
exports.plugin = plugin;
|
package/dist/index.d.cts
CHANGED
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
import { AsyncAPIPluginContext, AsyncAPIPluginOptions, AsyncAPIPluginResolvedConfig, AsyncAPIPluginUserConfig } from "./types/plugin.cjs";
|
|
2
2
|
import "./types/index.cjs";
|
|
3
3
|
import { Plugin } from "powerlines";
|
|
4
|
-
//#region src/index.d.ts
|
|
5
4
|
declare module "powerlines" {
|
|
6
5
|
interface Config {
|
|
7
6
|
asyncapi?: AsyncAPIPluginOptions;
|
|
@@ -14,6 +13,5 @@ declare module "powerlines" {
|
|
|
14
13
|
* @returns Powerlines plugin instances.
|
|
15
14
|
*/
|
|
16
15
|
declare const plugin: <TContext extends AsyncAPIPluginContext = AsyncAPIPluginContext>(options: AsyncAPIPluginOptions) => Plugin<TContext>[];
|
|
17
|
-
//#endregion
|
|
18
16
|
export { AsyncAPIPluginContext, AsyncAPIPluginOptions, AsyncAPIPluginResolvedConfig, AsyncAPIPluginUserConfig, plugin };
|
|
19
17
|
//# sourceMappingURL=index.d.cts.map
|
package/dist/index.d.cts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.cts","names":[],"sources":["../src/index.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.d.cts","names":[],"sources":["../src/index.ts"],"mappings":";;;;YAoCY;IACR,WAAW;;;;;;;;;cAcF,SACX,iBAAiB,wBAAwB,uBAEzC,SAAS,0BACR,OAAO"}
|
package/dist/index.d.mts
CHANGED
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
import { AsyncAPIPluginContext, AsyncAPIPluginOptions, AsyncAPIPluginResolvedConfig, AsyncAPIPluginUserConfig } from "./types/plugin.mjs";
|
|
2
2
|
import "./types/index.mjs";
|
|
3
3
|
import { Plugin } from "powerlines";
|
|
4
|
-
//#region src/index.d.ts
|
|
5
4
|
declare module "powerlines" {
|
|
6
5
|
interface Config {
|
|
7
6
|
asyncapi?: AsyncAPIPluginOptions;
|
|
@@ -14,6 +13,5 @@ declare module "powerlines" {
|
|
|
14
13
|
* @returns Powerlines plugin instances.
|
|
15
14
|
*/
|
|
16
15
|
declare const plugin: <TContext extends AsyncAPIPluginContext = AsyncAPIPluginContext>(options: AsyncAPIPluginOptions) => Plugin<TContext>[];
|
|
17
|
-
//#endregion
|
|
18
16
|
export { AsyncAPIPluginContext, AsyncAPIPluginOptions, AsyncAPIPluginResolvedConfig, AsyncAPIPluginUserConfig, plugin };
|
|
19
17
|
//# sourceMappingURL=index.d.mts.map
|
package/dist/index.mjs
CHANGED
|
@@ -7,7 +7,7 @@ import { joinPaths } from "@stryke/path/join";
|
|
|
7
7
|
import defu from "defu";
|
|
8
8
|
import { replacePathTokens } from "powerlines/plugin-utils";
|
|
9
9
|
|
|
10
|
-
|
|
10
|
+
// src/index.ts
|
|
11
11
|
function isLoadedDocument(value) {
|
|
12
12
|
return typeof value === "object" && value !== null && !(value instanceof URL);
|
|
13
13
|
}
|
|
@@ -74,6 +74,5 @@ const plugin = (options) => {
|
|
|
74
74
|
}];
|
|
75
75
|
};
|
|
76
76
|
|
|
77
|
-
//#endregion
|
|
78
77
|
export { plugin };
|
|
79
78
|
//# sourceMappingURL=index.mjs.map
|
package/dist/types/plugin.d.cts
CHANGED
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
import { ResolvedConfig, UserConfig } from "powerlines";
|
|
2
2
|
import { Options } from "@power-plant/asyncapi";
|
|
3
3
|
import { PowerPlantPluginContext, PowerPlantPluginResolvedConfig } from "@powerlines/plugin-power-plant/types/plugin";
|
|
4
|
-
//#region src/types/plugin.d.ts
|
|
5
4
|
/**
|
|
6
5
|
* Options for the AsyncAPI Powerlines plugin.
|
|
7
6
|
*/
|
|
@@ -106,6 +105,5 @@ type AsyncAPIPluginResolvedConfig = ResolvedConfig & PowerPlantPluginResolvedCon
|
|
|
106
105
|
};
|
|
107
106
|
};
|
|
108
107
|
type AsyncAPIPluginContext<TResolvedConfig extends AsyncAPIPluginResolvedConfig = AsyncAPIPluginResolvedConfig> = PowerPlantPluginContext<Record<string, unknown>, Options, TResolvedConfig>;
|
|
109
|
-
//#endregion
|
|
110
108
|
export { AsyncAPIPluginContext, AsyncAPIPluginOptions, AsyncAPIPluginResolvedConfig, AsyncAPIPluginUserConfig };
|
|
111
109
|
//# sourceMappingURL=plugin.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"plugin.d.cts","names":["PowerPlantAsyncAPIOptions"],"sources":["../../src/types/plugin.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"plugin.d.cts","names":["PowerPlantAsyncAPIOptions"],"sources":["../../src/types/plugin.ts"],"mappings":";;;;;;UA4BiB;;;;;;;;;;EAUf,kBAAkB,MAAM;;;;;;;EAQxB;;;;;;;;;EAUA;;;;EAKA;;;;EAKA,iBAAiB;;;;EAKjB;;;;EAKA,gBAAgB;;;;;;;EAQhB;IAAsB;IAAc;IAAe;;;;;;;EAOnD;;;;;;;;;EAUA;;;;;;EAOA;;;;EAKA,qBAAqB;;;;;;EAOrB;;;;;;EAOA;;KAGU,2BAA2B;EACrC,WAAW,SACT,KAAK,oEAEL,KAAK;;KAGG,+BAA+B,iBACzC,+BACE,yBACAA;EAEA,UAAU,SACR,KAAK,oEAEL,KAAK;IACH,mBAAmB;;;KAIf,sBACV,wBAAwB,+BACtB,gCACA,wBACF,yBACAA,SACA"}
|
package/dist/types/plugin.d.mts
CHANGED
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
import { Options } from "@power-plant/asyncapi";
|
|
2
2
|
import { ResolvedConfig, UserConfig } from "powerlines";
|
|
3
3
|
import { PowerPlantPluginContext, PowerPlantPluginResolvedConfig } from "@powerlines/plugin-power-plant/types/plugin";
|
|
4
|
-
//#region src/types/plugin.d.ts
|
|
5
4
|
/**
|
|
6
5
|
* Options for the AsyncAPI Powerlines plugin.
|
|
7
6
|
*/
|
|
@@ -106,6 +105,5 @@ type AsyncAPIPluginResolvedConfig = ResolvedConfig & PowerPlantPluginResolvedCon
|
|
|
106
105
|
};
|
|
107
106
|
};
|
|
108
107
|
type AsyncAPIPluginContext<TResolvedConfig extends AsyncAPIPluginResolvedConfig = AsyncAPIPluginResolvedConfig> = PowerPlantPluginContext<Record<string, unknown>, Options, TResolvedConfig>;
|
|
109
|
-
//#endregion
|
|
110
108
|
export { AsyncAPIPluginContext, AsyncAPIPluginOptions, AsyncAPIPluginResolvedConfig, AsyncAPIPluginUserConfig };
|
|
111
109
|
//# sourceMappingURL=plugin.d.mts.map
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@powerlines/plugin-asyncapi",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.681",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"description": "A Powerlines plugin to generate project code from AsyncAPI specifications.",
|
|
6
6
|
"repository": {
|
|
@@ -89,19 +89,19 @@
|
|
|
89
89
|
"files": ["dist/**/*"],
|
|
90
90
|
"keywords": ["asyncapi", "powerlines", "storm-software", "powerlines-plugin"],
|
|
91
91
|
"dependencies": {
|
|
92
|
-
"@power-plant/asyncapi": "^0.0.
|
|
93
|
-
"@power-plant/core": "^0.0.
|
|
94
|
-
"@powerlines/plugin-power-plant": "^0.1.
|
|
92
|
+
"@power-plant/asyncapi": "^0.0.94",
|
|
93
|
+
"@power-plant/core": "^0.0.98",
|
|
94
|
+
"@powerlines/plugin-power-plant": "^0.1.72",
|
|
95
95
|
"@stryke/fs": "^0.33.118",
|
|
96
96
|
"@stryke/path": "^0.29.43",
|
|
97
97
|
"defu": "^6.1.7",
|
|
98
|
-
"powerlines": "^0.47.
|
|
98
|
+
"powerlines": "^0.47.215"
|
|
99
99
|
},
|
|
100
100
|
"devDependencies": {
|
|
101
|
-
"@powerlines/plugin-plugin": "^0.12.
|
|
101
|
+
"@powerlines/plugin-plugin": "^0.12.628",
|
|
102
102
|
"@types/node": "^25.9.9"
|
|
103
103
|
},
|
|
104
104
|
"publishConfig": { "access": "public" },
|
|
105
105
|
"types": "./dist/index.d.cts",
|
|
106
|
-
"gitHead": "
|
|
106
|
+
"gitHead": "810bc635d1503594d09d9f0c8c93ea413745a9df"
|
|
107
107
|
}
|