@powerlines/plugin-satori 0.1.431 → 0.1.434

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.
@@ -0,0 +1 @@
1
+ var e=Object.create,t=Object.defineProperty,n=Object.getOwnPropertyDescriptor,r=Object.getOwnPropertyNames,i=Object.getPrototypeOf,a=Object.prototype.hasOwnProperty,o=(e,i,o,s)=>{if(i&&typeof i==`object`||typeof i==`function`)for(var c=r(i),l=0,u=c.length,d;l<u;l++)d=c[l],!a.call(e,d)&&d!==o&&t(e,d,{get:(e=>i[e]).bind(null,d),enumerable:!(s=n(i,d))||s.enumerable});return e},s=(n,r,a)=>(a=n==null?{}:e(i(n)),o(r||!n||!n.__esModule?t(a,`default`,{value:n,enumerable:!0}):a,n));exports.__toESM=s;
package/dist/index.cjs ADDED
@@ -0,0 +1 @@
1
+ Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:`Module`}});const e=require(`./_virtual/_rolldown/runtime.cjs`);let t=require(`@stryke/convert/to-array`),n=require(`@stryke/fs/exists`),r=require(`@stryke/fs/list-files`),i=require(`@stryke/path/file-path-fns`),a=require(`@stryke/path/join-paths`),o=require(`@stryke/path/replace`),s=require(`defu`);s=e.__toESM(s,1);let c=require(`powerlines/plugin-utils`),l=require(`satori`);l=e.__toESM(l,1);const u=e=>({name:`satori`,config(){return{satori:{defaultOptions:{},width:1200,height:630,fonts:[],...e}}},async configResolved(){if(!this.config.satori.path)throw Error("The Powerlines Satori plugin requires a `path` option to be specified.");this.config.satori.inputs=(await Promise.all((0,t.toArray)(this.config.satori.path).map(async e=>e.includes(`*`)?(0,r.listFiles)((0,c.replacePathTokens)(this,e)):(0,c.replacePathTokens)(this,e)))).flat().filter(e=>e&&[`jsx`,`tsx`].includes((0,i.findFileExtensionSafe)(e))&&(0,n.existsSync)(e))},async prepare(){await Promise.all(this.config.satori.inputs.map(async e=>{try{let t=await this.resolver.import(e);if(t&&t.default){let n=await(0,l.default)(t.default,(0,s.default)(t.options??{},this.config.satori.defaultOptions));n&&await this.fs.write(this.config.satori.outputPath?(0,a.joinPaths)(this.config.satori.outputPath,(0,o.replacePath)(e,(0,a.joinPaths)(this.config.cwd,this.config.root))):e.replace((0,i.findFileExtensionSafe)(e),`svg`),n)}}catch(t){this.debug(`Failed to load Satori schema from ${e}: ${t.message}`)}}))}});exports.default=u,exports.plugin=u;
@@ -0,0 +1,20 @@
1
+ import { SatoriPluginContext, SatoriPluginOptions, SatoriPluginResolvedConfig, SatoriPluginUserConfig, __ΩSatoriPluginContext, __ΩSatoriPluginOptions, __ΩSatoriPluginResolvedConfig, __ΩSatoriPluginUserConfig } from "./types/plugin.cjs";
2
+ import { SatoriComponentModule, __ΩSatoriComponentModule } from "./types/module.cjs";
3
+ import { Plugin } from "powerlines";
4
+
5
+ //#region src/index.d.ts
6
+ declare module "powerlines" {
7
+ interface Config {
8
+ satori?: SatoriPluginOptions;
9
+ }
10
+ }
11
+ /**
12
+ * A Powerlines plugin to use Untyped for code generation based on user-defined schemas.
13
+ *
14
+ * @param options - The plugin options.
15
+ * @returns A Powerlines plugin instance.
16
+ */
17
+ declare const plugin: <TContext extends SatoriPluginContext = SatoriPluginContext>(options: SatoriPluginOptions) => Plugin<TContext>;
18
+ //#endregion
19
+ export { SatoriComponentModule, SatoriPluginContext, SatoriPluginOptions, SatoriPluginResolvedConfig, SatoriPluginUserConfig, __ΩSatoriComponentModule, __ΩSatoriPluginContext, __ΩSatoriPluginOptions, __ΩSatoriPluginResolvedConfig, __ΩSatoriPluginUserConfig, plugin as default, plugin };
20
+ //# sourceMappingURL=index.d.cts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.cts","names":[],"sources":["../src/index.ts"],"mappings":";;;;;;YAsCY,MAAA;IACR,MAAA,GAAS,mBAAA;EAAA;AAAA;;;;;;;cAUA,MAAA,oBACM,mBAAA,GAAsB,mBAAA,EAEvC,OAAA,EAAS,mBAAA,KACR,MAAA,CAAO,QAAA"}
@@ -0,0 +1,20 @@
1
+ import { SatoriPluginContext, SatoriPluginOptions, SatoriPluginResolvedConfig, SatoriPluginUserConfig, __ΩSatoriPluginContext, __ΩSatoriPluginOptions, __ΩSatoriPluginResolvedConfig, __ΩSatoriPluginUserConfig } from "./types/plugin.mjs";
2
+ import { SatoriComponentModule, __ΩSatoriComponentModule } from "./types/module.mjs";
3
+ import { Plugin } from "powerlines";
4
+
5
+ //#region src/index.d.ts
6
+ declare module "powerlines" {
7
+ interface Config {
8
+ satori?: SatoriPluginOptions;
9
+ }
10
+ }
11
+ /**
12
+ * A Powerlines plugin to use Untyped for code generation based on user-defined schemas.
13
+ *
14
+ * @param options - The plugin options.
15
+ * @returns A Powerlines plugin instance.
16
+ */
17
+ declare const plugin: <TContext extends SatoriPluginContext = SatoriPluginContext>(options: SatoriPluginOptions) => Plugin<TContext>;
18
+ //#endregion
19
+ export { SatoriComponentModule, SatoriPluginContext, SatoriPluginOptions, SatoriPluginResolvedConfig, SatoriPluginUserConfig, __ΩSatoriComponentModule, __ΩSatoriPluginContext, __ΩSatoriPluginOptions, __ΩSatoriPluginResolvedConfig, __ΩSatoriPluginUserConfig, plugin as default, plugin };
20
+ //# sourceMappingURL=index.d.mts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.mts","names":[],"sources":["../src/index.ts"],"mappings":";;;;;;YAsCY,MAAA;IACR,MAAA,GAAS,mBAAA;EAAA;AAAA;;;;;;;cAUA,MAAA,oBACM,mBAAA,GAAsB,mBAAA,EAEvC,OAAA,EAAS,mBAAA,KACR,MAAA,CAAO,QAAA"}
package/dist/index.mjs ADDED
@@ -0,0 +1,2 @@
1
+ import{toArray as e}from"@stryke/convert/to-array";import{existsSync as t}from"@stryke/fs/exists";import{listFiles as n}from"@stryke/fs/list-files";import{findFileExtensionSafe as r}from"@stryke/path/file-path-fns";import{joinPaths as i}from"@stryke/path/join-paths";import{replacePath as a}from"@stryke/path/replace";import o from"defu";import{replacePathTokens as s}from"powerlines/plugin-utils";import c from"satori";const l=l=>({name:`satori`,config(){return{satori:{defaultOptions:{},width:1200,height:630,fonts:[],...l}}},async configResolved(){if(!this.config.satori.path)throw Error("The Powerlines Satori plugin requires a `path` option to be specified.");this.config.satori.inputs=(await Promise.all(e(this.config.satori.path).map(async e=>e.includes(`*`)?n(s(this,e)):s(this,e)))).flat().filter(e=>e&&[`jsx`,`tsx`].includes(r(e))&&t(e))},async prepare(){await Promise.all(this.config.satori.inputs.map(async e=>{try{let t=await this.resolver.import(e);if(t&&t.default){let n=await c(t.default,o(t.options??{},this.config.satori.defaultOptions));n&&await this.fs.write(this.config.satori.outputPath?i(this.config.satori.outputPath,a(e,i(this.config.cwd,this.config.root))):e.replace(r(e),`svg`),n)}}catch(t){this.debug(`Failed to load Satori schema from ${e}: ${t.message}`)}}))}});export{l as default,l as plugin};
2
+ //# sourceMappingURL=index.mjs.map
@@ -0,0 +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(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":"oaAiDA,MAAa,EAGX,IAEO,CACL,KAAM,SACN,QAAS,CACP,MAAO,CACL,OAAQ,CACN,eAAgB,EAAE,CAClB,MAAO,KACP,OAAQ,IACR,MAAO,EAAE,CACT,GAAG,EACJ,CACF,EAEH,MAAM,gBAAiB,CACrB,GAAI,CAAC,KAAK,OAAO,OAAO,KACtB,MAAU,MACR,yEACD,CAGH,KAAK,OAAO,OAAO,QACjB,MAAM,QAAQ,IACZ,EAAQ,KAAK,OAAO,OAAO,KAAK,CAAC,IAAI,KAAM,IACrC,EAAK,SAAS,IAAI,CACb,EAAU,EAAkB,KAAM,EAAK,CAAC,CAG1C,EAAkB,KAAM,EAAK,CACpC,CACH,EAEA,MAAM,CACN,OACC,GACE,GACA,CAAC,MAAO,MAAM,CAAC,SAAS,EAAsB,EAAK,CAAC,EACpD,EAAW,EAAK,CACnB,EAEL,MAAM,SAAU,CACd,MAAM,QAAQ,IACZ,KAAK,OAAO,OAAO,OAAO,IAAI,KAAM,IAAS,CAC3C,GAAI,CACF,IAAM,EACJ,MAAM,KAAK,SAAS,OAA8B,EAAM,CAC1D,GAAI,GAAO,EAAI,QAAS,CACtB,IAAM,EAAS,MAAM,EACnB,EAAI,QACJ,EAAK,EAAI,SAAW,EAAE,CAAE,KAAK,OAAO,OAAO,eAAe,CAC3D,CACG,GACF,MAAM,KAAK,GAAG,MACZ,KAAK,OAAO,OAAO,WACf,EACE,KAAK,OAAO,OAAO,WACnB,EACE,EACA,EAAU,KAAK,OAAO,IAAK,KAAK,OAAO,KAAK,CAC7C,CACF,CACD,EAAM,QAAQ,EAAsB,EAAM,CAAE,MAAM,CACtD,EACD,QAGE,EAAO,CACd,KAAK,MACH,qCAAqC,EAAM,IAAK,EAAgB,UACjE,GAEH,CACH,EAEJ"}
File without changes
@@ -0,0 +1,3 @@
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 };
@@ -0,0 +1,3 @@
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 };
@@ -0,0 +1 @@
1
+ export{};
File without changes
@@ -0,0 +1,12 @@
1
+ import { SatoriOptions } from "satori";
2
+ import { ReactNode } from "react";
3
+
4
+ //#region src/types/module.d.ts
5
+ interface SatoriComponentModule {
6
+ default: ReactNode;
7
+ options?: SatoriOptions;
8
+ }
9
+ declare type __ΩSatoriComponentModule = any[];
10
+ //#endregion
11
+ export { SatoriComponentModule, __ΩSatoriComponentModule };
12
+ //# sourceMappingURL=module.d.cts.map
@@ -0,0 +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;AAAA"}
@@ -0,0 +1,12 @@
1
+ import { SatoriOptions } from "satori";
2
+ import { ReactNode } from "react";
3
+
4
+ //#region src/types/module.d.ts
5
+ interface SatoriComponentModule {
6
+ default: ReactNode;
7
+ options?: SatoriOptions;
8
+ }
9
+ declare type __ΩSatoriComponentModule = any[];
10
+ //#endregion
11
+ export { SatoriComponentModule, __ΩSatoriComponentModule };
12
+ //# sourceMappingURL=module.d.mts.map
@@ -0,0 +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;AAAA"}
@@ -0,0 +1 @@
1
+ export{};
File without changes
@@ -0,0 +1,46 @@
1
+ import { PluginContext, ResolvedConfig, UserConfig } from "powerlines";
2
+ import { SatoriOptions } from "satori";
3
+
4
+ //#region src/types/plugin.d.ts
5
+ interface SatoriPluginOptions {
6
+ /**
7
+ * A path or glob pattern (or an array of paths and glob patterns) to files that have a Satori component default export.
8
+ */
9
+ path: string | string[];
10
+ /**
11
+ * The path for the generated Satori output images
12
+ *
13
+ * @remarks
14
+ * By default, it will generate the output files alongside each satori component file.
15
+ */
16
+ outputPath?: string;
17
+ /**
18
+ * Default Satori options to apply to all components.
19
+ *
20
+ * @remarks
21
+ * These options can be overridden by individual component modules that export their own options.
22
+ */
23
+ defaultOptions?: Partial<SatoriOptions>;
24
+ }
25
+ interface SatoriPluginUserConfig extends UserConfig {
26
+ satori?: Omit<SatoriPluginOptions, "defaultOptions"> & Required<Pick<SatoriPluginOptions, "defaultOptions">>;
27
+ }
28
+ interface SatoriPluginResolvedConfig extends ResolvedConfig {
29
+ satori: Omit<SatoriPluginOptions, "defaultOptions"> & Required<Pick<SatoriPluginOptions, "defaultOptions">> & {
30
+ /**
31
+ * An array of resolved input file paths containing Satori components.
32
+ *
33
+ * @remarks
34
+ * These paths are determined based on the {@link SatoriPluginOptions.path} option provided in the plugin configuration. These are **not** glob patterns, but the actual resolved file paths.
35
+ */
36
+ inputs: string[];
37
+ };
38
+ }
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[];
44
+ //#endregion
45
+ export { SatoriPluginContext, SatoriPluginOptions, SatoriPluginResolvedConfig, SatoriPluginUserConfig, __ΩSatoriPluginContext, __ΩSatoriPluginOptions, __ΩSatoriPluginResolvedConfig, __ΩSatoriPluginUserConfig };
46
+ //# sourceMappingURL=plugin.d.cts.map
@@ -0,0 +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;AAAA"}
@@ -0,0 +1,46 @@
1
+ import { SatoriOptions } from "satori";
2
+ import { PluginContext, ResolvedConfig, UserConfig } from "powerlines";
3
+
4
+ //#region src/types/plugin.d.ts
5
+ interface SatoriPluginOptions {
6
+ /**
7
+ * A path or glob pattern (or an array of paths and glob patterns) to files that have a Satori component default export.
8
+ */
9
+ path: string | string[];
10
+ /**
11
+ * The path for the generated Satori output images
12
+ *
13
+ * @remarks
14
+ * By default, it will generate the output files alongside each satori component file.
15
+ */
16
+ outputPath?: string;
17
+ /**
18
+ * Default Satori options to apply to all components.
19
+ *
20
+ * @remarks
21
+ * These options can be overridden by individual component modules that export their own options.
22
+ */
23
+ defaultOptions?: Partial<SatoriOptions>;
24
+ }
25
+ interface SatoriPluginUserConfig extends UserConfig {
26
+ satori?: Omit<SatoriPluginOptions, "defaultOptions"> & Required<Pick<SatoriPluginOptions, "defaultOptions">>;
27
+ }
28
+ interface SatoriPluginResolvedConfig extends ResolvedConfig {
29
+ satori: Omit<SatoriPluginOptions, "defaultOptions"> & Required<Pick<SatoriPluginOptions, "defaultOptions">> & {
30
+ /**
31
+ * An array of resolved input file paths containing Satori components.
32
+ *
33
+ * @remarks
34
+ * These paths are determined based on the {@link SatoriPluginOptions.path} option provided in the plugin configuration. These are **not** glob patterns, but the actual resolved file paths.
35
+ */
36
+ inputs: string[];
37
+ };
38
+ }
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[];
44
+ //#endregion
45
+ export { SatoriPluginContext, SatoriPluginOptions, SatoriPluginResolvedConfig, SatoriPluginUserConfig, __ΩSatoriPluginContext, __ΩSatoriPluginOptions, __ΩSatoriPluginResolvedConfig, __ΩSatoriPluginUserConfig };
46
+ //# sourceMappingURL=plugin.d.mts.map
@@ -0,0 +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;AAAA"}
@@ -0,0 +1 @@
1
+ export{};
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@powerlines/plugin-satori",
3
- "version": "0.1.431",
3
+ "version": "0.1.434",
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,20 +108,20 @@
108
108
  "react-dom": { "optional": true }
