@tarojs/taro 4.0.9-beta.1 → 4.0.9-beta.2
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
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@tarojs/taro",
|
|
3
|
-
"version": "4.0.9-beta.
|
|
3
|
+
"version": "4.0.9-beta.2",
|
|
4
4
|
"description": "Taro framework",
|
|
5
5
|
"author": "O2Team",
|
|
6
6
|
"license": "MIT",
|
|
@@ -24,8 +24,8 @@
|
|
|
24
24
|
},
|
|
25
25
|
"dependencies": {
|
|
26
26
|
"@types/postcss-url": "^10.0.4",
|
|
27
|
-
"@tarojs/api": "4.0.9-beta.
|
|
28
|
-
"@tarojs/runtime": "4.0.9-beta.
|
|
27
|
+
"@tarojs/api": "4.0.9-beta.2",
|
|
28
|
+
"@tarojs/runtime": "4.0.9-beta.2"
|
|
29
29
|
},
|
|
30
30
|
"devDependencies": {
|
|
31
31
|
"@types/react": "^18.3.1",
|
|
@@ -35,9 +35,9 @@
|
|
|
35
35
|
"webpack-chain": "^6.5.1",
|
|
36
36
|
"webpack-dev-server": "^4.15.2",
|
|
37
37
|
"rollup": "^3.29.4",
|
|
38
|
-
"@tarojs/
|
|
39
|
-
"@tarojs/
|
|
40
|
-
"@tarojs/
|
|
38
|
+
"@tarojs/components": "4.0.9-beta.2",
|
|
39
|
+
"@tarojs/shared": "4.0.9-beta.2",
|
|
40
|
+
"@tarojs/helper": "4.0.9-beta.2"
|
|
41
41
|
},
|
|
42
42
|
"peerDependencies": {
|
|
43
43
|
"@types/react": "^18",
|
|
@@ -48,9 +48,9 @@
|
|
|
48
48
|
"webpack": "^5",
|
|
49
49
|
"webpack-chain": "^6",
|
|
50
50
|
"webpack-dev-server": "^4",
|
|
51
|
-
"@tarojs/
|
|
52
|
-
"@tarojs/shared": "4.0.9-beta.
|
|
53
|
-
"@tarojs/
|
|
51
|
+
"@tarojs/components": "4.0.9-beta.2",
|
|
52
|
+
"@tarojs/shared": "4.0.9-beta.2",
|
|
53
|
+
"@tarojs/helper": "4.0.9-beta.2"
|
|
54
54
|
},
|
|
55
55
|
"peerDependenciesMeta": {
|
|
56
56
|
"@types/react": {
|
|
@@ -17,6 +17,7 @@ export interface ViteNativeCompMeta {
|
|
|
17
17
|
templatePath: string
|
|
18
18
|
cssPath?: string
|
|
19
19
|
isPackage?: boolean
|
|
20
|
+
isGenerated?: boolean
|
|
20
21
|
}
|
|
21
22
|
|
|
22
23
|
export interface ViteFileType {
|
|
@@ -143,7 +144,8 @@ export interface ViteHarmonyCompilerContext extends ViteCompilerContext<ViteHarm
|
|
|
143
144
|
modifyHarmonyConfig: (config: Partial<AppConfig>) => void
|
|
144
145
|
modifyHostPackage: (deps?: Record<string, string>, devDeps?: Record<string, string>) => Exclude<IHarmonyConfig['ohPackage'], void>
|
|
145
146
|
resolvePageImportPath: (scriptPath: string, pageName: string) => string
|
|
146
|
-
collectNativeComponents: (meta: ViteAppMeta | VitePageMeta | ViteNativeCompMeta) =>
|
|
147
|
+
collectNativeComponents: (meta: ViteAppMeta | VitePageMeta | ViteNativeCompMeta) => ViteNativeCompMeta[]
|
|
148
|
+
generateNativeComponent: (rollupCtx: PluginContext, meta: ViteNativeCompMeta, implicitlyLoadedAfterOneOf: string[] = []) => void
|
|
147
149
|
getScriptPath: (filePath: string) => string
|
|
148
150
|
getStylePath: (filePath: string) => string
|
|
149
151
|
getConfigPath: (filePath: string) => string
|
|
@@ -155,7 +157,8 @@ export interface ViteMiniCompilerContext extends ViteCompilerContext<ViteMiniBui
|
|
|
155
157
|
nativeComponents : Map<string, ViteNativeCompMeta>
|
|
156
158
|
getCommonChunks: () => string[]
|
|
157
159
|
resolvePageImportPath: (scriptPath: string, pageName: string) => string
|
|
158
|
-
collectNativeComponents: (meta: ViteAppMeta | VitePageMeta | ViteNativeCompMeta) =>
|
|
160
|
+
collectNativeComponents: (meta: ViteAppMeta | VitePageMeta | ViteNativeCompMeta) => ViteNativeCompMeta[]
|
|
161
|
+
generateNativeComponent: (rollupCtx: PluginContext, meta: ViteNativeCompMeta, implicitlyLoadedAfterOneOf: string[] = []) => void
|
|
159
162
|
getScriptPath: (filePath: string) => string
|
|
160
163
|
getTemplatePath: (filePath: string) => string
|
|
161
164
|
getStylePath: (filePath: string) => string
|