vike 0.4.191 → 0.4.192
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/cjs/__internal/index.js +14 -6
- package/dist/cjs/node/plugin/plugins/autoFullBuild.js +9 -5
- package/dist/cjs/node/plugin/plugins/config/assertVikeConfig.js +4 -2
- package/dist/cjs/node/plugin/plugins/importUserCode/v1-design/getVikeConfig/configDefinitionsBuiltIn.js +12 -6
- package/dist/cjs/node/plugin/plugins/importUserCode/v1-design/getVirtualFilePageConfigValuesAll.js +1 -1
- package/dist/cjs/node/plugin/plugins/importUserCode/v1-design/getVirtualFilePageConfigs.js +2 -2
- package/dist/cjs/node/plugin/plugins/importUserCode/v1-design/isRuntimeEnvMatch.js +0 -3
- package/dist/cjs/node/plugin/plugins/setGlobalContext.js +5 -0
- package/dist/cjs/node/prerender/runPrerender.js +4 -5
- package/dist/cjs/node/runtime/globalContext.js +83 -26
- package/dist/cjs/node/runtime/html/stream.js +37 -24
- package/dist/cjs/node/runtime/page-files/getPageFilesExports.js +23 -0
- package/dist/cjs/node/runtime/page-files/setup.js +2 -20
- package/dist/cjs/node/runtime/renderPage.js +3 -3
- package/dist/cjs/node/runtime/utils.js +1 -0
- package/dist/cjs/shared/hooks/getHook.js +4 -6
- package/dist/cjs/shared/page-configs/serialize/serializeConfigValues.js +3 -1
- package/dist/cjs/utils/PROJECT_VERSION.js +1 -1
- package/dist/cjs/utils/genPromise.js +9 -0
- package/dist/esm/__internal/index.d.ts +7 -0
- package/dist/esm/__internal/index.js +15 -6
- package/dist/esm/node/plugin/plugins/autoFullBuild.js +9 -5
- package/dist/esm/node/plugin/plugins/config/assertVikeConfig.js +4 -2
- package/dist/esm/node/plugin/plugins/importUserCode/v1-design/getVikeConfig/configDefinitionsBuiltIn.d.ts +8 -0
- package/dist/esm/node/plugin/plugins/importUserCode/v1-design/getVikeConfig/configDefinitionsBuiltIn.js +12 -6
- package/dist/esm/node/plugin/plugins/importUserCode/v1-design/getVirtualFilePageConfigValuesAll.js +1 -1
- package/dist/esm/node/plugin/plugins/importUserCode/v1-design/getVirtualFilePageConfigs.js +2 -2
- package/dist/esm/node/plugin/plugins/importUserCode/v1-design/isRuntimeEnvMatch.d.ts +0 -1
- package/dist/esm/node/plugin/plugins/importUserCode/v1-design/isRuntimeEnvMatch.js +0 -3
- package/dist/esm/node/plugin/plugins/setGlobalContext.js +7 -2
- package/dist/esm/node/prerender/runPrerender.js +7 -8
- package/dist/esm/node/runtime/globalContext.d.ts +12 -6
- package/dist/esm/node/runtime/globalContext.js +83 -26
- package/dist/esm/node/runtime/html/stream.js +37 -24
- package/dist/esm/node/runtime/page-files/getPageFilesExports.d.ts +2 -0
- package/dist/esm/node/runtime/page-files/getPageFilesExports.js +20 -0
- package/dist/esm/node/runtime/page-files/setup.js +1 -19
- package/dist/esm/node/runtime/renderPage.js +4 -4
- package/dist/esm/node/runtime/utils.d.ts +1 -0
- package/dist/esm/node/runtime/utils.js +1 -0
- package/dist/esm/shared/ConfigVike.d.ts +3 -3
- package/dist/esm/shared/hooks/executeHook.d.ts +1 -1
- package/dist/esm/shared/hooks/getHook.d.ts +2 -2
- package/dist/esm/shared/hooks/getHook.js +3 -5
- package/dist/esm/shared/page-configs/PageConfig.d.ts +0 -2
- package/dist/esm/shared/page-configs/serialize/serializeConfigValues.d.ts +3 -1
- package/dist/esm/shared/page-configs/serialize/serializeConfigValues.js +3 -1
- package/dist/esm/types/index.d.ts +1 -0
- package/dist/esm/utils/PROJECT_VERSION.d.ts +1 -1
- package/dist/esm/utils/PROJECT_VERSION.js +1 -1
- package/dist/esm/utils/genPromise.d.ts +4 -0
- package/dist/esm/utils/genPromise.js +5 -0
- package/dist/esm/utils/projectInfo.d.ts +1 -1
- package/package.json +3 -3
|
@@ -55,16 +55,15 @@ async function streamReadableNodeToString(readableNode) {
|
|
|
55
55
|
}
|
|
56
56
|
async function streamReadableWebToString(readableWeb) {
|
|
57
57
|
const reader = readableWeb.getReader();
|
|
58
|
-
const
|
|
58
|
+
const { decode, getClosingChunk } = decodeChunks();
|
|
59
59
|
let str = '';
|
|
60
60
|
while (true) {
|
|
61
61
|
const { done, value } = await reader.read();
|
|
62
62
|
if (done)
|
|
63
63
|
break;
|
|
64
|
-
str +=
|
|
64
|
+
str += decode(value);
|
|
65
65
|
}
|
|
66
|
-
|
|
67
|
-
str += decoder.decode();
|
|
66
|
+
str += getClosingChunk();
|
|
68
67
|
return str;
|
|
69
68
|
}
|
|
70
69
|
async function stringToStreamReadableNode(str) {
|
|
@@ -128,15 +127,16 @@ async function streamPipeNodeToString(streamPipeNode) {
|
|
|
128
127
|
return promise;
|
|
129
128
|
}
|
|
130
129
|
function streamPipeWebToString(streamPipeWeb) {
|
|
130
|
+
const { decode, getClosingChunk } = decodeChunks();
|
|
131
131
|
let str = '';
|
|
132
132
|
let resolve;
|
|
133
133
|
const promise = new Promise((r) => (resolve = r));
|
|
134
134
|
const writable = new WritableStream({
|
|
135
135
|
write(chunk) {
|
|
136
|
-
|
|
137
|
-
str += chunk;
|
|
136
|
+
str += decode(chunk);
|
|
138
137
|
},
|
|
139
138
|
close() {
|
|
139
|
+
str += getClosingChunk();
|
|
140
140
|
resolve(str);
|
|
141
141
|
}
|
|
142
142
|
});
|
|
@@ -388,9 +388,7 @@ async function createStreamWrapper({ streamOriginal, onError, onData, onEnd, onF
|
|
|
388
388
|
const writeChunk = (chunk) => {
|
|
389
389
|
assert(writableOriginal);
|
|
390
390
|
writableOriginal.write(chunk);
|
|
391
|
-
|
|
392
|
-
debug('data written (Node.js Writable)', getChunkAsString(chunk));
|
|
393
|
-
}
|
|
391
|
+
debugWithChunk('data written (Node.js Writable)', chunk);
|
|
394
392
|
};
|
|
395
393
|
// For libraries such as https://www.npmjs.com/package/compression
|
|
396
394
|
// - React calls writable.flush() when available
|
|
@@ -461,9 +459,7 @@ async function createStreamWrapper({ streamOriginal, onError, onData, onEnd, onF
|
|
|
461
459
|
const writeChunk = (chunk) => {
|
|
462
460
|
assert(writerOriginal);
|
|
463
461
|
writerOriginal.write(encodeForWebStream(chunk));
|
|
464
|
-
|
|
465
|
-
debug('data written (Web Writable)', getChunkAsString(chunk));
|
|
466
|
-
}
|
|
462
|
+
debugWithChunk('data written (Web Writable)', chunk);
|
|
467
463
|
};
|
|
468
464
|
// Web Streams have compression built-in
|
|
469
465
|
// - https://developer.mozilla.org/en-US/docs/Web/API/Compression_Streams_API
|
|
@@ -554,14 +550,10 @@ async function createStreamWrapper({ streamOriginal, onError, onData, onEnd, onF
|
|
|
554
550
|
// If readableOriginal doesn't implement readableOriginal.cancel() then it may still emit data after we close the stream. We therefore need to check whether we closed `controllerProxy`.
|
|
555
551
|
!controllerProxyIsClosed) {
|
|
556
552
|
controllerProxy.enqueue(encodeForWebStream(chunk));
|
|
557
|
-
|
|
558
|
-
debug('data written (Web Readable)', getChunkAsString(chunk));
|
|
559
|
-
}
|
|
553
|
+
debugWithChunk('data written (Web Readable)', chunk);
|
|
560
554
|
}
|
|
561
555
|
else {
|
|
562
|
-
|
|
563
|
-
debug('data emitted but not written (Web Readable)', getChunkAsString(chunk));
|
|
564
|
-
}
|
|
556
|
+
debugWithChunk('data emitted but not written (Web Readable)', chunk);
|
|
565
557
|
}
|
|
566
558
|
};
|
|
567
559
|
// Readables don't have the notion of flushing
|
|
@@ -581,9 +573,7 @@ async function createStreamWrapper({ streamOriginal, onError, onData, onEnd, onF
|
|
|
581
573
|
}
|
|
582
574
|
const writeChunk = (chunk) => {
|
|
583
575
|
readableProxy.push(chunk);
|
|
584
|
-
|
|
585
|
-
debug('data written (Node.js Readable)', getChunkAsString(chunk));
|
|
586
|
-
}
|
|
576
|
+
debugWithChunk('data written (Node.js Readable)', chunk);
|
|
587
577
|
};
|
|
588
578
|
// Readables don't have the notion of flushing
|
|
589
579
|
const flushStream = null;
|
|
@@ -796,11 +786,34 @@ function inferStreamName(stream) {
|
|
|
796
786
|
}
|
|
797
787
|
assert(false);
|
|
798
788
|
}
|
|
799
|
-
function
|
|
789
|
+
function decodeChunks() {
|
|
790
|
+
const decoder = new TextDecoder();
|
|
791
|
+
const decode = (chunk) => {
|
|
792
|
+
if (typeof chunk === 'string') {
|
|
793
|
+
return chunk;
|
|
794
|
+
}
|
|
795
|
+
else if (chunk instanceof Uint8Array) {
|
|
796
|
+
return decoder.decode(chunk, { stream: true });
|
|
797
|
+
}
|
|
798
|
+
else {
|
|
799
|
+
assert(false);
|
|
800
|
+
}
|
|
801
|
+
};
|
|
802
|
+
// https://github.com/vikejs/vike/pull/1799#discussion_r1713554096
|
|
803
|
+
const getClosingChunk = () => {
|
|
804
|
+
return decoder.decode();
|
|
805
|
+
};
|
|
806
|
+
return { decode, getClosingChunk };
|
|
807
|
+
}
|
|
808
|
+
function debugWithChunk(msg, chunk) {
|
|
809
|
+
if (!debug.isActivated)
|
|
810
|
+
return;
|
|
811
|
+
let chunkStr;
|
|
800
812
|
try {
|
|
801
|
-
|
|
813
|
+
chunkStr = new TextDecoder().decode(chunk);
|
|
802
814
|
}
|
|
803
815
|
catch (err) {
|
|
804
|
-
|
|
816
|
+
chunkStr = String(chunk);
|
|
805
817
|
}
|
|
818
|
+
debug(msg, chunkStr);
|
|
806
819
|
}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
export { getPageFilesExports };
|
|
2
|
+
import { assert, debugGlob, isObject } from '../utils.js';
|
|
3
|
+
import { getViteDevServer } from '../globalContext.js';
|
|
4
|
+
import { virtualFileIdImportUserCodeServer } from '../../shared/virtual-files/virtualFileImportUserCode.js';
|
|
5
|
+
async function getPageFilesExports() {
|
|
6
|
+
const viteDevServer = getViteDevServer();
|
|
7
|
+
assert(viteDevServer);
|
|
8
|
+
let moduleExports;
|
|
9
|
+
try {
|
|
10
|
+
moduleExports = await viteDevServer.ssrLoadModule(virtualFileIdImportUserCodeServer);
|
|
11
|
+
}
|
|
12
|
+
catch (err) {
|
|
13
|
+
debugGlob(`Glob error: ${virtualFileIdImportUserCodeServer} transpile error: `, err);
|
|
14
|
+
throw err;
|
|
15
|
+
}
|
|
16
|
+
moduleExports = moduleExports.default || moduleExports;
|
|
17
|
+
debugGlob('Glob result: ', moduleExports);
|
|
18
|
+
assert(isObject(moduleExports));
|
|
19
|
+
return moduleExports;
|
|
20
|
+
}
|
|
@@ -1,21 +1,3 @@
|
|
|
1
1
|
import { setPageFilesAsync } from '../../../shared/getPageFiles.js';
|
|
2
|
-
import {
|
|
3
|
-
import { getViteDevServer } from '../globalContext.js';
|
|
4
|
-
import { virtualFileIdImportUserCodeServer } from '../../shared/virtual-files/virtualFileImportUserCode.js';
|
|
2
|
+
import { getPageFilesExports } from './getPageFilesExports.js';
|
|
5
3
|
setPageFilesAsync(getPageFilesExports);
|
|
6
|
-
async function getPageFilesExports() {
|
|
7
|
-
const viteDevServer = getViteDevServer();
|
|
8
|
-
assert(viteDevServer);
|
|
9
|
-
let moduleExports;
|
|
10
|
-
try {
|
|
11
|
-
moduleExports = await viteDevServer.ssrLoadModule(virtualFileIdImportUserCodeServer);
|
|
12
|
-
}
|
|
13
|
-
catch (err) {
|
|
14
|
-
debugGlob(`Glob error: ${virtualFileIdImportUserCodeServer} transpile error: `, err);
|
|
15
|
-
throw err;
|
|
16
|
-
}
|
|
17
|
-
moduleExports = moduleExports.default || moduleExports;
|
|
18
|
-
debugGlob('Glob result: ', moduleExports);
|
|
19
|
-
assert(isObject(moduleExports));
|
|
20
|
-
return moduleExports;
|
|
21
|
-
}
|
|
@@ -4,7 +4,7 @@ import { getRenderContext, getPageContextInitEnhanced, renderPageAlreadyRouted }
|
|
|
4
4
|
import { route } from '../../shared/route/index.js';
|
|
5
5
|
import { assert, hasProp, objectAssign, isUrl, parseUrl, assertEnv, assertWarning, getGlobalObject, checkType, assertUsage, normalizeUrlPathname, removeBaseServer, modifyUrlPathname, prependBase, removeUrlOrigin, addUrlOrigin, createUrlFromComponents, isUri } from './utils.js';
|
|
6
6
|
import { assertNoInfiniteAbortLoop, getPageContextFromAllRewrites, isAbortError, logAbortErrorHandled } from '../../shared/route/abort.js';
|
|
7
|
-
import { getGlobalContext,
|
|
7
|
+
import { getGlobalContext, initGlobalContext_renderPage } from './globalContext.js';
|
|
8
8
|
import { handlePageContextRequestUrl } from './renderPage/handlePageContextRequestUrl.js';
|
|
9
9
|
import { createHttpResponseObjectRedirect, createHttpResponsePageContextJson } from './renderPage/createHttpResponseObject.js';
|
|
10
10
|
import { logRuntimeError, logRuntimeInfo } from './renderPage/loggerRuntime.js';
|
|
@@ -61,12 +61,12 @@ async function renderPageAndPrepare(pageContextInit, httpRequestId) {
|
|
|
61
61
|
// Prepare context
|
|
62
62
|
let renderContext;
|
|
63
63
|
try {
|
|
64
|
-
await
|
|
64
|
+
await initGlobalContext_renderPage();
|
|
65
65
|
renderContext = await getRenderContext();
|
|
66
66
|
}
|
|
67
67
|
catch (err) {
|
|
68
|
-
// Errors are expected since assertUsage() is used in both
|
|
69
|
-
//
|
|
68
|
+
// Errors are expected since assertUsage() is used in both initGlobalContext_renderPage() and getRenderContext().
|
|
69
|
+
// initGlobalContext_renderPage() and getRenderContext() don't call any user hooks => err isn't thrown from user code.
|
|
70
70
|
assert(!isAbortError(err));
|
|
71
71
|
logRuntimeError(err, httpRequestId);
|
|
72
72
|
const pageContextHttpResponseNull = getPageContextHttpResponseNullWithError(err, pageContextInit);
|
|
@@ -7,7 +7,7 @@ type ConfigVikeResolved = {
|
|
|
7
7
|
partial: boolean;
|
|
8
8
|
disableAutoRun: boolean;
|
|
9
9
|
};
|
|
10
|
-
disableAutoFullBuild: boolean | null;
|
|
10
|
+
disableAutoFullBuild: boolean | 'prerender' | null;
|
|
11
11
|
includeAssetsImportedByServer: boolean;
|
|
12
12
|
baseAssets: string;
|
|
13
13
|
baseServer: string;
|
|
@@ -63,13 +63,13 @@ type ConfigVikeUserProvided = {
|
|
|
63
63
|
disableAutoRun?: boolean;
|
|
64
64
|
};
|
|
65
65
|
/**
|
|
66
|
-
*
|
|
66
|
+
* Disable the automatic chaining of build steps.
|
|
67
67
|
*
|
|
68
68
|
* https://vike.dev/disableAutoFullBuild
|
|
69
69
|
*
|
|
70
70
|
* @default false
|
|
71
71
|
*/
|
|
72
|
-
disableAutoFullBuild?: boolean;
|
|
72
|
+
disableAutoFullBuild?: boolean | 'prerender';
|
|
73
73
|
/** The Base URL of your server.
|
|
74
74
|
*
|
|
75
75
|
* https://vike.dev/base-url
|
|
@@ -4,7 +4,7 @@ export { providePageContext };
|
|
|
4
4
|
export { isUserHookError };
|
|
5
5
|
import type { PageContextClient, PageContextServer } from '../types.js';
|
|
6
6
|
import type { Hook, HookLoc } from './getHook.js';
|
|
7
|
-
type PageContextUnknown = null | Record<string,
|
|
7
|
+
type PageContextUnknown = null | Record<string, any>;
|
|
8
8
|
declare function isUserHookError(err: unknown): false | HookLoc;
|
|
9
9
|
declare function executeHook<T = unknown>(hookFnCaller: () => T, hook: Omit<Hook, 'hookFn'>, pageContext: PageContextUnknown): Promise<T>;
|
|
10
10
|
/**
|
|
@@ -2,7 +2,7 @@ export { getHook };
|
|
|
2
2
|
export { getHookFromPageConfig };
|
|
3
3
|
export { getHookFromPageConfigGlobal };
|
|
4
4
|
export { assertHook };
|
|
5
|
-
export {
|
|
5
|
+
export { getHook_setIsPrerenderering };
|
|
6
6
|
export type { Hook };
|
|
7
7
|
export type { HookName };
|
|
8
8
|
export type { HookLoc };
|
|
@@ -33,4 +33,4 @@ declare function assertHook<TPageContext extends PageContextExports, THookName e
|
|
|
33
33
|
exports: Record<THookName, Function | undefined>;
|
|
34
34
|
};
|
|
35
35
|
declare function getHookTimeoutDefault(hookName: HookName): HookTimeout;
|
|
36
|
-
declare function
|
|
36
|
+
declare function getHook_setIsPrerenderering(): void;
|
|
@@ -2,7 +2,7 @@ export { getHook };
|
|
|
2
2
|
export { getHookFromPageConfig };
|
|
3
3
|
export { getHookFromPageConfigGlobal };
|
|
4
4
|
export { assertHook };
|
|
5
|
-
export {
|
|
5
|
+
export { getHook_setIsPrerenderering };
|
|
6
6
|
// TODO/v1-release: remove
|
|
7
7
|
// We export for old V0.4 design which doesn't support configooksTimeout
|
|
8
8
|
export { getHookTimeoutDefault };
|
|
@@ -11,9 +11,7 @@ import { getHookFilePathToShowToUser } from '../page-configs/helpers.js';
|
|
|
11
11
|
import { getConfigValueRuntime } from '../page-configs/getConfigValue.js';
|
|
12
12
|
import { assert, assertUsage, checkType, isCallable, isObject } from '../utils.js';
|
|
13
13
|
import pc from '@brillout/picocolors';
|
|
14
|
-
const globalObject = getGlobalObject('getHook.ts', {
|
|
15
|
-
isPrerendering: false
|
|
16
|
-
});
|
|
14
|
+
const globalObject = getGlobalObject('getHook.ts', {});
|
|
17
15
|
function getHook(pageContext, hookName) {
|
|
18
16
|
if (!(hookName in pageContext.exports)) {
|
|
19
17
|
return null;
|
|
@@ -130,6 +128,6 @@ function getHookTimeoutDefault(hookName) {
|
|
|
130
128
|
warning: 4 * 1000
|
|
131
129
|
};
|
|
132
130
|
}
|
|
133
|
-
function
|
|
131
|
+
function getHook_setIsPrerenderering() {
|
|
134
132
|
globalObject.isPrerendering = true;
|
|
135
133
|
}
|
|
@@ -67,8 +67,6 @@ type ConfigEnv = {
|
|
|
67
67
|
/** For Vike internal use */
|
|
68
68
|
type ConfigEnvInternal = Omit<ConfigEnv, 'client'> & {
|
|
69
69
|
client?: boolean | 'if-client-routing';
|
|
70
|
-
/** Always load value, no matter which page is loaded. */
|
|
71
|
-
eager?: true;
|
|
72
70
|
/** Load value only in production, or only in development. */
|
|
73
71
|
production?: boolean;
|
|
74
72
|
};
|
|
@@ -2,4 +2,6 @@ export { serializeConfigValues };
|
|
|
2
2
|
import type { ConfigEnvInternal, PageConfigBuildTime, PageConfigGlobalBuildTime } from '../PageConfig.js';
|
|
3
3
|
declare function serializeConfigValues(pageConfig: PageConfigBuildTime | (PageConfigGlobalBuildTime & {
|
|
4
4
|
configValuesComputed?: undefined;
|
|
5
|
-
}), importStatements: string[], isEnvMatch: (configEnv: ConfigEnvInternal) => boolean,
|
|
5
|
+
}), importStatements: string[], isEnvMatch: (configEnv: ConfigEnvInternal) => boolean, { isEager }: {
|
|
6
|
+
isEager: boolean;
|
|
7
|
+
}, tabspace: string): string[];
|
|
@@ -12,7 +12,7 @@ const REPLACE_ME_AFTER = '__VIKE__REPLACE_ME_AFTER__';
|
|
|
12
12
|
// - vike/shared/page-configs/serialize/parsePageConfigs.ts
|
|
13
13
|
// - parsePageConfigs() is loaded on both the client- and server-side.
|
|
14
14
|
assertIsNotProductionRuntime();
|
|
15
|
-
function serializeConfigValues(pageConfig, importStatements, isEnvMatch, tabspace) {
|
|
15
|
+
function serializeConfigValues(pageConfig, importStatements, isEnvMatch, { isEager }, tabspace) {
|
|
16
16
|
const lines = [];
|
|
17
17
|
tabspace += ' ';
|
|
18
18
|
Object.entries(pageConfig.configValuesComputed ?? {}).forEach(([configName, configValuesComputed]) => {
|
|
@@ -31,6 +31,8 @@ function serializeConfigValues(pageConfig, importStatements, isEnvMatch, tabspac
|
|
|
31
31
|
Object.entries(pageConfig.configValueSources).forEach(([configName, sources]) => {
|
|
32
32
|
const configDef = pageConfig.configDefinitions[configName];
|
|
33
33
|
assert(configDef);
|
|
34
|
+
if (isEager !== !!configDef.eager)
|
|
35
|
+
return;
|
|
34
36
|
if (!configDef.cumulative) {
|
|
35
37
|
const configValueSource = sources[0];
|
|
36
38
|
assert(configValueSource);
|
|
@@ -3,6 +3,7 @@ export type { PageContextServer } from '../shared/types.js';
|
|
|
3
3
|
export type { PageContextClient } from '../shared/types.js';
|
|
4
4
|
export type { PageContextWithServerRouting } from '../shared/types.js';
|
|
5
5
|
export type { PageContextClientWithServerRouting } from '../shared/types.js';
|
|
6
|
+
export type { ConfigVitePluginServerEntry } from '@brillout/vite-plugin-server-entry/plugin.js';
|
|
6
7
|
export type { PageContextBuiltInServer } from '../shared/types.js';
|
|
7
8
|
export type { PageContextBuiltInClientWithClientRouting } from '../shared/types.js';
|
|
8
9
|
export type { PageContextBuiltInClientWithServerRouting } from '../shared/types.js';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const PROJECT_VERSION: "0.4.
|
|
1
|
+
export declare const PROJECT_VERSION: "0.4.192";
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
// Automatically updated by @brillout/release-me
|
|
2
|
-
export const PROJECT_VERSION = '0.4.
|
|
2
|
+
export const PROJECT_VERSION = '0.4.192';
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "vike",
|
|
3
|
-
"version": "0.4.
|
|
3
|
+
"version": "0.4.192",
|
|
4
4
|
"scripts": {
|
|
5
5
|
"dev": "tsc --watch",
|
|
6
6
|
"build": "rimraf dist/ && pnpm run build:esm && pnpm run build:cjs",
|
|
@@ -17,7 +17,7 @@
|
|
|
17
17
|
"@brillout/json-serializer": "^0.5.13",
|
|
18
18
|
"@brillout/picocolors": "^1.0.14",
|
|
19
19
|
"@brillout/require-shim": "^0.1.2",
|
|
20
|
-
"@brillout/vite-plugin-server-entry": "^0.4.
|
|
20
|
+
"@brillout/vite-plugin-server-entry": "^0.4.9",
|
|
21
21
|
"acorn": "^8.0.0",
|
|
22
22
|
"cac": "^6.0.0",
|
|
23
23
|
"es-module-lexer": "^1.0.0",
|
|
@@ -219,7 +219,7 @@
|
|
|
219
219
|
"es-module-lexer": "^1.4.1",
|
|
220
220
|
"esbuild": "^0.23.0",
|
|
221
221
|
"fast-glob": "^3.3.2",
|
|
222
|
-
"react-streaming": "^0.3.
|
|
222
|
+
"react-streaming": "^0.3.43",
|
|
223
223
|
"rimraf": "^5.0.5",
|
|
224
224
|
"semver": "^7.6.3",
|
|
225
225
|
"sirv": "^2.0.4",
|