@powerlines/plugin-satori 0.1.674 → 0.1.676

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,5 +1,5 @@
1
1
  Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
2
- //#region \0rolldown/runtime.js
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
- //#endregion
29
- require('./types/index.cjs');
28
+ require("./types/index.cjs");
30
29
  let _stryke_convert_to_array = require("@stryke/convert/to-array");
31
30
  let _stryke_fs_exists = require("@stryke/fs/exists");
32
31
  let _stryke_fs_list_files = require("@stryke/fs/list-files");
@@ -39,7 +38,7 @@ let powerlines_plugin_utils = require("powerlines/plugin-utils");
39
38
  let satori = require("satori");
40
39
  satori = __toESM(satori, 1);
41
40
 
42
- //#region src/index.ts
41
+ // src/index.ts
43
42
  /**
44
43
  * A Powerlines plugin to use Untyped for code generation based on user-defined schemas.
45
44
  *
@@ -81,5 +80,4 @@ const plugin = (options) => {
81
80
  };
82
81
  };
83
82
 
84
- //#endregion
85
83
  exports.plugin = plugin;
package/dist/index.d.cts CHANGED
@@ -1,8 +1,7 @@
1
1
  import { SatoriPluginContext, SatoriPluginOptions, SatoriPluginResolvedConfig, SatoriPluginUserConfig } from "./types/plugin.cjs";
2
- import { t as SatoriComponentModule } from "./module-tqefzJ_M.cjs";
2
+ import { t as SatoriComponentModule } from "./module-r6zINkNC.cjs";
3
3
  import "./types/index.cjs";
4
4
  import { Plugin } from "powerlines";
5
- //#region src/index.d.ts
6
5
  declare module "powerlines" {
7
6
  interface Config {
8
7
  satori?: SatoriPluginOptions;
@@ -15,6 +14,5 @@ declare module "powerlines" {
15
14
  * @returns A Powerlines plugin instance.
16
15
  */
17
16
  declare const plugin: <TContext extends SatoriPluginContext = SatoriPluginContext>(options: SatoriPluginOptions) => Plugin<TContext>;
18
- //#endregion
19
17
  export { SatoriComponentModule, SatoriPluginContext, SatoriPluginOptions, SatoriPluginResolvedConfig, SatoriPluginUserConfig, plugin };
20
18
  //# sourceMappingURL=index.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.cts","names":[],"sources":["../src/index.ts"],"mappings":";;;;;;YAsCY;IACR,SAAS;;;;;;;;;cAUA,SACX,iBAAiB,sBAAsB,qBAEvC,SAAS,wBACR,OAAO"}
1
+ {"version":3,"file":"index.d.cts","names":[],"sources":["../src/index.ts"],"mappings":";;;;;YAsCY;IACR,SAAS;;;;;;;;;cAUA,SACX,iBAAiB,sBAAsB,qBAEvC,SAAS,wBACR,OAAO"}
package/dist/index.d.mts CHANGED
@@ -1,8 +1,7 @@
1
1
  import { SatoriPluginContext, SatoriPluginOptions, SatoriPluginResolvedConfig, SatoriPluginUserConfig } from "./types/plugin.mjs";
2
- import { t as SatoriComponentModule } from "./module-tqefzJ_M.mjs";
2
+ import { t as SatoriComponentModule } from "./module-r6zINkNC.mjs";
3
3
  import "./types/index.mjs";
4
4
  import { Plugin } from "powerlines";
