@tarojs/service 3.7.0-alpha.14 → 3.7.0-alpha.15
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/package.json +5 -5
- package/src/utils/types.ts +5 -0
- package/types/utils/types.d.ts +5 -0
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@tarojs/service",
|
|
3
|
-
"version": "3.7.0-alpha.
|
|
3
|
+
"version": "3.7.0-alpha.15",
|
|
4
4
|
"description": "Taro Service",
|
|
5
5
|
"main": "index.js",
|
|
6
6
|
"types": "types/index.d.ts",
|
|
@@ -30,10 +30,10 @@
|
|
|
30
30
|
"tapable": "^1.1.3",
|
|
31
31
|
"webpack-merge": "^4.2.2",
|
|
32
32
|
"ora": "^5.0.0",
|
|
33
|
-
"@tarojs/helper": "3.7.0-alpha.
|
|
34
|
-
"@tarojs/shared": "3.7.0-alpha.
|
|
35
|
-
"@tarojs/taro": "3.7.0-alpha.
|
|
36
|
-
"@tarojs/runner-utils": "3.7.0-alpha.
|
|
33
|
+
"@tarojs/helper": "3.7.0-alpha.15",
|
|
34
|
+
"@tarojs/shared": "3.7.0-alpha.15",
|
|
35
|
+
"@tarojs/taro": "3.7.0-alpha.15",
|
|
36
|
+
"@tarojs/runner-utils": "3.7.0-alpha.15"
|
|
37
37
|
},
|
|
38
38
|
"devDependencies": {
|
|
39
39
|
"vite": "^4.2.0",
|
package/src/utils/types.ts
CHANGED
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import type helper from '@tarojs/helper'
|
|
2
|
+
import type runnerUtils from '@tarojs/runner-utils'
|
|
2
3
|
import type { IMiniFilesConfig, IProjectConfig } from '@tarojs/taro/types/compile'
|
|
3
4
|
import type { IModifyChainData } from '@tarojs/taro/types/compile/hooks'
|
|
4
5
|
import type joi from 'joi'
|
|
@@ -91,6 +92,10 @@ export declare interface IPluginContext {
|
|
|
91
92
|
* 为包 @tarojs/helper 的快捷使用方式,包含其所有 API
|
|
92
93
|
*/
|
|
93
94
|
helper: typeof helper
|
|
95
|
+
/**
|
|
96
|
+
* 为包 @tarojs/runner-utils 的快捷使用方式,包含其所有 API
|
|
97
|
+
*/
|
|
98
|
+
runnerUtils: typeof runnerUtils
|
|
94
99
|
/**
|
|
95
100
|
* 项目配置
|
|
96
101
|
*/
|
package/types/utils/types.d.ts
CHANGED
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import type helper from '@tarojs/helper';
|
|
2
|
+
import type runnerUtils from '@tarojs/runner-utils';
|
|
2
3
|
import type { IMiniFilesConfig, IProjectConfig } from '@tarojs/taro/types/compile';
|
|
3
4
|
import type { IModifyChainData } from '@tarojs/taro/types/compile/hooks';
|
|
4
5
|
import type joi from 'joi';
|
|
@@ -81,6 +82,10 @@ export declare interface IPluginContext {
|
|
|
81
82
|
* 为包 @tarojs/helper 的快捷使用方式,包含其所有 API
|
|
82
83
|
*/
|
|
83
84
|
helper: typeof helper;
|
|
85
|
+
/**
|
|
86
|
+
* 为包 @tarojs/runner-utils 的快捷使用方式,包含其所有 API
|
|
87
|
+
*/
|
|
88
|
+
runnerUtils: typeof runnerUtils;
|
|
84
89
|
/**
|
|
85
90
|
* 项目配置
|
|
86
91
|
*/
|