@powerlines/plugin-asyncapi 0.1.675 → 0.1.677

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 CHANGED
@@ -1,4 +1,4 @@
1
- Object.defineProperties(exports, { __esModule: { value: true }, [Symbol.toStringTag]: { value: 'Module' } });
1
+ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
2
2
  //#region \0rolldown/runtime.js
3
3
  var __create = Object.create;
4
4
  var __defProp = Object.defineProperty;
@@ -30,7 +30,6 @@ require('./types/index.cjs');
30
30
  let _power_plant_asyncapi = require("@power-plant/asyncapi");
31
31
  _power_plant_asyncapi = __toESM(_power_plant_asyncapi, 1);
32
32
  let _powerlines_plugin_power_plant = require("@powerlines/plugin-power-plant");
33
- _powerlines_plugin_power_plant = __toESM(_powerlines_plugin_power_plant, 1);
34
33
  let _stryke_fs_exists = require("@stryke/fs/exists");
35
34
  let _stryke_fs_package_fns = require("@stryke/fs/package-fns");
36
35
  let _stryke_path_join = require("@stryke/path/join");
@@ -50,7 +49,7 @@ function isLoadedDocument(value) {
50
49
  */
51
50
  const plugin = (options) => {
52
51
  const generatorConfig = { ..._power_plant_asyncapi.default };
53
- return [(0, _powerlines_plugin_power_plant.default)(generatorConfig), {
52
+ return [(0, _powerlines_plugin_power_plant.plugin)(generatorConfig), {
54
53
  name: "asyncapi",
55
54
  config() {
56
55
  return { asyncapi: (0, defu.default)(options, {
@@ -106,5 +105,4 @@ const plugin = (options) => {
106
105
  };
107
106
 
108
107
  //#endregion
109
- exports.default = plugin;
110
108
  exports.plugin = plugin;
package/dist/index.d.cts CHANGED
@@ -15,5 +15,5 @@ declare module "powerlines" {
15
15
  */
16
16
  declare const plugin: <TContext extends AsyncAPIPluginContext = AsyncAPIPluginContext>(options: AsyncAPIPluginOptions) => Plugin<TContext>[];
17
17
  //#endregion
18
- export { AsyncAPIPluginContext, AsyncAPIPluginOptions, AsyncAPIPluginResolvedConfig, AsyncAPIPluginUserConfig, plugin as default, plugin };
18
+ export { AsyncAPIPluginContext, AsyncAPIPluginOptions, AsyncAPIPluginResolvedConfig, AsyncAPIPluginUserConfig, plugin };
19
19
  //# sourceMappingURL=index.d.cts.map
package/dist/index.d.mts CHANGED
@@ -15,5 +15,5 @@ declare module "powerlines" {
15
15
  */
16
16
  declare const plugin: <TContext extends AsyncAPIPluginContext = AsyncAPIPluginContext>(options: AsyncAPIPluginOptions) => Plugin<TContext>[];
17
17
  //#endregion
18
- export { AsyncAPIPluginContext, AsyncAPIPluginOptions, AsyncAPIPluginResolvedConfig, AsyncAPIPluginUserConfig, plugin as default, plugin };
18
+ export { AsyncAPIPluginContext, AsyncAPIPluginOptions, AsyncAPIPluginResolvedConfig, AsyncAPIPluginUserConfig, plugin };
19
19
  //# sourceMappingURL=index.d.mts.map
package/dist/index.mjs CHANGED
@@ -1,6 +1,6 @@
1
1
  import "./types/index.mjs";
2
2
  import asyncapiGenerator from "@power-plant/asyncapi";
3
- import powerPlant from "@powerlines/plugin-power-plant";
3
+ import { plugin as plugin$1 } from "@powerlines/plugin-power-plant";
4
4
  import { existsSync } from "@stryke/fs/exists";
5
5
  import { isPackageExists } from "@stryke/fs/package-fns";
6
6
  import { joinPaths } from "@stryke/path/join";
@@ -19,7 +19,7 @@ function isLoadedDocument(value) {
19
19
  */
20
20
  const plugin = (options) => {
21
21
  const generatorConfig = { ...asyncapiGenerator };
22
- return [powerPlant(generatorConfig), {
22
+ return [plugin$1(generatorConfig), {
23
23
  name: "asyncapi",
24
24
  config() {
25
25
  return { asyncapi: defu(options, {
@@ -75,5 +75,5 @@ const plugin = (options) => {
75
75
  };
76
76
 
77
77
  //#endregion
78
- export { plugin as default, plugin };
78
+ export { plugin };
79
79
  //# sourceMappingURL=index.mjs.map
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@powerlines/plugin-asyncapi",
3
- "version": "0.1.675",
3
+ "version": "0.1.677",
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.85",
93
- "@power-plant/core": "^0.0.89",
94
- "@powerlines/plugin-power-plant": "^0.1.66",
92
+ "@power-plant/asyncapi": "^0.0.86",
93
+ "@power-plant/core": "^0.0.90",
94
+ "@powerlines/plugin-power-plant": "^0.1.68",
95
95
  "@stryke/fs": "^0.33.110",
96
96
  "@stryke/path": "^0.29.35",
97
97
  "defu": "^6.1.7",
98
- "powerlines": "^0.47.209"
98
+ "powerlines": "^0.47.211"
99
99
  },
100
100
  "devDependencies": {
101
- "@powerlines/plugin-plugin": "^0.12.622",
101
+ "@powerlines/plugin-plugin": "^0.12.624",
102
102
  "@types/node": "^25.9.5"
103
103
  },
104
104
  "publishConfig": { "access": "public" },
105
105
  "types": "./dist/index.d.cts",
106
- "gitHead": "88974b224a5cdb97dbd377373c9ed7f8a8780324"
106
+ "gitHead": "b009e583e12f04c70454ada388ceaae84d7ae6db"
107
107
  }