5
- //#region src/index.d.ts
6
5
  declare module "powerlines" {
7
6
  interface Config {
8
7
  satori?: SatoriPluginOptions;
@@ -15,6 +14,5 @@ declare module "powerlines" {
15
14
  * @returns A Powerlines plugin instance.
16
15
  */
17
16
  declare const plugin: <TContext extends SatoriPluginContext = SatoriPluginContext>(options: SatoriPluginOptions) => Plugin<TContext>;
18
- //#endregion
19
17
  export { SatoriComponentModule, SatoriPluginContext, SatoriPluginOptions, SatoriPluginResolvedConfig, SatoriPluginUserConfig, plugin };
20
18
  //# sourceMappingURL=index.d.mts.map
package/dist/index.mjs CHANGED
@@ -9,7 +9,7 @@ import defu from "defu";
9
9
  import { replacePathTokens } from "powerlines/plugin-utils";
10
10
  import satori from "satori";
11
11
 
12
- //#region src/index.ts
12
+ // src/index.ts
13
13
  /**
14
14
  * A Powerlines plugin to use Untyped for code generation based on user-defined schemas.
15
15
  *
@@ -51,6 +51,5 @@ const plugin = (options) => {
51
51
  };
52
52
  };
53
53
 
54
- //#endregion
55
54
  export { plugin };
56
55
  //# sourceMappingURL=index.mjs.map
@@ -1,10 +1,8 @@
1
1
  import { SatoriOptions } from "satori";
2
2
  import { ReactNode } from "react";
3
- //#region src/types/module.d.ts
4
3
  interface SatoriComponentModule {
5
4
  default: ReactNode;
6
5
  options?: SatoriOptions;
7
6
  }
8
- //#endregion
9
7
  export { SatoriComponentModule as t };
10
- //# sourceMappingURL=module-tqefzJ_M.d.cts.map
8
+ //# sourceMappingURL=module-r6zINkNC.d.cts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"module-r6zINkNC.d.cts","names":[],"sources":["../src/types/module.ts"],"mappings":";;UAqBiB;EACf,SAAS;EACT,UAAU"}
@@ -1,10 +1,8 @@
1
1
  import { SatoriOptions } from "satori";
2
2
  import { ReactNode } from "react";
3
- //#region src/types/module.d.ts
4
3
  interface SatoriComponentModule {
5
4
  default: ReactNode;
6
5
  options?: SatoriOptions;
7
6
  }
8
- //#endregion
9
7
  export { SatoriComponentModule as t };
10
- //# sourceMappingURL=module-tqefzJ_M.d.mts.map
8
+ //# sourceMappingURL=module-r6zINkNC.d.mts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"module-r6zINkNC.d.mts","names":[],"sources":["../src/types/module.ts"],"mappings":""}
@@ -1,3 +1,3 @@
1
1
  import { SatoriPluginContext, SatoriPluginOptions, SatoriPluginResolvedConfig, SatoriPluginUserConfig } from "./plugin.cjs";
2
- import { t as SatoriComponentModule } from "../module-tqefzJ_M.cjs";
2
+ import { t as SatoriComponentModule } from "../module-r6zINkNC.cjs";
3
3
  export { SatoriComponentModule, SatoriPluginContext, SatoriPluginOptions, SatoriPluginResolvedConfig, SatoriPluginUserConfig };
@@ -1,3 +1,3 @@
1
1
  import { SatoriPluginContext, SatoriPluginOptions, SatoriPluginResolvedConfig, SatoriPluginUserConfig } from "./plugin.mjs";
2
- import { t as SatoriComponentModule } from "../module-tqefzJ_M.mjs";
2
+ import { t as SatoriComponentModule } from "../module-r6zINkNC.mjs";
3
3
  export { SatoriComponentModule, SatoriPluginContext, SatoriPluginOptions, SatoriPluginResolvedConfig, SatoriPluginUserConfig };
@@ -1,2 +1,2 @@
1
- import { t as SatoriComponentModule } from "../module-tqefzJ_M.cjs";
1
+ import { t as SatoriComponentModule } from "../module-r6zINkNC.cjs";
2
2
  export { SatoriComponentModule };
@@ -1,2 +1,2 @@
1
- import { t as SatoriComponentModule } from "../module-tqefzJ_M.mjs";
1
+ import { t as SatoriComponentModule } from "../module-r6zINkNC.mjs";
2
2
  export { SatoriComponentModule };
@@ -1,6 +1,5 @@
1
1
  import { PluginContext, ResolvedConfig, UserConfig } from "powerlines";
2
2
  import { SatoriOptions } from "satori";
3
- //#region src/types/plugin.d.ts
4
3
  interface SatoriPluginOptions {
5
4
  /**
6
5
  * A path or glob pattern (or an array of paths and glob patterns) to files that have a Satori component default export.
@@ -36,6 +35,5 @@ interface SatoriPluginResolvedConfig extends ResolvedConfig {
36
35
  };
37
36
  }
38
37
  type SatoriPluginContext<TResolvedConfig extends SatoriPluginResolvedConfig = SatoriPluginResolvedConfig> = PluginContext<TResolvedConfig>;
39
- //#endregion
40
38
  export { SatoriPluginContext, SatoriPluginOptions, SatoriPluginResolvedConfig, SatoriPluginUserConfig };
41
39
  //# sourceMappingURL=plugin.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"plugin.d.cts","names":[],"sources":["../../src/types/plugin.ts"],"mappings":";;;UAqBiB;;;;EAIf;;;;;;;EAQA;;;;;;;EAQA,iBAAiB,QAAQ;;UAGV,+BAA+B;EAC9C,SAAS,KAAK,yCACZ,SAAS,KAAK;;UAGD,mCAAmC;EAClD,QAAQ,KAAK,yCACX,SAAS,KAAK;;;;;;;IAOZ;;;KAIM,oBACV,wBAAwB,6BACtB,8BACA,cAAc"}
1
+ {"version":3,"file":"plugin.d.cts","names":[],"sources":["../../src/types/plugin.ts"],"mappings":";;UAqBiB;;;;EAIf;;;;;;;EAQA;;;;;;;EAQA,iBAAiB,QAAQ;;UAGV,+BAA+B;EAC9C,SAAS,KAAK,yCACZ,SAAS,KAAK;;UAGD,mCAAmC;EAClD,QAAQ,KAAK,yCACX,SAAS,KAAK;;;;;;;IAOZ;;;KAIM,oBACV,wBAAwB,6BACtB,8BACA,cAAc"}
@@ -1,6 +1,5 @@
1
1
  import { SatoriOptions } from "satori";
2
2
  import { PluginContext, ResolvedConfig, UserConfig } from "powerlines";
3
- //#region src/types/plugin.d.ts
4
3
  interface SatoriPluginOptions {
5
4
  /**
6
5
  * A path or glob pattern (or an array of paths and glob patterns) to files that have a Satori component default export.
@@ -36,6 +35,5 @@ interface SatoriPluginResolvedConfig extends ResolvedConfig {
36
35
  };
37
36
  }
38
37
  type SatoriPluginContext<TResolvedConfig extends SatoriPluginResolvedConfig = SatoriPluginResolvedConfig> = PluginContext<TResolvedConfig>;
39
- //#endregion
40
38
  export { SatoriPluginContext, SatoriPluginOptions, SatoriPluginResolvedConfig, SatoriPluginUserConfig };
41
39
  //# sourceMappingURL=plugin.d.mts.map
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@powerlines/plugin-satori",
3
- "version": "0.1.674",
3
+ "version": "0.1.676",
4
4
  "type": "module",
5
5
  "description": "A Powerlines plugin to use Satori to generate SVG files from jsx/tsx components.",
6
6
  "repository": {
@@ -108,28 +108,28 @@
108
108
  "react-dom": { "optional": true }
109
109
  },
110
110
  "dependencies": {
111
- "@stryke/convert": "^0.7.45",
112
- "@stryke/fs": "^0.33.116",
113
- "@stryke/helpers": "^0.10.54",
114
- "@stryke/json": "^0.15.38",
115
- "@stryke/path": "^0.29.41",
116
- "@stryke/type-checks": "^0.6.47",
117
- "@stryke/types": "^0.12.42",
111
+ "@stryke/convert": "^0.7.47",
112
+ "@stryke/fs": "^0.33.118",
113
+ "@stryke/helpers": "^0.10.56",
114
+ "@stryke/json": "^0.15.40",
115
+ "@stryke/path": "^0.29.43",
116
+ "@stryke/type-checks": "^0.6.49",
117
+ "@stryke/types": "^0.12.44",
118
118
  "defu": "^6.1.7",
119
119
  "jiti": "^2.7.0",
120
- "powerlines": "^0.47.213",
120
+ "powerlines": "^0.47.215",
121
121
  "satori": "^0.18.4"
122
122
  },
123
123
  "devDependencies": {
124
- "@powerlines/plugin-plugin": "^0.12.626",
125
- "@storm-software/config": "^1.138.76",
126
- "@types/node": "^25.9.7",
124
+ "@powerlines/plugin-plugin": "^0.12.628",
125
+ "@storm-software/config": "^1.138.87",
126
+ "@types/node": "^25.9.9",
127
127
  "@types/react": "^19.3.0",
128
128
  "@types/react-dom": "^19.3.0",
129
- "react": "^19.3.0",
130
- "react-dom": "^19.3.0"
129
+ "react": "^19.3.1",
130
+ "react-dom": "^19.3.1"
131
131
  },
132
132
  "publishConfig": { "access": "public" },
133
133
  "types": "./dist/index.d.cts",
134
- "gitHead": "6303d77b4c8c2dadb7f0128d74e30c2cbb6ffe75"
134
+ "gitHead": "810bc635d1503594d09d9f0c8c93ea413745a9df"
135
135
  }
@@ -1 +0,0 @@
1
- {"version":3,"file":"module-tqefzJ_M.d.cts","names":[],"sources":["../src/types/module.ts"],"mappings":";;;UAqBiB;EACf,SAAS;EACT,UAAU"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"module-tqefzJ_M.d.mts","names":[],"sources":["../src/types/module.ts"],"mappings":""}