@mercurjs/dashboard-sdk 2.2.0-canary.9 → 2.2.0-rc.1
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/chunk-3RG5ZIWI.js +10 -0
- package/dist/index.cjs +16 -882
- package/dist/index.d.cts +159 -80
- package/dist/index.d.ts +173 -0
- package/dist/index.js +23 -0
- package/dist/types-zgnwn8ra.d.cts +74 -0
- package/dist/types-zgnwn8ra.d.ts +74 -0
- package/dist/vite.cjs +1201 -0
- package/dist/vite.d.cts +14 -0
- package/dist/vite.d.ts +14 -0
- package/dist/vite.js +1180 -0
- package/package.json +13 -4
package/dist/vite.d.cts
ADDED
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import * as Vite from 'vite';
|
|
2
|
+
import { M as MercurConfig } from './types-zgnwn8ra.cjs';
|
|
3
|
+
import 'react';
|
|
4
|
+
|
|
5
|
+
declare function mercurDashboardPlugin(pluginConfig: MercurConfig): Vite.Plugin;
|
|
6
|
+
|
|
7
|
+
/**
|
|
8
|
+
* Generates a plugin entry module for a given source directory (e.g. src/vendor).
|
|
9
|
+
* Scans routes, menu items, and i18n — outputs a single module string
|
|
10
|
+
* that exports default `{ routeModule, menuItemModule, i18nModule }`.
|
|
11
|
+
*/
|
|
12
|
+
declare function generatePluginEntryModule(srcDir: string): string;
|
|
13
|
+
|
|
14
|
+
export { generatePluginEntryModule, mercurDashboardPlugin };
|
package/dist/vite.d.ts
ADDED
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import * as Vite from 'vite';
|
|
2
|
+
import { M as MercurConfig } from './types-zgnwn8ra.js';
|
|
3
|
+
import 'react';
|
|
4
|
+
|
|
5
|
+
declare function mercurDashboardPlugin(pluginConfig: MercurConfig): Vite.Plugin;
|
|
6
|
+
|
|
7
|
+
/**
|
|
8
|
+
* Generates a plugin entry module for a given source directory (e.g. src/vendor).
|
|
9
|
+
* Scans routes, menu items, and i18n — outputs a single module string
|
|
10
|
+
* that exports default `{ routeModule, menuItemModule, i18nModule }`.
|
|
11
|
+
*/
|
|
12
|
+
declare function generatePluginEntryModule(srcDir: string): string;
|
|
13
|
+
|
|
14
|
+
export { generatePluginEntryModule, mercurDashboardPlugin };
|