@acmekit/docs-shared 2.13.41
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.d.mts +174 -0
- package/dist/index.d.ts +174 -0
- package/dist/index.js +49 -0
- package/dist/index.mjs +18 -0
- package/package.json +21 -0
package/dist/index.d.mts
ADDED
|
@@ -0,0 +1,174 @@
|
|
|
1
|
+
declare const DOCS_ROUTE_VIRTUAL_MODULE = "virtual:acmekit/docs-routes";
|
|
2
|
+
declare const DOCS_SIDEBAR_VIRTUAL_MODULE = "virtual:acmekit/docs-sidebar";
|
|
3
|
+
declare const DOCS_CONFIG_VIRTUAL_MODULE = "virtual:acmekit/docs-config";
|
|
4
|
+
declare const DOCS_SEARCH_VIRTUAL_MODULE = "virtual:acmekit/docs-search";
|
|
5
|
+
declare const DOCS_VIRTUAL_MODULES: readonly ["virtual:acmekit/docs-routes", "virtual:acmekit/docs-sidebar", "virtual:acmekit/docs-config", "virtual:acmekit/docs-search"];
|
|
6
|
+
|
|
7
|
+
/**
|
|
8
|
+
* Frontmatter metadata extracted from MDX/MD files.
|
|
9
|
+
*/
|
|
10
|
+
type DocsFrontMatter = {
|
|
11
|
+
title?: string;
|
|
12
|
+
description?: string;
|
|
13
|
+
sidebar_label?: string;
|
|
14
|
+
sidebar_position?: number;
|
|
15
|
+
sidebar_autogenerate_exclude?: boolean;
|
|
16
|
+
tags?: string[];
|
|
17
|
+
toc_max_depth?: number;
|
|
18
|
+
hide_content_menu?: boolean;
|
|
19
|
+
/** Icon identifier for this documentation area (only on area index.mdx) */
|
|
20
|
+
area_icon?: string;
|
|
21
|
+
/** Sort position for this documentation area (only on area index.mdx) */
|
|
22
|
+
area_position?: number;
|
|
23
|
+
};
|
|
24
|
+
/**
|
|
25
|
+
* A single entry in the docs route table.
|
|
26
|
+
*/
|
|
27
|
+
type DocsRouteEntry = {
|
|
28
|
+
/** URL path relative to docs base (e.g. "/getting-started/installation") */
|
|
29
|
+
path: string;
|
|
30
|
+
/** Absolute filesystem path to the source file */
|
|
31
|
+
componentPath: string;
|
|
32
|
+
/** File type */
|
|
33
|
+
type: "mdx" | "md" | "tsx";
|
|
34
|
+
/** Extracted frontmatter (MDX/MD only) */
|
|
35
|
+
frontmatter?: DocsFrontMatter;
|
|
36
|
+
};
|
|
37
|
+
/**
|
|
38
|
+
* A sidebar tree node.
|
|
39
|
+
*/
|
|
40
|
+
type DocsSidebarItem = {
|
|
41
|
+
type: "link" | "category" | "separator" | "sidebar";
|
|
42
|
+
/** Display title in the sidebar */
|
|
43
|
+
title: string;
|
|
44
|
+
/** URL path (for "link" type, and optionally for clickable "category") */
|
|
45
|
+
path?: string;
|
|
46
|
+
/** Sidebar ID for drill-in navigation (for "sidebar" type) */
|
|
47
|
+
sidebar_id?: string;
|
|
48
|
+
/** Nested items (for "category" and "sidebar" types) */
|
|
49
|
+
children?: DocsSidebarItem[];
|
|
50
|
+
/** Ordering position (ascending, lower = higher) */
|
|
51
|
+
position?: number;
|
|
52
|
+
/** If true, path is used as a direct URL href (not hash fragment) */
|
|
53
|
+
isPathHref?: boolean;
|
|
54
|
+
/** If true, category starts expanded */
|
|
55
|
+
initialOpen?: boolean;
|
|
56
|
+
/** If true, children are already loaded (used by sidebar provider) */
|
|
57
|
+
loaded?: boolean;
|
|
58
|
+
/** Optional badge to display next to the item */
|
|
59
|
+
badge?: {
|
|
60
|
+
variant: "purple" | "orange" | "green" | "blue" | "red" | "neutral";
|
|
61
|
+
text: string;
|
|
62
|
+
};
|
|
63
|
+
};
|
|
64
|
+
/**
|
|
65
|
+
* A sidebar definition.
|
|
66
|
+
*/
|
|
67
|
+
type DocsSidebar = {
|
|
68
|
+
sidebar_id: string;
|
|
69
|
+
title: string;
|
|
70
|
+
items: DocsSidebarItem[];
|
|
71
|
+
};
|
|
72
|
+
/**
|
|
73
|
+
* A search index entry for client-side search.
|
|
74
|
+
*/
|
|
75
|
+
type DocsSearchEntry = {
|
|
76
|
+
/** URL path relative to docs base */
|
|
77
|
+
path: string;
|
|
78
|
+
/** Page title from frontmatter */
|
|
79
|
+
title: string;
|
|
80
|
+
/** Page description from frontmatter */
|
|
81
|
+
description: string;
|
|
82
|
+
/** Truncated plain-text body content */
|
|
83
|
+
body: string;
|
|
84
|
+
};
|
|
85
|
+
/**
|
|
86
|
+
* A documentation area (top-level directory in multi-area mode).
|
|
87
|
+
*/
|
|
88
|
+
type DocsArea = {
|
|
89
|
+
/** Slug derived from directory name (e.g. "dev", "user-guide") */
|
|
90
|
+
id: string;
|
|
91
|
+
/** Display title from the area's index.mdx frontmatter */
|
|
92
|
+
title: string;
|
|
93
|
+
/** Optional icon identifier from area_icon frontmatter */
|
|
94
|
+
icon?: string;
|
|
95
|
+
/** Sort position from area_position frontmatter */
|
|
96
|
+
position?: number;
|
|
97
|
+
/** The sidebar_id for this area's sidebar */
|
|
98
|
+
sidebar_id: string;
|
|
99
|
+
};
|
|
100
|
+
/**
|
|
101
|
+
* Shape of the `config.ts` file inside a `src/docs/` directory.
|
|
102
|
+
* Both project and plugin docs use this same shape.
|
|
103
|
+
*/
|
|
104
|
+
type DocsConfigFile = {
|
|
105
|
+
/** Display title for the documentation */
|
|
106
|
+
title?: string;
|
|
107
|
+
/** Documentation description */
|
|
108
|
+
description?: string;
|
|
109
|
+
/** Icon identifier */
|
|
110
|
+
icon?: string;
|
|
111
|
+
/** Enable multi-area documentation mode */
|
|
112
|
+
areas?: boolean;
|
|
113
|
+
/** Version info displayed in the docs sidebar */
|
|
114
|
+
version?: {
|
|
115
|
+
number: string;
|
|
116
|
+
releaseUrl?: string;
|
|
117
|
+
};
|
|
118
|
+
/** Base path where docs are served. Default: "/docs" */
|
|
119
|
+
path?: `/${string}`;
|
|
120
|
+
/** Backend URL for API calls from the docs UI */
|
|
121
|
+
backendUrl?: string;
|
|
122
|
+
};
|
|
123
|
+
/**
|
|
124
|
+
* Build-time descriptor for a plugin's docs source.
|
|
125
|
+
*/
|
|
126
|
+
type PluginDocsSource = {
|
|
127
|
+
/** Kebab-case plugin slug (e.g. "analytics") */
|
|
128
|
+
slug: string;
|
|
129
|
+
/** Absolute path to docs dir (local) or package path (package) */
|
|
130
|
+
resolve: string;
|
|
131
|
+
/** Source type */
|
|
132
|
+
type: "local" | "package";
|
|
133
|
+
};
|
|
134
|
+
/**
|
|
135
|
+
* Runtime plugin info for the docs UI.
|
|
136
|
+
*/
|
|
137
|
+
type DocsPluginInfo = {
|
|
138
|
+
/** Plugin slug */
|
|
139
|
+
slug: string;
|
|
140
|
+
/** Display title (from plugin's config.ts or formatted slug) */
|
|
141
|
+
title: string;
|
|
142
|
+
/** Plugin description */
|
|
143
|
+
description?: string;
|
|
144
|
+
/** Icon identifier */
|
|
145
|
+
icon?: string;
|
|
146
|
+
/** Sidebar ID for this plugin's sidebar */
|
|
147
|
+
sidebar_id: string;
|
|
148
|
+
};
|
|
149
|
+
/**
|
|
150
|
+
* Docs configuration object passed via virtual module.
|
|
151
|
+
*/
|
|
152
|
+
type DocsConfig = {
|
|
153
|
+
/** Documentation title */
|
|
154
|
+
title: string;
|
|
155
|
+
/** Documentation description */
|
|
156
|
+
description?: string;
|
|
157
|
+
/** Logo URL */
|
|
158
|
+
logo?: string;
|
|
159
|
+
/** Base path where docs are mounted (e.g. "/docs") */
|
|
160
|
+
basePath: string;
|
|
161
|
+
/** Version info */
|
|
162
|
+
version?: {
|
|
163
|
+
number: string;
|
|
164
|
+
releaseUrl?: string;
|
|
165
|
+
};
|
|
166
|
+
/** Generated sidebar definitions */
|
|
167
|
+
sidebars?: DocsSidebar[];
|
|
168
|
+
/** Documentation areas (only in multi-area mode) */
|
|
169
|
+
areas?: DocsArea[];
|
|
170
|
+
/** Plugin docs info (for portal cards and UI) */
|
|
171
|
+
plugins?: DocsPluginInfo[];
|
|
172
|
+
};
|
|
173
|
+
|
|
174
|
+
export { DOCS_CONFIG_VIRTUAL_MODULE, DOCS_ROUTE_VIRTUAL_MODULE, DOCS_SEARCH_VIRTUAL_MODULE, DOCS_SIDEBAR_VIRTUAL_MODULE, DOCS_VIRTUAL_MODULES, type DocsArea, type DocsConfig, type DocsConfigFile, type DocsFrontMatter, type DocsPluginInfo, type DocsRouteEntry, type DocsSearchEntry, type DocsSidebar, type DocsSidebarItem, type PluginDocsSource };
|
package/dist/index.d.ts
ADDED
|
@@ -0,0 +1,174 @@
|
|
|
1
|
+
declare const DOCS_ROUTE_VIRTUAL_MODULE = "virtual:acmekit/docs-routes";
|
|
2
|
+
declare const DOCS_SIDEBAR_VIRTUAL_MODULE = "virtual:acmekit/docs-sidebar";
|
|
3
|
+
declare const DOCS_CONFIG_VIRTUAL_MODULE = "virtual:acmekit/docs-config";
|
|
4
|
+
declare const DOCS_SEARCH_VIRTUAL_MODULE = "virtual:acmekit/docs-search";
|
|
5
|
+
declare const DOCS_VIRTUAL_MODULES: readonly ["virtual:acmekit/docs-routes", "virtual:acmekit/docs-sidebar", "virtual:acmekit/docs-config", "virtual:acmekit/docs-search"];
|
|
6
|
+
|
|
7
|
+
/**
|
|
8
|
+
* Frontmatter metadata extracted from MDX/MD files.
|
|
9
|
+
*/
|
|
10
|
+
type DocsFrontMatter = {
|
|
11
|
+
title?: string;
|
|
12
|
+
description?: string;
|
|
13
|
+
sidebar_label?: string;
|
|
14
|
+
sidebar_position?: number;
|
|
15
|
+
sidebar_autogenerate_exclude?: boolean;
|
|
16
|
+
tags?: string[];
|
|
17
|
+
toc_max_depth?: number;
|
|
18
|
+
hide_content_menu?: boolean;
|
|
19
|
+
/** Icon identifier for this documentation area (only on area index.mdx) */
|
|
20
|
+
area_icon?: string;
|
|
21
|
+
/** Sort position for this documentation area (only on area index.mdx) */
|
|
22
|
+
area_position?: number;
|
|
23
|
+
};
|
|
24
|
+
/**
|
|
25
|
+
* A single entry in the docs route table.
|
|
26
|
+
*/
|
|
27
|
+
type DocsRouteEntry = {
|
|
28
|
+
/** URL path relative to docs base (e.g. "/getting-started/installation") */
|
|
29
|
+
path: string;
|
|
30
|
+
/** Absolute filesystem path to the source file */
|
|
31
|
+
componentPath: string;
|
|
32
|
+
/** File type */
|
|
33
|
+
type: "mdx" | "md" | "tsx";
|
|
34
|
+
/** Extracted frontmatter (MDX/MD only) */
|
|
35
|
+
frontmatter?: DocsFrontMatter;
|
|
36
|
+
};
|
|
37
|
+
/**
|
|
38
|
+
* A sidebar tree node.
|
|
39
|
+
*/
|
|
40
|
+
type DocsSidebarItem = {
|
|
41
|
+
type: "link" | "category" | "separator" | "sidebar";
|
|
42
|
+
/** Display title in the sidebar */
|
|
43
|
+
title: string;
|
|
44
|
+
/** URL path (for "link" type, and optionally for clickable "category") */
|
|
45
|
+
path?: string;
|
|
46
|
+
/** Sidebar ID for drill-in navigation (for "sidebar" type) */
|
|
47
|
+
sidebar_id?: string;
|
|
48
|
+
/** Nested items (for "category" and "sidebar" types) */
|
|
49
|
+
children?: DocsSidebarItem[];
|
|
50
|
+
/** Ordering position (ascending, lower = higher) */
|
|
51
|
+
position?: number;
|
|
52
|
+
/** If true, path is used as a direct URL href (not hash fragment) */
|
|
53
|
+
isPathHref?: boolean;
|
|
54
|
+
/** If true, category starts expanded */
|
|
55
|
+
initialOpen?: boolean;
|
|
56
|
+
/** If true, children are already loaded (used by sidebar provider) */
|
|
57
|
+
loaded?: boolean;
|
|
58
|
+
/** Optional badge to display next to the item */
|
|
59
|
+
badge?: {
|
|
60
|
+
variant: "purple" | "orange" | "green" | "blue" | "red" | "neutral";
|
|
61
|
+
text: string;
|
|
62
|
+
};
|
|
63
|
+
};
|
|
64
|
+
/**
|
|
65
|
+
* A sidebar definition.
|
|
66
|
+
*/
|
|
67
|
+
type DocsSidebar = {
|
|
68
|
+
sidebar_id: string;
|
|
69
|
+
title: string;
|
|
70
|
+
items: DocsSidebarItem[];
|
|
71
|
+
};
|
|
72
|
+
/**
|
|
73
|
+
* A search index entry for client-side search.
|
|
74
|
+
*/
|
|
75
|
+
type DocsSearchEntry = {
|
|
76
|
+
/** URL path relative to docs base */
|
|
77
|
+
path: string;
|
|
78
|
+
/** Page title from frontmatter */
|
|
79
|
+
title: string;
|
|
80
|
+
/** Page description from frontmatter */
|
|
81
|
+
description: string;
|
|
82
|
+
/** Truncated plain-text body content */
|
|
83
|
+
body: string;
|
|
84
|
+
};
|
|
85
|
+
/**
|
|
86
|
+
* A documentation area (top-level directory in multi-area mode).
|
|
87
|
+
*/
|
|
88
|
+
type DocsArea = {
|
|
89
|
+
/** Slug derived from directory name (e.g. "dev", "user-guide") */
|
|
90
|
+
id: string;
|
|
91
|
+
/** Display title from the area's index.mdx frontmatter */
|
|
92
|
+
title: string;
|
|
93
|
+
/** Optional icon identifier from area_icon frontmatter */
|
|
94
|
+
icon?: string;
|
|
95
|
+
/** Sort position from area_position frontmatter */
|
|
96
|
+
position?: number;
|
|
97
|
+
/** The sidebar_id for this area's sidebar */
|
|
98
|
+
sidebar_id: string;
|
|
99
|
+
};
|
|
100
|
+
/**
|
|
101
|
+
* Shape of the `config.ts` file inside a `src/docs/` directory.
|
|
102
|
+
* Both project and plugin docs use this same shape.
|
|
103
|
+
*/
|
|
104
|
+
type DocsConfigFile = {
|
|
105
|
+
/** Display title for the documentation */
|
|
106
|
+
title?: string;
|
|
107
|
+
/** Documentation description */
|
|
108
|
+
description?: string;
|
|
109
|
+
/** Icon identifier */
|
|
110
|
+
icon?: string;
|
|
111
|
+
/** Enable multi-area documentation mode */
|
|
112
|
+
areas?: boolean;
|
|
113
|
+
/** Version info displayed in the docs sidebar */
|
|
114
|
+
version?: {
|
|
115
|
+
number: string;
|
|
116
|
+
releaseUrl?: string;
|
|
117
|
+
};
|
|
118
|
+
/** Base path where docs are served. Default: "/docs" */
|
|
119
|
+
path?: `/${string}`;
|
|
120
|
+
/** Backend URL for API calls from the docs UI */
|
|
121
|
+
backendUrl?: string;
|
|
122
|
+
};
|
|
123
|
+
/**
|
|
124
|
+
* Build-time descriptor for a plugin's docs source.
|
|
125
|
+
*/
|
|
126
|
+
type PluginDocsSource = {
|
|
127
|
+
/** Kebab-case plugin slug (e.g. "analytics") */
|
|
128
|
+
slug: string;
|
|
129
|
+
/** Absolute path to docs dir (local) or package path (package) */
|
|
130
|
+
resolve: string;
|
|
131
|
+
/** Source type */
|
|
132
|
+
type: "local" | "package";
|
|
133
|
+
};
|
|
134
|
+
/**
|
|
135
|
+
* Runtime plugin info for the docs UI.
|
|
136
|
+
*/
|
|
137
|
+
type DocsPluginInfo = {
|
|
138
|
+
/** Plugin slug */
|
|
139
|
+
slug: string;
|
|
140
|
+
/** Display title (from plugin's config.ts or formatted slug) */
|
|
141
|
+
title: string;
|
|
142
|
+
/** Plugin description */
|
|
143
|
+
description?: string;
|
|
144
|
+
/** Icon identifier */
|
|
145
|
+
icon?: string;
|
|
146
|
+
/** Sidebar ID for this plugin's sidebar */
|
|
147
|
+
sidebar_id: string;
|
|
148
|
+
};
|
|
149
|
+
/**
|
|
150
|
+
* Docs configuration object passed via virtual module.
|
|
151
|
+
*/
|
|
152
|
+
type DocsConfig = {
|
|
153
|
+
/** Documentation title */
|
|
154
|
+
title: string;
|
|
155
|
+
/** Documentation description */
|
|
156
|
+
description?: string;
|
|
157
|
+
/** Logo URL */
|
|
158
|
+
logo?: string;
|
|
159
|
+
/** Base path where docs are mounted (e.g. "/docs") */
|
|
160
|
+
basePath: string;
|
|
161
|
+
/** Version info */
|
|
162
|
+
version?: {
|
|
163
|
+
number: string;
|
|
164
|
+
releaseUrl?: string;
|
|
165
|
+
};
|
|
166
|
+
/** Generated sidebar definitions */
|
|
167
|
+
sidebars?: DocsSidebar[];
|
|
168
|
+
/** Documentation areas (only in multi-area mode) */
|
|
169
|
+
areas?: DocsArea[];
|
|
170
|
+
/** Plugin docs info (for portal cards and UI) */
|
|
171
|
+
plugins?: DocsPluginInfo[];
|
|
172
|
+
};
|
|
173
|
+
|
|
174
|
+
export { DOCS_CONFIG_VIRTUAL_MODULE, DOCS_ROUTE_VIRTUAL_MODULE, DOCS_SEARCH_VIRTUAL_MODULE, DOCS_SIDEBAR_VIRTUAL_MODULE, DOCS_VIRTUAL_MODULES, type DocsArea, type DocsConfig, type DocsConfigFile, type DocsFrontMatter, type DocsPluginInfo, type DocsRouteEntry, type DocsSearchEntry, type DocsSidebar, type DocsSidebarItem, type PluginDocsSource };
|
package/dist/index.js
ADDED
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __defProp = Object.defineProperty;
|
|
3
|
+
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
4
|
+
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
5
|
+
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
6
|
+
var __export = (target, all) => {
|
|
7
|
+
for (var name in all)
|
|
8
|
+
__defProp(target, name, { get: all[name], enumerable: true });
|
|
9
|
+
};
|
|
10
|
+
var __copyProps = (to, from, except, desc) => {
|
|
11
|
+
if (from && typeof from === "object" || typeof from === "function") {
|
|
12
|
+
for (let key of __getOwnPropNames(from))
|
|
13
|
+
if (!__hasOwnProp.call(to, key) && key !== except)
|
|
14
|
+
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
15
|
+
}
|
|
16
|
+
return to;
|
|
17
|
+
};
|
|
18
|
+
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
19
|
+
|
|
20
|
+
// src/index.ts
|
|
21
|
+
var index_exports = {};
|
|
22
|
+
__export(index_exports, {
|
|
23
|
+
DOCS_CONFIG_VIRTUAL_MODULE: () => DOCS_CONFIG_VIRTUAL_MODULE,
|
|
24
|
+
DOCS_ROUTE_VIRTUAL_MODULE: () => DOCS_ROUTE_VIRTUAL_MODULE,
|
|
25
|
+
DOCS_SEARCH_VIRTUAL_MODULE: () => DOCS_SEARCH_VIRTUAL_MODULE,
|
|
26
|
+
DOCS_SIDEBAR_VIRTUAL_MODULE: () => DOCS_SIDEBAR_VIRTUAL_MODULE,
|
|
27
|
+
DOCS_VIRTUAL_MODULES: () => DOCS_VIRTUAL_MODULES
|
|
28
|
+
});
|
|
29
|
+
module.exports = __toCommonJS(index_exports);
|
|
30
|
+
|
|
31
|
+
// src/virtual-modules/constants.ts
|
|
32
|
+
var DOCS_ROUTE_VIRTUAL_MODULE = `virtual:acmekit/docs-routes`;
|
|
33
|
+
var DOCS_SIDEBAR_VIRTUAL_MODULE = `virtual:acmekit/docs-sidebar`;
|
|
34
|
+
var DOCS_CONFIG_VIRTUAL_MODULE = `virtual:acmekit/docs-config`;
|
|
35
|
+
var DOCS_SEARCH_VIRTUAL_MODULE = `virtual:acmekit/docs-search`;
|
|
36
|
+
var DOCS_VIRTUAL_MODULES = [
|
|
37
|
+
DOCS_ROUTE_VIRTUAL_MODULE,
|
|
38
|
+
DOCS_SIDEBAR_VIRTUAL_MODULE,
|
|
39
|
+
DOCS_CONFIG_VIRTUAL_MODULE,
|
|
40
|
+
DOCS_SEARCH_VIRTUAL_MODULE
|
|
41
|
+
];
|
|
42
|
+
// Annotate the CommonJS export names for ESM import in node:
|
|
43
|
+
0 && (module.exports = {
|
|
44
|
+
DOCS_CONFIG_VIRTUAL_MODULE,
|
|
45
|
+
DOCS_ROUTE_VIRTUAL_MODULE,
|
|
46
|
+
DOCS_SEARCH_VIRTUAL_MODULE,
|
|
47
|
+
DOCS_SIDEBAR_VIRTUAL_MODULE,
|
|
48
|
+
DOCS_VIRTUAL_MODULES
|
|
49
|
+
});
|
package/dist/index.mjs
ADDED
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
// src/virtual-modules/constants.ts
|
|
2
|
+
var DOCS_ROUTE_VIRTUAL_MODULE = `virtual:acmekit/docs-routes`;
|
|
3
|
+
var DOCS_SIDEBAR_VIRTUAL_MODULE = `virtual:acmekit/docs-sidebar`;
|
|
4
|
+
var DOCS_CONFIG_VIRTUAL_MODULE = `virtual:acmekit/docs-config`;
|
|
5
|
+
var DOCS_SEARCH_VIRTUAL_MODULE = `virtual:acmekit/docs-search`;
|
|
6
|
+
var DOCS_VIRTUAL_MODULES = [
|
|
7
|
+
DOCS_ROUTE_VIRTUAL_MODULE,
|
|
8
|
+
DOCS_SIDEBAR_VIRTUAL_MODULE,
|
|
9
|
+
DOCS_CONFIG_VIRTUAL_MODULE,
|
|
10
|
+
DOCS_SEARCH_VIRTUAL_MODULE
|
|
11
|
+
];
|
|
12
|
+
export {
|
|
13
|
+
DOCS_CONFIG_VIRTUAL_MODULE,
|
|
14
|
+
DOCS_ROUTE_VIRTUAL_MODULE,
|
|
15
|
+
DOCS_SEARCH_VIRTUAL_MODULE,
|
|
16
|
+
DOCS_SIDEBAR_VIRTUAL_MODULE,
|
|
17
|
+
DOCS_VIRTUAL_MODULES
|
|
18
|
+
};
|
package/package.json
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@acmekit/docs-shared",
|
|
3
|
+
"description": "Shared code for AcmeKit docs packages.",
|
|
4
|
+
"version": "2.13.41",
|
|
5
|
+
"types": "dist/index.d.ts",
|
|
6
|
+
"main": "dist/index.js",
|
|
7
|
+
"module": "dist/index.mjs",
|
|
8
|
+
"repository": {
|
|
9
|
+
"type": "git",
|
|
10
|
+
"url": "https://github.com/acmekit/acmekit",
|
|
11
|
+
"directory": "packages/docs/docs-shared"
|
|
12
|
+
},
|
|
13
|
+
"files": [
|
|
14
|
+
"dist",
|
|
15
|
+
"package.json"
|
|
16
|
+
],
|
|
17
|
+
"scripts": {
|
|
18
|
+
"build": "yarn run -T tsup"
|
|
19
|
+
},
|
|
20
|
+
"packageManager": "yarn@3.2.1"
|
|
21
|
+
}
|