@moneko/core 4.1.3 → 4.1.4

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.
@@ -22,5 +22,5 @@ interface ServerOption {
22
22
  open?: boolean;
23
23
  }
24
24
  export type Server = HttpServer | HttpsServer;
25
- declare function server(option: ServerOption): Promise<Server>;
25
+ declare function server(option: ServerOption): Promise<HttpServer<typeof IncomingMessage, typeof ServerResponse>>;
26
26
  export default server;
@@ -6,5 +6,8 @@ export declare class ManifestPlugin {
6
6
  private options;
7
7
  constructor(options?: Partial<ManifestPluginOption>);
8
8
  getPublicPath(compilation: Compilation): string;
9
+ addAsset<T extends {
10
+ src: string;
11
+ }>(compiler: Compiler, compilation: Compilation, assets?: T[]): T[] | undefined;
9
12
  apply(compiler: Compiler): void;
10
13
  }
@@ -1 +1 @@
1
- import{existsSync as t,readFileSync as s}from"node:fs";import{basename as o,join as e,relative as i,resolve as r}from"node:path";import a from"webpack";import n from"../../commom/paths.mjs";import{isDev as p,packageJson as c}from"../../process-env.mjs";export*from"./types.mjs";export class ManifestPlugin{constructor(t){this.name="ManifestPlugin",this.options={filename:"site.webmanifest",name:c.name,short_name:c.shortName,description:c.description,scope:"/",display:c.display??"standalone",background_color:c.backgroundColor??"#fff",theme_color:c.themeColor,icons:[{src:i(n.programPath,`${n.corePath}/options/icon.webp`),type:"image/webp",sizes:"512x512"}]},this.options={...this.options,...t}}getPublicPath(t){if(this.options.publicPath)return this.options.publicPath;let s=t.getAssetPath(t.outputOptions.publicPath,{hash:t.hash}),o="auto"===s?"/":s;return o.length&&!o.endsWith("/")&&(o+="/"),o}apply(i){let n=this.name,{filename:h,publicPath:m,start_url:l,...u}=this.options;i.hooks.compilation.tap(n,f=>{f.hooks.processAssets.tap({name:n,stage:a.Compilation.PROCESS_ASSETS_STAGE_ADDITIONAL},()=>{let n=m||this.getPublicPath(f),b={...u,start_url:l??n,icons:u.icons?.map(p=>{let c={...p};if(c.src&&!c.src.startsWith("http")){let p=r(i.context,c.src);if(t(p)){let t=o(c.src),i=s(p);f.emitAsset(t,new a.sources.RawSource(i),{javascriptModule:!1}),c.src=e(n,t)}else f.warnings.push(new a.WebpackError(`Icon file ${p} does not exist`))}return c}),version:`${c.version}(${p?"Dev":f.fullHash})`};f.emitAsset(h,new i.webpack.sources.RawSource(JSON.stringify(b)),{javascriptModule:!1})})})}}
1
+ import{existsSync as t,readFileSync as s}from"node:fs";import{basename as e,join as o,resolve as i}from"node:path";import r from"webpack";import{isDev as a,packageJson as n}from"../../process-env.mjs";export*from"./types.mjs";export class ManifestPlugin{constructor(t){this.name="ManifestPlugin",this.options={filename:"site.webmanifest",name:n.name,short_name:n.shortName,description:n.description,scope:"/",display:n.display??"standalone",background_color:n.backgroundColor??"#fff",theme_color:n.themeColor,icons:[{src:"https://h5static.dewucdn.com/node-common/718d5e10-576d-8b14-b0b1-e4c58c3b3f40.webp",type:"image/webp",sizes:"512x512"}]},this.options={...this.options,...t}}getPublicPath(t){if(this.options.publicPath)return this.options.publicPath;let s=t.getAssetPath(t.outputOptions.publicPath,{hash:t.hash}),e="auto"===s?"/":s;return e.length&&!e.endsWith("/")&&(e+="/"),e}addAsset(a,n,c){if(!c)return;let p=this.getPublicPath(n);return c.map(c=>{let h={...c};if(h.src&&!h.src.startsWith("http")){let c=i(a.context,h.src);if(t(c)){let t=e(h.src),i=s(c);n.emitAsset(t,new r.sources.RawSource(i),{javascriptModule:!1}),h.src=o(p,t)}else n.warnings.push(new r.WebpackError(`Asset file ${c} does not exist`))}return h})}apply(t){let s=this.name,{filename:e,start_url:o,icons:i,screenshots:c,...p}=this.options;t.hooks.compilation.tap(s,h=>{h.hooks.processAssets.tap({name:s,stage:r.Compilation.PROCESS_ASSETS_STAGE_ADDITIONAL},()=>{let s={...p,start_url:o??this.getPublicPath(h),screenshots:this.addAsset(t,h,c),icons:this.addAsset(t,h,i),version:`${n.version}(${a?"Dev":h.fullHash})`};h.emitAsset(e,new t.webpack.sources.RawSource(JSON.stringify(s)),{javascriptModule:!1})})})}}
@@ -1,7 +1,24 @@
1
+ /**
2
+ * 平台类型
3
+ * - 'android': Android 平台
4
+ * - 'chromeos': Chrome OS 平台
5
+ * - 'ios': iOS 平台
6
+ * - 'ipados': iPadOS 平台
7
+ * - 'kaios': KaiOS 平台
8
+ * - 'macos': macOS 平台
9
+ * - 'windows': Windows 平台
10
+ * - 'xbox': Xbox 平台
11
+ * - 'chrome_web_store': Chrome Web Store 平台
12
+ * - 'itunes': iTunes 平台
13
+ * - 'microsoft-inbox': Microsoft Inbox 平台
14
+ * - 'microsoft-store': Microsoft Store 平台
15
+ * - 'play': Play 平台
16
+ */
17
+ type Platform = 'android' | 'chromeos' | 'ios' | 'ipados' | 'kaios' | 'macos' | 'windows' | 'xbox' | 'chrome_web_store' | 'itunes' | 'microsoft-inbox' | 'microsoft-store' | 'play';
1
18
  /**
2
19
  * 表示网页应用的屏幕截图
3
20
  * 用于在应用商店、安装提示等场景中展示应用的外观和功能
4
- * @see https://docs.pwabuilder.com/#/builder/manifest?id=screenshots
21
+ * @see https://developer.mozilla.org/en-US/docs/Web/Progressive_web_apps/Manifest/Reference/screenshots
5
22
  */