109
109
  },
110
110
  "dependencies": {
111
- "@stryke/convert": "^0.7.0",
112
- "@stryke/fs": "^0.33.67",
113
- "@stryke/helpers": "^0.10.9",
114
- "@stryke/json": "^0.14.13",
115
- "@stryke/path": "^0.27.5",
116
- "@stryke/type-checks": "^0.6.2",
117
- "@stryke/types": "^0.11.4",
111
+ "@stryke/convert": "^0.7.2",
112
+ "@stryke/fs": "^0.33.69",
113
+ "@stryke/helpers": "^0.10.11",
114
+ "@stryke/json": "^0.14.15",
115
+ "@stryke/path": "^0.28.1",
116
+ "@stryke/type-checks": "^0.6.4",
117
+ "@stryke/types": "^0.11.6",
118
118
  "defu": "^6.1.7",
119
119
  "jiti": "^2.6.1",
120
- "powerlines": "^0.43.28",
120
+ "powerlines": "^0.43.31",
121
121
  "satori": "^0.18.4"
122
122
  },
123
123
  "devDependencies": {
124
- "@powerlines/plugin-plugin": "^0.12.383",
124
+ "@powerlines/plugin-plugin": "^0.12.386",
125
125
  "@storm-software/config": "^1.137.32",
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": "efeaec793549f37c700f2e876bf6097c37375c46"
132
+ "gitHead": "abf752430f7af954a70fd6c9805e50eba2fa666b"
133
133
  }