valaxy 0.0.9 → 0.1.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/bin/valaxy.js +1 -1
- package/dist/build-CLF7GOPQ.mjs +1 -0
- package/dist/build-F47TGGER.js +1 -0
- package/dist/{node/index.mjs → chunk-5S6S3FLN.mjs} +36 -36
- package/dist/chunk-JORQSKHF.mjs +1 -0
- package/dist/chunk-TOMJSB6R.js +83 -0
- package/dist/chunk-VJNIZVTJ.js +1 -0
- package/dist/{node/cli.d.ts → cli.d.ts} +0 -0
- package/dist/cli.js +6 -0
- package/dist/cli.mjs +6 -0
- package/dist/index.d.ts +152 -305
- package/dist/index.js +1 -1
- package/dist/index.mjs +1 -1
- package/package.json +3 -3
- package/src/node/plugins/preset.ts +1 -0
- package/src/node/vite.ts +3 -2
- package/tsup.config.ts +3 -3
- package/dist/config-d6527c8c.d.ts +0 -174
- package/dist/node/cli.js +0 -88
- package/dist/node/cli.mjs +0 -88
- package/dist/node/index.d.ts +0 -45
- package/dist/node/index.js +0 -83
package/dist/node/index.d.ts
DELETED
|
@@ -1,45 +0,0 @@
|
|
|
1
|
-
import * as vite from 'vite';
|
|
2
|
-
import { InlineConfig } from 'vite';
|
|
3
|
-
import { V as ValaxyConfig } from '../config-d6527c8c.js';
|
|
4
|
-
import 'type-fest';
|
|
5
|
-
import 'unocss/vite';
|
|
6
|
-
import 'markdown-it';
|
|
7
|
-
import 'markdown-it-anchor';
|
|
8
|
-
import 'katex';
|
|
9
|
-
import 'vite-plugin-md';
|
|
10
|
-
|
|
11
|
-
interface ResolvedValaxyOptions {
|
|
12
|
-
/**
|
|
13
|
-
* Client root path
|
|
14
|
-
* @default 'valaxy/src/client'
|
|
15
|
-
*/
|
|
16
|
-
clientRoot: string;
|
|
17
|
-
/**
|
|
18
|
-
* User root path
|
|
19
|
-
* @default process.cwd()
|
|
20
|
-
*/
|
|
21
|
-
userRoot: string;
|
|
22
|
-
/**
|
|
23
|
-
* Theme root path
|
|
24
|
-
*/
|
|
25
|
-
themeRoot: string;
|
|
26
|
-
/**
|
|
27
|
-
* Theme name
|
|
28
|
-
*/
|
|
29
|
-
theme: string;
|
|
30
|
-
/**
|
|
31
|
-
* Valaxy Config
|
|
32
|
-
*/
|
|
33
|
-
config: ValaxyConfig;
|
|
34
|
-
/**
|
|
35
|
-
* config file path
|
|
36
|
-
*/
|
|
37
|
-
configFile: string;
|
|
38
|
-
}
|
|
39
|
-
interface ValaxyServerOptions {
|
|
40
|
-
onConfigReload?: (newConfig: ValaxyConfig, config: ValaxyConfig) => void;
|
|
41
|
-
}
|
|
42
|
-
|
|
43
|
-
declare function createServer(options: ResolvedValaxyOptions, viteConfig?: InlineConfig, serverOptions?: ValaxyServerOptions): Promise<vite.ViteDevServer>;
|
|
44
|
-
|
|
45
|
-
export { createServer };
|