@powerlines/plugin-unified 0.1.290 → 0.1.292
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 +2 -3
- package/dist/index.d.cts +0 -2
- package/dist/index.d.cts.map +1 -1
- package/dist/index.d.mts +0 -2
- package/dist/index.mjs +1 -2
- 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 +10 -10
package/dist/index.cjs
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
|
|
2
|
-
require(
|
|
2
|
+
require("./types/index.cjs");
|
|
3
3
|
let _rollup_pluginutils = require("@rollup/pluginutils");
|
|
4
4
|
let _stryke_type_checks = require("@stryke/type-checks");
|
|
5
5
|
let unified = require("unified");
|
|
6
6
|
|
|
7
|
-
|
|
7
|
+
// src/index.ts
|
|
8
8
|
/**
|
|
9
9
|
* UnifiedJs Transformations Plugin
|
|
10
10
|
*
|
|
@@ -76,5 +76,4 @@ const plugin = (options = {}) => {
|
|
|
76
76
|
}).filter(Boolean)].flat();
|
|
77
77
|
};
|
|
78
78
|
|
|
79
|
-
//#endregion
|
|
80
79
|
exports.plugin = plugin;
|
package/dist/index.d.cts
CHANGED
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
import { ResolvedUnifiedRule, UnifiedPluginContext, UnifiedPluginOptions, UnifiedPluginResolvedConfig, UnifiedPluginUserConfig, UnifiedRule } from "./types/plugin.cjs";
|
|
2
2
|
import "./types/index.cjs";
|
|
3
3
|
import { Plugin } from "powerlines";
|
|
4
|
-
//#region src/index.d.ts
|
|
5
4
|
declare module "powerlines" {
|
|
6
5
|
interface Config {
|
|
7
6
|
unified?: UnifiedPluginOptions;
|
|
@@ -19,6 +18,5 @@ declare module "powerlines" {
|
|
|
19
18
|
* @returns A Powerlines plugin instance.
|
|
20
19
|
*/
|
|
21
20
|
declare const plugin: <TContext extends UnifiedPluginContext = UnifiedPluginContext>(options?: UnifiedPluginOptions) => Plugin<TContext>[];
|
|
22
|
-
//#endregion
|
|
23
21
|
export { ResolvedUnifiedRule, UnifiedPluginContext, UnifiedPluginOptions, UnifiedPluginResolvedConfig, UnifiedPluginUserConfig, UnifiedRule, plugin };
|
|
24
22
|
//# 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":";;;;YAiCY;IACR,UAAU;;;;;;;;;;;;;;cAeD,SACX,iBAAiB,uBAAuB,sBAExC,UAAS,yBACR,OAAO"}
|
package/dist/index.d.mts
CHANGED
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
import { ResolvedUnifiedRule, UnifiedPluginContext, UnifiedPluginOptions, UnifiedPluginResolvedConfig, UnifiedPluginUserConfig, UnifiedRule } from "./types/plugin.mjs";
|
|
2
2
|
import "./types/index.mjs";
|
|
3
3
|
import { Plugin } from "powerlines";
|
|
4
|
-
//#region src/index.d.ts
|
|
5
4
|
declare module "powerlines" {
|
|
6
5
|
interface Config {
|
|
7
6
|
unified?: UnifiedPluginOptions;
|
|
@@ -19,6 +18,5 @@ declare module "powerlines" {
|
|
|
19
18
|
* @returns A Powerlines plugin instance.
|
|
20
19
|
*/
|
|
21
20
|
declare const plugin: <TContext extends UnifiedPluginContext = UnifiedPluginContext>(options?: UnifiedPluginOptions) => Plugin<TContext>[];
|
|
22
|
-
//#endregion
|
|
23
21
|
export { ResolvedUnifiedRule, UnifiedPluginContext, UnifiedPluginOptions, UnifiedPluginResolvedConfig, UnifiedPluginUserConfig, UnifiedRule, plugin };
|
|
24
22
|
//# sourceMappingURL=index.d.mts.map
|
package/dist/index.mjs
CHANGED
|
@@ -3,7 +3,7 @@ import { createFilter } from "@rollup/pluginutils";
|
|
|
3
3
|
import { isFunction, isString } from "@stryke/type-checks";
|
|
4
4
|
import { unified } from "unified";
|
|
5
5
|
|
|
6
|
-
|
|
6
|
+
// src/index.ts
|
|
7
7
|
/**
|
|
8
8
|
* UnifiedJs Transformations Plugin
|
|
9
9
|
*
|
|
@@ -75,6 +75,5 @@ const plugin = (options = {}) => {
|
|
|
75
75
|
}).filter(Boolean)].flat();
|
|
76
76
|
};
|
|
77
77
|
|
|
78
|
-
//#endregion
|
|
79
78
|
export { plugin };
|
|
80
79
|
//# sourceMappingURL=index.mjs.map
|
package/dist/types/plugin.d.cts
CHANGED
|
@@ -3,7 +3,6 @@ import { FilterPattern } from "@rollup/pluginutils";
|
|
|
3
3
|
import { MaybePromise } from "@stryke/types";
|
|
4
4
|
import { SourceMap } from "rollup";
|
|
5
5
|
import { Processor } from "unified";
|
|
6
|
-
//#region src/types/plugin.d.ts
|
|
7
6
|
interface UnifiedRule {
|
|
8
7
|
/**
|
|
9
8
|
* Include filter, accepts glob patterns, RegExp or a function.
|
|
@@ -75,6 +74,5 @@ type UnifiedPluginResolvedConfig = ResolvedConfig & {
|
|
|
75
74
|
};
|
|
76
75
|
};
|
|
77
76
|
type UnifiedPluginContext<TResolvedConfig extends UnifiedPluginResolvedConfig = UnifiedPluginResolvedConfig> = PluginContext<TResolvedConfig>;
|
|
78
|
-
//#endregion
|
|
79
77
|
export { ResolvedUnifiedRule, UnifiedPluginContext, UnifiedPluginOptions, UnifiedPluginResolvedConfig, UnifiedPluginUserConfig, UnifiedRule };
|
|
80
78
|
//# 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":";;;;;UAyBiB;;;;;;;;;;;;EAYf,SAAS,kBAAkB;;;;;;;;;;;;;;EAe3B,UAAU;;;;;;EAOV;;;;EAKA,QACE,SAAS,cACN,aAAa;;;;EAKlB;;;;IAIE,OAAO,cAAc,eAAe;;;;;IAMpC,QACE,cACA,YACA,MAAM,cACH;MAA+B;MAAc,MAAM;;;;UAI3C;EACf,QAAQ;;KAGE,0BAA0B;EACpC,UAAU;;UAGK,4BAA4B;EAC3C,SAAS;EACT,WAAW,QAAQ;;KAGT,8BAA8B;EACxC;IACE,OAAO;;;KAIC,qBACV,wBAAwB,8BACtB,+BACA,cAAc"}
|
package/dist/types/plugin.d.mts
CHANGED
|
@@ -3,7 +3,6 @@ import { Processor } from "unified";
|
|
|
3
3
|
import { PluginContext, ResolvedConfig, UserConfig } from "powerlines";
|
|
4
4
|
import { MaybePromise } from "@stryke/types";
|
|
5
5
|
import { SourceMap } from "rollup";
|
|
6
|
-
//#region src/types/plugin.d.ts
|
|
7
6
|
interface UnifiedRule {
|
|
8
7
|
/**
|
|
9
8
|
* Include filter, accepts glob patterns, RegExp or a function.
|
|
@@ -75,6 +74,5 @@ type UnifiedPluginResolvedConfig = ResolvedConfig & {
|
|
|
75
74
|
};
|
|
76
75
|
};
|
|
77
76
|
type UnifiedPluginContext<TResolvedConfig extends UnifiedPluginResolvedConfig = UnifiedPluginResolvedConfig> = PluginContext<TResolvedConfig>;
|
|
78
|
-
//#endregion
|
|
79
77
|
export { ResolvedUnifiedRule, UnifiedPluginContext, UnifiedPluginOptions, UnifiedPluginResolvedConfig, UnifiedPluginUserConfig, UnifiedRule };
|
|
80
78
|
//# sourceMappingURL=plugin.d.mts.map
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@powerlines/plugin-unified",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.292",
|
|
4
4
|
"private": false,
|
|
5
5
|
"description": "A Powerlines plugin to use the Unified ecosystem to generate content.",
|
|
6
6
|
"keywords": ["unified", "powerlines", "storm-software", "powerlines-plugin"],
|
|
@@ -91,23 +91,23 @@
|
|
|
91
91
|
"files": ["dist/**/*"],
|
|
92
92
|
"dependencies": {
|
|
93
93
|
"@rollup/pluginutils": "^4.2.1",
|
|
94
|
-
"@stryke/fs": "^0.33.
|
|
95
|
-
"@stryke/path": "^0.29.
|
|
96
|
-
"@stryke/type-checks": "^0.6.
|
|
97
|
-
"@stryke/types": "^0.12.
|
|
94
|
+
"@stryke/fs": "^0.33.118",
|
|
95
|
+
"@stryke/path": "^0.29.43",
|
|
96
|
+
"@stryke/type-checks": "^0.6.49",
|
|
97
|
+
"@stryke/types": "^0.12.44",
|
|
98
98
|
"defu": "^6.1.7",
|
|
99
|
-
"powerlines": "^0.47.
|
|
100
|
-
"rollup": "^4.
|
|
99
|
+
"powerlines": "^0.47.215",
|
|
100
|
+
"rollup": "^4.65.0",
|
|
101
101
|
"unified": "^11.0.5"
|
|
102
102
|
},
|
|
103
103
|
"devDependencies": {
|
|
104
|
-
"@powerlines/plugin-plugin": "^0.12.
|
|
104
|
+
"@powerlines/plugin-plugin": "^0.12.628",
|
|
105
105
|
"@types/estree": "^1.0.9",
|
|
106
106
|
"@types/hast": "^3.0.5",
|
|
107
107
|
"@types/mdast": "^4.0.4",
|
|
108
|
-
"@types/node": "^25.9.
|
|
108
|
+
"@types/node": "^25.9.9",
|
|
109
109
|
"@types/unist": "^3.0.3"
|
|
110
110
|
},
|
|
111
111
|
"publishConfig": { "access": "public" },
|
|
112
|
-
"gitHead": "
|
|
112
|
+
"gitHead": "810bc635d1503594d09d9f0c8c93ea413745a9df"
|
|
113
113
|
}
|