@oiyo/config 0.3.6 → 0.3.8

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 CHANGED
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @oiyo/config v0.3.6
2
+ * @oiyo/config v0.3.8
3
3
  * Copyright (c) 2026 skiyee. All rights reserved.
4
4
  * Commercial software. See LICENSE for terms.
5
5
  * Official site: https://oiyo.js.org
@@ -177,6 +177,7 @@ const defaultConfig = {
177
177
  only: [
178
178
  "definePageMeta",
179
179
  "defineRootContext",
180
+ "useRootContext",
180
181
  {
181
182
  name: "PageMeta",
182
183
  isType: true
package/dist/index.d.cts CHANGED
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @oiyo/config v0.3.6
2
+ * @oiyo/config v0.3.8
3
3
  * Copyright (c) 2026 skiyee. All rights reserved.
4
4
  * Commercial software. See LICENSE for terms.
5
5
  * Official site: https://oiyo.js.org
@@ -3089,4 +3089,4 @@ interface PagesJson {
3089
3089
  interface PagesConfig extends PagesJson {}
3090
3090
  declare function definePagesConfig(config: PagesConfig): PagesConfig;
3091
3091
  //#endregion
3092
- export { AnimationType, ApiScanTarget, Color, ComponentScanTarget, Condition, ConditionItem, DEFAULT_EXCLUDE, EasyCom, GlobRule, GlobalStyle, HEXColor, IDEPlatformPath, OiyoConfig, OiyoConfigDir, OiyoConfigIDE, OiyoConfigScan, OnlyPickNameItem, Page, PagesConfig, PagesJson, PercentageSize, PxSize, RGBAColor, RGBColor, RpxSize, SubPackage, TabBar, TabBarIconFont, TabBarItem, TabBarMidButton, TheWindow, ThemeVar, TitleNViewButton, UniIdRouter, defineOiyoConfig, definePagesConfig, resolveOiyoConfig };
3092
+ export { type AnimationType, type ApiScanTarget, type Color, type ComponentScanTarget, type Condition, type ConditionItem, DEFAULT_EXCLUDE, type EasyCom, type GlobRule, type GlobalStyle, type HEXColor, type IDEPlatformPath, type OiyoConfig, type OiyoConfigDir, type OiyoConfigIDE, type OiyoConfigScan, type OnlyPickNameItem, type Page, PagesConfig, type PagesJson, type PercentageSize, type PxSize, type RGBAColor, type RGBColor, type RpxSize, type SubPackage, type TabBar, type TabBarIconFont, type TabBarItem, type TabBarMidButton, type TheWindow, type ThemeVar, type TitleNViewButton, type UniIdRouter, defineOiyoConfig, definePagesConfig, resolveOiyoConfig };
package/dist/index.d.mts CHANGED
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @oiyo/config v0.3.6
2
+ * @oiyo/config v0.3.8
3
3
  * Copyright (c) 2026 skiyee. All rights reserved.
4
4
  * Commercial software. See LICENSE for terms.
5
5
  * Official site: https://oiyo.js.org
@@ -3089,4 +3089,4 @@ interface PagesJson {
3089
3089
  interface PagesConfig extends PagesJson {}
3090
3090
  declare function definePagesConfig(config: PagesConfig): PagesConfig;
3091
3091
  //#endregion
3092
- export { AnimationType, ApiScanTarget, Color, ComponentScanTarget, Condition, ConditionItem, DEFAULT_EXCLUDE, EasyCom, GlobRule, GlobalStyle, HEXColor, IDEPlatformPath, OiyoConfig, OiyoConfigDir, OiyoConfigIDE, OiyoConfigScan, OnlyPickNameItem, Page, PagesConfig, PagesJson, PercentageSize, PxSize, RGBAColor, RGBColor, RpxSize, SubPackage, TabBar, TabBarIconFont, TabBarItem, TabBarMidButton, TheWindow, ThemeVar, TitleNViewButton, UniIdRouter, defineOiyoConfig, definePagesConfig, resolveOiyoConfig };
3092
+ export { type AnimationType, type ApiScanTarget, type Color, type ComponentScanTarget, type Condition, type ConditionItem, DEFAULT_EXCLUDE, type EasyCom, type GlobRule, type GlobalStyle, type HEXColor, type IDEPlatformPath, type OiyoConfig, type OiyoConfigDir, type OiyoConfigIDE, type OiyoConfigScan, type OnlyPickNameItem, type Page, PagesConfig, type PagesJson, type PercentageSize, type PxSize, type RGBAColor, type RGBColor, type RpxSize, type SubPackage, type TabBar, type TabBarIconFont, type TabBarItem, type TabBarMidButton, type TheWindow, type ThemeVar, type TitleNViewButton, type UniIdRouter, defineOiyoConfig, definePagesConfig, resolveOiyoConfig };
package/dist/index.mjs CHANGED
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @oiyo/config v0.3.6
2
+ * @oiyo/config v0.3.8
3
3
  * Copyright (c) 2026 skiyee. All rights reserved.
4
4
  * Commercial software. See LICENSE for terms.
5
5
  * Official site: https://oiyo.js.org
@@ -153,6 +153,7 @@ const defaultConfig = {
153
153
  only: [
154
154
  "definePageMeta",
155
155
  "defineRootContext",
156
+ "useRootContext",
156
157
  {
157
158
  name: "PageMeta",
158
159
  isType: true
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@oiyo/config",
3
3
  "type": "module",
4
- "version": "0.3.6",
4
+ "version": "0.3.8",
5
5
  "author": {
6
6
  "name": "skiyee",
7
7
  "email": "319619193@qq.com",