@powerlines/plugin-satori 0.1.288 → 0.1.290

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
@@ -8,7 +8,7 @@ let __stryke_path_join_paths = require("@stryke/path/join-paths");
8
8
  let __stryke_path_replace = require("@stryke/path/replace");
9
9
  let defu = require("defu");
10
10
  defu = require_rolldown_runtime.__toESM(defu);
11
- let powerlines_plugin_utils_paths = require("powerlines/plugin-utils/paths");
11
+ let powerlines_plugin_utils = require("powerlines/plugin-utils");
12
12
  let satori = require("satori");
13
13
  satori = require_rolldown_runtime.__toESM(satori);
14
14
 
@@ -34,8 +34,8 @@ const plugin = (options) => {
34
34
  async configResolved() {
35
35
  if (!this.config.satori.path) throw new Error("The Powerlines Satori plugin requires a `path` option to be specified.");
36
36
  this.config.satori.inputs = (await Promise.all((0, __stryke_convert_to_array.toArray)(this.config.satori.path).map(async (path) => {
37
- if (path.includes("*")) return (0, __stryke_fs_list_files.listFiles)((0, powerlines_plugin_utils_paths.replacePathTokens)(this, path));
38
- return (0, powerlines_plugin_utils_paths.replacePathTokens)(this, path);
37
+ if (path.includes("*")) return (0, __stryke_fs_list_files.listFiles)((0, powerlines_plugin_utils.replacePathTokens)(this, path));
38
+ return (0, powerlines_plugin_utils.replacePathTokens)(this, path);
39
39
  }))).flat().filter((path) => path && ["jsx", "tsx"].includes((0, __stryke_path_file_path_fns.findFileExtensionSafe)(path)) && (0, __stryke_fs_exists.existsSync)(path));
40
40
  },
41
41
  async prepare() {
@@ -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.projectRoot))) : 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.workspaceConfig.workspaceRoot, 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,10 +1,14 @@
1
1
  import { SatoriPluginContext, SatoriPluginOptions, SatoriPluginResolvedConfig, SatoriPluginUserConfig, __ΩSatoriPluginContext, __ΩSatoriPluginOptions, __ΩSatoriPluginResolvedConfig, __ΩSatoriPluginUserConfig } from "./types/plugin.cjs";
2
2
  import { SatoriComponentModule, __ΩSatoriComponentModule } from "./types/module.cjs";
3
3
  import "./types/index.cjs";
4
- import { Plugin } from "powerlines/types/plugin";
4
+ import { Plugin } from "powerlines";
5
5
 
6
6
  //#region src/index.d.ts