6
23
  interface Screenshot {
7
24
  /**
@@ -24,22 +41,34 @@ interface Screenshot {
24
41
  * @example "1280x720"
25
42
  * @example "1920x1080 1280x720"
26
43
  */
27
- sizes: string;
44
+ sizes?: string;
28
45
  /**
29
- * 截图适用的平台类型
46
+ * 表示屏幕截图对象的辅助功能名称的字符串。
47
+ * 请保持名称具有描述性,因为它可以用作渲染屏幕截图的替代文本。
48
+ * 为了提高可访问性,建议为每个屏幕截图指定此属性。
49
+ * @example "Homepage"
50
+ */
51
+ label?: string;
52
+ /**
53
+ * 表示屏幕截图适用平台的字符串。仅当屏幕截图适用于特定设备或分发平台时才应指定此属性。
54
+ * 如果platform未指定,则屏幕截图将被视为适用于所有平台。
55
+ * @example "windows"
56
+ */
57
+ platform?: Platform;
58
+ /**
59
+ * 此字符串表示屏幕截图适用的各类设备的屏幕形状。仅当屏幕截图适用于特定屏幕布局时才应指定此属性。
60
+ * 如果form_factor未指定,则屏幕截图将被视为适用于所有屏幕类型。
30
61
  * - 'wide': 宽屏设备(如桌面、平板横屏)
31
62
  * - 'narrow': 窄屏设备(如手机)
32
- * 如果不指定,截图可用于所有平台
33
63
  * @example "wide"
34
- * @example "narrow"
35
64
  */
36
- platform?: 'wide' | 'narrow' | string;
65
+ form_factor?: 'wide' | 'narrow';
37
66
  }
