@oiyo/core 0.0.1 → 0.0.3
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.cjs +1 -1
- package/dist/index.d.cts +2 -2
- package/dist/index.d.mts +2 -2
- package/dist/index.mjs +1 -1
- package/dist/{types-CbY0rJue.d.mts → types-B6aQQOoW.d.mts} +1 -1
- package/dist/{types-D6ttx3rg.d.cts → types-Bnj1jLZh.d.cts} +1 -1
- package/dist/types.cjs +1 -1
- package/dist/types.d.cts +18 -3
- package/dist/types.d.mts +18 -3
- package/dist/types.mjs +1 -1
- package/package.json +15 -4
package/dist/index.cjs
CHANGED
package/dist/index.d.cts
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @oiyo/core v0.0.
|
|
2
|
+
* @oiyo/core v0.0.3
|
|
3
3
|
* Copyright (c) 2026 skiyee. All rights reserved.
|
|
4
4
|
* Commercial software. See LICENSE for terms.
|
|
5
5
|
* Official site: https://oiyo.pages.dev
|
|
6
6
|
*/
|
|
7
|
-
import { n as PageFile, r as ResolvedPageMeta } from "./types-
|
|
7
|
+
import { n as PageFile, r as ResolvedPageMeta } from "./types-Bnj1jLZh.cjs";
|
|
8
8
|
import { OiyoConfig, PagesConfig } from "@oiyo/config";
|
|
9
9
|
import * as _$magic_string0 from "magic-string";
|
|
10
10
|
import { ConfigWatcher } from "c12";
|
package/dist/index.d.mts
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @oiyo/core v0.0.
|
|
2
|
+
* @oiyo/core v0.0.3
|
|
3
3
|
* Copyright (c) 2026 skiyee. All rights reserved.
|
|
4
4
|
* Commercial software. See LICENSE for terms.
|
|
5
5
|
* Official site: https://oiyo.pages.dev
|
|
6
6
|
*/
|
|
7
|
-
import { n as PageFile, r as ResolvedPageMeta } from "./types-
|
|
7
|
+
import { n as PageFile, r as ResolvedPageMeta } from "./types-B6aQQOoW.mjs";
|
|
8
8
|
import { OiyoConfig, PagesConfig } from "@oiyo/config";
|
|
9
9
|
import { SFCDescriptor } from "@vue/compiler-sfc";
|
|
10
10
|
import { ConfigWatcher } from "c12";
|
package/dist/index.mjs
CHANGED
package/dist/types.cjs
CHANGED
package/dist/types.d.cts
CHANGED
|
@@ -1,12 +1,27 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @oiyo/core v0.0.
|
|
2
|
+
* @oiyo/core v0.0.3
|
|
3
3
|
* Copyright (c) 2026 skiyee. All rights reserved.
|
|
4
4
|
* Commercial software. See LICENSE for terms.
|
|
5
5
|
* Official site: https://oiyo.pages.dev
|
|
6
6
|
*/
|
|
7
|
-
import { t as BasePageMeta } from "./types-
|
|
7
|
+
import { t as BasePageMeta } from "./types-Bnj1jLZh.cjs";
|
|
8
|
+
import { DefineComponent } from "vue";
|
|
8
9
|
|
|
9
|
-
//#region src/types.d.ts
|
|
10
|
+
//#region src/types/component.d.ts
|
|
11
|
+
declare module 'vue' {
|
|
12
|
+
interface GlobalComponents {
|
|
13
|
+
/**
|
|
14
|
+
* OIYO 视图占位组件,用于显示当前活跃页面
|
|
15
|
+
*/
|
|
16
|
+
OiyoPage: DefineComponent<object>;
|
|
17
|
+
/**
|
|
18
|
+
* OIYO 布局占位组件,用于显示页面所使用布局组件
|
|
19
|
+
*/
|
|
20
|
+
OiyoLayout: DefineComponent<object>;
|
|
21
|
+
}
|
|
22
|
+
}
|
|
23
|
+
//#endregion
|
|
24
|
+
//#region src/types/marco.d.ts
|
|
10
25
|
/**
|
|
11
26
|
* 页面元信息
|
|
12
27
|
* 用户在 definePageMeta() 中使用的类型
|
package/dist/types.d.mts
CHANGED
|
@@ -1,12 +1,27 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @oiyo/core v0.0.
|
|
2
|
+
* @oiyo/core v0.0.3
|
|
3
3
|
* Copyright (c) 2026 skiyee. All rights reserved.
|
|
4
4
|
* Commercial software. See LICENSE for terms.
|
|
5
5
|
* Official site: https://oiyo.pages.dev
|
|
6
6
|
*/
|
|
7
|
-
import { t as BasePageMeta } from "./types-
|
|
7
|
+
import { t as BasePageMeta } from "./types-B6aQQOoW.mjs";
|
|
8
|
+
import { DefineComponent } from "vue";
|
|
8
9
|
|
|
9
|
-
//#region src/types.d.ts
|
|
10
|
+
//#region src/types/component.d.ts
|
|
11
|
+
declare module 'vue' {
|
|
12
|
+
interface GlobalComponents {
|
|
13
|
+
/**
|
|
14
|
+
* OIYO 视图占位组件,用于显示当前活跃页面
|
|
15
|
+
*/
|
|
16
|
+
OiyoPage: DefineComponent<object>;
|
|
17
|
+
/**
|
|
18
|
+
* OIYO 布局占位组件,用于显示页面所使用布局组件
|
|
19
|
+
*/
|
|
20
|
+
OiyoLayout: DefineComponent<object>;
|
|
21
|
+
}
|
|
22
|
+
}
|
|
23
|
+
//#endregion
|
|
24
|
+
//#region src/types/marco.d.ts
|
|
10
25
|
/**
|
|
11
26
|
* 页面元信息
|
|
12
27
|
* 用户在 definePageMeta() 中使用的类型
|
package/dist/types.mjs
CHANGED
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@oiyo/core",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "0.0.
|
|
4
|
+
"version": "0.0.3",
|
|
5
5
|
"author": {
|
|
6
6
|
"name": "skiyee",
|
|
7
7
|
"email": "319619193@qq.com",
|
|
@@ -19,11 +19,21 @@
|
|
|
19
19
|
},
|
|
20
20
|
"exports": {
|
|
21
21
|
".": {
|
|
22
|
-
"types":
|
|
22
|
+
"types": {
|
|
23
|
+
"import": "./dist/index.d.mts",
|
|
24
|
+
"require": "./dist/index.d.cts"
|
|
25
|
+
},
|
|
23
26
|
"import": "./dist/index.mjs",
|
|
24
27
|
"require": "./dist/index.cjs"
|
|
25
28
|
},
|
|
26
|
-
"./types":
|
|
29
|
+
"./types": {
|
|
30
|
+
"types": {
|
|
31
|
+
"import": "./dist/types.d.mts",
|
|
32
|
+
"require": "./dist/types.d.cts"
|
|
33
|
+
},
|
|
34
|
+
"import": "./dist/types.mjs",
|
|
35
|
+
"require": "./dist/types.cjs"
|
|
36
|
+
},
|
|
27
37
|
"./package.json": "./package.json"
|
|
28
38
|
},
|
|
29
39
|
"main": "./dist/index.cjs",
|
|
@@ -46,7 +56,8 @@
|
|
|
46
56
|
"magic-string": "^0.30.21",
|
|
47
57
|
"pathe": "^2.0.3",
|
|
48
58
|
"tinyglobby": "^0.2.15",
|
|
49
|
-
"
|
|
59
|
+
"vue": "3.4.21",
|
|
60
|
+
"@oiyo/config": "0.0.3"
|
|
50
61
|
},
|
|
51
62
|
"devDependencies": {
|
|
52
63
|
"chokidar": "4.0.3",
|