@lwrjs/config 0.15.0-alpha.25 → 0.15.0-alpha.27

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.
@@ -89,7 +89,9 @@ function executeStartHooks(hooks, globalConfig, runtimeEnvironment, skipValidate
89
89
  continue;
90
90
  }
91
91
  const onStartConfig = {
92
+ _isSsrCompilerEnabled: globalConfig._isSsrCompilerEnabled,
92
93
  basePath: globalConfig.basePath,
94
+ coreProxy: globalConfig.coreProxy,
93
95
  i18n: globalConfig.i18n,
94
96
  routes: globalConfig.routes,
95
97
  errorRoutes: globalConfig.errorRoutes
@@ -97,6 +99,8 @@ function executeStartHooks(hooks, globalConfig, runtimeEnvironment, skipValidate
97
99
  hook.onStart(onStartConfig);
98
100
  runtimeEnvironment.basePath = globalConfig.basePath = onStartConfig.basePath || "";
99
101
  runtimeEnvironment.i18n = globalConfig.i18n = onStartConfig.i18n;
102
+ globalConfig._isSsrCompilerEnabled = onStartConfig._isSsrCompilerEnabled;
103
+ globalConfig.coreProxy = onStartConfig.coreProxy;
100
104
  globalConfig.routes = onStartConfig.routes || [];
101
105
  globalConfig.errorRoutes = onStartConfig.errorRoutes || [];
102
106
  }
package/build/es/hooks.js CHANGED
@@ -90,7 +90,9 @@ export function executeStartHooks(hooks, globalConfig, runtimeEnvironment, skipV
90
90
  continue;
91
91
  }
92
92
  const onStartConfig = {
93
+ _isSsrCompilerEnabled: globalConfig._isSsrCompilerEnabled,
93
94
  basePath: globalConfig.basePath,
95
+ coreProxy: globalConfig.coreProxy,
94
96
  i18n: globalConfig.i18n,
95
97
  routes: globalConfig.routes,
96
98
  errorRoutes: globalConfig.errorRoutes,
@@ -99,6 +101,8 @@ export function executeStartHooks(hooks, globalConfig, runtimeEnvironment, skipV
99
101
  // copy updated values back to the globalConfig
100
102
  runtimeEnvironment.basePath = globalConfig.basePath = onStartConfig.basePath || '';
101
103
  runtimeEnvironment.i18n = globalConfig.i18n = onStartConfig.i18n;
104
+ globalConfig._isSsrCompilerEnabled = onStartConfig._isSsrCompilerEnabled;
105
+ globalConfig.coreProxy = onStartConfig.coreProxy;
102
106
  globalConfig.routes = (onStartConfig.routes || []);
103
107
  globalConfig.errorRoutes = (onStartConfig.errorRoutes || []);
104
108
  }
package/package.json CHANGED
@@ -4,7 +4,7 @@
4
4
  "publishConfig": {
5
5
  "access": "public"
6
6
  },
7
- "version": "0.15.0-alpha.25",
7
+ "version": "0.15.0-alpha.27",
8
8
  "homepage": "https://developer.salesforce.com/docs/platform/lwr/overview",
9
9
  "repository": {
10
10
  "type": "git",
@@ -42,14 +42,14 @@
42
42
  "test": "jest"
43
43
  },
44
44
  "dependencies": {
45
- "@lwrjs/diagnostics": "0.15.0-alpha.25",
46
- "@lwrjs/instrumentation": "0.15.0-alpha.25",
47
- "@lwrjs/shared-utils": "0.15.0-alpha.25",
45
+ "@lwrjs/diagnostics": "0.15.0-alpha.27",
46
+ "@lwrjs/instrumentation": "0.15.0-alpha.27",
47
+ "@lwrjs/shared-utils": "0.15.0-alpha.27",
48
48
  "fs-extra": "^11.2.0",
49
49
  "jsonc-parser": "^3.3.1"
50
50
  },
51
51
  "devDependencies": {
52
- "@lwrjs/types": "0.15.0-alpha.25",
52
+ "@lwrjs/types": "0.15.0-alpha.27",
53
53
  "jest": "^26.6.3",
54
54
  "memfs": "^4.13.0",
55
55
  "ts-jest": "^26.5.6"
@@ -71,5 +71,5 @@
71
71
  "volta": {
72
72
  "extends": "../../../package.json"
73
73
  },
74
- "gitHead": "0e430bd7cbd44f66c9a30d86d2dc69fa592af0ea"
74
+ "gitHead": "6051c73d6009467325975f79dfa608a10bf2efa8"
75
75
  }