@shuvi/shared 1.0.0-rc.2 → 1.0.0-rc.5
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/esm/constants.d.ts +1 -0
- package/esm/constants.js +1 -0
- package/lib/constants.d.ts +1 -0
- package/lib/constants.js +2 -1
- package/package.json +1 -1
package/esm/constants.d.ts
CHANGED
|
@@ -9,6 +9,7 @@ export declare const DEV_STYLE_HIDE_FOUC = "data-shuvi-hide-fouc";
|
|
|
9
9
|
export declare const DEV_STYLE_PREPARE = "__shuvi_style_prepare";
|
|
10
10
|
export declare const DEV_HOT_MIDDLEWARE_PATH: string;
|
|
11
11
|
export declare const DEV_HOT_LAUNCH_EDITOR_ENDPOINT: string;
|
|
12
|
+
export declare const DEV_SOCKET_TIMEOUT_MS = 5000;
|
|
12
13
|
export declare const IDENTITY_RUNTIME_PUBLICPATH: string;
|
|
13
14
|
export declare const ROUTE_NOT_FOUND_NAME = "404";
|
|
14
15
|
export declare const SHUVI_ERROR: {
|
package/esm/constants.js
CHANGED
|
@@ -11,6 +11,7 @@ export const DEV_STYLE_HIDE_FOUC = 'data-shuvi-hide-fouc';
|
|
|
11
11
|
export const DEV_STYLE_PREPARE = '__shuvi_style_prepare';
|
|
12
12
|
export const DEV_HOT_MIDDLEWARE_PATH = `${DEV_ONLY_ASSETS_PREFIX}/webpack-hmr`;
|
|
13
13
|
export const DEV_HOT_LAUNCH_EDITOR_ENDPOINT = `${DEV_ONLY_ASSETS_PREFIX}/development/open-stack-frame-in-editor`;
|
|
14
|
+
export const DEV_SOCKET_TIMEOUT_MS = 5000;
|
|
14
15
|
export const IDENTITY_RUNTIME_PUBLICPATH = `__${NAME}_dynamic_public_path__`;
|
|
15
16
|
export const ROUTE_NOT_FOUND_NAME = `404`;
|
|
16
17
|
export const SHUVI_ERROR = {
|
package/lib/constants.d.ts
CHANGED
|
@@ -9,6 +9,7 @@ export declare const DEV_STYLE_HIDE_FOUC = "data-shuvi-hide-fouc";
|
|
|
9
9
|
export declare const DEV_STYLE_PREPARE = "__shuvi_style_prepare";
|
|
10
10
|
export declare const DEV_HOT_MIDDLEWARE_PATH: string;
|
|
11
11
|
export declare const DEV_HOT_LAUNCH_EDITOR_ENDPOINT: string;
|
|
12
|
+
export declare const DEV_SOCKET_TIMEOUT_MS = 5000;
|
|
12
13
|
export declare const IDENTITY_RUNTIME_PUBLICPATH: string;
|
|
13
14
|
export declare const ROUTE_NOT_FOUND_NAME = "404";
|
|
14
15
|
export declare const SHUVI_ERROR: {
|
package/lib/constants.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.BUNDLER_TARGET_SERVER = exports.BUNDLER_TARGET_CLIENT = exports.BUNDLER_DEFAULT_TARGET = exports.SHUVI_ERROR = exports.ROUTE_NOT_FOUND_NAME = exports.IDENTITY_RUNTIME_PUBLICPATH = exports.DEV_HOT_LAUNCH_EDITOR_ENDPOINT = exports.DEV_HOT_MIDDLEWARE_PATH = exports.DEV_STYLE_PREPARE = exports.DEV_STYLE_HIDE_FOUC = exports.DEV_STYLE_ANCHOR_ID = exports.CLIENT_APPDATA_ID = exports.CLIENT_CONTAINER_ID = exports.PUBLIC_ENV_PREFIX = exports.ROUTE_RESOURCE_QUERYSTRING = exports.DEV_ONLY_ASSETS_PREFIX = exports.NAME = void 0;
|
|
3
|
+
exports.BUNDLER_TARGET_SERVER = exports.BUNDLER_TARGET_CLIENT = exports.BUNDLER_DEFAULT_TARGET = exports.SHUVI_ERROR = exports.ROUTE_NOT_FOUND_NAME = exports.IDENTITY_RUNTIME_PUBLICPATH = exports.DEV_SOCKET_TIMEOUT_MS = exports.DEV_HOT_LAUNCH_EDITOR_ENDPOINT = exports.DEV_HOT_MIDDLEWARE_PATH = exports.DEV_STYLE_PREPARE = exports.DEV_STYLE_HIDE_FOUC = exports.DEV_STYLE_ANCHOR_ID = exports.CLIENT_APPDATA_ID = exports.CLIENT_CONTAINER_ID = exports.PUBLIC_ENV_PREFIX = exports.ROUTE_RESOURCE_QUERYSTRING = exports.DEV_ONLY_ASSETS_PREFIX = exports.NAME = void 0;
|
|
4
4
|
// common
|
|
5
5
|
exports.NAME = 'shuvi';
|
|
6
6
|
exports.DEV_ONLY_ASSETS_PREFIX = `/_${exports.NAME}`;
|
|
@@ -14,6 +14,7 @@ exports.DEV_STYLE_HIDE_FOUC = 'data-shuvi-hide-fouc';
|
|
|
14
14
|
exports.DEV_STYLE_PREPARE = '__shuvi_style_prepare';
|
|
15
15
|
exports.DEV_HOT_MIDDLEWARE_PATH = `${exports.DEV_ONLY_ASSETS_PREFIX}/webpack-hmr`;
|
|
16
16
|
exports.DEV_HOT_LAUNCH_EDITOR_ENDPOINT = `${exports.DEV_ONLY_ASSETS_PREFIX}/development/open-stack-frame-in-editor`;
|
|
17
|
+
exports.DEV_SOCKET_TIMEOUT_MS = 5000;
|
|
17
18
|
exports.IDENTITY_RUNTIME_PUBLICPATH = `__${exports.NAME}_dynamic_public_path__`;
|
|
18
19
|
exports.ROUTE_NOT_FOUND_NAME = `404`;
|
|
19
20
|
exports.SHUVI_ERROR = {
|