38
67
  /**
39
68
  * 表示各种尺寸和格式的应用图标
40
69
  * 应用图标用于在主屏幕、启动画面、任务栏等位置显示
41
70
  * 建议提供多种尺寸以确保在不同设备上都有良好的显示效果
42
- * @see https://docs.pwabuilder.com/#/builder/manifest?id=icons
71
+ * @see https://developer.mozilla.org/en-US/docs/Web/Progressive_web_apps/Manifest/Reference/icons
43
72
  */
44
73
  interface Icon {
45
74
  /**
@@ -68,28 +97,26 @@ interface Icon {
68
97
  /**
69
98
  * 图标的用途类型
70
99
  * - 'any': 任意场景使用(默认值)
71
- * - 'maskable': 可适应不同形状的图标(如 Android 自适应图标)
72
- * - 'monochrome': 单色图标(用于某些系统UI场景)
100
+ * - 'maskable': 表示该图标在设计时考虑到了图标遮罩和安全区域,因此可以忽略并遮盖安全区域之外的图像部分(如 Android 自适应图标)
101
+ * - 'monochrome': 表示该图标旨在用作单色图标,并填充纯色。使用此值时,浏览器将忽略图标中的颜色信息,仅使用 Alpha 通道作为纯色填充的蒙版。(用于某些系统UI场景)
73
102
  * 可以组合使用,如 "any maskable"
74
103
  * @default "any"
75
- * @example "any"
76
- * @example "maskable"
77
- * @example "any maskable"
104
+ * @example "monochrome maskable"
78
105
  */
79
- purpose?: 'any' | 'maskable' | 'monochrome' | string;
106
+ purpose?: 'any' | 'maskable' | 'monochrome';
80
107
  }
81
108
  /**
82
109
  * 描述网页应用所属的分类
83
110
  * 用于应用商店分类、搜索优化和应用发现
84
111
  * 可以指定多个分类,帮助用户更容易找到你的应用
85
- * @see https://docs.pwabuilder.com/#/builder/manifest?id=categories
112
+ * @see https://developer.mozilla.org/en-US/docs/Web/Progressive_web_apps/Manifest/Reference/categories
86
113
  */
87
114
  type Categories = 'books' /** 图书 - 电子书、阅读应用 */ | 'business' /** 商业 - 商务工具、企业应用 */ | 'education' /** 教育 - 学习、教学应用 */ | 'entertainment' /** 娱乐 - 视频、音乐、娱乐内容 */ | 'finance' /** 金融 - 银行、投资、支付应用 */ | 'fitness' /** 健身 - 运动、健康追踪 */ | 'food' /** 美食 - 餐厅、食谱、外卖 */ | 'games' /** 游戏 - 各种类型的游戏 */ | 'government' /** 政府 - 政府服务、公共信息 */ | 'health' /** 健康 - 医疗、健康管理 */ | 'kids' /** 儿童 - 儿童教育、娱乐应用 */ | 'lifestyle' /** 生活方式 - 时尚、美容、生活服务 */ | 'magazines' /** 杂志 - 期刊、杂志阅读 */ | 'medical' /** 医疗 - 医疗信息、诊断工具 */ | 'music' /** 音乐 - 音乐播放、创作 */ | 'navigation' /** 导航 - 地图、路线规划 */ | 'news' /** 新闻 - 新闻阅读、资讯 */ | 'personalization' /** 个性化 - 主题、壁纸、个性化设置 */ | 'photo' /** 照片 - 图片编辑、相册 */ | 'politics' /** 政治 - 政治新闻、投票 */ | 'productivity' /** 生产力 - 办公、效率工具 */ | 'security' /** 安全 - 安全工具、密码管理 */ | 'shopping' /** 购物 - 电商、购物应用 */ | 'social' /** 社交 - 社交媒体、聊天 */ | 'sports' /** 体育 - 体育新闻、赛事 */ | 'travel' /** 旅行 - 旅游、酒店、航班 */ | 'utilities' /** 工具 - 实用工具、系统工具 */ | 'weather'; /** 天气 - 天气预报、气象信息 */
