@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 +3 -5
- package/dist/index.d.cts +1 -3
- package/dist/index.d.cts.map +1 -1
- package/dist/index.d.mts +1 -3
- package/dist/index.mjs +1 -2
- package/dist/{module-tqefzJ_M.d.cts → module-r6zINkNC.d.cts} +1 -3
- package/dist/module-r6zINkNC.d.cts.map +1 -0
- package/dist/{module-tqefzJ_M.d.mts → module-r6zINkNC.d.mts} +1 -3
- package/dist/module-r6zINkNC.d.mts.map +1 -0
- package/dist/types/index.d.cts +1 -1
- package/dist/types/index.d.mts +1 -1
- package/dist/types/module.d.cts +1 -1
- package/dist/types/module.d.mts +1 -1
- package/dist/types/plugin.d.cts +0 -2
- package/dist/types/plugin.d.cts.map +1 -1
- package/dist/types/plugin.d.mts +0 -2
- package/package.json +15 -15
- package/dist/module-tqefzJ_M.d.cts.map +0 -1
- package/dist/module-tqefzJ_M.d.mts.map +0 -1
package/dist/index.cjs
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
|
|
2
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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-
|
|
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
|
package/dist/index.d.cts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.cts","names":[],"sources":["../src/index.ts"],"mappings":"
|
|
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-
|
|
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
|
-
|
|
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-
|
|
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-
|
|
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":""}
|
package/dist/types/index.d.cts
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import { SatoriPluginContext, SatoriPluginOptions, SatoriPluginResolvedConfig, SatoriPluginUserConfig } from "./plugin.cjs";
|
|
2
|
-
import { t as SatoriComponentModule } from "../module-
|
|
2
|
+
import { t as SatoriComponentModule } from "../module-r6zINkNC.cjs";
|
|
3
3
|
export { SatoriComponentModule, SatoriPluginContext, SatoriPluginOptions, SatoriPluginResolvedConfig, SatoriPluginUserConfig };
|
package/dist/types/index.d.mts
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import { SatoriPluginContext, SatoriPluginOptions, SatoriPluginResolvedConfig, SatoriPluginUserConfig } from "./plugin.mjs";
|
|
2
|
-
import { t as SatoriComponentModule } from "../module-
|
|
2
|
+
import { t as SatoriComponentModule } from "../module-r6zINkNC.mjs";
|
|
3
3
|
export { SatoriComponentModule, SatoriPluginContext, SatoriPluginOptions, SatoriPluginResolvedConfig, SatoriPluginUserConfig };
|
package/dist/types/module.d.cts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as SatoriComponentModule } from "../module-
|
|
1
|
+
import { t as SatoriComponentModule } from "../module-r6zINkNC.cjs";
|
|
2
2
|
export { SatoriComponentModule };
|
package/dist/types/module.d.mts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as SatoriComponentModule } from "../module-
|
|
1
|
+
import { t as SatoriComponentModule } from "../module-r6zINkNC.mjs";
|
|
2
2
|
export { SatoriComponentModule };
|
package/dist/types/plugin.d.cts
CHANGED
|
@@ -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":"
|
|
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"}
|
package/dist/types/plugin.d.mts
CHANGED
|
@@ -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.
|
|
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.
|
|
112
|
-
"@stryke/fs": "^0.33.
|
|
113
|
-
"@stryke/helpers": "^0.10.
|
|
114
|
-
"@stryke/json": "^0.15.
|
|
115
|
-
"@stryke/path": "^0.29.
|
|
116
|
-
"@stryke/type-checks": "^0.6.
|
|
117
|
-
"@stryke/types": "^0.12.
|
|
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.
|
|
120
|
+
"powerlines": "^0.47.215",
|
|
121
121
|
"satori": "^0.18.4"
|
|
122
122
|
},
|
|
123
123
|
"devDependencies": {
|
|
124
|
-
"@powerlines/plugin-plugin": "^0.12.
|
|
125
|
-
"@storm-software/config": "^1.138.
|
|
126
|
-
"@types/node": "^25.9.
|
|
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.
|
|
130
|
-
"react-dom": "^19.3.
|
|
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": "
|
|
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":""}
|