@shuvi/platform-shared 1.0.16 → 1.0.18
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.
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { IPluginContext } from '@shuvi/service';
|
|
2
2
|
/**
|
|
3
3
|
* A creator for `getPresetRuntimeFiles` which helps platforms to build a bunch of runtime files including
|
|
4
|
-
*
|
|
4
|
+
* ``core/platform`, `core/plugins`, `core/polyfill`, `core/runtimeConfig`, `core/setRuntimeConfig`,
|
|
5
5
|
* `user/error`, `user/runtime` and `entry`
|
|
6
6
|
*/
|
|
7
7
|
export declare const getPresetRuntimeFilesCreator: (platformModule: string) => (pluginContext: IPluginContext) => Promise<import("@shuvi/service/lib/project").FileOptionWithId<any, any>[]>;
|
|
@@ -20,7 +20,7 @@ const projectContext_1 = require("../project/projectContext");
|
|
|
20
20
|
const file_presets_1 = require("../project/file-presets");
|
|
21
21
|
/**
|
|
22
22
|
* A creator for `getPresetRuntimeFiles` which helps platforms to build a bunch of runtime files including
|
|
23
|
-
*
|
|
23
|
+
* ``core/platform`, `core/plugins`, `core/polyfill`, `core/runtimeConfig`, `core/setRuntimeConfig`,
|
|
24
24
|
* `user/error`, `user/runtime` and `entry`
|
|
25
25
|
*/
|
|
26
26
|
const getPresetRuntimeFilesCreator = (platformModule) => (pluginContext) => __awaiter(void 0, void 0, void 0, function* () {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@shuvi/platform-shared",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.18",
|
|
4
4
|
"repository": {
|
|
5
5
|
"type": "git",
|
|
6
6
|
"url": "git+https://github.com/shuvijs/shuvi.git",
|
|
@@ -83,17 +83,17 @@
|
|
|
83
83
|
"node": ">= 16.0.0"
|
|
84
84
|
},
|
|
85
85
|
"dependencies": {
|
|
86
|
-
"@shuvi/hook": "1.0.
|
|
87
|
-
"doura": "0.0.
|
|
88
|
-
"@shuvi/router": "1.0.
|
|
89
|
-
"@shuvi/runtime": "1.0.
|
|
90
|
-
"@shuvi/shared": "1.0.
|
|
91
|
-
"@shuvi/toolpack": "1.0.
|
|
92
|
-
"@shuvi/utils": "1.0.
|
|
86
|
+
"@shuvi/hook": "1.0.18",
|
|
87
|
+
"doura": "0.0.8",
|
|
88
|
+
"@shuvi/router": "1.0.18",
|
|
89
|
+
"@shuvi/runtime": "1.0.18",
|
|
90
|
+
"@shuvi/shared": "1.0.18",
|
|
91
|
+
"@shuvi/toolpack": "1.0.18",
|
|
92
|
+
"@shuvi/utils": "1.0.18",
|
|
93
93
|
"redux": "4.1.2"
|
|
94
94
|
},
|
|
95
95
|
"peerDependencies": {
|
|
96
|
-
"@shuvi/service": "1.0.
|
|
96
|
+
"@shuvi/service": "1.0.18"
|
|
97
97
|
},
|
|
98
98
|
"devDependencies": {
|
|
99
99
|
"@shuvi/service": "workspace:*",
|
|
@@ -2,11 +2,6 @@ declare module '@shuvi/app/core/entry' {
|
|
|
2
2
|
export {};
|
|
3
3
|
}
|
|
4
4
|
|
|
5
|
-
declare module '@shuvi/app/core/error' {
|
|
6
|
-
const Error: any;
|
|
7
|
-
export default Error;
|
|
8
|
-
}
|
|
9
|
-
|
|
10
5
|
declare module '@shuvi/app/core/platform' {
|
|
11
6
|
import { IPageRouteRecord, IViewClient } from '@shuvi/platform-shared/shared';
|
|
12
7
|
|