88
115
  /**
89
116
  * 表示应用的快速快捷方式,指向特定功能或页面
90
117
  * 用户可以在应用图标上长按(或右键)看到这些快捷方式,快速访问常用功能
91
118
  * 例如:音乐应用可以添加"播放列表"、"搜索"等快捷方式
92
- * @see https://docs.pwabuilder.com/#/builder/manifest?id=shortcuts
119
+ * @see https://developer.mozilla.org/en-US/docs/Web/Progressive_web_apps/Manifest/Reference/shortcuts
93
120
  */
94
121
  interface Shortcut {
95
122
  /**
@@ -134,7 +161,7 @@ interface Shortcut {
134
161
  * 定义应用处理的协议处理器
135
162
  * 允许你的应用注册为特定 URL 协议的处理程序
136
163
  * 例如:注册 "mailto:" 协议后,用户点击邮件链接时会打开你的应用
137
- * @see https://docs.pwabuilder.com/#/builder/manifest?id=protocol_handlers
164
+ * @see https://developer.mozilla.org/en-US/docs/Web/Progressive_web_apps/Manifest/Reference/protocol_handlers
138
165
  */
139
166
  interface ProtocolHandler {
140
167
  /**
@@ -158,7 +185,7 @@ interface ProtocolHandler {
158
185
  * 表示相关的原生应用
159
186
  * 用于链接到应用商店中的原生应用版本
160
187
  * 通常与 prefer_related_applications 配合使用
161
- * @see https://docs.pwabuilder.com/#/builder/manifest?id=related_applications
188
+ * @see https://developer.mozilla.org/en-US/docs/Web/Progressive_web_apps/Manifest/Reference/related_applications
162
189
  */
163
190
  interface RelatedApplication {
164
191
  /**
@@ -245,7 +272,7 @@ interface ShareTargetParams {
245
272
  * 定义应用如何处理分享目标
246
273
  * 允许你的应用出现在系统的分享菜单中,接收来自其他应用的内容
247
274
  * 例如:用户可以在图片应用中分享图片到你的应用
248
- * @see https://docs.pwabuilder.com/#/builder/manifest?id=share_target
275
+ * @see https://developer.mozilla.org/en-US/docs/Web/Progressive_web_apps/Manifest/Reference/share_target
249
276
  */
250
277
  interface ShareTarget {
251
278
  /**
@@ -280,27 +307,11 @@ interface ShareTarget {
280
307
  */
281
308
  params: ShareTargetParams;
282
309
  }
283
- /**
284
- * Microsoft Edge侧边栏配置
285
- * 用于配置应用在 Microsoft Edge 浏览器侧边栏中的显示方式
286
- * 这是 Edge 浏览器特有的扩展功能
287
- * @see https://docs.pwabuilder.com/#/builder/manifest?id=edge_side_panel
288
- */
289
- interface EdgeSidePanel {
290
- /**
291
- * 侧边栏的首选宽度(像素)
292
- * 建议值:320-1024 像素
293
- * 如果未指定,浏览器将使用默认宽度
294
- * @example 400
295
- * @example 600
296
- */
297
- preferred_width?: number;
298
- }
299
310
  /**
300
311
  * 定义网页应用的方向约束
301
312
  * 控制应用在设备上的屏幕方向锁定
302
313
  * 用于确保应用在特定方向上获得最佳体验
303
- * @see https://docs.pwabuilder.com/#/builder/manifest?id=orientation
314
+ * @see https://developer.mozilla.org/en-US/docs/Web/Progressive_web_apps/Manifest/Reference/orientation
304
315
  */
305
316
  type Orientation = 'any' /** 任意方向 - 允许用户自由旋转屏幕(默认) */ | 'natural' /** 自然方向 - 使用设备的自然方向 */ | 'portrait' /** 竖屏 - 锁定为竖屏方向(任意竖屏方向) */ | 'landscape' /** 横屏 - 锁定为横屏方向(任意横屏方向) */ | 'portrait-primary' /** 主要竖屏方向 - 锁定为设备的主要竖屏方向 */ | 'portrait-secondary' /** 次要竖屏方向 - 锁定为设备的次要竖屏方向(倒置) */ | 'landscape-primary' /** 主要横屏方向 - 锁定为设备的主要横屏方向 */ | 'landscape-secondary'; /** 次要横屏方向 - 锁定为设备的次要横屏方向(反向) */
306
317
  /**
@@ -308,16 +319,9 @@ type Orientation = 'any' /** 任意方向 - 允许用户自由旋转屏幕(默
308
319
  * 按优先级顺序尝试的显示模式列表
309
320
  * 浏览器会按顺序尝试这些模式,使用第一个支持的模式
310
321
  * 这是 display 字段的增强版本,提供更细粒度的控制
311
- * @see https://docs.pwabuilder.com/#/builder/manifest?id=display_override
322
+ * @see https://developer.mozilla.org/en-US/docs/Web/Progressive_web_apps/Manifest/Reference/display_override
312
323
  */
313
324
  type DisplayOverride = 'window-controls-overlay' /** 窗口控件叠加 - 应用内容覆盖系统窗口控件(如标题栏) */ | 'standalone' /** 独立应用 - 类似原生应用的体验,无浏览器UI */ | 'minimal-ui' /** 最小UI - 保留最小浏览器UI(如地址栏) */ | 'fullscreen' /** 全屏 - 完全全屏显示,无任何UI */ | 'browser'; /** 浏览器 - 标准浏览器窗口 */
314
- /**
315
- * 应用文本方向
316
- * 控制应用界面的文本阅读方向
317
- * 影响布局、对齐和文本流方向
318
- * @see https://docs.pwabuilder.com/#/builder/manifest?id=dir
319
- */
320
- type Dir = 'auto' /** 自动检测 - 根据 lang 字段或系统设置自动确定方向 */ | 'ltr' /** 从左到右 - 适用于大多数语言(如中文、英文) */ | 'rtl'; /** 从右到左 - 适用于阿拉伯语、希伯来语等 */
321
325
  /**
322
326
  * 网页应用清单配置,遵循W3C标准并包含PWABuilder扩展
323
327
  * 这是PWA(渐进式Web应用)的核心配置文件,定义了应用在用户设备上安装时的行为方式。
@@ -340,7 +344,7 @@ type Dir = 'auto' /** 自动检测 - 根据 lang 字段或系统设置自动确
340
344
  * ]
341
345
  * }
342
346
  * ```
343
- * @see https://docs.pwabuilder.com/#/builder/manifest
347
+ * @see https://developer.mozilla.org/en-US/docs/Web/Progressive_web_apps/Manifest
344
348
  */
345
349
  export interface WebManifest {
346
350
  /**
@@ -403,17 +407,6 @@ export interface WebManifest {
403
407
  * @example "https://example.com/app/"
404
408
  */
405
409
  scope?: string;
406
- /**
407
- * 文本方向
408
- * 控制应用界面的文本阅读方向
409
- * - 'auto': 自动检测(根据 lang 或系统设置)
410
- * - 'ltr': 从左到右(适用于大多数语言)
411
- * - 'rtl': 从右到左(适用于阿拉伯语、希伯来语等)
412
- * @default "auto"
413
- * @example "ltr"
414
- * @example "rtl"
415
- */
416
- dir?: Dir;
417
410
  /**
418
411
  * 显示模式
419
412
  * @description 控制应用在用户设备上的呈现方式
@@ -539,19 +532,20 @@ export interface WebManifest {
539
532
  */
540
533
  screenshots?: Screenshot[];
541
534
  /**
542
- * 内容资源列表
543
- * PWABuilder扩展字段,用于指定应用的内容资源
544
- * 通常用于离线缓存或预加载
545
- * @example ["/offline.html", "/styles.css"]
546
- */
547
- content_assets?: string[];
548
- /**
549
- * Edge侧边栏配置
535
+ * 配置应用在 Microsoft Edge 浏览器侧边栏中的显示方式
550
536
  * Microsoft Edge浏览器特有的扩展功能
551
- * 用于配置应用在Edge浏览器侧边栏中的显示方式
537
+ * @see https://docs.pwabuilder.com/#/builder/manifest?id=edge_side_panel
552
538
  * @example { preferred_width: 400 }
553
539
  */
554
- edge_side_panel?: EdgeSidePanel;
540
+ edge_side_panel?: {
541
+ /**
542
+ * 侧边栏的首选宽度(像素)
543
+ * 建议值:320-1024 像素
544
+ * 如果未指定,浏览器将使用默认宽度
545
+ * @example 600
546
+ */
547
+ preferred_width?: number;
548
+ };
555
549
  /**
556
550
  * 分享目标配置
557
551
  * 允许应用出现在系统的分享菜单中,接收来自其他应用的内容
@@ -1,4 +1,5 @@
1
1
  import { type AppType, type Framework } from './index.mjs';
2
+ export declare const packageJson: any;
2
3
  export declare const IS_WINDOW: boolean;
3
4
  export declare const APPTYPE: AppType;
4
5
  export declare const FRAMEWORK: Framework;
@@ -20,7 +21,6 @@ export declare const jsxImportSource: string;
20
21
  export declare const framework: 'react' | 'solid-js';
21
22
  export declare const frameworkVersionStr: string;
22
23
  export declare const frameworkVersion: number;
23
- export declare const packageJson: any;
24
24
  /** 应用名称 */
25
25
  export declare const PACKAGENAME: string;
26
26
  export declare const projectNameCamelCase: string;
@@ -1 +1 @@
1
- import o from"node:process";import e from"./commom/has-pkg.mjs";import r from"./commom/is-ci-environment.mjs";import{CUSTOMCONFIG as s}from"./commom/paths.mjs";import{readJson as t}from"./commom/read-json.mjs";import{convertToCamelCase as c,digest as p}from"./utils/index.mjs";export const IS_WINDOW="win32"===o.platform;export const APPTYPE=o.env.APPTYPE;export const FRAMEWORK=o.env.FRAMEWORK;export const NODE_ENV=o.env.NODE_ENV;export const isLibrary="library"===APPTYPE;export const isMicro="micro"===APPTYPE;export const isMobile="mobile"===APPTYPE;export const isReact="react"===FRAMEWORK;export const isSolid="solid"===FRAMEWORK;export const SSR="true"===o.env.SSR;export const app_schema="app";export const virtual_schema="vm";export const docs_schema="docs";export const example_schema="example";export const scope_schema="scope";export const mainDirectory=isLibrary?"site":"src";export const jsxImportSource={react:"react",solid:"solid-js/h"}[FRAMEWORK];export const framework={react:"react",solid:"solid-js"}[FRAMEWORK];export const frameworkVersionStr=framework?t(`${framework}/package.json`).version:19;export const frameworkVersion=parseFloat(frameworkVersionStr);export const packageJson=t(`${o.cwd()}/package.json`);delete packageJson.scripts;export const PACKAGENAME=packageJson.name;export const projectNameCamelCase=c(PACKAGENAME);export const coreName="@moneko/core";export const isDev="development"===NODE_ENV;export const refresh=!!(isDev&&e("solid"===FRAMEWORK?"solid-refresh":"react-refresh"));export const isCI=r();export const CACHE_NAME=p(`${PACKAGENAME}${s}${NODE_ENV}${o.argv[2]}`);
1
+ import o from"node:process";import e from"./commom/has-pkg.mjs";import r from"./commom/is-ci-environment.mjs";import{CUSTOMCONFIG as s}from"./commom/paths.mjs";import{readJson as t}from"./commom/read-json.mjs";import{convertToCamelCase as c,digest as p}from"./utils/index.mjs";export const packageJson=t(`${o.cwd()}/package.json`);delete packageJson.scripts;export const IS_WINDOW="win32"===o.platform;export const APPTYPE=o.env.APPTYPE;export const FRAMEWORK=o.env.FRAMEWORK??"react";export const NODE_ENV=o.env.NODE_ENV;export const isLibrary="library"===APPTYPE;export const isMicro="micro"===APPTYPE;export const isMobile="mobile"===APPTYPE;export const isReact="react"===FRAMEWORK;export const isSolid="solid"===FRAMEWORK;export const SSR="true"===o.env.SSR;export const app_schema="app";export const virtual_schema="vm";export const docs_schema="docs";export const example_schema="example";export const scope_schema="scope";export const mainDirectory=isLibrary?"site":"src";export const jsxImportSource={react:"react",solid:"solid-js/h"}[FRAMEWORK];export const framework={react:"react",solid:"solid-js"}[FRAMEWORK];export const frameworkVersionStr=framework?t(`${framework}/package.json`).version:19;export const frameworkVersion=parseFloat(frameworkVersionStr);export const PACKAGENAME=packageJson.name;export const projectNameCamelCase=c(PACKAGENAME);export const coreName="@moneko/core";export const isDev="development"===NODE_ENV;export const refresh=!!(isDev&&e("solid"===FRAMEWORK?"solid-refresh":"react-refresh"));export const isCI=r();export const CACHE_NAME=p(`${PACKAGENAME}${s}${NODE_ENV}${o.argv[2]}`);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@moneko/core",
3
- "version": "4.1.3",
3
+ "version": "4.1.4",
4
4
  "description": "core",
5
5
  "main": "lib/index.mjs",
6
6
  "type": "module",
@@ -137,7 +137,7 @@
137
137
  "@moneko/transform-imports": "1.3.1",
138
138
  "@moneko/utils": "0.3.3",
139
139
  "@swc/core": "1.15.3",
140
- "browserslist": "4.28.0",
140
+ "browserslist": "4.28.1",
141
141
  "core-js": "3.47.0",
142
142
  "core-js-compat": "3.47.0",
143
143
  "husky": "9.1.7",
@@ -145,7 +145,7 @@
145
145
  "less-loader": "12.3.0",
146
146
  "lightningcss": "1.30.2",
147
147
  "marked-completed": "1.2.14",
148
- "memfs": "4.51.0",
148
+ "memfs": "4.51.1",
149
149
  "swc-loader": "0.2.6",
150
150
  "typescript": "5.9.3",
151
151
  "webpack": "5.103.0",
@@ -158,11 +158,11 @@
158
158
  "@types/stylis": "4.2.7",
159
159
  "@types/webpack-bundle-analyzer": "4.7.0",
160
160
  "@types/webpack-hot-middleware": "2.25.12",
161
- "sass": "1.94.2",
161
+ "sass": "1.96.0",
162
162
  "sass-loader": "16.0.6",
163
163
  "solid-refresh": "0.7.5",
164
164
  "stylis": "4.3.6",
165
- "webpack-bundle-analyzer": "5.0.1"
165
+ "webpack-bundle-analyzer": "5.1.0"
166
166
  },
167
167
  "publishConfig": {
168
168
  "access": "public",
@@ -18,7 +18,7 @@ import type {
18
18
 
19
19
  import type { CopyPluginOption } from '../lib/plugin/copy.mjs';
20
20
  import type { DonePluginOption } from '../lib/plugin/done.mjs';
21
- import type { ManifestPluginOption } from '../lib/plugin/manifest.mjs';
21
+ import type { ManifestPluginOption } from '../lib/plugin/manifest/index.mjs';
22
22
 
23
23
  import type { BundleAnalyzerOption } from './bundle-analyzer.d.ts';
24
24
  import type { ESLintOption } from '../lib/plugin/eslint.mjs';