7
-
7
+ declare module "powerlines" {
8
+ interface UserConfig {
9
+ satori?: SatoriPluginOptions;
10
+ }
11
+ }
8
12
  /**
9
13
  * A Powerlines plugin to use Untyped for code generation based on user-defined schemas.
10
14
  *
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.cts","names":[],"sources":["../src/index.ts"],"sourcesContent":[],"mappings":";;;;;;;;;;AA2CA;;;AAGW,cAHE,MAGF,EAAA,CAAA,iBAFQ,mBAER,GAF8B,mBAE9B,CAAA,CAAA,OAAA,EAAA,mBAAA,EAAA,GACR,MADQ,CACD,QADC,CAAA"}
1
+ {"version":3,"file":"index.d.cts","names":[],"sources":["../src/index.ts"],"sourcesContent":[],"mappings":";;;;;;;;aAuCa;EAJW;;;;;AAcxB;;;AAGW,cAHE,MAGF,EAAA,CAAA,iBAFQ,mBAER,GAF8B,mBAE9B,CAAA,CAAA,OAAA,EAAA,mBAAA,EAAA,GACR,MADQ,CACD,QADC,CAAA"}
package/dist/index.d.mts CHANGED
@@ -1,10 +1,14 @@
1
1
  import { SatoriPluginContext, SatoriPluginOptions, SatoriPluginResolvedConfig, SatoriPluginUserConfig, __ΩSatoriPluginContext, __ΩSatoriPluginOptions, __ΩSatoriPluginResolvedConfig, __ΩSatoriPluginUserConfig } from "./types/plugin.mjs";
2
2
  import { SatoriComponentModule, __ΩSatoriComponentModule } from "./types/module.mjs";
3
3
  import "./types/index.mjs";
4
- import { Plugin } from "powerlines/types/plugin";
4
+ import { Plugin } from "powerlines";
5
5
 
6
6
  //#region src/index.d.ts
7
-
7
+ declare module "powerlines" {
8
+ interface UserConfig {
9
+ satori?: SatoriPluginOptions;
10
+ }
11
+ }
8
12
  /**
9
13
  * A Powerlines plugin to use Untyped for code generation based on user-defined schemas.
10
14
  *
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.mts","names":[],"sources":["../src/index.ts"],"sourcesContent":[],"mappings":";;;;;;;;;;AA2CA;;;AAGW,cAHE,MAGF,EAAA,CAAA,iBAFQ,mBAER,GAF8B,mBAE9B,CAAA,CAAA,OAAA,EAAA,mBAAA,EAAA,GACR,MADQ,CACD,QADC,CAAA"}
1
+ {"version":3,"file":"index.d.mts","names":[],"sources":["../src/index.ts"],"sourcesContent":[],"mappings":";;;;;;;;aAuCa;EAJW;;;;;AAcxB;;;AAGW,cAHE,MAGF,EAAA,CAAA,iBAFQ,mBAER,GAF8B,mBAE9B,CAAA,CAAA,OAAA,EAAA,mBAAA,EAAA,GACR,MADQ,CACD,QADC,CAAA"}
package/dist/index.mjs CHANGED
@@ -5,7 +5,7 @@ import { findFileExtensionSafe } from "@stryke/path/file-path-fns";
5
5
  import { joinPaths } from "@stryke/path/join-paths";
6
6
  import { replacePath } from "@stryke/path/replace";
7
7
  import defu from "defu";
8
- import { replacePathTokens } from "powerlines/plugin-utils/paths";
8
+ import { replacePathTokens } from "powerlines/plugin-utils";
9
9
  import satori from "satori";
10
10
 
11
11
  //#region src/index.ts
@@ -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.projectRoot))) : 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.workspaceConfig.workspaceRoot, 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 { replacePathTokens } from \"powerlines/plugin-utils/paths\";\nimport type { Plugin } from \"powerlines/types/plugin\";\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\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.projectRoot\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":";;;;;;;;;;;;;;;;;AA2CA,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,YACb,CACF,CACF,GACD,MAAM,QAAQ,sBAAsB,MAAM,EAAE,MAAM,EACtD,OACD;;aAGE,OAAO;AACd,UAAK,MACH,qCAAqC,MAAM,IAAK,MAAgB,UACjE;;KAEH,CACH;;EAEJ;;AAGH,kBAAe"}
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 export interface UserConfig {\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;;AAGH,kBAAe"}
@@ -1,6 +1,4 @@
1
- import { UserConfig } from "powerlines/types/config";
2
- import { PluginContext } from "powerlines/types/context";
3
- import { ResolvedConfig } from "powerlines/types/resolved";
1
+ import { PluginContext, ResolvedConfig, UserConfig } from "powerlines";
4
2
  import { SatoriOptions } from "satori";
5
3
 
6
4
  //#region src/types/plugin.d.ts
@@ -1 +1 @@
1
- {"version":3,"file":"plugin.d.cts","names":[],"sources":["../../src/types/plugin.ts"],"sourcesContent":[],"mappings":";;;;;;UAuBiB,mBAAA;;AAAjB;AAuBA;EACgB,IAAA,EAAA,MAAA,GAAA,MAAA,EAAA;EAAL;;;;;;EAIM,UAAA,CAAA,EAAA,MAAA;EACF;;;;;;EADmD,cAAA,CAAA,EAR/C,OAQ+C,CARvC,aAQuC,CAAA;AAalE;AAC0B,UAnBT,sBAAA,SAA+B,UAmBtB,CAAA;EACtB,MAAA,CAAA,EAnBO,IAmBP,CAnBY,mBAmBZ,EAAA,gBAAA,CAAA,GAlBA,QAkBA,CAlBS,IAkBT,CAlBc,mBAkBd,EAAA,gBAAA,CAAA,CAAA;;AACA,UAhBa,0BAAA,SAAmC,cAgBhD,CAAA;EAAa,MAAA,EAfP,IAeO,CAfF,mBAeE,EAAA,gBAAA,CAAA,GAdb,QAca,CAdJ,IAcI,CAdC,mBAcD,EAAA,gBAAA,CAAA,CAAA,GAAA;;;;;;;;;;KAHL,4CACc,6BACtB,8BACA,cAAc"}
1
+ {"version":3,"file":"plugin.d.cts","names":[],"sources":["../../src/types/plugin.ts"],"sourcesContent":[],"mappings":";;;;UAqBiB,mBAAA;;AAAjB;AAuBA;EACgB,IAAA,EAAA,MAAA,GAAA,MAAA,EAAA;EAAL;;;;;;EAIM,UAAA,CAAA,EAAA,MAAA;EACF;;;;;;EADmD,cAAA,CAAA,EAR/C,OAQ+C,CARvC,aAQuC,CAAA;AAalE;AAC0B,UAnBT,sBAAA,SAA+B,UAmBtB,CAAA;EACtB,MAAA,CAAA,EAnBO,IAmBP,CAnBY,mBAmBZ,EAAA,gBAAA,CAAA,GAlBA,QAkBA,CAlBS,IAkBT,CAlBc,mBAkBd,EAAA,gBAAA,CAAA,CAAA;;AACA,UAhBa,0BAAA,SAAmC,cAgBhD,CAAA;EAAa,MAAA,EAfP,IAeO,CAfF,mBAeE,EAAA,gBAAA,CAAA,GAdb,QAca,CAdJ,IAcI,CAdC,mBAcD,EAAA,gBAAA,CAAA,CAAA,GAAA;;;;;;;;;;KAHL,4CACc,6BACtB,8BACA,cAAc"}
@@ -1,7 +1,5 @@
1
1
  import { SatoriOptions } from "satori";
2
- import { UserConfig } from "powerlines/types/config";
3
- import { PluginContext } from "powerlines/types/context";
4
- import { ResolvedConfig } from "powerlines/types/resolved";
2
+ import { PluginContext, ResolvedConfig, UserConfig } from "powerlines";
5
3
 
6
4
  //#region src/types/plugin.d.ts
7
5
  interface SatoriPluginOptions {
@@ -1 +1 @@
1
- {"version":3,"file":"plugin.d.mts","names":[],"sources":["../../src/types/plugin.ts"],"sourcesContent":[],"mappings":";;;;;;UAuBiB,mBAAA;;AAAjB;AAuBA;EACgB,IAAA,EAAA,MAAA,GAAA,MAAA,EAAA;EAAL;;;;;;EAIM,UAAA,CAAA,EAAA,MAAA;EACF;;;;;;EADmD,cAAA,CAAA,EAR/C,OAQ+C,CARvC,aAQuC,CAAA;AAalE;AAC0B,UAnBT,sBAAA,SAA+B,UAmBtB,CAAA;EACtB,MAAA,CAAA,EAnBO,IAmBP,CAnBY,mBAmBZ,EAAA,gBAAA,CAAA,GAlBA,QAkBA,CAlBS,IAkBT,CAlBc,mBAkBd,EAAA,gBAAA,CAAA,CAAA;;AACA,UAhBa,0BAAA,SAAmC,cAgBhD,CAAA;EAAa,MAAA,EAfP,IAeO,CAfF,mBAeE,EAAA,gBAAA,CAAA,GAdb,QAca,CAdJ,IAcI,CAdC,mBAcD,EAAA,gBAAA,CAAA,CAAA,GAAA;;;;;;;;;;KAHL,4CACc,6BACtB,8BACA,cAAc"}
1
+ {"version":3,"file":"plugin.d.mts","names":[],"sources":["../../src/types/plugin.ts"],"sourcesContent":[],"mappings":";;;;UAqBiB,mBAAA;;AAAjB;AAuBA;EACgB,IAAA,EAAA,MAAA,GAAA,MAAA,EAAA;EAAL;;;;;;EAIM,UAAA,CAAA,EAAA,MAAA;EACF;;;;;;EADmD,cAAA,CAAA,EAR/C,OAQ+C,CARvC,aAQuC,CAAA;AAalE;AAC0B,UAnBT,sBAAA,SAA+B,UAmBtB,CAAA;EACtB,MAAA,CAAA,EAnBO,IAmBP,CAnBY,mBAmBZ,EAAA,gBAAA,CAAA,GAlBA,QAkBA,CAlBS,IAkBT,CAlBc,mBAkBd,EAAA,gBAAA,CAAA,CAAA;;AACA,UAhBa,0BAAA,SAAmC,cAgBhD,CAAA;EAAa,MAAA,EAfP,IAeO,CAfF,mBAeE,EAAA,gBAAA,CAAA,GAdb,QAca,CAdJ,IAcI,CAdC,mBAcD,EAAA,gBAAA,CAAA,CAAA,GAAA;;;;;;;;;;KAHL,4CACc,6BACtB,8BACA,cAAc"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@powerlines/plugin-satori",
3
- "version": "0.1.288",
3
+ "version": "0.1.290",
4
4
  "type": "module",
5
5
  "description": "A Powerlines plugin to use Satori to generate SVG files from jsx/tsx components.",
6
6
  "repository": {
@@ -55,7 +55,7 @@
55
55
  "default": "./dist/index.mjs"
56
56
  }
57
57
  },
58
- "./package.json": "./package.json",
58
+ "./*": "./*",
59
59
  "./types": {
60
60
  "require": {
61
61
  "types": "./dist/types/index.d.cts",
@@ -117,17 +117,17 @@
117
117
  "@stryke/types": "^0.10.39",
118
118
  "defu": "^6.1.4",
119
119
  "jiti": "^2.6.1",
120
- "powerlines": "^0.38.56",
120
+ "powerlines": "^0.39.0",
121
121
  "satori": "^0.18.4"
122
122
  },
123
123
  "devDependencies": {
124
- "@powerlines/plugin-plugin": "^0.12.240",
125
- "@storm-software/config": "^1.135.10",
126
- "@types/node": "^25.3.0",
124
+ "@powerlines/plugin-plugin": "^0.12.242",
125
+ "@storm-software/config": "^1.135.11",
126
+ "@types/node": "^25.3.2",
127
127
  "@types/react": "^19.2.14",
128
128
  "@types/react-dom": "^19.2.3"
129
129
  },
130
130
  "publishConfig": { "access": "public" },
131
131
  "types": "./dist/index.d.cts",
132
- "gitHead": "256020b11a6afd9decac143ca57eaba68d102906"
132
+ "gitHead": "0dcb16f054b8a69915b074578e6d4dfa3ecc1529"
133
133
  }