@delta-comic/vite 1.3.0 → 1.3.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/lib/index.d.ts +24 -0
- package/dist/pack.tgz +0 -0
- package/package.json +3 -3
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import { PluginArchiveDB } from '@delta-comic/db';
|
|
2
|
+
/** vite插件,自动配置了库的外部化与脚本头 */
|
|
3
|
+
export declare const deltaComic: (config: {
|
|
4
|
+
name: string;
|
|
5
|
+
displayName: string;
|
|
6
|
+
version: string;
|
|
7
|
+
author?: string;
|
|
8
|
+
description: string;
|
|
9
|
+
/** 通过语义化版本号描述core支持版本,通过`semver.satisfies`判定,所有的`>=`会替换为`^`,除非`lockCoreVersion为`true` */
|
|
10
|
+
supportCoreVersion: string;
|
|
11
|
+
/** 如果为`true`,则`supportCoreVersion`的`>=`不会替换为`^` */
|
|
12
|
+
lockCoreVersion?: boolean;
|
|
13
|
+
/** @default ['core'] */
|
|
14
|
+
require?: ({
|
|
15
|
+
id: string;
|
|
16
|
+
download?: string;
|
|
17
|
+
} | string)[];
|
|
18
|
+
/** @default 'src/main.ts' */
|
|
19
|
+
entry?: string;
|
|
20
|
+
}, command: "build" | "serve", packageJson: {
|
|
21
|
+
dependencies: Record<string, string>;
|
|
22
|
+
devDependencies: Record<string, string>;
|
|
23
|
+
}) => any;
|
|
24
|
+
export declare const deltaComicPlus: (meta: PluginArchiveDB.Meta, command: "build" | "serve") => any;
|
package/dist/pack.tgz
CHANGED
|
Binary file
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@delta-comic/vite",
|
|
3
|
-
"version": "1.3.
|
|
3
|
+
"version": "1.3.1",
|
|
4
4
|
"description": "空阙虱楼",
|
|
5
5
|
"homepage": "https://github.com/delta-comic/delta-comic",
|
|
6
6
|
"license": "AGPL-3.0-only",
|
|
@@ -35,8 +35,8 @@
|
|
|
35
35
|
"peerDependencies": {
|
|
36
36
|
"vite-plugin-externals": "^0.6.2",
|
|
37
37
|
"vite-plugin-monkey": "^7.1.9",
|
|
38
|
-
"@delta-comic/
|
|
39
|
-
"@delta-comic/
|
|
38
|
+
"@delta-comic/utils": "1.3.1",
|
|
39
|
+
"@delta-comic/db": "1.3.1"
|
|
40
40
|
},
|
|
41
41
|
"release": {
|
|
42
42
|
"tagFormat": "vite-${version}"
|