@voidzero-dev/vite-plus-core 0.1.16-alpha.3 → 0.1.16
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/tsdown/{build-DU-BFLB1-B3WPwpFM.js → build-DU-BFLB1-BZ80XpcX.js} +52 -52
- package/dist/tsdown/build-DU-BFLB1-Dm3Ve-Np.js +2 -0
- package/dist/tsdown/{debug-BmAPbhgA-ClibQzj1.js → debug-BmAPbhgA-CHpocWMm.js} +2 -2
- package/dist/tsdown/{detect-h8ZFBH96-CQBPtOHi.js → detect-h8ZFBH96-DbLjA61J.js} +1 -1
- package/dist/tsdown/{dist-SqMQ6Q2q.js → dist-CY3M22aR.js} +4 -4
- package/dist/tsdown/{dist-CxeZzY9B.js → dist-D7qIxBaV.js} +3 -3
- package/dist/tsdown/{dist-Cqme3mtE.js → dist-_IXstuie.js} +12 -12
- package/dist/tsdown/{filename-DQnUJlio-smVMy5Ot.js → filename-DQnUJlio-D58wGDtS.js} +1 -1
- package/dist/tsdown/index-types.d.ts +190 -190
- package/dist/tsdown/index.js +4 -4
- package/dist/tsdown/{main-CC95VQtR.js → main-wrcIC7dd.js} +3 -3
- package/dist/tsdown/run.js +3 -3
- package/dist/tsdown/{tsc-Bq9H2v3f.js → tsc-DzHkiQui.js} +2 -2
- package/dist/tsdown/{tsc-context-BEcA6aUv.js → tsc-context-Dban9z4Z.js} +1 -1
- package/dist/vite/client.d.ts +3 -0
- package/dist/vite/node/chunks/logger.js +1 -1
- package/dist/vite/node/chunks/moduleRunnerTransport.d.ts +11 -11
- package/dist/vite/node/chunks/node.js +370 -279
- package/dist/vite/node/index.d.ts +13 -3
- package/dist/vite/node/index.js +1 -1
- package/package.json +4 -4
- package/dist/tsdown/build-DU-BFLB1-DhRv5Umu.js +0 -2
|
@@ -1019,7 +1019,6 @@ interface TransformOptions {
|
|
|
1019
1019
|
*/
|
|
1020
1020
|
ssr?: boolean;
|
|
1021
1021
|
}
|
|
1022
|
-
interface TransformOptionsInternal {}
|
|
1023
1022
|
//#endregion
|
|
1024
1023
|
//#region src/node/server/moduleGraph.d.ts
|
|
1025
1024
|
declare class EnvironmentModuleNode {
|
|
@@ -1184,6 +1183,11 @@ interface HotChannelClient {
|
|
|
1184
1183
|
}
|
|
1185
1184
|
type HotChannelListener<T extends string = string> = (data: InferCustomEventPayload<T>, client: HotChannelClient) => void;
|
|
1186
1185
|
interface HotChannel<Api = any> {
|
|
1186
|
+
/**
|
|
1187
|
+
* When true, the fs access check is skipped in fetchModule.
|
|
1188
|
+
* Set this for transports that is not exposed over the network.
|
|
1189
|
+
*/
|
|
1190
|
+
skipFsCheck?: boolean;
|
|
1187
1191
|
/**
|
|
1188
1192
|
* Broadcast events to all clients
|
|
1189
1193
|
*/
|
|
@@ -1608,9 +1612,15 @@ declare class DevEnvironment extends BaseEnvironment {
|
|
|
1608
1612
|
* - new instance `listen`
|
|
1609
1613
|
*/
|
|
1610
1614
|
listen(server: ViteDevServer): Promise<void>;
|
|
1615
|
+
/**
|
|
1616
|
+
* Called by the module runner to retrieve information about the specified
|
|
1617
|
+
* module. Internally calls `transformRequest` and wraps the result in the
|
|
1618
|
+
* format that the module runner understands.
|
|
1619
|
+
* This method is not meant to be called manually.
|
|
1620
|
+
*/
|
|
1611
1621
|
fetchModule(id: string, importer?: string, options?: FetchFunctionOptions): Promise<moduleRunner_FetchResult>;
|
|
1612
1622
|
reloadModule(module: EnvironmentModuleNode): Promise<void>;
|
|
1613
|
-
transformRequest(url: string
|
|
1623
|
+
transformRequest(url: string): Promise<TransformResult | null>;
|
|
1614
1624
|
warmupRequest(url: string): Promise<void>;
|
|
1615
1625
|
protected invalidateModule(m: {
|
|
1616
1626
|
path: string;
|
|
@@ -3727,7 +3737,7 @@ interface FetchModuleOptions {
|
|
|
3727
3737
|
startOffset?: number;
|
|
3728
3738
|
}
|
|
3729
3739
|
/**
|
|
3730
|
-
* Fetch module information for Vite runner.
|
|
3740
|
+
* Fetch module information for Vite module runner.
|
|
3731
3741
|
* @experimental
|
|
3732
3742
|
*/
|
|
3733
3743
|
declare function fetchModule(environment: DevEnvironment, url: string, importer?: string, options?: FetchModuleOptions): Promise<moduleRunner_FetchResult>;
|
package/dist/vite/node/index.js
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import { I as defaultAllowedOrigins, N as VERSION, _ as DEFAULT_SERVER_CONDITIONS, d as DEFAULT_CLIENT_MAIN_FIELDS, h as DEFAULT_EXTERNAL_CONDITIONS, n as createLogger, u as DEFAULT_CLIENT_CONDITIONS, v as DEFAULT_SERVER_MAIN_FIELDS } from "./chunks/logger.js";
|
|
2
|
-
import { At as searchForWorkspaceRoot, Bt as transformWithEsbuild, Ct as
|
|
2
|
+
import { At as searchForWorkspaceRoot, Bt as transformWithEsbuild, Ct as DevEnvironment, Dt as fetchModule, E as BuildEnvironment, Et as isFileServingAllowed, Ft as createServerModuleRunnerTransport, Gt as mergeConfig, Ht as createFilter, It as buildErrorMessage, Jt as rollupVersion, Kt as normalizePath, Lt as loadEnv, M as createBuilder, Mt as perEnvironmentState, Nt as ssrTransform, O as build, Ot as formatPostcssSourceMap, Pt as createServerModuleRunner, Rt as resolveEnvPrefix, S as preview, T as isRunnableDevEnvironment, Tt as isFileLoadingAllowed, Ut as isCSSRequest, Vt as perEnvironmentPlugin, Wt as mergeAlias, Yt as withFilter, _ as resolveConfig, _t as createServer, a as minifySync, b as sortUserPlugins, c as parseAstAsync, ct as optimizeDeps, d as isFetchableDevEnvironment, f as defineConfig, h as loadConfigFromFile, ht as createServerHotChannel, i as minify, jt as createIdResolver, kt as preprocessCSS, l as parseSync, n as esbuildVersion, o as parse, qt as rolldownVersion, r as esmExternalRequirePlugin, s as parseAst, t as Visitor, u as createFetchableDevEnvironment, w as createRunnableDevEnvironment, wt as send, x as runnerImport, zt as transformWithOxc } from "./chunks/node.js";
|
|
3
3
|
export { BuildEnvironment, DevEnvironment, Visitor, build, buildErrorMessage, createBuilder, createFetchableDevEnvironment, createFilter, createIdResolver, createLogger, createRunnableDevEnvironment, createServer, createServerHotChannel, createServerModuleRunner, createServerModuleRunnerTransport, defaultAllowedOrigins, DEFAULT_CLIENT_CONDITIONS as defaultClientConditions, DEFAULT_CLIENT_MAIN_FIELDS as defaultClientMainFields, DEFAULT_EXTERNAL_CONDITIONS as defaultExternalConditions, DEFAULT_SERVER_CONDITIONS as defaultServerConditions, DEFAULT_SERVER_MAIN_FIELDS as defaultServerMainFields, defineConfig, esbuildVersion, esmExternalRequirePlugin, fetchModule, formatPostcssSourceMap, isCSSRequest, isFetchableDevEnvironment, isFileLoadingAllowed, isFileServingAllowed, isRunnableDevEnvironment, loadConfigFromFile, loadEnv, mergeAlias, mergeConfig, minify, minifySync, ssrTransform as moduleRunnerTransform, normalizePath, optimizeDeps, parse, parseAst, parseAstAsync, parseSync, perEnvironmentPlugin, perEnvironmentState, preprocessCSS, preview, resolveConfig, resolveEnvPrefix, rolldownVersion, rollupVersion, runnerImport, searchForWorkspaceRoot, send, sortUserPlugins, transformWithEsbuild, transformWithOxc, VERSION as version, withFilter };
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@voidzero-dev/vite-plus-core",
|
|
3
|
-
"version": "0.1.16
|
|
3
|
+
"version": "0.1.16",
|
|
4
4
|
"description": "The Unified Toolchain for the Web",
|
|
5
5
|
"homepage": "https://viteplus.dev/guide",
|
|
6
6
|
"bugs": {
|
|
@@ -129,7 +129,7 @@
|
|
|
129
129
|
"tree-kill": "^1.2.2",
|
|
130
130
|
"tsdown": "^0.21.7",
|
|
131
131
|
"rolldown": "1.0.0-rc.13",
|
|
132
|
-
"vite": "npm:@voidzero-dev/vite-plus-core@0.1.16
|
|
132
|
+
"vite": "npm:@voidzero-dev/vite-plus-core@0.1.16"
|
|
133
133
|
},
|
|
134
134
|
"peerDependencies": {
|
|
135
135
|
"@arethetypeswrong/core": "^0.18.1",
|
|
@@ -137,7 +137,7 @@
|
|
|
137
137
|
"@tsdown/exe": "0.21.7",
|
|
138
138
|
"@types/node": "^20.19.0 || >=22.12.0",
|
|
139
139
|
"@vitejs/devtools": "^0.1.0",
|
|
140
|
-
"esbuild": "^0.
|
|
140
|
+
"esbuild": "^0.28.0",
|
|
141
141
|
"jiti": ">=1.21.0",
|
|
142
142
|
"less": "^4.0.0",
|
|
143
143
|
"publint": "^0.3.0",
|
|
@@ -214,7 +214,7 @@
|
|
|
214
214
|
"node": "^20.19.0 || >=22.12.0"
|
|
215
215
|
},
|
|
216
216
|
"bundledVersions": {
|
|
217
|
-
"vite": "8.0.
|
|
217
|
+
"vite": "8.0.5",
|
|
218
218
|
"rolldown": "1.0.0-rc.13",
|
|
219
219
|
"tsdown": "0.21.7"
|
|
220
220
|
},
|