@powerlines/plugin-satori 0.1.399 → 0.1.400

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
@@ -44,7 +44,7 @@ const plugin = (options) => {
44
44
  const mod = await this.resolver.import(input);
45
45
  if (mod && mod.default) {
46
46
  const result = await (0, satori.default)(mod.default, (0, defu.default)(mod.options ?? {}, this.config.satori.defaultOptions));
47
- if (result) await this.fs.write(this.config.satori.outputPath ? (0, _stryke_path_join_paths.joinPaths)(this.config.satori.outputPath, (0, _stryke_path_replace.replacePath)(input, (0, _stryke_path_join_paths.joinPaths)(this.workspaceConfig.workspaceRoot, this.config.root))) : input.replace((0, _stryke_path_file_path_fns.findFileExtensionSafe)(input), "svg"), result);
47
+ if (result) await this.fs.write(this.config.satori.outputPath ? (0, _stryke_path_join_paths.joinPaths)(this.config.satori.outputPath, (0, _stryke_path_replace.replacePath)(input, (0, _stryke_path_join_paths.joinPaths)(this.config.cwd, this.config.root))) : input.replace((0, _stryke_path_file_path_fns.findFileExtensionSafe)(input), "svg"), result);
48
48
  }
49
49
  } catch (error) {
50
50
  this.debug(`Failed to load Satori schema from ${input}: ${error.message}`);
package/dist/index.d.cts CHANGED
@@ -1,5 +1,5 @@
1
- import { SatoriPluginContext, SatoriPluginOptions, SatoriPluginResolvedConfig, SatoriPluginUserConfig } from "./types/plugin.cjs";
2
- import { SatoriComponentModule } from "./types/module.cjs";
1
+ import { SatoriPluginContext, SatoriPluginOptions, SatoriPluginResolvedConfig, SatoriPluginUserConfig, __ΩSatoriPluginContext, __ΩSatoriPluginOptions, __ΩSatoriPluginResolvedConfig, __ΩSatoriPluginUserConfig } from "./types/plugin.cjs";
2
+ import { SatoriComponentModule, __ΩSatoriComponentModule } from "./types/module.cjs";
3
3
  import { Plugin } from "powerlines";
4
4
 
5
5
  //#region src/index.d.ts
@@ -16,5 +16,5 @@ declare module "powerlines" {
16
16
  */
17
17
  declare const plugin: <TContext extends SatoriPluginContext = SatoriPluginContext>(options: SatoriPluginOptions) => Plugin<TContext>;
18
18
  //#endregion
19
- export { SatoriComponentModule, SatoriPluginContext, SatoriPluginOptions, SatoriPluginResolvedConfig, SatoriPluginUserConfig, plugin as default, plugin };
19
+ export { SatoriComponentModule, SatoriPluginContext, SatoriPluginOptions, SatoriPluginResolvedConfig, SatoriPluginUserConfig, __ΩSatoriComponentModule, __ΩSatoriPluginContext, __ΩSatoriPluginOptions, __ΩSatoriPluginResolvedConfig, __ΩSatoriPluginUserConfig, plugin as default, plugin };
20
20
  //# sourceMappingURL=index.d.cts.map
package/dist/index.d.mts CHANGED
@@ -1,5 +1,5 @@
1
- import { SatoriPluginContext, SatoriPluginOptions, SatoriPluginResolvedConfig, SatoriPluginUserConfig } from "./types/plugin.mjs";
2
- import { SatoriComponentModule } from "./types/module.mjs";
1
+ import { SatoriPluginContext, SatoriPluginOptions, SatoriPluginResolvedConfig, SatoriPluginUserConfig, __ΩSatoriPluginContext, __ΩSatoriPluginOptions, __ΩSatoriPluginResolvedConfig, __ΩSatoriPluginUserConfig } from "./types/plugin.mjs";
2
+ import { SatoriComponentModule, __ΩSatoriComponentModule } from "./types/module.mjs";
3
3
  import { Plugin } from "powerlines";
4
4
 
5
5
  //#region src/index.d.ts
@@ -16,5 +16,5 @@ declare module "powerlines" {
16
16
  */
17
17
  declare const plugin: <TContext extends SatoriPluginContext = SatoriPluginContext>(options: SatoriPluginOptions) => Plugin<TContext>;
18
18
  //#endregion
19
- export { SatoriComponentModule, SatoriPluginContext, SatoriPluginOptions, SatoriPluginResolvedConfig, SatoriPluginUserConfig, plugin as default, plugin };
19
+ export { SatoriComponentModule, SatoriPluginContext, SatoriPluginOptions, SatoriPluginResolvedConfig, SatoriPluginUserConfig, __ΩSatoriComponentModule, __ΩSatoriPluginContext, __ΩSatoriPluginOptions, __ΩSatoriPluginResolvedConfig, __ΩSatoriPluginUserConfig, plugin as default, plugin };
20
20
  //# sourceMappingURL=index.d.mts.map
package/dist/index.mjs CHANGED
@@ -40,7 +40,7 @@ const plugin = (options) => {
40
40
  const mod = await this.resolver.import(input);
41
41
  if (mod && mod.default) {
42
42
  const result = await satori(mod.default, defu(mod.options ?? {}, this.config.satori.defaultOptions));
43
- if (result) await this.fs.write(this.config.satori.outputPath ? joinPaths(this.config.satori.outputPath, replacePath(input, joinPaths(this.workspaceConfig.workspaceRoot, this.config.root))) : input.replace(findFileExtensionSafe(input), "svg"), result);
43
+ if (result) await this.fs.write(this.config.satori.outputPath ? joinPaths(this.config.satori.outputPath, replacePath(input, joinPaths(this.config.cwd, this.config.root))) : input.replace(findFileExtensionSafe(input), "svg"), result);
44
44
  }
45
45
  } catch (error) {
46
46
  this.debug(`Failed to load Satori schema from ${input}: ${error.message}`);
@@ -1 +1 @@
1
- {"version":3,"file":"index.mjs","names":[],"sources":["../src/index.ts"],"sourcesContent":["/* -------------------------------------------------------------------\n\n ⚡ Storm Software - Powerlines\n\n This code was released as part of the Powerlines project. Powerlines\n is maintained by Storm Software under the Apache-2.0 license, and is\n free for commercial and private use. For more information, please visit\n our licensing page at https://stormsoftware.com/licenses/projects/powerlines.\n\n Website: https://stormsoftware.com\n Repository: https://github.com/storm-software/powerlines\n Documentation: https://docs.stormsoftware.com/projects/powerlines\n Contact: https://stormsoftware.com/contact\n\n SPDX-License-Identifier: Apache-2.0\n\n ------------------------------------------------------------------- */\n\nimport { toArray } from \"@stryke/convert/to-array\";\nimport { existsSync } from \"@stryke/fs/exists\";\nimport { listFiles } from \"@stryke/fs/list-files\";\nimport { findFileExtensionSafe } from \"@stryke/path/file-path-fns\";\nimport { joinPaths } from \"@stryke/path/join-paths\";\nimport { replacePath } from \"@stryke/path/replace\";\nimport defu from \"defu\";\nimport type { Plugin } from \"powerlines\";\nimport { replacePathTokens } from \"powerlines/plugin-utils\";\nimport satori from \"satori\";\nimport { SatoriComponentModule } from \"./types/module\";\nimport {\n SatoriPluginContext,\n SatoriPluginOptions,\n SatoriPluginUserConfig\n} from \"./types/plugin\";\n\nexport * from \"./types\";\n\ndeclare module \"powerlines\" {\n interface Config {\n satori?: SatoriPluginOptions;\n }\n}\n\n/**\n * A Powerlines plugin to use Untyped for code generation based on user-defined schemas.\n *\n * @param options - The plugin options.\n * @returns A Powerlines plugin instance.\n */\nexport const plugin = <\n TContext extends SatoriPluginContext = SatoriPluginContext\n>(\n options: SatoriPluginOptions\n): Plugin<TContext> => {\n return {\n name: \"satori\",\n config() {\n return {\n satori: {\n defaultOptions: {},\n width: 1200,\n height: 630,\n fonts: [],\n ...options\n }\n } as Partial<SatoriPluginUserConfig>;\n },\n async configResolved() {\n if (!this.config.satori.path) {\n throw new Error(\n \"The Powerlines Satori plugin requires a \\`path\\` option to be specified.\"\n );\n }\n\n this.config.satori.inputs = (\n await Promise.all(\n toArray(this.config.satori.path).map(async path => {\n if (path.includes(\"*\")) {\n return listFiles(replacePathTokens(this, path));\n }\n\n return replacePathTokens(this, path);\n })\n )\n )\n .flat()\n .filter(\n path =>\n path &&\n [\"jsx\", \"tsx\"].includes(findFileExtensionSafe(path)) &&\n existsSync(path)\n );\n },\n async prepare() {\n await Promise.all(\n this.config.satori.inputs.map(async input => {\n try {\n const mod =\n await this.resolver.import<SatoriComponentModule>(input);\n if (mod && mod.default) {\n const result = await satori(\n mod.default,\n defu(mod.options ?? {}, this.config.satori.defaultOptions)\n );\n if (result) {\n await this.fs.write(\n this.config.satori.outputPath\n ? joinPaths(\n this.config.satori.outputPath,\n replacePath(\n input,\n joinPaths(\n this.workspaceConfig.workspaceRoot,\n this.config.root\n )\n )\n )\n : input.replace(findFileExtensionSafe(input), \"svg\"),\n result\n );\n }\n }\n } catch (error) {\n this.debug(\n `Failed to load Satori schema from ${input}: ${(error as Error).message}`\n );\n }\n })\n );\n }\n };\n};\n\nexport default plugin;\n"],"mappings":";;;;;;;;;;;;;;;;;AAiDA,MAAa,UAGX,YACqB;AACrB,QAAO;EACL,MAAM;EACN,SAAS;AACP,UAAO,EACL,QAAQ;IACN,gBAAgB,EAAE;IAClB,OAAO;IACP,QAAQ;IACR,OAAO,EAAE;IACT,GAAG;IACJ,EACF;;EAEH,MAAM,iBAAiB;AACrB,OAAI,CAAC,KAAK,OAAO,OAAO,KACtB,OAAM,IAAI,MACR,yEACD;AAGH,QAAK,OAAO,OAAO,UACjB,MAAM,QAAQ,IACZ,QAAQ,KAAK,OAAO,OAAO,KAAK,CAAC,IAAI,OAAM,SAAQ;AACjD,QAAI,KAAK,SAAS,IAAI,CACpB,QAAO,UAAU,kBAAkB,MAAM,KAAK,CAAC;AAGjD,WAAO,kBAAkB,MAAM,KAAK;KACpC,CACH,EAEA,MAAM,CACN,QACC,SACE,QACA,CAAC,OAAO,MAAM,CAAC,SAAS,sBAAsB,KAAK,CAAC,IACpD,WAAW,KAAK,CACnB;;EAEL,MAAM,UAAU;AACd,SAAM,QAAQ,IACZ,KAAK,OAAO,OAAO,OAAO,IAAI,OAAM,UAAS;AAC3C,QAAI;KACF,MAAM,MACJ,MAAM,KAAK,SAAS,OAA8B,MAAM;AAC1D,SAAI,OAAO,IAAI,SAAS;MACtB,MAAM,SAAS,MAAM,OACnB,IAAI,SACJ,KAAK,IAAI,WAAW,EAAE,EAAE,KAAK,OAAO,OAAO,eAAe,CAC3D;AACD,UAAI,OACF,OAAM,KAAK,GAAG,MACZ,KAAK,OAAO,OAAO,aACf,UACE,KAAK,OAAO,OAAO,YACnB,YACE,OACA,UACE,KAAK,gBAAgB,eACrB,KAAK,OAAO,KACb,CACF,CACF,GACD,MAAM,QAAQ,sBAAsB,MAAM,EAAE,MAAM,EACtD,OACD;;aAGE,OAAO;AACd,UAAK,MACH,qCAAqC,MAAM,IAAK,MAAgB,UACjE;;KAEH,CACH;;EAEJ"}
1
+ {"version":3,"file":"index.mjs","names":[],"sources":["../src/index.ts"],"sourcesContent":["/* -------------------------------------------------------------------\n\n ⚡ Storm Software - Powerlines\n\n This code was released as part of the Powerlines project. Powerlines\n is maintained by Storm Software under the Apache-2.0 license, and is\n free for commercial and private use. For more information, please visit\n our licensing page at https://stormsoftware.com/licenses/projects/powerlines.\n\n Website: https://stormsoftware.com\n Repository: https://github.com/storm-software/powerlines\n Documentation: https://docs.stormsoftware.com/projects/powerlines\n Contact: https://stormsoftware.com/contact\n\n SPDX-License-Identifier: Apache-2.0\n\n ------------------------------------------------------------------- */\n\nimport { toArray } from \"@stryke/convert/to-array\";\nimport { existsSync } from \"@stryke/fs/exists\";\nimport { listFiles } from \"@stryke/fs/list-files\";\nimport { findFileExtensionSafe } from \"@stryke/path/file-path-fns\";\nimport { joinPaths } from \"@stryke/path/join-paths\";\nimport { replacePath } from \"@stryke/path/replace\";\nimport defu from \"defu\";\nimport type { Plugin } from \"powerlines\";\nimport { replacePathTokens } from \"powerlines/plugin-utils\";\nimport satori from \"satori\";\nimport { SatoriComponentModule } from \"./types/module\";\nimport {\n SatoriPluginContext,\n SatoriPluginOptions,\n SatoriPluginUserConfig\n} from \"./types/plugin\";\n\nexport * from \"./types\";\n\ndeclare module \"powerlines\" {\n interface Config {\n satori?: SatoriPluginOptions;\n }\n}\n\n/**\n * A Powerlines plugin to use Untyped for code generation based on user-defined schemas.\n *\n * @param options - The plugin options.\n * @returns A Powerlines plugin instance.\n */\nexport const plugin = <\n TContext extends SatoriPluginContext = SatoriPluginContext\n>(\n options: SatoriPluginOptions\n): Plugin<TContext> => {\n return {\n name: \"satori\",\n config() {\n return {\n satori: {\n defaultOptions: {},\n width: 1200,\n height: 630,\n fonts: [],\n ...options\n }\n } as Partial<SatoriPluginUserConfig>;\n },\n async configResolved() {\n if (!this.config.satori.path) {\n throw new Error(\n \"The Powerlines Satori plugin requires a \\`path\\` option to be specified.\"\n );\n }\n\n this.config.satori.inputs = (\n await Promise.all(\n toArray(this.config.satori.path).map(async path => {\n if (path.includes(\"*\")) {\n return listFiles(replacePathTokens(this, path));\n }\n\n return replacePathTokens(this, path);\n })\n )\n )\n .flat()\n .filter(\n path =>\n path &&\n [\"jsx\", \"tsx\"].includes(findFileExtensionSafe(path)) &&\n existsSync(path)\n );\n },\n async prepare() {\n await Promise.all(\n this.config.satori.inputs.map(async input => {\n try {\n const mod =\n await this.resolver.import<SatoriComponentModule>(input);\n if (mod && mod.default) {\n const result = await satori(\n mod.default,\n defu(mod.options ?? {}, this.config.satori.defaultOptions)\n );\n if (result) {\n await this.fs.write(\n this.config.satori.outputPath\n ? joinPaths(\n this.config.satori.outputPath,\n replacePath(\n input,\n joinPaths(this.config.cwd, this.config.root)\n )\n )\n : input.replace(findFileExtensionSafe(input), \"svg\"),\n result\n );\n }\n }\n } catch (error) {\n this.debug(\n `Failed to load Satori schema from ${input}: ${(error as Error).message}`\n );\n }\n })\n );\n }\n };\n};\n\nexport default plugin;\n"],"mappings":";;;;;;;;;;;;;;;;;AAiDA,MAAa,UAGX,YACqB;AACrB,QAAO;EACL,MAAM;EACN,SAAS;AACP,UAAO,EACL,QAAQ;IACN,gBAAgB,EAAE;IAClB,OAAO;IACP,QAAQ;IACR,OAAO,EAAE;IACT,GAAG;IACJ,EACF;;EAEH,MAAM,iBAAiB;AACrB,OAAI,CAAC,KAAK,OAAO,OAAO,KACtB,OAAM,IAAI,MACR,yEACD;AAGH,QAAK,OAAO,OAAO,UACjB,MAAM,QAAQ,IACZ,QAAQ,KAAK,OAAO,OAAO,KAAK,CAAC,IAAI,OAAM,SAAQ;AACjD,QAAI,KAAK,SAAS,IAAI,CACpB,QAAO,UAAU,kBAAkB,MAAM,KAAK,CAAC;AAGjD,WAAO,kBAAkB,MAAM,KAAK;KACpC,CACH,EAEA,MAAM,CACN,QACC,SACE,QACA,CAAC,OAAO,MAAM,CAAC,SAAS,sBAAsB,KAAK,CAAC,IACpD,WAAW,KAAK,CACnB;;EAEL,MAAM,UAAU;AACd,SAAM,QAAQ,IACZ,KAAK,OAAO,OAAO,OAAO,IAAI,OAAM,UAAS;AAC3C,QAAI;KACF,MAAM,MACJ,MAAM,KAAK,SAAS,OAA8B,MAAM;AAC1D,SAAI,OAAO,IAAI,SAAS;MACtB,MAAM,SAAS,MAAM,OACnB,IAAI,SACJ,KAAK,IAAI,WAAW,EAAE,EAAE,KAAK,OAAO,OAAO,eAAe,CAC3D;AACD,UAAI,OACF,OAAM,KAAK,GAAG,MACZ,KAAK,OAAO,OAAO,aACf,UACE,KAAK,OAAO,OAAO,YACnB,YACE,OACA,UAAU,KAAK,OAAO,KAAK,KAAK,OAAO,KAAK,CAC7C,CACF,GACD,MAAM,QAAQ,sBAAsB,MAAM,EAAE,MAAM,EACtD,OACD;;aAGE,OAAO;AACd,UAAK,MACH,qCAAqC,MAAM,IAAK,MAAgB,UACjE;;KAEH,CACH;;EAEJ"}
@@ -1,3 +1,3 @@
1
- import { SatoriPluginContext, SatoriPluginOptions, SatoriPluginResolvedConfig, SatoriPluginUserConfig } from "./plugin.cjs";
2
- import { SatoriComponentModule } from "./module.cjs";
3
- export { SatoriComponentModule, SatoriPluginContext, SatoriPluginOptions, SatoriPluginResolvedConfig, SatoriPluginUserConfig };
1
+ import { SatoriPluginContext, SatoriPluginOptions, SatoriPluginResolvedConfig, SatoriPluginUserConfig, __ΩSatoriPluginContext, __ΩSatoriPluginOptions, __ΩSatoriPluginResolvedConfig, __ΩSatoriPluginUserConfig } from "./plugin.cjs";
2
+ import { SatoriComponentModule, __ΩSatoriComponentModule } from "./module.cjs";
3
+ export { SatoriComponentModule, SatoriPluginContext, SatoriPluginOptions, SatoriPluginResolvedConfig, SatoriPluginUserConfig, __ΩSatoriComponentModule, __ΩSatoriPluginContext, __ΩSatoriPluginOptions, __ΩSatoriPluginResolvedConfig, __ΩSatoriPluginUserConfig };
@@ -1,3 +1,3 @@
1
- import { SatoriPluginContext, SatoriPluginOptions, SatoriPluginResolvedConfig, SatoriPluginUserConfig } from "./plugin.mjs";
2
- import { SatoriComponentModule } from "./module.mjs";
3
- export { SatoriComponentModule, SatoriPluginContext, SatoriPluginOptions, SatoriPluginResolvedConfig, SatoriPluginUserConfig };
1
+ import { SatoriPluginContext, SatoriPluginOptions, SatoriPluginResolvedConfig, SatoriPluginUserConfig, __ΩSatoriPluginContext, __ΩSatoriPluginOptions, __ΩSatoriPluginResolvedConfig, __ΩSatoriPluginUserConfig } from "./plugin.mjs";
2
+ import { SatoriComponentModule, __ΩSatoriComponentModule } from "./module.mjs";
3
+ export { SatoriComponentModule, SatoriPluginContext, SatoriPluginOptions, SatoriPluginResolvedConfig, SatoriPluginUserConfig, __ΩSatoriComponentModule, __ΩSatoriPluginContext, __ΩSatoriPluginOptions, __ΩSatoriPluginResolvedConfig, __ΩSatoriPluginUserConfig };
@@ -6,6 +6,7 @@ interface SatoriComponentModule {
6
6
  default: ReactNode;
7
7
  options?: SatoriOptions;
8
8
  }
9
+ declare type __ΩSatoriComponentModule = any[];
9
10
  //#endregion
10
- export { SatoriComponentModule };
11
+ export { SatoriComponentModule, __ΩSatoriComponentModule };
11
12
  //# sourceMappingURL=module.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"module.d.cts","names":[],"sources":["../../src/types/module.ts"],"mappings":";;;;UAqBiB,qBAAA;EACf,OAAA,EAAS,SAAA;EACT,OAAA,GAAU,aAAA;AAAA"}
1
+ {"version":3,"file":"module.d.cts","names":[],"sources":["../../src/types/module.ts"],"mappings":";;;;UAqBiB,qBAAA;EACf,OAAA,EAAS,SAAA;EACT,OAAA,GAAU,aAAA;AAAA;AAAA"}
@@ -6,6 +6,7 @@ interface SatoriComponentModule {
6
6
  default: ReactNode;
7
7
  options?: SatoriOptions;
8
8
  }
9
+ declare type __ΩSatoriComponentModule = any[];
9
10
  //#endregion
10
- export { SatoriComponentModule };
11
+ export { SatoriComponentModule, __ΩSatoriComponentModule };
11
12
  //# sourceMappingURL=module.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"module.d.mts","names":[],"sources":["../../src/types/module.ts"],"mappings":";;;;UAqBiB,qBAAA;EACf,OAAA,EAAS,SAAA;EACT,OAAA,GAAU,aAAA;AAAA"}
1
+ {"version":3,"file":"module.d.mts","names":[],"sources":["../../src/types/module.ts"],"mappings":";;;;UAqBiB,qBAAA;EACf,OAAA,EAAS,SAAA;EACT,OAAA,GAAU,aAAA;AAAA;AAAA"}
@@ -37,6 +37,10 @@ interface SatoriPluginResolvedConfig extends ResolvedConfig {
37
37
  };
38
38
  }
39
39
  type SatoriPluginContext<TResolvedConfig extends SatoriPluginResolvedConfig = SatoriPluginResolvedConfig> = PluginContext<TResolvedConfig>;
40
+ declare type __ΩSatoriPluginOptions = any[];
41
+ declare type __ΩSatoriPluginUserConfig = any[];
42
+ declare type __ΩSatoriPluginResolvedConfig = any[];
43
+ declare type __ΩSatoriPluginContext = any[];
40
44
  //#endregion
41
- export { SatoriPluginContext, SatoriPluginOptions, SatoriPluginResolvedConfig, SatoriPluginUserConfig };
45
+ export { SatoriPluginContext, SatoriPluginOptions, SatoriPluginResolvedConfig, SatoriPluginUserConfig, __ΩSatoriPluginContext, __ΩSatoriPluginOptions, __ΩSatoriPluginResolvedConfig, __ΩSatoriPluginUserConfig };
42
46
  //# sourceMappingURL=plugin.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"plugin.d.cts","names":[],"sources":["../../src/types/plugin.ts"],"mappings":";;;;UAqBiB,mBAAA;;AAAjB;;EAIE,IAAA;EAgBwB;;;;;;EARxB,UAAA;EAQsC;AAGxC;;;;;EAHE,cAAA,GAAiB,OAAA,CAAQ,aAAA;AAAA;AAAA,UAGV,sBAAA,SAA+B,UAAA;EAC9C,MAAA,GAAS,IAAA,CAAK,mBAAA,sBACZ,QAAA,CAAS,IAAA,CAAK,mBAAA;AAAA;AAAA,UAGD,0BAAA,SAAmC,cAAA;EAClD,MAAA,EAAQ,IAAA,CAAK,mBAAA,sBACX,QAAA,CAAS,IAAA,CAAK,mBAAA;IANhB;;;;;;IAaI,MAAA;EAAA;AAAA;AAAA,KAIM,mBAAA,yBACc,0BAAA,GACtB,0BAAA,IACA,aAAA,CAAc,eAAA"}
1
+ {"version":3,"file":"plugin.d.cts","names":[],"sources":["../../src/types/plugin.ts"],"mappings":";;;;UAqBiB,mBAAA;;AAAjB;;EAIE,IAAA;EAgBwB;;;;;;EARxB,UAAA;EAQsC;AAGxC;;;;;EAHE,cAAA,GAAiB,OAAA,CAAQ,aAAA;AAAA;AAAA,UAGV,sBAAA,SAA+B,UAAA;EAC9C,MAAA,GAAS,IAAA,CAAK,mBAAA,sBACZ,QAAA,CAAS,IAAA,CAAK,mBAAA;AAAA;AAAA,UAGD,0BAAA,SAAmC,cAAA;EAClD,MAAA,EAAQ,IAAA,CAAK,mBAAA,sBACX,QAAA,CAAS,IAAA,CAAK,mBAAA;IANhB;;;;;;IAaI,MAAA;EAAA;AAAA;AAAA,KAIM,mBAAA,yBACc,0BAAA,GACtB,0BAAA,IACA,aAAA,CAAc,eAAA;AAAA"}
@@ -37,6 +37,10 @@ interface SatoriPluginResolvedConfig extends ResolvedConfig {
37
37
  };
38
38
  }
39
39
  type SatoriPluginContext<TResolvedConfig extends SatoriPluginResolvedConfig = SatoriPluginResolvedConfig> = PluginContext<TResolvedConfig>;
40
+ declare type __ΩSatoriPluginOptions = any[];
41
+ declare type __ΩSatoriPluginUserConfig = any[];
42
+ declare type __ΩSatoriPluginResolvedConfig = any[];
43
+ declare type __ΩSatoriPluginContext = any[];
40
44
  //#endregion
41
- export { SatoriPluginContext, SatoriPluginOptions, SatoriPluginResolvedConfig, SatoriPluginUserConfig };
45
+ export { SatoriPluginContext, SatoriPluginOptions, SatoriPluginResolvedConfig, SatoriPluginUserConfig, __ΩSatoriPluginContext, __ΩSatoriPluginOptions, __ΩSatoriPluginResolvedConfig, __ΩSatoriPluginUserConfig };
42
46
  //# sourceMappingURL=plugin.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"plugin.d.mts","names":[],"sources":["../../src/types/plugin.ts"],"mappings":";;;;UAqBiB,mBAAA;;AAAjB;;EAIE,IAAA;EAgBwB;;;;;;EARxB,UAAA;EAQsC;AAGxC;;;;;EAHE,cAAA,GAAiB,OAAA,CAAQ,aAAA;AAAA;AAAA,UAGV,sBAAA,SAA+B,UAAA;EAC9C,MAAA,GAAS,IAAA,CAAK,mBAAA,sBACZ,QAAA,CAAS,IAAA,CAAK,mBAAA;AAAA;AAAA,UAGD,0BAAA,SAAmC,cAAA;EAClD,MAAA,EAAQ,IAAA,CAAK,mBAAA,sBACX,QAAA,CAAS,IAAA,CAAK,mBAAA;IANhB;;;;;;IAaI,MAAA;EAAA;AAAA;AAAA,KAIM,mBAAA,yBACc,0BAAA,GACtB,0BAAA,IACA,aAAA,CAAc,eAAA"}
1
+ {"version":3,"file":"plugin.d.mts","names":[],"sources":["../../src/types/plugin.ts"],"mappings":";;;;UAqBiB,mBAAA;;AAAjB;;EAIE,IAAA;EAgBwB;;;;;;EARxB,UAAA;EAQsC;AAGxC;;;;;EAHE,cAAA,GAAiB,OAAA,CAAQ,aAAA;AAAA;AAAA,UAGV,sBAAA,SAA+B,UAAA;EAC9C,MAAA,GAAS,IAAA,CAAK,mBAAA,sBACZ,QAAA,CAAS,IAAA,CAAK,mBAAA;AAAA;AAAA,UAGD,0BAAA,SAAmC,cAAA;EAClD,MAAA,EAAQ,IAAA,CAAK,mBAAA,sBACX,QAAA,CAAS,IAAA,CAAK,mBAAA;IANhB;;;;;;IAaI,MAAA;EAAA;AAAA;AAAA,KAIM,mBAAA,yBACc,0BAAA,GACtB,0BAAA,IACA,aAAA,CAAc,eAAA;AAAA"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@powerlines/plugin-satori",
3
- "version": "0.1.399",
3
+ "version": "0.1.400",
4
4
  "type": "module",
5
5
  "description": "A Powerlines plugin to use Satori to generate SVG files from jsx/tsx components.",
6
6
  "repository": {
@@ -117,11 +117,11 @@
117
117
  "@stryke/types": "^0.11.3",
118
118
  "defu": "^6.1.7",
119
119
  "jiti": "^2.6.1",
120
- "powerlines": "^0.42.41",
120
+ "powerlines": "^0.43.0",
121
121
  "satori": "^0.18.4"
122
122
  },
123
123
  "devDependencies": {
124
- "@powerlines/plugin-plugin": "^0.12.351",
124
+ "@powerlines/plugin-plugin": "^0.12.352",
125
125
  "@storm-software/config": "^1.137.31",
126
126
  "@types/node": "^25.6.0",
127
127
  "@types/react": "^19.2.14",
@@ -129,5 +129,5 @@
129
129
  },
130
130
  "publishConfig": { "access": "public" },
131
131
  "types": "./dist/index.d.cts",
132
- "gitHead": "10e11a88d7fa6920f7139649cd74470cab2fd514"
132
+ "gitHead": "49eae5ce8145cd6ae873cb4d9b3d747f7132c82d"
133
133
  }