vike 0.4.218-commit-a3e00f4 → 0.4.218-commit-e7b31bd

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.
@@ -147,6 +147,7 @@ function assertVikeCliOrApi(config) {
147
147
  onlyOnce: true
148
148
  });
149
149
  }
150
+ // TODO/v1-release: remove
150
151
  function temp_supportOldInterface(config) {
151
152
  if (!('vitePluginSsr' in config))
152
153
  return;
@@ -156,12 +157,14 @@ function temp_supportOldInterface(config) {
156
157
  if (config.vitePluginSsr.prerender.disableAutoRun) {
157
158
  (0, isPrerenderAutoRunEnabled_js_1.temp_disablePrerenderAutoRun)();
158
159
  }
160
+ return;
159
161
  }
160
162
  if ((0, utils_js_1.hasProp)(config.vitePluginSsr, 'disableAutoFullBuild')) {
161
163
  if (config.vitePluginSsr.disableAutoFullBuild) {
162
164
  (0, utils_js_1.assert)(config.vitePluginSsr.disableAutoFullBuild === 'prerender');
163
165
  (0, isPrerenderAutoRunEnabled_js_1.temp_disablePrerenderAutoRun)();
164
166
  }
167
+ return;
165
168
  }
166
169
  (0, utils_js_1.assert)(false);
167
170
  }
@@ -2,4 +2,4 @@
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.PROJECT_VERSION = void 0;
4
4
  // Automatically updated by @brillout/release-me
5
- exports.PROJECT_VERSION = '0.4.218-commit-a3e00f4';
5
+ exports.PROJECT_VERSION = '0.4.218-commit-e7b31bd';
@@ -3,8 +3,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.getGlobalObject = getGlobalObject;
4
4
  exports.assertIsSingleModuleInstance = assertIsSingleModuleInstance;
5
5
  const assert_js_1 = require("./assert.js");
6
- const projectInfo_js_1 = require("./projectInfo.js");
7
- const projectKey = `_${projectInfo_js_1.projectInfo.projectName.toLowerCase()}`;
6
+ const projectKey = '_vike';
8
7
  /** Share information across module instances. */
9
8
  function getGlobalObject(
10
9
  // We use the filename (or file path) as key. There should be only one getGlobalObject() usage per file. Thus the key should be unique, assuming the filename (or file path) is unique.
@@ -142,6 +142,7 @@ function assertVikeCliOrApi(config) {
142
142
  onlyOnce: true
143
143
  });
144
144
  }
145
+ // TODO/v1-release: remove
145
146
  function temp_supportOldInterface(config) {
146
147
  if (!('vitePluginSsr' in config))
147
148
  return;
@@ -151,12 +152,14 @@ function temp_supportOldInterface(config) {
151
152
  if (config.vitePluginSsr.prerender.disableAutoRun) {
152
153
  temp_disablePrerenderAutoRun();
153
154
  }
155
+ return;
154
156
  }
155
157
  if (hasProp(config.vitePluginSsr, 'disableAutoFullBuild')) {
156
158
  if (config.vitePluginSsr.disableAutoFullBuild) {
157
159
  assert(config.vitePluginSsr.disableAutoFullBuild === 'prerender');
158
160
  temp_disablePrerenderAutoRun();
159
161
  }
162
+ return;
160
163
  }
161
164
  assert(false);
162
165
  }
@@ -1 +1 @@
1
- export declare const PROJECT_VERSION: "0.4.218-commit-a3e00f4";
1
+ export declare const PROJECT_VERSION: "0.4.218-commit-e7b31bd";
@@ -1,2 +1,2 @@
1
1
  // Automatically updated by @brillout/release-me
2
- export const PROJECT_VERSION = '0.4.218-commit-a3e00f4';
2
+ export const PROJECT_VERSION = '0.4.218-commit-e7b31bd';
@@ -1,8 +1,7 @@
1
1
  export { getGlobalObject };
2
2
  export { assertIsSingleModuleInstance };
3
3
  import { assert } from './assert.js';
4
- import { projectInfo } from './projectInfo.js';
5
- const projectKey = `_${projectInfo.projectName.toLowerCase()}`;
4
+ const projectKey = '_vike';
6
5
  /** Share information across module instances. */
7
6
  function getGlobalObject(
8
7
  // We use the filename (or file path) as key. There should be only one getGlobalObject() usage per file. Thus the key should be unique, assuming the filename (or file path) is unique.
@@ -1,4 +1,4 @@
1
1
  export declare const projectInfo: {
2
2
  projectName: "Vike";
3
- projectVersion: "0.4.218-commit-a3e00f4";
3
+ projectVersion: "0.4.218-commit-e7b31bd";
4
4
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "vike",
3
- "version": "0.4.218-commit-a3e00f4",
3
+ "version": "0.4.218-commit-e7b31bd",
4
4
  "repository": "https://github.com/vikejs/vike",
5
5
  "exports": {
6
6
  "./server": {