weapp-vite 7.0.2 → 7.0.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.
- package/dist/auto-routes.d.mts +3 -3
- package/dist/auto-routes.mjs +1 -1
- package/dist/cli.mjs +3 -3
- package/dist/{config-Fg6rCCMb.d.mts → config-CauTwk-D.d.mts} +1 -3
- package/dist/config.d.mts +1 -1
- package/dist/{createContext-DDhnklA6.mjs → createContext-yEgPVvkx.mjs} +3 -2
- package/dist/docs/ai-workflows.md +6 -0
- package/dist/docs/wevu-authoring.md +1 -1
- package/dist/eslint.d.mts +2 -2
- package/dist/eslint.mjs +2 -2
- package/dist/file-DvrWhjGO.mjs +2 -0
- package/dist/{file-B34zY0ET.mjs → file-Wzy2lXLu.mjs} +1 -1
- package/dist/getInstance-BkbjqprX.mjs +2 -0
- package/dist/i18n.d.mts +5 -5
- package/dist/index.d.mts +3 -3
- package/dist/index.mjs +1 -1
- package/dist/json.d.mts +1 -1
- package/dist/mcp.d.mts +9 -9
- package/dist/test.d.mts +7 -8
- package/dist/test.mjs +1 -1
- package/dist/types.d.mts +1 -1
- package/package.json +12 -12
- package/dist/file-pxD6pTOO.mjs +0 -2
- package/dist/getInstance-2DtlgqE-.mjs +0 -2
package/dist/auto-routes.d.mts
CHANGED
|
@@ -4,15 +4,15 @@ declare const routes: AutoRoutes;
|
|
|
4
4
|
declare const pages: string[];
|
|
5
5
|
declare const entries: string[];
|
|
6
6
|
declare const subPackages: AutoRoutesSubPackage[];
|
|
7
|
-
interface AutoRoutesMiniProgramRouter {
|
|
7
|
+
export interface AutoRoutesMiniProgramRouter {
|
|
8
8
|
switchTab: (option: Record<string, any>) => unknown;
|
|
9
9
|
reLaunch: (option: Record<string, any>) => unknown;
|
|
10
10
|
redirectTo: (option: Record<string, any>) => unknown;
|
|
11
11
|
navigateTo: (option: Record<string, any>) => unknown;
|
|
12
12
|
navigateBack: (option?: Record<string, any>) => unknown;
|
|
13
13
|
}
|
|
14
|
-
type AutoRoutesWxRouter = AutoRoutesMiniProgramRouter;
|
|
14
|
+
export type AutoRoutesWxRouter = AutoRoutesMiniProgramRouter;
|
|
15
15
|
declare const miniProgramRouter: AutoRoutesMiniProgramRouter;
|
|
16
16
|
declare const wxRouter: AutoRoutesWxRouter;
|
|
17
17
|
//#endregion
|
|
18
|
-
export { type AutoRoutes,
|
|
18
|
+
export { type AutoRoutes, type AutoRoutesSubPackage, routes as default, routes, entries, miniProgramRouter, pages, subPackages, wxRouter };
|
package/dist/auto-routes.mjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { n as getCompilerContext, y as getRouteRuntimeGlobalKeys } from "./createContext-
|
|
1
|
+
import { n as getCompilerContext, y as getRouteRuntimeGlobalKeys } from "./createContext-yEgPVvkx.mjs";
|
|
2
2
|
//#region src/auto-routes.ts
|
|
3
3
|
const ROUTE_RUNTIME_OVERRIDE_KEY = Symbol.for("weapp-vite.route-runtime");
|
|
4
4
|
function createGetter(resolver) {
|
package/dist/cli.mjs
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { A as getDefaultIdeProjectRoot, C as collectPreloadPages, D as loadViteConfigFile, E as suggestPreloadRules, M as isPathInside, O as createCjsConfigLoadError, S as getProjectConfigFileName, T as resolvePreloadPackageIdentifier, _ as SHARED_CHUNK_VIRTUAL_PREFIX, a as createGlassEaselAnalyzeResult, b as resolveWeappConfigFile, f as getBackendForCapability, g as createSharedBuildConfig, h as syncManagedTsconfigBootstrapFiles, j as shouldPassPlatformArgToIdeOpen, k as parseCommentJson, m as syncProjectSupportFiles, o as formatBytes, p as resolveBackendExecution, t as createCompilerContext, v as resolveHmrProfileJsonPath, w as findPreloadRuleKey, x as checkRuntime } from "./createContext-
|
|
2
|
-
import { f as VERSION, i as findJsEntry, o as findTemplateEntry, s as findVueEntry } from "./file-
|
|
1
|
+
import { A as getDefaultIdeProjectRoot, C as collectPreloadPages, D as loadViteConfigFile, E as suggestPreloadRules, M as isPathInside, O as createCjsConfigLoadError, S as getProjectConfigFileName, T as resolvePreloadPackageIdentifier, _ as SHARED_CHUNK_VIRTUAL_PREFIX, a as createGlassEaselAnalyzeResult, b as resolveWeappConfigFile, f as getBackendForCapability, g as createSharedBuildConfig, h as syncManagedTsconfigBootstrapFiles, j as shouldPassPlatformArgToIdeOpen, k as parseCommentJson, m as syncProjectSupportFiles, o as formatBytes, p as resolveBackendExecution, t as createCompilerContext, v as resolveHmrProfileJsonPath, w as findPreloadRuleKey, x as checkRuntime } from "./createContext-yEgPVvkx.mjs";
|
|
2
|
+
import { f as VERSION, i as findJsEntry, o as findTemplateEntry, s as findVueEntry } from "./file-Wzy2lXLu.mjs";
|
|
3
3
|
import { r as logger_default, t as colors } from "./logger-mt4mSTqV.mjs";
|
|
4
4
|
import { c as startWeappViteMcpServer, l as detectAiDevelopmentEnvironment, s as resolveWeappMcpConfig } from "./mcp-BG6TliEg.mjs";
|
|
5
5
|
import { createRequire } from "node:module";
|
|
@@ -5044,7 +5044,7 @@ function resolveRunnableHotkeyDefinition(input) {
|
|
|
5044
5044
|
}
|
|
5045
5045
|
//#endregion
|
|
5046
5046
|
//#region package.json
|
|
5047
|
-
var version = "7.0.
|
|
5047
|
+
var version = "7.0.4";
|
|
5048
5048
|
//#endregion
|
|
5049
5049
|
//#region src/cli/devHotkeys/format.ts
|
|
5050
5050
|
const FULLWIDTH_ASCII_START = 65281;
|
|
@@ -1077,9 +1077,7 @@ interface BuildService {
|
|
|
1077
1077
|
invalidateIndependentOutput: (root: string) => void;
|
|
1078
1078
|
}
|
|
1079
1079
|
//#endregion
|
|
1080
|
-
//#region ../../node_modules/.pnpm/pkg-types@2.3.
|
|
1081
|
-
//#endregion
|
|
1082
|
-
//#region src/packagejson/types.d.ts
|
|
1080
|
+
//#region ../../node_modules/.pnpm/pkg-types@2.3.2/node_modules/pkg-types/dist/index.d.mts
|
|
1083
1081
|
interface PackageJson {
|
|
1084
1082
|
/**
|
|
1085
1083
|
* The name is what your thing is called.
|
package/dist/config.d.mts
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { $n as applyWeappViteHostMeta, Qn as WeappViteHostMeta, Zn as WEAPP_VITE_HOST_NAME, _ as definePageJson, a as UserConfigFnNoEnvPlain, c as UserConfigFnPromise, d as Component, er as createWeappViteHostMeta, f as Page, g as defineComponentJson, h as defineAppJson, i as UserConfigFnNoEnv, l as defineConfig, m as Theme, n as UserConfigExport, nr as resolveWeappViteHostMeta, o as UserConfigFnObject, ot as WeappViteConfig, p as Sitemap, r as UserConfigFn, s as UserConfigFnObjectPlain, sr as WeappViteRuntime, t as UserConfig, tr as isWeappViteHost, u as App, v as defineSitemapJson, y as defineThemeJson } from "./config-
|
|
1
|
+
import { $n as applyWeappViteHostMeta, Qn as WeappViteHostMeta, Zn as WEAPP_VITE_HOST_NAME, _ as definePageJson, a as UserConfigFnNoEnvPlain, c as UserConfigFnPromise, d as Component, er as createWeappViteHostMeta, f as Page, g as defineComponentJson, h as defineAppJson, i as UserConfigFnNoEnv, l as defineConfig, m as Theme, n as UserConfigExport, nr as resolveWeappViteHostMeta, o as UserConfigFnObject, ot as WeappViteConfig, p as Sitemap, r as UserConfigFn, s as UserConfigFnObjectPlain, sr as WeappViteRuntime, t as UserConfig, tr as isWeappViteHost, u as App, v as defineSitemapJson, y as defineThemeJson } from "./config-CauTwk-D.mjs";
|
|
2
2
|
import { t as WeappI18nConfig } from "./types-CgZn5X6j.mjs";
|
|
3
3
|
export { type App, type Component, type Page, type Sitemap, type Theme, UserConfig, UserConfigExport, UserConfigFn, UserConfigFnNoEnv, UserConfigFnNoEnvPlain, UserConfigFnObject, UserConfigFnObjectPlain, UserConfigFnPromise, WEAPP_VITE_HOST_NAME, type WeappI18nConfig, type WeappViteConfig, WeappViteHostMeta, type WeappViteRuntime, applyWeappViteHostMeta, createWeappViteHostMeta, defineAppJson, defineComponentJson, defineConfig, definePageJson, defineSitemapJson, defineThemeJson, isWeappViteHost, resolveWeappViteHostMeta };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { n as applyWeappViteHostMeta } from "./pluginHost--CaeyWpA.mjs";
|
|
2
|
-
import { C as inlineAutoRoutesImports, T as MINI_PROGRAM_PLATFORM_ADAPTERS, _ as templateExtensions, a as findJsonEntry, b as isNativeTemplateSource, c as isJsOrTs, d as touch, g as supportedCssLangs, h as scriptExtensions, i as findJsEntry, l as isTemplate, m as jsExtensions, n as changeFileExtension, o as findTemplateEntry, p as configExtensions, r as findCssEntry, s as findVueEntry, t as extractConfigFromVue, v as vueExtensions, x as isSourceStyleExtension, y as ALL_NATIVE_STYLE_RESOLVER_EXTENSIONS } from "./file-
|
|
2
|
+
import { C as inlineAutoRoutesImports, T as MINI_PROGRAM_PLATFORM_ADAPTERS, _ as templateExtensions, a as findJsonEntry, b as isNativeTemplateSource, c as isJsOrTs, d as touch, g as supportedCssLangs, h as scriptExtensions, i as findJsEntry, l as isTemplate, m as jsExtensions, n as changeFileExtension, o as findTemplateEntry, p as configExtensions, r as findCssEntry, s as findVueEntry, t as extractConfigFromVue, v as vueExtensions, x as isSourceStyleExtension, y as ALL_NATIVE_STYLE_RESOLVER_EXTENSIONS } from "./file-Wzy2lXLu.mjs";
|
|
3
3
|
import { n as configureLogger, r as logger_default } from "./logger-mt4mSTqV.mjs";
|
|
4
4
|
import { createRequire, isBuiltin } from "node:module";
|
|
5
5
|
import { createDebug } from "obug";
|
|
@@ -16677,6 +16677,7 @@ function createBuildService(ctx) {
|
|
|
16677
16677
|
rebuild: async (files) => {
|
|
16678
16678
|
for (const file of files) invalidateFileCache(file);
|
|
16679
16679
|
resetRuntimeStateForFreshBuild(ctx.runtimeState);
|
|
16680
|
+
resetEmittedOutputCaches(ctx.runtimeState);
|
|
16680
16681
|
await configService.load(configService.loadOptions);
|
|
16681
16682
|
await scanService.loadAppEntry();
|
|
16682
16683
|
scanService.loadSubPackages();
|
|
@@ -35222,7 +35223,7 @@ async function loadAppEntry(ctx, scanState) {
|
|
|
35222
35223
|
const { path: appEntryPath } = appEntry;
|
|
35223
35224
|
let configFromVue;
|
|
35224
35225
|
if (!appConfigFile && vueAppPath) {
|
|
35225
|
-
const { extractConfigFromVue } = await import("./file-
|
|
35226
|
+
const { extractConfigFromVue } = await import("./file-DvrWhjGO.mjs");
|
|
35226
35227
|
configFromVue = await extractConfigFromVue(vueAppPath);
|
|
35227
35228
|
if (configFromVue) appConfigFile = vueAppPath;
|
|
35228
35229
|
}
|
|
@@ -22,6 +22,12 @@
|
|
|
22
22
|
2. `node_modules/weapp-vite/dist/docs/*.md`
|
|
23
23
|
3. 当前仓库实际代码与 `vite.config.ts`
|
|
24
24
|
|
|
25
|
+
## 小程序宿主能力验证
|
|
26
|
+
|
|
27
|
+
不要根据浏览器、Node.js、类型声明或 headless simulator 推断 AppService 能力。新增 `queueMicrotask`、Web API、DOM/Node 全局或现代内建前,先在目标平台真实 IDE、目标基础库和 renderer 中验证存在性及最小调用语义。
|
|
28
|
+
|
|
29
|
+
微信不同运行时版本不能统一假定存在 `queueMicrotask`。业务代码应通过共享 ESLint 配置统一接入 `@weapp-vite/eslint` 的 `miniProgramRuntimeRecommended`,模板不要单独增加 workspace 依赖;框架代码应使用显式兼容层,需要 request globals 时明确配置 `weapp.appPrelude.webRuntime`。
|
|
30
|
+
|
|
25
31
|
## Rust / Native 加速约束
|
|
26
32
|
|
|
27
33
|
当任务涉及 `@weapp-vite/ast-native`、Rust 插件或 native AST 加速时,先把 JS 与 Rust 的通信次数当作主要性能约束之一。
|
|
@@ -40,7 +40,7 @@
|
|
|
40
40
|
|
|
41
41
|
## 静态兼容检查
|
|
42
42
|
|
|
43
|
-
Wevu
|
|
43
|
+
Wevu 项目应通过共享 ESLint 配置统一接入 `@weapp-vite/eslint` 的 `wevuCompatibilityRecommended` 与 `miniProgramRuntimeRecommended`,模板不要单独增加 workspace 依赖。前者检查 Vue 生态兼容性,后者禁止不可移植的 DOM/Node 全局和现代内建,并警告必须通过 `weapp.appPrelude.webRuntime` 或显式兼容层提供的 API。不要假定微信运行时存在 `queueMicrotask`;新增宿主 API 前要在目标真实 IDE AppService、基础库和 renderer 中探测。旧项目可继续使用 `weapp-vite/eslint` 兼容入口。
|
|
44
44
|
|
|
45
45
|
## 什么时候看这篇
|
|
46
46
|
|
package/dist/eslint.d.mts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { wevuCompatibilityPlugin, wevuCompatibilityRecommended } from "@weapp-vite/eslint";
|
|
2
|
-
export { wevuCompatibilityPlugin, wevuCompatibilityRecommended };
|
|
1
|
+
import { MiniProgramRuntimeApiDiagnostic, MiniProgramRuntimeApiEntry, MiniProgramRuntimeApiKind, MiniProgramRuntimeApiSupport, MiniProgramRuntimeConfigOptions, createMiniProgramRuntimeConfig, miniProgramRuntimeApiCatalog, miniProgramRuntimePlugin, miniProgramRuntimeRecommended, wevuCompatibilityPlugin, wevuCompatibilityRecommended } from "@weapp-vite/eslint";
|
|
2
|
+
export { type MiniProgramRuntimeApiDiagnostic, type MiniProgramRuntimeApiEntry, type MiniProgramRuntimeApiKind, type MiniProgramRuntimeApiSupport, type MiniProgramRuntimeConfigOptions, createMiniProgramRuntimeConfig, miniProgramRuntimeApiCatalog, miniProgramRuntimePlugin, miniProgramRuntimeRecommended, wevuCompatibilityPlugin, wevuCompatibilityRecommended };
|
package/dist/eslint.mjs
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { wevuCompatibilityPlugin, wevuCompatibilityRecommended } from "@weapp-vite/eslint";
|
|
2
|
-
export { wevuCompatibilityPlugin, wevuCompatibilityRecommended };
|
|
1
|
+
import { createMiniProgramRuntimeConfig, miniProgramRuntimeApiCatalog, miniProgramRuntimePlugin, miniProgramRuntimeRecommended, wevuCompatibilityPlugin, wevuCompatibilityRecommended } from "@weapp-vite/eslint";
|
|
2
|
+
export { createMiniProgramRuntimeConfig, miniProgramRuntimeApiCatalog, miniProgramRuntimePlugin, miniProgramRuntimeRecommended, wevuCompatibilityPlugin, wevuCompatibilityRecommended };
|
|
@@ -51,7 +51,7 @@ function resolveAutoRoutesMacroImportPath() {
|
|
|
51
51
|
}
|
|
52
52
|
async function resolveAutoRoutesInlineSnapshot() {
|
|
53
53
|
try {
|
|
54
|
-
const { getCompilerContext } = await import("./getInstance-
|
|
54
|
+
const { getCompilerContext } = await import("./getInstance-BkbjqprX.mjs");
|
|
55
55
|
const compilerContext = getCompilerContext();
|
|
56
56
|
const service = compilerContext.autoRoutesService;
|
|
57
57
|
const reference = service?.getReference?.();
|
package/dist/i18n.d.mts
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { t as WeappI18nConfig } from "./types-CgZn5X6j.mjs";
|
|
2
2
|
import { I18nGlobal, I18nGlobal as I18nGlobal$1, I18nInstance, I18nInstance as I18nInstance$1, I18nLocaleChangeSubscription } from "@weapp-vite/i18n";
|
|
3
3
|
//#region src/i18n.d.ts
|
|
4
|
-
declare const behavior: I18nInstance$1["behavior"];
|
|
5
|
-
declare const i18n: I18nInstance$1;
|
|
6
|
-
declare const global: I18nGlobal$1;
|
|
7
|
-
declare const page: typeof Page;
|
|
4
|
+
export declare const behavior: I18nInstance$1["behavior"];
|
|
5
|
+
export declare const i18n: I18nInstance$1;
|
|
6
|
+
export declare const global: I18nGlobal$1;
|
|
7
|
+
export declare const page: typeof Page;
|
|
8
8
|
//#endregion
|
|
9
|
-
export {
|
|
9
|
+
export type { I18nGlobal, I18nInstance, I18nLocaleChangeSubscription, WeappI18nConfig };
|
package/dist/index.d.mts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { $n as applyWeappViteHostMeta, A as Ref, C as LoadConfigOptions, D as MethodDefinitions, E as InlineConfig, F as RolldownPlugin, I as RolldownPluginOption, L as RolldownWatchOptions, M as RolldownBuild, N as RolldownOptions, O as Plugin, P as RolldownOutput, Qn as WeappViteHostMeta, R as RolldownWatcher, S as CompilerContext, T as ConfigEnv, Zn as WEAPP_VITE_HOST_NAME, _ as definePageJson, a as UserConfigFnNoEnvPlain, ar as WEB_PLATFORM_ALIASES, c as UserConfigFnPromise, cr as WeappViteTargetDescriptor, d as Component, dr as WebPlatform, er as createWeappViteHostMeta, f as Page, fr as getSupportedWeappVitePlatforms, g as defineComponentJson, h as defineAppJson, hr as resolveWeappViteTarget, i as UserConfigFnNoEnv, ir as ResolvedWeappViteTarget, j as ResolvedConfig, k as PluginOption, l as defineConfig, lr as WeappViteTargetInput, m as Theme, mr as isWebPlatform, n as UserConfigExport, nr as resolveWeappViteHostMeta, o as UserConfigFnObject, or as WeappVitePlatform, ot as WeappViteConfig, p as Sitemap, pr as getSupportedWeappViteTargetDescriptors, r as UserConfigFn, rr as ResolveWeappViteTargetOptions, s as UserConfigFnObjectPlain, sr as WeappViteRuntime, t as UserConfig, tr as isWeappViteHost, u as App, ur as WeappViteTargetKind, v as defineSitemapJson, w as ComputedDefinitions, y as defineThemeJson, z as ViteDevServer } from "./config-
|
|
1
|
+
import { $n as applyWeappViteHostMeta, A as Ref, C as LoadConfigOptions, D as MethodDefinitions, E as InlineConfig, F as RolldownPlugin, I as RolldownPluginOption, L as RolldownWatchOptions, M as RolldownBuild, N as RolldownOptions, O as Plugin, P as RolldownOutput, Qn as WeappViteHostMeta, R as RolldownWatcher, S as CompilerContext, T as ConfigEnv, Zn as WEAPP_VITE_HOST_NAME, _ as definePageJson, a as UserConfigFnNoEnvPlain, ar as WEB_PLATFORM_ALIASES, c as UserConfigFnPromise, cr as WeappViteTargetDescriptor, d as Component, dr as WebPlatform, er as createWeappViteHostMeta, f as Page, fr as getSupportedWeappVitePlatforms, g as defineComponentJson, h as defineAppJson, hr as resolveWeappViteTarget, i as UserConfigFnNoEnv, ir as ResolvedWeappViteTarget, j as ResolvedConfig, k as PluginOption, l as defineConfig, lr as WeappViteTargetInput, m as Theme, mr as isWebPlatform, n as UserConfigExport, nr as resolveWeappViteHostMeta, o as UserConfigFnObject, or as WeappVitePlatform, ot as WeappViteConfig, p as Sitemap, pr as getSupportedWeappViteTargetDescriptors, r as UserConfigFn, rr as ResolveWeappViteTargetOptions, s as UserConfigFnObjectPlain, sr as WeappViteRuntime, t as UserConfig, tr as isWeappViteHost, u as App, ur as WeappViteTargetKind, v as defineSitemapJson, w as ComputedDefinitions, y as defineThemeJson, z as ViteDevServer } from "./config-CauTwk-D.mjs";
|
|
2
2
|
import { t as WeappI18nConfig } from "./types-CgZn5X6j.mjs";
|
|
3
3
|
import { a as LayoutHostContext, c as LayoutHostResolver, d as unregisterLayoutHosts, f as waitForLayoutHost, i as LayoutHostBridge, l as registerLayoutHosts, m as createWevuComponent, n as defineProps, o as LayoutHostEntry, p as WevuComponentOptions, r as setPageLayout, s as LayoutHostResolveOptions, t as defineEmits, u as resolveLayoutHost } from "./runtime-Ee2HY6gR.mjs";
|
|
4
4
|
//#region src/createContext.d.ts
|
|
@@ -11,6 +11,6 @@ interface CreateCompilerContextOptions extends Partial<LoadConfigOptions> {
|
|
|
11
11
|
/**
|
|
12
12
|
* @description 创建并初始化编译上下文(加载配置、扫描入口)
|
|
13
13
|
*/
|
|
14
|
-
declare function createCompilerContext(options?: CreateCompilerContextOptions): Promise<CompilerContext>;
|
|
14
|
+
export declare function createCompilerContext(options?: CreateCompilerContextOptions): Promise<CompilerContext>;
|
|
15
15
|
//#endregion
|
|
16
|
-
export { type App, type Component, type ComputedDefinitions, type ConfigEnv, type InlineConfig, type LayoutHostBridge, type LayoutHostContext, type LayoutHostEntry, type LayoutHostResolveOptions, type LayoutHostResolver, type MethodDefinitions, type Page, type Plugin, type PluginOption, type Ref, ResolveWeappViteTargetOptions, type ResolvedConfig, ResolvedWeappViteTarget, type RolldownBuild, type RolldownOptions, type RolldownOutput, type RolldownPlugin, type RolldownPluginOption, type RolldownWatchOptions, type RolldownWatcher, type Sitemap, type Theme, UserConfig, UserConfigExport, UserConfigFn, UserConfigFnNoEnv, UserConfigFnNoEnvPlain, UserConfigFnObject, UserConfigFnObjectPlain, UserConfigFnPromise, type ViteDevServer, WEAPP_VITE_HOST_NAME, WEB_PLATFORM_ALIASES, type WeappI18nConfig, type WeappViteConfig, WeappViteHostMeta, WeappVitePlatform, WeappViteRuntime, WeappViteTargetDescriptor, WeappViteTargetInput, WeappViteTargetKind, WebPlatform, type WevuComponentOptions, applyWeappViteHostMeta,
|
|
16
|
+
export { type App, type Component, type ComputedDefinitions, type ConfigEnv, type InlineConfig, type LayoutHostBridge, type LayoutHostContext, type LayoutHostEntry, type LayoutHostResolveOptions, type LayoutHostResolver, type MethodDefinitions, type Page, type Plugin, type PluginOption, type Ref, ResolveWeappViteTargetOptions, type ResolvedConfig, ResolvedWeappViteTarget, type RolldownBuild, type RolldownOptions, type RolldownOutput, type RolldownPlugin, type RolldownPluginOption, type RolldownWatchOptions, type RolldownWatcher, type Sitemap, type Theme, UserConfig, UserConfigExport, UserConfigFn, UserConfigFnNoEnv, UserConfigFnNoEnvPlain, UserConfigFnObject, UserConfigFnObjectPlain, UserConfigFnPromise, type ViteDevServer, WEAPP_VITE_HOST_NAME, WEB_PLATFORM_ALIASES, type WeappI18nConfig, type WeappViteConfig, WeappViteHostMeta, WeappVitePlatform, WeappViteRuntime, WeappViteTargetDescriptor, WeappViteTargetInput, WeappViteTargetKind, WebPlatform, type WevuComponentOptions, applyWeappViteHostMeta, createWeappViteHostMeta, createWevuComponent, defineAppJson, defineComponentJson, defineConfig, defineEmits, definePageJson, defineProps, defineSitemapJson, defineThemeJson, getSupportedWeappVitePlatforms, getSupportedWeappViteTargetDescriptors, isWeappViteHost, isWebPlatform, registerLayoutHosts, resolveLayoutHost, resolveWeappViteHostMeta, resolveWeappViteTarget, setPageLayout, unregisterLayoutHosts, waitForLayoutHost };
|
package/dist/index.mjs
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { a as defineThemeJson, i as defineSitemapJson, n as defineComponentJson, r as definePageJson, t as defineAppJson } from "./json-BL8Dhhk6.mjs";
|
|
2
2
|
import { a as resolveWeappViteHostMeta, i as isWeappViteHost, n as applyWeappViteHostMeta, r as createWeappViteHostMeta, t as WEAPP_VITE_HOST_NAME } from "./pluginHost--CaeyWpA.mjs";
|
|
3
3
|
import { t as defineConfig } from "./config-DRGcCi3h.mjs";
|
|
4
|
-
import { c as getSupportedWeappVitePlatforms, d as resolveWeappViteTarget, l as getSupportedWeappViteTargetDescriptors, s as WEB_PLATFORM_ALIASES, t as createCompilerContext, u as isWebPlatform } from "./createContext-
|
|
4
|
+
import { c as getSupportedWeappVitePlatforms, d as resolveWeappViteTarget, l as getSupportedWeappViteTargetDescriptors, s as WEB_PLATFORM_ALIASES, t as createCompilerContext, u as isWebPlatform } from "./createContext-yEgPVvkx.mjs";
|
|
5
5
|
import { a as resolveLayoutHost, c as createWevuComponent, i as registerLayoutHosts, n as defineProps, o as unregisterLayoutHosts, r as setPageLayout, s as waitForLayoutHost, t as defineEmits } from "./runtime-D6VCNhNY.mjs";
|
|
6
6
|
export { WEAPP_VITE_HOST_NAME, WEB_PLATFORM_ALIASES, applyWeappViteHostMeta, createCompilerContext, createWeappViteHostMeta, createWevuComponent, defineAppJson, defineComponentJson, defineConfig, defineEmits, definePageJson, defineProps, defineSitemapJson, defineThemeJson, getSupportedWeappVitePlatforms, getSupportedWeappViteTargetDescriptors, isWeappViteHost, isWebPlatform, registerLayoutHosts, resolveLayoutHost, resolveWeappViteHostMeta, resolveWeappViteTarget, setPageLayout, unregisterLayoutHosts, waitForLayoutHost };
|
package/dist/json.d.mts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { _ as definePageJson, d as Component, f as Page, g as defineComponentJson, h as defineAppJson, m as Theme, p as Sitemap, u as App, v as defineSitemapJson, y as defineThemeJson } from "./config-
|
|
1
|
+
import { _ as definePageJson, d as Component, f as Page, g as defineComponentJson, h as defineAppJson, m as Theme, p as Sitemap, u as App, v as defineSitemapJson, y as defineThemeJson } from "./config-CauTwk-D.mjs";
|
|
2
2
|
export { type App, type Component, type Page, type Sitemap, type Theme, defineAppJson, defineComponentJson, definePageJson, defineSitemapJson, defineThemeJson };
|
package/dist/mcp.d.mts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { Dt as WeappMcpConfig } from "./config-
|
|
1
|
+
import { Dt as WeappMcpConfig } from "./config-CauTwk-D.mjs";
|
|
2
2
|
import { CreateServerOptions, DEFAULT_MCP_ENDPOINT, DEFAULT_MCP_HOST, DEFAULT_MCP_PORT, DEFAULT_RUNTIME_REST_ENDPOINT, McpServerHandle, StartMcpServerOptions, createWeappViteMcpServer } from "@weapp-vite/mcp";
|
|
3
3
|
//#region src/mcp.d.ts
|
|
4
|
-
interface ResolvedWeappMcpConfig {
|
|
4
|
+
export interface ResolvedWeappMcpConfig {
|
|
5
5
|
agentName?: string;
|
|
6
6
|
enabled: boolean;
|
|
7
7
|
autoStart: boolean;
|
|
@@ -10,16 +10,16 @@ interface ResolvedWeappMcpConfig {
|
|
|
10
10
|
endpoint: string;
|
|
11
11
|
restEndpoint: string | false;
|
|
12
12
|
}
|
|
13
|
-
interface WeappViteMcpServerOptions extends StartMcpServerOptions {}
|
|
14
|
-
interface WeappViteMcpServerHandle extends McpServerHandle {}
|
|
15
|
-
interface ResolveWeappMcpConfigOptions {
|
|
13
|
+
export interface WeappViteMcpServerOptions extends StartMcpServerOptions {}
|
|
14
|
+
export interface WeappViteMcpServerHandle extends McpServerHandle {}
|
|
15
|
+
export interface ResolveWeappMcpConfigOptions {
|
|
16
16
|
agentName?: string;
|
|
17
17
|
cwd?: string;
|
|
18
18
|
env?: NodeJS.ProcessEnv;
|
|
19
19
|
isAgent?: boolean;
|
|
20
20
|
}
|
|
21
|
-
declare function resolveProjectMcpPort(projectRoot?: string): number;
|
|
22
|
-
declare function resolveWeappMcpConfig(config?: boolean | WeappMcpConfig, options?: ResolveWeappMcpConfigOptions): ResolvedWeappMcpConfig;
|
|
23
|
-
declare function startWeappViteMcpServer(options?: WeappViteMcpServerOptions): Promise<WeappViteMcpServerHandle>;
|
|
21
|
+
export declare function resolveProjectMcpPort(projectRoot?: string): number;
|
|
22
|
+
export declare function resolveWeappMcpConfig(config?: boolean | WeappMcpConfig, options?: ResolveWeappMcpConfigOptions): ResolvedWeappMcpConfig;
|
|
23
|
+
export declare function startWeappViteMcpServer(options?: WeappViteMcpServerOptions): Promise<WeappViteMcpServerHandle>;
|
|
24
24
|
//#endregion
|
|
25
|
-
export { type CreateServerOptions, DEFAULT_MCP_ENDPOINT, DEFAULT_MCP_HOST, DEFAULT_MCP_PORT, DEFAULT_RUNTIME_REST_ENDPOINT,
|
|
25
|
+
export { type CreateServerOptions, DEFAULT_MCP_ENDPOINT, DEFAULT_MCP_HOST, DEFAULT_MCP_PORT, DEFAULT_RUNTIME_REST_ENDPOINT, createWeappViteMcpServer };
|
package/dist/test.d.mts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
//#region src/testArtifact.d.ts
|
|
2
|
-
interface BuildTestArtifactOptions {
|
|
2
|
+
export interface BuildTestArtifactOptions {
|
|
3
3
|
configFile?: string;
|
|
4
4
|
cwd?: string;
|
|
5
5
|
mode?: string;
|
|
@@ -7,27 +7,26 @@ interface BuildTestArtifactOptions {
|
|
|
7
7
|
projectConfigPath?: string;
|
|
8
8
|
skipNpm?: boolean;
|
|
9
9
|
}
|
|
10
|
-
interface WeappViteTestArtifact {
|
|
10
|
+
export interface WeappViteTestArtifact {
|
|
11
11
|
appConfigPath: string;
|
|
12
12
|
miniprogramRootPath: string;
|
|
13
13
|
projectPath: string;
|
|
14
14
|
sourceRootPath: string;
|
|
15
15
|
}
|
|
16
|
-
interface WatchTestArtifactOptions extends BuildTestArtifactOptions {
|
|
16
|
+
export interface WatchTestArtifactOptions extends BuildTestArtifactOptions {
|
|
17
17
|
onError?: (error: unknown) => void;
|
|
18
18
|
onRebuilt?: (artifact: WeappViteTestArtifact) => void | Promise<void>;
|
|
19
19
|
}
|
|
20
|
-
interface WeappViteTestArtifactWatcher {
|
|
20
|
+
export interface WeappViteTestArtifactWatcher {
|
|
21
21
|
artifact: WeappViteTestArtifact;
|
|
22
22
|
close: () => Promise<void>;
|
|
23
23
|
rebuild: () => Promise<WeappViteTestArtifact>;
|
|
24
24
|
}
|
|
25
|
-
declare function buildTestArtifact(options?: BuildTestArtifactOptions): Promise<{
|
|
25
|
+
export declare function buildTestArtifact(options?: BuildTestArtifactOptions): Promise<{
|
|
26
26
|
appConfigPath: string;
|
|
27
27
|
miniprogramRootPath: string;
|
|
28
28
|
projectPath: string;
|
|
29
29
|
sourceRootPath: string;
|
|
30
30
|
}>;
|
|
31
|
-
declare function watchTestArtifact(options?: WatchTestArtifactOptions): Promise<WeappViteTestArtifactWatcher>;
|
|
32
|
-
//#endregion
|
|
33
|
-
export { BuildTestArtifactOptions, WatchTestArtifactOptions, WeappViteTestArtifact, WeappViteTestArtifactWatcher, buildTestArtifact, watchTestArtifact };
|
|
31
|
+
export declare function watchTestArtifact(options?: WatchTestArtifactOptions): Promise<WeappViteTestArtifactWatcher>;
|
|
32
|
+
//#endregion
|
package/dist/test.mjs
CHANGED
package/dist/types.d.mts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { f as Resolver } from "./index-CaXAtb9e.mjs";
|
|
2
2
|
import { n as AutoRoutesSubPackage, t as AutoRoutes } from "./routes-C7fCmf92.mjs";
|
|
3
|
-
import { $ as WeappAnalyzeBudgetConfig, $t as GenerateFileType, A as Ref, An as StyleConfigObject, At as WeappPreloadRule, B as BindingErrorLike, Bn as WeappLibDtsOptions, Bt as WeappWebRuntimeConfig, Cn as NpmSubPackageConfig, Ct as WeappInjectRequestGlobalsTarget, D as MethodDefinitions, Dn as SharedChunkOverride, Dt as WeappMcpConfig, E as InlineConfig, En as SharedChunkMode, Et as WeappInjectWebRuntimeGlobalsTarget, F as RolldownPlugin, Fn as SubPackageStyleConfigObject, Ft as WeappRouteRules, G as EntryJsonFragment, Gn as WeappManagedAppTsconfigConfig, Gt as AlipayNpmMode, H as BaseEntry, Hn as WeappLibFileName, Ht as WeappWorkerConfig, I as RolldownPluginOption, In as SubPackageStyleEntry, It as WeappSubPackageConfig, J as ScanComponentItem, Jn as WeappManagedSharedTsconfigConfig, Jt as CopyGlobs, K as PageEntry, Kn as WeappManagedNodeTsconfigConfig, Kt as BuildNpmPackageMeta, L as RolldownWatchOptions, Ln as SubPackageStyleScope, Lt as WeappUniAppConfig, M as RolldownBuild, Mn as StyleScope, Mt as WeappReactConfig, N as RolldownOptions, Nn as SubPackage, Nt as WeappRequestRuntimeConfig, O as Plugin, On as SharedChunkStrategy, Ot as WeappNpmConfig, P as RolldownOutput, Pn as SubPackageStyleConfigEntry, Pt as WeappRouteRule, Q as UserConfig, Qn as WeappViteHostMeta, Qt as GenerateExtensionsOptions, R as RolldownWatcher, Rn as WeappLibComponentJson, Rt as WeappVueConfig, Sn as NpmStrategy, St as WeappInjectRequestGlobalsConfig, T as ConfigEnv, Tn as SharedChunkDynamicImports, Tt as WeappInjectWebRuntimeGlobalsConfig, U as ComponentEntry, Un as WeappLibInternalDtsOptions, Ut as Alias, V as AppEntry, Vn as WeappLibEntryContext, Vt as WeappWevuConfig, W as Entry, Wn as WeappLibVueTscOptions, Wt as AliasOptions, X as ProjectConfig, Xn as WeappWebConfig, Xt as DeprecatedInlineDynamicImports, Y as WxmlDep, Yn as WeappManagedTypeScriptConfig, Yt as CopyOptions, Z as SubPackageMetaValue, Zt as GenerateDirsOptions, _n as NpmBuildOptions, _t as WeappAutoRoutesInclude, an as GenerateTemplateFactory, at as WeappTailwindcssOptions, b as ChangeEvent, bn as NpmPackageFilesConfig, bt as WeappBuildScopeObjectConfig, cn as GenerateTemplateScope, ct as AutoImportComponentsOption, dn as JsonConfig, dt as HandleWxmlOptions, en as GenerateFilenamesOptions, et as WeappAnalyzeConfig, fn as JsonMergeContext, ft as MultiPlatformConfig, gn as MpPlatform, gt as WeappAutoRoutesConfig, hn as JsonMergeStrategy, ht as WeappAppPreludeMode, in as GenerateTemplateEntry, it as WeappForwardConsoleLogLevel, j as ResolvedConfig, jn as StyleEntry, jt as WeappReactCompilerConfig, k as PluginOption, kn as StyleConfigEntry, kt as WeappPreloadNetwork, ln as GenerateTemplatesConfig, lt as EnhanceOptions, mn as JsonMergeStage, mt as WeappAppPreludeConfig, nn as GenerateTemplate, nt as WeappDebugConfig, on as GenerateTemplateFileSource, ot as WeappViteConfig, pn as JsonMergeFunction, pt as ScanWxmlOptions, q as ComponentsMap, qn as WeappManagedServerTsconfigConfig, qt as ChunksConfig, rn as GenerateTemplateContext, rt as WeappForwardConsoleConfig, sn as GenerateTemplateInlineSource, sr as WeappViteRuntime, st as AutoImportComponents, tn as GenerateOptions, tt as WeappAnalyzeHistoryConfig, un as JsFormat, ut as EnhanceWxmlOptions, vn as NpmDependencyPattern, vt as WeappAutoRoutesIncludePattern, w as ComputedDefinitions, wn as ResolvedAlias, wt as WeappInjectWeapiConfig, x as WeappVitePluginApi, xn as NpmPluginPackageConfig, xt as WeappHmrConfig, yn as NpmMainPackageConfig, yt as WeappBuildScopeConfig, z as ViteDevServer, zn as WeappLibConfig, zt as WeappVueTemplateConfig } from "./config-
|
|
3
|
+
import { $ as WeappAnalyzeBudgetConfig, $t as GenerateFileType, A as Ref, An as StyleConfigObject, At as WeappPreloadRule, B as BindingErrorLike, Bn as WeappLibDtsOptions, Bt as WeappWebRuntimeConfig, Cn as NpmSubPackageConfig, Ct as WeappInjectRequestGlobalsTarget, D as MethodDefinitions, Dn as SharedChunkOverride, Dt as WeappMcpConfig, E as InlineConfig, En as SharedChunkMode, Et as WeappInjectWebRuntimeGlobalsTarget, F as RolldownPlugin, Fn as SubPackageStyleConfigObject, Ft as WeappRouteRules, G as EntryJsonFragment, Gn as WeappManagedAppTsconfigConfig, Gt as AlipayNpmMode, H as BaseEntry, Hn as WeappLibFileName, Ht as WeappWorkerConfig, I as RolldownPluginOption, In as SubPackageStyleEntry, It as WeappSubPackageConfig, J as ScanComponentItem, Jn as WeappManagedSharedTsconfigConfig, Jt as CopyGlobs, K as PageEntry, Kn as WeappManagedNodeTsconfigConfig, Kt as BuildNpmPackageMeta, L as RolldownWatchOptions, Ln as SubPackageStyleScope, Lt as WeappUniAppConfig, M as RolldownBuild, Mn as StyleScope, Mt as WeappReactConfig, N as RolldownOptions, Nn as SubPackage, Nt as WeappRequestRuntimeConfig, O as Plugin, On as SharedChunkStrategy, Ot as WeappNpmConfig, P as RolldownOutput, Pn as SubPackageStyleConfigEntry, Pt as WeappRouteRule, Q as UserConfig, Qn as WeappViteHostMeta, Qt as GenerateExtensionsOptions, R as RolldownWatcher, Rn as WeappLibComponentJson, Rt as WeappVueConfig, Sn as NpmStrategy, St as WeappInjectRequestGlobalsConfig, T as ConfigEnv, Tn as SharedChunkDynamicImports, Tt as WeappInjectWebRuntimeGlobalsConfig, U as ComponentEntry, Un as WeappLibInternalDtsOptions, Ut as Alias, V as AppEntry, Vn as WeappLibEntryContext, Vt as WeappWevuConfig, W as Entry, Wn as WeappLibVueTscOptions, Wt as AliasOptions, X as ProjectConfig, Xn as WeappWebConfig, Xt as DeprecatedInlineDynamicImports, Y as WxmlDep, Yn as WeappManagedTypeScriptConfig, Yt as CopyOptions, Z as SubPackageMetaValue, Zt as GenerateDirsOptions, _n as NpmBuildOptions, _t as WeappAutoRoutesInclude, an as GenerateTemplateFactory, at as WeappTailwindcssOptions, b as ChangeEvent, bn as NpmPackageFilesConfig, bt as WeappBuildScopeObjectConfig, cn as GenerateTemplateScope, ct as AutoImportComponentsOption, dn as JsonConfig, dt as HandleWxmlOptions, en as GenerateFilenamesOptions, et as WeappAnalyzeConfig, fn as JsonMergeContext, ft as MultiPlatformConfig, gn as MpPlatform, gt as WeappAutoRoutesConfig, hn as JsonMergeStrategy, ht as WeappAppPreludeMode, in as GenerateTemplateEntry, it as WeappForwardConsoleLogLevel, j as ResolvedConfig, jn as StyleEntry, jt as WeappReactCompilerConfig, k as PluginOption, kn as StyleConfigEntry, kt as WeappPreloadNetwork, ln as GenerateTemplatesConfig, lt as EnhanceOptions, mn as JsonMergeStage, mt as WeappAppPreludeConfig, nn as GenerateTemplate, nt as WeappDebugConfig, on as GenerateTemplateFileSource, ot as WeappViteConfig, pn as JsonMergeFunction, pt as ScanWxmlOptions, q as ComponentsMap, qn as WeappManagedServerTsconfigConfig, qt as ChunksConfig, rn as GenerateTemplateContext, rt as WeappForwardConsoleConfig, sn as GenerateTemplateInlineSource, sr as WeappViteRuntime, st as AutoImportComponents, tn as GenerateOptions, tt as WeappAnalyzeHistoryConfig, un as JsFormat, ut as EnhanceWxmlOptions, vn as NpmDependencyPattern, vt as WeappAutoRoutesIncludePattern, w as ComputedDefinitions, wn as ResolvedAlias, wt as WeappInjectWeapiConfig, x as WeappVitePluginApi, xn as NpmPluginPackageConfig, xt as WeappHmrConfig, yn as NpmMainPackageConfig, yt as WeappBuildScopeConfig, z as ViteDevServer, zn as WeappLibConfig, zt as WeappVueTemplateConfig } from "./config-CauTwk-D.mjs";
|
|
4
4
|
import { t as WeappI18nConfig } from "./types-CgZn5X6j.mjs";
|
|
5
5
|
export { Alias, AliasOptions, AlipayNpmMode, AppEntry, AutoImportComponents, AutoImportComponentsOption, AutoRoutes, AutoRoutesSubPackage, BaseEntry, BindingErrorLike, BuildNpmPackageMeta, ChangeEvent, ChunksConfig, ComponentEntry, ComponentsMap, type ComputedDefinitions, type ConfigEnv, CopyGlobs, CopyOptions, DeprecatedInlineDynamicImports, EnhanceOptions, EnhanceWxmlOptions, Entry, EntryJsonFragment, GenerateDirsOptions, GenerateExtensionsOptions, GenerateFileType, GenerateFilenamesOptions, GenerateOptions, GenerateTemplate, GenerateTemplateContext, GenerateTemplateEntry, GenerateTemplateFactory, GenerateTemplateFileSource, GenerateTemplateInlineSource, GenerateTemplateScope, GenerateTemplatesConfig, HandleWxmlOptions, type InlineConfig, JsFormat, JsonConfig, JsonMergeContext, JsonMergeFunction, JsonMergeStage, JsonMergeStrategy, type MethodDefinitions, MpPlatform, MultiPlatformConfig, NpmBuildOptions, NpmDependencyPattern, NpmMainPackageConfig, NpmPackageFilesConfig, NpmPluginPackageConfig, NpmStrategy, NpmSubPackageConfig, PageEntry, type Plugin, type PluginOption, ProjectConfig, type Ref, ResolvedAlias, type ResolvedConfig, type Resolver, type RolldownBuild, type RolldownOptions, type RolldownOutput, type RolldownPlugin, type RolldownPluginOption, type RolldownWatchOptions, type RolldownWatcher, ScanComponentItem, ScanWxmlOptions, SharedChunkDynamicImports, SharedChunkMode, SharedChunkOverride, SharedChunkStrategy, StyleConfigEntry, StyleConfigObject, StyleEntry, StyleScope, SubPackage, SubPackageMetaValue, SubPackageStyleConfigEntry, SubPackageStyleConfigObject, SubPackageStyleEntry, SubPackageStyleScope, UserConfig, type ViteDevServer, WeappAnalyzeBudgetConfig, WeappAnalyzeConfig, WeappAnalyzeHistoryConfig, WeappAppPreludeConfig, WeappAppPreludeMode, WeappAutoRoutesConfig, WeappAutoRoutesInclude, WeappAutoRoutesIncludePattern, WeappBuildScopeConfig, WeappBuildScopeObjectConfig, WeappDebugConfig, WeappForwardConsoleConfig, WeappForwardConsoleLogLevel, WeappHmrConfig, type WeappI18nConfig, WeappInjectRequestGlobalsConfig, WeappInjectRequestGlobalsTarget, WeappInjectWeapiConfig, WeappInjectWebRuntimeGlobalsConfig, WeappInjectWebRuntimeGlobalsTarget, WeappLibComponentJson, WeappLibConfig, WeappLibDtsOptions, WeappLibEntryContext, WeappLibFileName, WeappLibInternalDtsOptions, WeappLibVueTscOptions, WeappManagedAppTsconfigConfig, WeappManagedNodeTsconfigConfig, WeappManagedServerTsconfigConfig, WeappManagedSharedTsconfigConfig, WeappManagedTypeScriptConfig, WeappMcpConfig, WeappNpmConfig, WeappPreloadNetwork, WeappPreloadRule, WeappReactCompilerConfig, WeappReactConfig, WeappRequestRuntimeConfig, WeappRouteRule, WeappRouteRules, WeappSubPackageConfig, WeappTailwindcssOptions, WeappUniAppConfig, WeappViteConfig, type WeappViteHostMeta, WeappVitePluginApi, type WeappViteRuntime, WeappVueConfig, WeappVueTemplateConfig, WeappWebConfig, WeappWebRuntimeConfig, WeappWevuConfig, WeappWorkerConfig, WxmlDep };
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "weapp-vite",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "7.0.
|
|
4
|
+
"version": "7.0.4",
|
|
5
5
|
"description": "weapp-vite 一个现代化的小程序打包工具",
|
|
6
6
|
"author": "ice breaker <1324318532@qq.com>",
|
|
7
7
|
"license": "MIT",
|
|
@@ -121,19 +121,19 @@
|
|
|
121
121
|
"@volar/typescript": "^2.4.28",
|
|
122
122
|
"@vue/language-core": "^3.3.11",
|
|
123
123
|
"@weapp-core/constants": "0.2.1",
|
|
124
|
-
"@weapp-core/init": "6.0.
|
|
124
|
+
"@weapp-core/init": "6.0.17",
|
|
125
125
|
"@weapp-core/logger": "3.1.1",
|
|
126
126
|
"@weapp-core/schematics": "6.2.2",
|
|
127
|
-
"@weapp-core/shared": "3.2.
|
|
128
|
-
"@weapp-vite/ast": "7.0.
|
|
129
|
-
"@weapp-vite/eslint": "0.2.
|
|
127
|
+
"@weapp-core/shared": "3.2.1",
|
|
128
|
+
"@weapp-vite/ast": "7.0.4",
|
|
129
|
+
"@weapp-vite/eslint": "0.2.3",
|
|
130
130
|
"@weapp-vite/i18n": "0.2.1",
|
|
131
131
|
"@weapp-vite/mcp": "1.5.1",
|
|
132
132
|
"@weapp-vite/miniprogram-automator": "1.2.16",
|
|
133
133
|
"@weapp-vite/volar": "2.1.6",
|
|
134
|
-
"@weapp-vite/web": "1.4.
|
|
134
|
+
"@weapp-vite/web": "1.4.21",
|
|
135
135
|
"@wevu/api": "0.3.0",
|
|
136
|
-
"@wevu/web-apis": "1.2.
|
|
136
|
+
"@wevu/web-apis": "1.2.40",
|
|
137
137
|
"cac": "^7.0.0",
|
|
138
138
|
"chokidar": "^5.0.0",
|
|
139
139
|
"comment-json": "^5.0.0",
|
|
@@ -148,9 +148,9 @@
|
|
|
148
148
|
"package-manager-detector": "^1.8.0",
|
|
149
149
|
"pathe": "^2.0.3",
|
|
150
150
|
"picomatch": "^4.0.7",
|
|
151
|
-
"postcss": "^8.5.
|
|
151
|
+
"postcss": "^8.5.28",
|
|
152
152
|
"rolldown": "1.2.7",
|
|
153
|
-
"rolldown-plugin-dts": "0.28.
|
|
153
|
+
"rolldown-plugin-dts": "0.28.5",
|
|
154
154
|
"rolldown-require": "2.0.28",
|
|
155
155
|
"semver": "^7.8.5",
|
|
156
156
|
"typescript": "^6.0.3",
|
|
@@ -159,9 +159,9 @@
|
|
|
159
159
|
"vite-tsconfig-paths": "^6.1.1",
|
|
160
160
|
"vue": "^3.5.42",
|
|
161
161
|
"vue-tsc": "^3.3.11",
|
|
162
|
-
"weapp-ide-cli": "6.1.
|
|
163
|
-
"weapp-tailwindcss": "^5.5.
|
|
164
|
-
"wevu": "7.0.
|
|
162
|
+
"weapp-ide-cli": "6.1.2",
|
|
163
|
+
"weapp-tailwindcss": "^5.5.1",
|
|
164
|
+
"wevu": "7.0.4"
|
|
165
165
|
},
|
|
166
166
|
"optionalDependencies": {
|
|
167
167
|
"@swc/core": "^1.16.1"
|
package/dist/file-pxD6pTOO.mjs
DELETED