@ox-content/unplugin 2.11.0 → 2.12.0
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/esbuild.d.mts +2 -2
- package/dist/index.d.mts +2 -1
- package/dist/rollup.d.mts +2 -2
- package/dist/vite.d.mts +2 -2
- package/dist/webpack.d.mts +2 -2
- package/package.json +10 -10
package/dist/esbuild.d.mts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { C as ResolvedDocsConfig, D as UnifiedPreset, E as TransformResult, S as RemarkPlugin, T as TocEntry, _ as OxContentMdastPlugin, a as extractTocFromMdast, b as PluginConfig, c as toUnifiedMdastPlugin, d as MarkdownItPlugin, f as MdastNode, g as MdastTransformer, h as MdastRoot, i as defineMdastPlugin, l as transformMarkdown, m as MdastPluginContext, n as OxContentMdastOptions, o as oxContentMdast, p as MdastPlugin, r as createMdastPluginContext, s as parseMarkdownToMdast, t as unplugin, u as DocsConfig, v as OxContentOptions, w as ResolvedOptions, x as RehypePlugin, y as OxContentPlugin } from "./index.mjs";
|
|
2
|
-
import * as unplugin
|
|
2
|
+
import * as _$unplugin from "unplugin";
|
|
3
3
|
|
|
4
4
|
//#region src/esbuild.d.ts
|
|
5
|
-
declare const _default: (options?: OxContentOptions | undefined) => unplugin
|
|
5
|
+
declare const _default: (options?: OxContentOptions | undefined) => _$unplugin.EsbuildPlugin;
|
|
6
6
|
//#endregion
|
|
7
7
|
export { DocsConfig, MarkdownItPlugin, MdastNode, MdastPlugin, MdastPluginContext, MdastRoot, MdastTransformer, OxContentMdastOptions, OxContentMdastPlugin, OxContentOptions, OxContentPlugin, PluginConfig, RehypePlugin, RemarkPlugin, ResolvedDocsConfig, ResolvedOptions, TocEntry, TransformResult, UnifiedPreset, createMdastPluginContext, _default as default, defineMdastPlugin, extractTocFromMdast, oxContentMdast, parseMarkdownToMdast, toUnifiedMdastPlugin, transformMarkdown, unplugin };
|
package/dist/index.d.mts
CHANGED
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import * as _$unplugin from "unplugin";
|
|
1
2
|
import MarkdownIt from "markdown-it";
|
|
2
3
|
|
|
3
4
|
//#region src/types.d.ts
|
|
@@ -459,6 +460,6 @@ declare function createMdastPluginContext(filePath: string, source: string, fron
|
|
|
459
460
|
/**
|
|
460
461
|
* The unplugin instance.
|
|
461
462
|
*/
|
|
462
|
-
declare const unplugin: unplugin.UnpluginInstance<OxContentOptions | undefined, boolean>;
|
|
463
|
+
declare const unplugin: _$unplugin.UnpluginInstance<OxContentOptions | undefined, boolean>;
|
|
463
464
|
//#endregion
|
|
464
465
|
export { ResolvedDocsConfig as C, UnifiedPreset as D, TransformResult as E, RemarkPlugin as S, TocEntry as T, OxContentMdastPlugin as _, extractTocFromMdast as a, PluginConfig as b, toUnifiedMdastPlugin as c, MarkdownItPlugin as d, MdastNode as f, MdastTransformer as g, MdastRoot as h, defineMdastPlugin as i, transformMarkdown as l, MdastPluginContext as m, OxContentMdastOptions as n, oxContentMdast as o, MdastPlugin as p, createMdastPluginContext as r, parseMarkdownToMdast as s, unplugin as t, DocsConfig as u, OxContentOptions as v, ResolvedOptions as w, RehypePlugin as x, OxContentPlugin as y };
|
package/dist/rollup.d.mts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { C as ResolvedDocsConfig, D as UnifiedPreset, E as TransformResult, S as RemarkPlugin, T as TocEntry, _ as OxContentMdastPlugin, a as extractTocFromMdast, b as PluginConfig, c as toUnifiedMdastPlugin, d as MarkdownItPlugin, f as MdastNode, g as MdastTransformer, h as MdastRoot, i as defineMdastPlugin, l as transformMarkdown, m as MdastPluginContext, n as OxContentMdastOptions, o as oxContentMdast, p as MdastPlugin, r as createMdastPluginContext, s as parseMarkdownToMdast, t as unplugin, u as DocsConfig, v as OxContentOptions, w as ResolvedOptions, x as RehypePlugin, y as OxContentPlugin } from "./index.mjs";
|
|
2
|
-
import * as unplugin
|
|
2
|
+
import * as _$unplugin from "unplugin";
|
|
3
3
|
|
|
4
4
|
//#region src/rollup.d.ts
|
|
5
|
-
declare const _default: (options?: OxContentOptions | undefined) => unplugin
|
|
5
|
+
declare const _default: (options?: OxContentOptions | undefined) => _$unplugin.RollupPlugin<any> | _$unplugin.RollupPlugin<any>[];
|
|
6
6
|
//#endregion
|
|
7
7
|
export { DocsConfig, MarkdownItPlugin, MdastNode, MdastPlugin, MdastPluginContext, MdastRoot, MdastTransformer, OxContentMdastOptions, OxContentMdastPlugin, OxContentOptions, OxContentPlugin, PluginConfig, RehypePlugin, RemarkPlugin, ResolvedDocsConfig, ResolvedOptions, TocEntry, TransformResult, UnifiedPreset, createMdastPluginContext, _default as default, defineMdastPlugin, extractTocFromMdast, oxContentMdast, parseMarkdownToMdast, toUnifiedMdastPlugin, transformMarkdown, unplugin };
|
package/dist/vite.d.mts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { C as ResolvedDocsConfig, D as UnifiedPreset, E as TransformResult, S as RemarkPlugin, T as TocEntry, _ as OxContentMdastPlugin, a as extractTocFromMdast, b as PluginConfig, c as toUnifiedMdastPlugin, d as MarkdownItPlugin, f as MdastNode, g as MdastTransformer, h as MdastRoot, i as defineMdastPlugin, l as transformMarkdown, m as MdastPluginContext, n as OxContentMdastOptions, o as oxContentMdast, p as MdastPlugin, r as createMdastPluginContext, s as parseMarkdownToMdast, t as unplugin, u as DocsConfig, v as OxContentOptions, w as ResolvedOptions, x as RehypePlugin, y as OxContentPlugin } from "./index.mjs";
|
|
2
|
-
import * as unplugin
|
|
2
|
+
import * as _$unplugin from "unplugin";
|
|
3
3
|
|
|
4
4
|
//#region src/vite.d.ts
|
|
5
|
-
declare const _default: (options?: OxContentOptions | undefined) => unplugin
|
|
5
|
+
declare const _default: (options?: OxContentOptions | undefined) => _$unplugin.VitePlugin<any> | _$unplugin.VitePlugin<any>[];
|
|
6
6
|
//#endregion
|
|
7
7
|
export { DocsConfig, MarkdownItPlugin, MdastNode, MdastPlugin, MdastPluginContext, MdastRoot, MdastTransformer, OxContentMdastOptions, OxContentMdastPlugin, OxContentOptions, OxContentPlugin, PluginConfig, RehypePlugin, RemarkPlugin, ResolvedDocsConfig, ResolvedOptions, TocEntry, TransformResult, UnifiedPreset, createMdastPluginContext, _default as default, defineMdastPlugin, extractTocFromMdast, oxContentMdast, parseMarkdownToMdast, toUnifiedMdastPlugin, transformMarkdown, unplugin };
|
package/dist/webpack.d.mts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { C as ResolvedDocsConfig, D as UnifiedPreset, E as TransformResult, S as RemarkPlugin, T as TocEntry, _ as OxContentMdastPlugin, a as extractTocFromMdast, b as PluginConfig, c as toUnifiedMdastPlugin, d as MarkdownItPlugin, f as MdastNode, g as MdastTransformer, h as MdastRoot, i as defineMdastPlugin, l as transformMarkdown, m as MdastPluginContext, n as OxContentMdastOptions, o as oxContentMdast, p as MdastPlugin, r as createMdastPluginContext, s as parseMarkdownToMdast, t as unplugin, u as DocsConfig, v as OxContentOptions, w as ResolvedOptions, x as RehypePlugin, y as OxContentPlugin } from "./index.mjs";
|
|
2
|
-
import * as unplugin
|
|
2
|
+
import * as _$unplugin from "unplugin";
|
|
3
3
|
|
|
4
4
|
//#region src/webpack.d.ts
|
|
5
|
-
declare const _default: (options?: OxContentOptions | undefined) => unplugin
|
|
5
|
+
declare const _default: (options?: OxContentOptions | undefined) => _$unplugin.WebpackPluginInstance;
|
|
6
6
|
//#endregion
|
|
7
7
|
export { DocsConfig, MarkdownItPlugin, MdastNode, MdastPlugin, MdastPluginContext, MdastRoot, MdastTransformer, OxContentMdastOptions, OxContentMdastPlugin, OxContentOptions, OxContentPlugin, PluginConfig, RehypePlugin, RemarkPlugin, ResolvedDocsConfig, ResolvedOptions, TocEntry, TransformResult, UnifiedPreset, createMdastPluginContext, _default as default, defineMdastPlugin, extractTocFromMdast, oxContentMdast, parseMarkdownToMdast, toUnifiedMdastPlugin, transformMarkdown, unplugin };
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ox-content/unplugin",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.12.0",
|
|
4
4
|
"description": "Universal plugin for Ox Content - Markdown processing for webpack, rollup, esbuild, vite, and more",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"esbuild",
|
|
@@ -56,7 +56,7 @@
|
|
|
56
56
|
},
|
|
57
57
|
"dependencies": {
|
|
58
58
|
"@rollup/pluginutils": "^5.1.4",
|
|
59
|
-
"markdown-it": "^14.1.
|
|
59
|
+
"markdown-it": "^14.1.1",
|
|
60
60
|
"markdown-it-anchor": "^9.2.0",
|
|
61
61
|
"rehype-parse": "^9.0.1",
|
|
62
62
|
"rehype-remark": "^10.0.1",
|
|
@@ -64,13 +64,13 @@
|
|
|
64
64
|
"remark-parse": "^11.0.0",
|
|
65
65
|
"remark-rehype": "^11.1.1",
|
|
66
66
|
"unified": "^11.0.5",
|
|
67
|
-
"unplugin": "^
|
|
68
|
-
"@ox-content/napi": "2.
|
|
67
|
+
"unplugin": "^3.0.0",
|
|
68
|
+
"@ox-content/napi": "2.12.0"
|
|
69
69
|
},
|
|
70
70
|
"devDependencies": {
|
|
71
71
|
"@types/markdown-it": "^14.1.2",
|
|
72
|
-
"@types/node": "^
|
|
73
|
-
"@typescript/native-preview": "^7.0.0-dev.
|
|
72
|
+
"@types/node": "^25.8.0",
|
|
73
|
+
"@typescript/native-preview": "^7.0.0-dev.20260518.1",
|
|
74
74
|
"esbuild": "^0.27.4",
|
|
75
75
|
"rehype-autolink-headings": "^7.1.0",
|
|
76
76
|
"rehype-external-links": "^3.0.0",
|
|
@@ -84,11 +84,11 @@
|
|
|
84
84
|
"remark-math": "^6.0.0",
|
|
85
85
|
"remark-smartypants": "^3.0.2",
|
|
86
86
|
"remark-toc": "^9.0.0",
|
|
87
|
-
"rollup": "^4.
|
|
88
|
-
"typescript": "^
|
|
87
|
+
"rollup": "^4.60.4",
|
|
88
|
+
"typescript": "^6.0.3",
|
|
89
89
|
"vite": "npm:@voidzero-dev/vite-plus-core@0.1.11",
|
|
90
|
-
"vite-plus": "0.1.
|
|
91
|
-
"webpack": "^5.
|
|
90
|
+
"vite-plus": "0.1.21",
|
|
91
|
+
"webpack": "^5.106.2"
|
|
92
92
|
},
|
|
93
93
|
"scripts": {
|
|
94
94
|
"build": "vp pack",
|