@brillout/vite-plugin-server-entry
Advanced tools
Comparing version 0.4.7 to 0.4.8
@@ -37,7 +37,7 @@ "use strict"; | ||
else { | ||
// Maybe this assertion is too strict? Is it prone to race conditions? | ||
(0, utils_1.assert)(autoImporter.status !== 'RESET'); | ||
(0, utils_1.assert)( | ||
// Yarn PnP | ||
autoImporter.status === 'UNSET' || | ||
// Build was aborted | ||
autoImporter.status === 'BUILDING' || | ||
// User sets config.vitePluginServerEntry._testCrawler | ||
@@ -44,0 +44,0 @@ autoImporter.status === 'TEST_CRAWLER'); |
@@ -62,3 +62,3 @@ "use strict"; | ||
serverIndexFilePath = config._vitePluginServerEntry.inject ? getServerIndexFilePath(config) : null; | ||
clearAutoImporterFile({ status: 'RESET' }); | ||
clearAutoImporterFile({ status: 'BUILDING' }); | ||
}, | ||
@@ -65,0 +65,0 @@ resolveId(id) { |
export { assert }; | ||
export { assertUsage }; | ||
export { logLabel }; | ||
declare const logLabel: "[@brillout/vite-plugin-server-entry@0.4.7]"; | ||
declare const logLabel: "[@brillout/vite-plugin-server-entry@0.4.8]"; | ||
declare function assert(condition: unknown, debugInfo?: unknown): asserts condition; | ||
declare function assertUsage(condition: unknown, errorMessage: string): asserts condition; |
export declare const projectInfo: { | ||
projectName: "@brillout/vite-plugin-server-entry"; | ||
npmPackageName: "@brillout/vite-plugin-server-entry"; | ||
projectVersion: "0.4.7"; | ||
projectVersion: "0.4.8"; | ||
githubRepository: "https://github.com/brillout/vite-plugin-server-entry"; | ||
}; |
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.projectInfo = void 0; | ||
const PROJECT_VERSION = '0.4.7'; | ||
const PROJECT_VERSION_1 = require("./PROJECT_VERSION"); | ||
exports.projectInfo = { | ||
projectName: '@brillout/vite-plugin-server-entry', | ||
npmPackageName: '@brillout/vite-plugin-server-entry', | ||
projectVersion: PROJECT_VERSION, | ||
projectVersion: PROJECT_VERSION_1.PROJECT_VERSION, | ||
githubRepository: 'https://github.com/brillout/vite-plugin-server-entry' | ||
}; |
{ | ||
"name": "@brillout/vite-plugin-server-entry", | ||
"version": "0.4.7", | ||
"version": "0.4.8", | ||
"dependencies": { | ||
@@ -15,3 +15,3 @@ "@brillout/import": "^0.2.3" | ||
"devDependencies": { | ||
"@brillout/release-me": "^0.3.8", | ||
"@brillout/release-me": "^0.4.0", | ||
"@types/node": "^15.12.2", | ||
@@ -18,0 +18,0 @@ "typescript": "^4.3.5", |
53140
59
1104