vike 0.4.181-commit-1ff0c6d → 0.4.182
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/node/plugin/plugins/importUserCode/v1-design/getVikeConfig.js +3 -3
- package/dist/cjs/utils/PROJECT_VERSION.js +1 -1
- package/dist/esm/node/plugin/plugins/importUserCode/v1-design/getVikeConfig.js +3 -3
- package/dist/esm/utils/PROJECT_VERSION.d.ts +1 -1
- package/dist/esm/utils/PROJECT_VERSION.js +1 -1
- package/dist/esm/utils/projectInfo.d.ts +1 -1
- package/package.json +1 -1
|
@@ -327,10 +327,10 @@ function assertUsageGlobalConfigs(interfaceFilesRelevantList, configDefinitions,
|
|
|
327
327
|
});
|
|
328
328
|
});
|
|
329
329
|
(0, utils_js_1.assertUsage)(false, [
|
|
330
|
-
`${interfaceFile.filePath.filePathToShowToUser}
|
|
330
|
+
`${interfaceFile.filePath.filePathToShowToUser} sets the config ${picocolors_1.default.cyan(configName)} but it's a global config:`,
|
|
331
331
|
configFilesGlobal.length > 0
|
|
332
|
-
? `define ${picocolors_1.default.cyan(configName)} at ${(0, utils_js_1.joinEnglish)(configFilesGlobal, 'or')} instead
|
|
333
|
-
: `create a global config (e.g. /pages/+config.js) and define ${picocolors_1.default.cyan(configName)} there instead
|
|
332
|
+
? `define ${picocolors_1.default.cyan(configName)} at ${(0, utils_js_1.joinEnglish)(configFilesGlobal, 'or')} instead.`
|
|
333
|
+
: `create a global config (e.g. /pages/+config.js) and define ${picocolors_1.default.cyan(configName)} there instead.`
|
|
334
334
|
].join(' '));
|
|
335
335
|
}
|
|
336
336
|
}
|
|
@@ -323,10 +323,10 @@ function assertUsageGlobalConfigs(interfaceFilesRelevantList, configDefinitions,
|
|
|
323
323
|
});
|
|
324
324
|
});
|
|
325
325
|
assertUsage(false, [
|
|
326
|
-
`${interfaceFile.filePath.filePathToShowToUser}
|
|
326
|
+
`${interfaceFile.filePath.filePathToShowToUser} sets the config ${pc.cyan(configName)} but it's a global config:`,
|
|
327
327
|
configFilesGlobal.length > 0
|
|
328
|
-
? `define ${pc.cyan(configName)} at ${joinEnglish(configFilesGlobal, 'or')} instead
|
|
329
|
-
: `create a global config (e.g. /pages/+config.js) and define ${pc.cyan(configName)} there instead
|
|
328
|
+
? `define ${pc.cyan(configName)} at ${joinEnglish(configFilesGlobal, 'or')} instead.`
|
|
329
|
+
: `create a global config (e.g. /pages/+config.js) and define ${pc.cyan(configName)} there instead.`
|
|
330
330
|
].join(' '));
|
|
331
331
|
}
|
|
332
332
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const PROJECT_VERSION: "0.4.
|
|
1
|
+
export declare const PROJECT_VERSION: "0.4.182";
|
|
@@ -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.182';
|