@powerlines/plugin-satori 0.1.668 → 0.1.669
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 +30 -3
- package/dist/index.d.cts +1 -1
- package/dist/index.d.mts +1 -1
- package/dist/index.mjs +1 -0
- package/dist/module-tqefzJ_M.d.cts +10 -0
- package/dist/module-tqefzJ_M.d.cts.map +1 -0
- package/dist/module-tqefzJ_M.d.mts +10 -0
- package/dist/module-tqefzJ_M.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 +2 -10
- package/dist/types/module.d.mts +2 -10
- package/package.json +3 -3
- package/dist/_virtual/_rolldown/runtime.cjs +0 -28
- package/dist/types/module.d.cts.map +0 -1
- package/dist/types/module.d.mts.map +0 -1
package/dist/index.cjs
CHANGED
|
@@ -1,5 +1,32 @@
|
|
|
1
1
|
Object.defineProperties(exports, { __esModule: { value: true }, [Symbol.toStringTag]: { value: 'Module' } });
|
|
2
|
-
|
|
2
|
+
//#region \0rolldown/runtime.js
|
|
3
|
+
var __create = Object.create;
|
|
4
|
+
var __defProp = Object.defineProperty;
|
|
5
|
+
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
6
|
+
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
7
|
+
var __getProtoOf = Object.getPrototypeOf;
|
|
8
|
+
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
9
|
+
var __copyProps = (to, from, except, desc) => {
|
|
10
|
+
if (from && typeof from === "object" || typeof from === "function") {
|
|
11
|
+
for (var keys = __getOwnPropNames(from), i = 0, n = keys.length, key; i < n; i++) {
|
|
12
|
+
key = keys[i];
|
|
13
|
+
if (!__hasOwnProp.call(to, key) && key !== except) {
|
|
14
|
+
__defProp(to, key, {
|
|
15
|
+
get: ((k) => from[k]).bind(null, key),
|
|
16
|
+
enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable
|
|
17
|
+
});
|
|
18
|
+
}
|
|
19
|
+
}
|
|
20
|
+
}
|
|
21
|
+
return to;
|
|
22
|
+
};
|
|
23
|
+
var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(isNodeMode || !mod || !mod.__esModule || !__hasOwnProp.call(mod, "default") ? __defProp(target, "default", {
|
|
24
|
+
value: mod,
|
|
25
|
+
enumerable: true
|
|
26
|
+
}) : target, mod));
|
|
27
|
+
|
|
28
|
+
//#endregion
|
|
29
|
+
require('./types/index.cjs');
|
|
3
30
|
let _stryke_convert_to_array = require("@stryke/convert/to-array");
|
|
4
31
|
let _stryke_fs_exists = require("@stryke/fs/exists");
|
|
5
32
|
let _stryke_fs_list_files = require("@stryke/fs/list-files");
|
|
@@ -7,10 +34,10 @@ let _stryke_path_file_path_fns = require("@stryke/path/file-path-fns");
|
|
|
7
34
|
let _stryke_path_join_paths = require("@stryke/path/join-paths");
|
|
8
35
|
let _stryke_path_replace = require("@stryke/path/replace");
|
|
9
36
|
let defu = require("defu");
|
|
10
|
-
defu =
|
|
37
|
+
defu = __toESM(defu, 1);
|
|
11
38
|
let powerlines_plugin_utils = require("powerlines/plugin-utils");
|
|
12
39
|
let satori = require("satori");
|
|
13
|
-
satori =
|
|
40
|
+
satori = __toESM(satori, 1);
|
|
14
41
|
|
|
15
42
|
//#region src/index.ts
|
|
16
43
|
/**
|
package/dist/index.d.cts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { SatoriPluginContext, SatoriPluginOptions, SatoriPluginResolvedConfig, SatoriPluginUserConfig } from "./types/plugin.cjs";
|
|
2
|
-
import { SatoriComponentModule } from "./
|
|
2
|
+
import { t as SatoriComponentModule } from "./module-tqefzJ_M.cjs";
|
|
3
3
|
import "./types/index.cjs";
|
|
4
4
|
import { Plugin } from "powerlines";
|
|
5
5
|
//#region src/index.d.ts
|
package/dist/index.d.mts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { SatoriPluginContext, SatoriPluginOptions, SatoriPluginResolvedConfig, SatoriPluginUserConfig } from "./types/plugin.mjs";
|
|
2
|
-
import { SatoriComponentModule } from "./
|
|
2
|
+
import { t as SatoriComponentModule } from "./module-tqefzJ_M.mjs";
|
|
3
3
|
import "./types/index.mjs";
|
|
4
4
|
import { Plugin } from "powerlines";
|
|
5
5
|
//#region src/index.d.ts
|
package/dist/index.mjs
CHANGED
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { SatoriOptions } from "satori";
|
|
2
|
+
import { ReactNode } from "react";
|
|
3
|
+
//#region src/types/module.d.ts
|
|
4
|
+
interface SatoriComponentModule {
|
|
5
|
+
default: ReactNode;
|
|
6
|
+
options?: SatoriOptions;
|
|
7
|
+
}
|
|
8
|
+
//#endregion
|
|
9
|
+
export { SatoriComponentModule as t };
|
|
10
|
+
//# sourceMappingURL=module-tqefzJ_M.d.cts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"module-tqefzJ_M.d.cts","names":[],"sources":["../src/types/module.ts"],"mappings":";;;UAqBiB;EACf,SAAS;EACT,UAAU"}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { SatoriOptions } from "satori";
|
|
2
|
+
import { ReactNode } from "react";
|
|
3
|
+
//#region src/types/module.d.ts
|
|
4
|
+
interface SatoriComponentModule {
|
|
5
|
+
default: ReactNode;
|
|
6
|
+
options?: SatoriOptions;
|
|
7
|
+
}
|
|
8
|
+
//#endregion
|
|
9
|
+
export { SatoriComponentModule as t };
|
|
10
|
+
//# sourceMappingURL=module-tqefzJ_M.d.mts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"module-tqefzJ_M.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 { SatoriComponentModule } from "
|
|
2
|
+
import { t as SatoriComponentModule } from "../module-tqefzJ_M.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 { SatoriComponentModule } from "
|
|
2
|
+
import { t as SatoriComponentModule } from "../module-tqefzJ_M.mjs";
|
|
3
3
|
export { SatoriComponentModule, SatoriPluginContext, SatoriPluginOptions, SatoriPluginResolvedConfig, SatoriPluginUserConfig };
|
package/dist/types/module.d.cts
CHANGED
|
@@ -1,10 +1,2 @@
|
|
|
1
|
-
import {
|
|
2
|
-
|
|
3
|
-
//#region src/types/module.d.ts
|
|
4
|
-
interface SatoriComponentModule {
|
|
5
|
-
default: ReactNode;
|
|
6
|
-
options?: SatoriOptions;
|
|
7
|
-
}
|
|
8
|
-
//#endregion
|
|
9
|
-
export { SatoriComponentModule };
|
|
10
|
-
//# sourceMappingURL=module.d.cts.map
|
|
1
|
+
import { t as SatoriComponentModule } from "../module-tqefzJ_M.cjs";
|
|
2
|
+
export { SatoriComponentModule };
|
package/dist/types/module.d.mts
CHANGED
|
@@ -1,10 +1,2 @@
|
|
|
1
|
-
import {
|
|
2
|
-
|
|
3
|
-
//#region src/types/module.d.ts
|
|
4
|
-
interface SatoriComponentModule {
|
|
5
|
-
default: ReactNode;
|
|
6
|
-
options?: SatoriOptions;
|
|
7
|
-
}
|
|
8
|
-
//#endregion
|
|
9
|
-
export { SatoriComponentModule };
|
|
10
|
-
//# sourceMappingURL=module.d.mts.map
|
|
1
|
+
import { t as SatoriComponentModule } from "../module-tqefzJ_M.mjs";
|
|
2
|
+
export { SatoriComponentModule };
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@powerlines/plugin-satori",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.669",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"description": "A Powerlines plugin to use Satori to generate SVG files from jsx/tsx components.",
|
|
6
6
|
"repository": {
|
|
@@ -121,7 +121,7 @@
|
|
|
121
121
|
"satori": "^0.18.4"
|
|
122
122
|
},
|
|
123
123
|
"devDependencies": {
|
|
124
|
-
"@powerlines/plugin-plugin": "^0.12.
|
|
124
|
+
"@powerlines/plugin-plugin": "^0.12.621",
|
|
125
125
|
"@storm-software/config": "^1.138.69",
|
|
126
126
|
"@types/node": "^25.9.5",
|
|
127
127
|
"@types/react": "^19.2.18",
|
|
@@ -131,5 +131,5 @@
|
|
|
131
131
|
},
|
|
132
132
|
"publishConfig": { "access": "public" },
|
|
133
133
|
"types": "./dist/index.d.cts",
|
|
134
|
-
"gitHead": "
|
|
134
|
+
"gitHead": "a060bb776b719e7628c30f82d4fb4305fbcd1581"
|
|
135
135
|
}
|
|
@@ -1,28 +0,0 @@
|
|
|
1
|
-
//#region \0rolldown/runtime.js
|
|
2
|
-
var __create = Object.create;
|
|
3
|
-
var __defProp = Object.defineProperty;
|
|
4
|
-
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
5
|
-
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
6
|
-
var __getProtoOf = Object.getPrototypeOf;
|
|
7
|
-
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
8
|
-
var __copyProps = (to, from, except, desc) => {
|
|
9
|
-
if (from && typeof from === "object" || typeof from === "function") {
|
|
10
|
-
for (var keys = __getOwnPropNames(from), i = 0, n = keys.length, key; i < n; i++) {
|
|
11
|
-
key = keys[i];
|
|
12
|
-
if (!__hasOwnProp.call(to, key) && key !== except) {
|
|
13
|
-
__defProp(to, key, {
|
|
14
|
-
get: ((k) => from[k]).bind(null, key),
|
|
15
|
-
enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable
|
|
16
|
-
});
|
|
17
|
-
}
|
|
18
|
-
}
|
|
19
|
-
}
|
|
20
|
-
return to;
|
|
21
|
-
};
|
|
22
|
-
var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(isNodeMode || !mod || !mod.__esModule || !__hasOwnProp.call(mod, "default") ? __defProp(target, "default", {
|
|
23
|
-
value: mod,
|
|
24
|
-
enumerable: true
|
|
25
|
-
}) : target, mod));
|
|
26
|
-
|
|
27
|
-
//#endregion
|
|
28
|
-
exports.__toESM = __toESM;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"module.d.cts","names":[],"sources":["../../src/types/module.ts"],"mappings":";;;UAqBiB;EACf,SAAS;EACT,UAAU"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"module.d.mts","names":[],"sources":["../../src/types/module.ts"],"mappings":""}
|