@shuvi/shared 1.0.0-rc.11 → 1.0.0-rc.12
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 +0 -1
- package/esm/constants.js +0 -1
- package/lib/constants.d.ts +0 -1
- package/lib/constants.js +1 -2
- package/package.json +2 -2
package/esm/constants.d.ts
CHANGED
|
@@ -6,7 +6,6 @@ export declare const CLIENT_CONTAINER_ID = "__APP";
|
|
|
6
6
|
export declare const CLIENT_APPDATA_ID = "__APP_DATA";
|
|
7
7
|
export declare const DEV_STYLE_ANCHOR_ID = "__shuvi_style_anchor";
|
|
8
8
|
export declare const DEV_STYLE_HIDE_FOUC = "data-shuvi-hide-fouc";
|
|
9
|
-
export declare const DEV_STYLE_PREPARE = "__shuvi_style_prepare";
|
|
10
9
|
export declare const DEV_HOT_MIDDLEWARE_PATH: string;
|
|
11
10
|
export declare const DEV_HOT_LAUNCH_EDITOR_ENDPOINT: string;
|
|
12
11
|
export declare const DEV_ORIGINAL_STACK_FRAME_ENDPOINT: string;
|
package/esm/constants.js
CHANGED
|
@@ -8,7 +8,6 @@ export const CLIENT_CONTAINER_ID = '__APP';
|
|
|
8
8
|
export const CLIENT_APPDATA_ID = '__APP_DATA';
|
|
9
9
|
export const DEV_STYLE_ANCHOR_ID = '__shuvi_style_anchor';
|
|
10
10
|
export const DEV_STYLE_HIDE_FOUC = 'data-shuvi-hide-fouc';
|
|
11
|
-
export const DEV_STYLE_PREPARE = '__shuvi_style_prepare';
|
|
12
11
|
export const DEV_HOT_MIDDLEWARE_PATH = `${DEV_ONLY_ASSETS_PREFIX}/webpack-hmr`;
|
|
13
12
|
export const DEV_HOT_LAUNCH_EDITOR_ENDPOINT = `${DEV_ONLY_ASSETS_PREFIX}/development/open-stack-frame-in-editor`;
|
|
14
13
|
export const DEV_ORIGINAL_STACK_FRAME_ENDPOINT = `${DEV_ONLY_ASSETS_PREFIX}/development/original-stack-frame`;
|
package/lib/constants.d.ts
CHANGED
|
@@ -6,7 +6,6 @@ export declare const CLIENT_CONTAINER_ID = "__APP";
|
|
|
6
6
|
export declare const CLIENT_APPDATA_ID = "__APP_DATA";
|
|
7
7
|
export declare const DEV_STYLE_ANCHOR_ID = "__shuvi_style_anchor";
|
|
8
8
|
export declare const DEV_STYLE_HIDE_FOUC = "data-shuvi-hide-fouc";
|
|
9
|
-
export declare const DEV_STYLE_PREPARE = "__shuvi_style_prepare";
|
|
10
9
|
export declare const DEV_HOT_MIDDLEWARE_PATH: string;
|
|
11
10
|
export declare const DEV_HOT_LAUNCH_EDITOR_ENDPOINT: string;
|
|
12
11
|
export declare const DEV_ORIGINAL_STACK_FRAME_ENDPOINT: string;
|
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.DEV_SOCKET_TIMEOUT_MS = exports.DEV_ORIGINAL_STACK_FRAME_ENDPOINT = exports.DEV_HOT_LAUNCH_EDITOR_ENDPOINT = exports.DEV_HOT_MIDDLEWARE_PATH = exports.
|
|
3
|
+
exports.BUNDLER_TARGET_SERVER = exports.BUNDLER_TARGET_CLIENT = exports.BUNDLER_DEFAULT_TARGET = exports.SHUVI_ERROR = exports.ROUTE_NOT_FOUND_NAME = exports.DEV_SOCKET_TIMEOUT_MS = exports.DEV_ORIGINAL_STACK_FRAME_ENDPOINT = exports.DEV_HOT_LAUNCH_EDITOR_ENDPOINT = exports.DEV_HOT_MIDDLEWARE_PATH = 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}`;
|
|
@@ -11,7 +11,6 @@ exports.CLIENT_CONTAINER_ID = '__APP';
|
|
|
11
11
|
exports.CLIENT_APPDATA_ID = '__APP_DATA';
|
|
12
12
|
exports.DEV_STYLE_ANCHOR_ID = '__shuvi_style_anchor';
|
|
13
13
|
exports.DEV_STYLE_HIDE_FOUC = 'data-shuvi-hide-fouc';
|
|
14
|
-
exports.DEV_STYLE_PREPARE = '__shuvi_style_prepare';
|
|
15
14
|
exports.DEV_HOT_MIDDLEWARE_PATH = `${exports.DEV_ONLY_ASSETS_PREFIX}/webpack-hmr`;
|
|
16
15
|
exports.DEV_HOT_LAUNCH_EDITOR_ENDPOINT = `${exports.DEV_ONLY_ASSETS_PREFIX}/development/open-stack-frame-in-editor`;
|
|
17
16
|
exports.DEV_ORIGINAL_STACK_FRAME_ENDPOINT = `${exports.DEV_ONLY_ASSETS_PREFIX}/development/original-stack-frame`;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@shuvi/shared",
|
|
3
|
-
"version": "1.0.0-rc.
|
|
3
|
+
"version": "1.0.0-rc.12",
|
|
4
4
|
"repository": {
|
|
5
5
|
"type": "git",
|
|
6
6
|
"url": "git+https://github.com/shuvijs/shuvi.git",
|
|
@@ -26,6 +26,6 @@
|
|
|
26
26
|
"node": ">= 12.0.0"
|
|
27
27
|
},
|
|
28
28
|
"dependencies": {
|
|
29
|
-
"@shuvi/hook": "1.0.0-rc.
|
|
29
|
+
"@shuvi/hook": "1.0.0-rc.12"
|
|
30
30
|
}
|
|
31
31
|
}
|