@powerlines/plugin-satori 0.1.1 → 0.1.3
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/{plugin-CvJ3nAda.d.cts → plugin-QiZGZS3-.d.cts} +25 -1
- package/dist/{plugin-CvJ3nAda.d.ts → plugin-QiZGZS3-.d.ts} +25 -1
- package/dist/src/index.d.cts +2 -2
- package/dist/src/index.d.ts +2 -2
- package/dist/types/index.d.cts +1 -1
- package/dist/types/index.d.ts +1 -1
- package/dist/types/plugin.d.cts +1 -1
- package/dist/types/plugin.d.ts +1 -1
- package/package.json +5 -5
|
@@ -10,7 +10,7 @@ import { PackageJson } from '@stryke/types/package-json';
|
|
|
10
10
|
import { Jiti } from 'jiti';
|
|
11
11
|
import { ParserOptions, ParseResult } from 'oxc-parser';
|
|
12
12
|
import { Range } from 'semver';
|
|
13
|
-
import { UnpluginContext, UnpluginBuildContext, TransformResult, ExternalIdResult, HookFilter, UnpluginOptions } from 'unplugin';
|
|
13
|
+
import { UnpluginMessage, UnpluginContext, UnpluginBuildContext, TransformResult, ExternalIdResult, HookFilter, UnpluginOptions } from 'unplugin';
|
|
14
14
|
import { TsConfigJson, CompilerOptions } from '@stryke/types/tsconfig';
|
|
15
15
|
import ts from 'typescript';
|
|
16
16
|
import { PrimitiveJsonValue } from '@stryke/json/types';
|
|
@@ -937,6 +937,30 @@ interface Context<TResolvedConfig extends ResolvedConfig = ResolvedConfig> {
|
|
|
937
937
|
* A logging function for the Powerlines engine
|
|
938
938
|
*/
|
|
939
939
|
log: LogFn;
|
|
940
|
+
/**
|
|
941
|
+
* A logging function for fatal messages
|
|
942
|
+
*/
|
|
943
|
+
fatal: (message: string | UnpluginMessage) => void;
|
|
944
|
+
/**
|
|
945
|
+
* A logging function for error messages
|
|
946
|
+
*/
|
|
947
|
+
error: (message: string | UnpluginMessage) => void;
|
|
948
|
+
/**
|
|
949
|
+
* A logging function for warning messages
|
|
950
|
+
*/
|
|
951
|
+
warn: (message: string | UnpluginMessage) => void;
|
|
952
|
+
/**
|
|
953
|
+
* A logging function for informational messages
|
|
954
|
+
*/
|
|
955
|
+
info: (message: string | UnpluginMessage) => void;
|
|
956
|
+
/**
|
|
957
|
+
* A logging function for debug messages
|
|
958
|
+
*/
|
|
959
|
+
debug: (message: string | UnpluginMessage) => void;
|
|
960
|
+
/**
|
|
961
|
+
* A logging function for trace messages
|
|
962
|
+
*/
|
|
963
|
+
trace: (message: string | UnpluginMessage) => void;
|
|
940
964
|
/**
|
|
941
965
|
* The metadata information
|
|
942
966
|
*/
|
|
@@ -10,7 +10,7 @@ import { PackageJson } from '@stryke/types/package-json';
|
|
|
10
10
|
import { Jiti } from 'jiti';
|
|
11
11
|
import { ParserOptions, ParseResult } from 'oxc-parser';
|
|
12
12
|
import { Range } from 'semver';
|
|
13
|
-
import { UnpluginContext, UnpluginBuildContext, TransformResult, ExternalIdResult, HookFilter, UnpluginOptions } from 'unplugin';
|
|
13
|
+
import { UnpluginMessage, UnpluginContext, UnpluginBuildContext, TransformResult, ExternalIdResult, HookFilter, UnpluginOptions } from 'unplugin';
|
|
14
14
|
import { TsConfigJson, CompilerOptions } from '@stryke/types/tsconfig';
|
|
15
15
|
import ts from 'typescript';
|
|
16
16
|
import { PrimitiveJsonValue } from '@stryke/json/types';
|
|
@@ -937,6 +937,30 @@ interface Context<TResolvedConfig extends ResolvedConfig = ResolvedConfig> {
|
|
|
937
937
|
* A logging function for the Powerlines engine
|
|
938
938
|
*/
|
|
939
939
|
log: LogFn;
|
|
940
|
+
/**
|
|
941
|
+
* A logging function for fatal messages
|
|
942
|
+
*/
|
|
943
|
+
fatal: (message: string | UnpluginMessage) => void;
|
|
944
|
+
/**
|
|
945
|
+
* A logging function for error messages
|
|
946
|
+
*/
|
|
947
|
+
error: (message: string | UnpluginMessage) => void;
|
|
948
|
+
/**
|
|
949
|
+
* A logging function for warning messages
|
|
950
|
+
*/
|
|
951
|
+
warn: (message: string | UnpluginMessage) => void;
|
|
952
|
+
/**
|
|
953
|
+
* A logging function for informational messages
|
|
954
|
+
*/
|
|
955
|
+
info: (message: string | UnpluginMessage) => void;
|
|
956
|
+
/**
|
|
957
|
+
* A logging function for debug messages
|
|
958
|
+
*/
|
|
959
|
+
debug: (message: string | UnpluginMessage) => void;
|
|
960
|
+
/**
|
|
961
|
+
* A logging function for trace messages
|
|
962
|
+
*/
|
|
963
|
+
trace: (message: string | UnpluginMessage) => void;
|
|
940
964
|
/**
|
|
941
965
|
* The metadata information
|
|
942
966
|
*/
|
package/dist/src/index.d.cts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { c as SatoriPluginContext, S as SatoriPluginOptions, P as Plugin } from '../plugin-
|
|
2
|
-
export { b as SatoriPluginResolvedConfig, a as SatoriPluginUserConfig } from '../plugin-
|
|
1
|
+
import { c as SatoriPluginContext, S as SatoriPluginOptions, P as Plugin } from '../plugin-QiZGZS3-.cjs';
|
|
2
|
+
export { b as SatoriPluginResolvedConfig, a as SatoriPluginUserConfig } from '../plugin-QiZGZS3-.cjs';
|
|
3
3
|
export { SatoriComponentModule } from '../types/module.cjs';
|
|
4
4
|
import '@storm-software/build-tools/types';
|
|
5
5
|
import '@storm-software/config-tools/types';
|
package/dist/src/index.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { c as SatoriPluginContext, S as SatoriPluginOptions, P as Plugin } from '../plugin-
|
|
2
|
-
export { b as SatoriPluginResolvedConfig, a as SatoriPluginUserConfig } from '../plugin-
|
|
1
|
+
import { c as SatoriPluginContext, S as SatoriPluginOptions, P as Plugin } from '../plugin-QiZGZS3-.js';
|
|
2
|
+
export { b as SatoriPluginResolvedConfig, a as SatoriPluginUserConfig } from '../plugin-QiZGZS3-.js';
|
|
3
3
|
export { SatoriComponentModule } from '../types/module.js';
|
|
4
4
|
import '@storm-software/build-tools/types';
|
|
5
5
|
import '@storm-software/config-tools/types';
|
package/dist/types/index.d.cts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
export { SatoriComponentModule } from './module.cjs';
|
|
2
|
-
export { c as SatoriPluginContext, S as SatoriPluginOptions, b as SatoriPluginResolvedConfig, a as SatoriPluginUserConfig } from '../plugin-
|
|
2
|
+
export { c as SatoriPluginContext, S as SatoriPluginOptions, b as SatoriPluginResolvedConfig, a as SatoriPluginUserConfig } from '../plugin-QiZGZS3-.cjs';
|
|
3
3
|
import 'react';
|
|
4
4
|
import 'satori';
|
|
5
5
|
import '@storm-software/build-tools/types';
|
package/dist/types/index.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
export { SatoriComponentModule } from './module.js';
|
|
2
|
-
export { c as SatoriPluginContext, S as SatoriPluginOptions, b as SatoriPluginResolvedConfig, a as SatoriPluginUserConfig } from '../plugin-
|
|
2
|
+
export { c as SatoriPluginContext, S as SatoriPluginOptions, b as SatoriPluginResolvedConfig, a as SatoriPluginUserConfig } from '../plugin-QiZGZS3-.js';
|
|
3
3
|
import 'react';
|
|
4
4
|
import 'satori';
|
|
5
5
|
import '@storm-software/build-tools/types';
|
package/dist/types/plugin.d.cts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { c as SatoriPluginContext, S as SatoriPluginOptions, b as SatoriPluginResolvedConfig, a as SatoriPluginUserConfig } from '../plugin-
|
|
1
|
+
export { c as SatoriPluginContext, S as SatoriPluginOptions, b as SatoriPluginResolvedConfig, a as SatoriPluginUserConfig } from '../plugin-QiZGZS3-.cjs';
|
|
2
2
|
import 'satori';
|
|
3
3
|
import '@storm-software/build-tools/types';
|
|
4
4
|
import '@storm-software/config-tools/types';
|
package/dist/types/plugin.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { c as SatoriPluginContext, S as SatoriPluginOptions, b as SatoriPluginResolvedConfig, a as SatoriPluginUserConfig } from '../plugin-
|
|
1
|
+
export { c as SatoriPluginContext, S as SatoriPluginOptions, b as SatoriPluginResolvedConfig, a as SatoriPluginUserConfig } from '../plugin-QiZGZS3-.js';
|
|
2
2
|
import 'satori';
|
|
3
3
|
import '@storm-software/build-tools/types';
|
|
4
4
|
import '@storm-software/config-tools/types';
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@powerlines/plugin-satori",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.3",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"description": "A Powerlines plugin to use Satori to generate SVG files from jsx/tsx components.",
|
|
6
6
|
"repository": {
|
|
@@ -113,17 +113,17 @@
|
|
|
113
113
|
"@stryke/types": "^0.10.0",
|
|
114
114
|
"defu": "^6.1.4",
|
|
115
115
|
"jiti": "^2.6.1",
|
|
116
|
-
"powerlines": "^0.
|
|
116
|
+
"powerlines": "^0.19.0",
|
|
117
117
|
"satori": "^0.18.3"
|
|
118
118
|
},
|
|
119
119
|
"devDependencies": {
|
|
120
|
-
"@powerlines/nx": "^0.10.
|
|
121
|
-
"@powerlines/plugin-plugin": "^0.11.
|
|
120
|
+
"@powerlines/nx": "^0.10.4",
|
|
121
|
+
"@powerlines/plugin-plugin": "^0.11.12",
|
|
122
122
|
"@storm-software/config": "^1.134.19",
|
|
123
123
|
"@types/node": "^22.19.0",
|
|
124
124
|
"@types/react": "^19.2.2",
|
|
125
125
|
"@types/react-dom": "^19.2.2"
|
|
126
126
|
},
|
|
127
127
|
"publishConfig": { "access": "public" },
|
|
128
|
-
"gitHead": "
|
|
128
|
+
"gitHead": "8ee43c2a7eebce6b221aa572553f4296c87fce76"
|
|
129
129
|
}
|