@tarojs/plugin-framework-solid 4.0.0-beta.83 → 4.0.0-beta.84
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/LICENSE +7 -0
- package/README.md +2 -2
- package/package.json +25 -26
- package/dist/api-loader.js +0 -84
- package/dist/api-loader.js.map +0 -1
- package/dist/index.js +0 -821
- package/dist/index.js.map +0 -1
- package/dist/reconciler.js +0 -347
- package/dist/reconciler.js.map +0 -1
- package/dist/runtime.js +0 -1165
- package/dist/runtime.js.map +0 -1
package/LICENSE
CHANGED
|
@@ -165,3 +165,10 @@ Apache-2.0 (intersection-observer):
|
|
|
165
165
|
The following files embed [intersection-observer](https://github.com/GoogleChromeLabs/intersection-observer) Apache-2.0:
|
|
166
166
|
`/packages/taro-api/src/polyfill/intersection-observer.ts`
|
|
167
167
|
See `/LICENSE.txt` for details of the license.
|
|
168
|
+
|
|
169
|
+
==================
|
|
170
|
+
|
|
171
|
+
MIT (babel-plugin-jsx-dom-expressions):
|
|
172
|
+
The following files embed [babel-plugin-jsx-dom-expressions](https://github.com/ryansolid/dom-expressions/blob/main/packages/babel-plugin-jsx-dom-expressions) MIT:
|
|
173
|
+
`/packages/babel-plugin-transform-solid-jsx/src/*`
|
|
174
|
+
See `/LICENSE` for details of the license.
|
package/README.md
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
# `@tarojs/plugin-platform-
|
|
1
|
+
# `@tarojs/plugin-platform-solid`
|
|
2
2
|
|
|
3
|
-
Taro 插件。用于支持编译
|
|
3
|
+
Taro 插件。用于支持编译solid。
|
package/package.json
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@tarojs/plugin-framework-solid",
|
|
3
|
-
"version": "4.0.0-beta.
|
|
3
|
+
"version": "4.0.0-beta.84",
|
|
4
4
|
"description": "Solid 框架插件",
|
|
5
|
-
"author": "
|
|
5
|
+
"author": "drchan",
|
|
6
6
|
"homepage": "https://github.com/nervjs/taro",
|
|
7
7
|
"license": "MIT",
|
|
8
8
|
"main": "index.js",
|
|
@@ -21,48 +21,47 @@
|
|
|
21
21
|
"bugs": {
|
|
22
22
|
"url": "https://github.com/NervJS/taro/issues"
|
|
23
23
|
},
|
|
24
|
-
"engines": {
|
|
25
|
-
"node": ">= 18"
|
|
26
|
-
},
|
|
27
24
|
"dependencies": {
|
|
28
|
-
"acorn": "^8.
|
|
29
|
-
"acorn-walk": "^8.
|
|
25
|
+
"acorn": "^8.0.4",
|
|
26
|
+
"acorn-walk": "^8.0.0",
|
|
30
27
|
"lodash": "^4.17.21",
|
|
31
|
-
"
|
|
28
|
+
"@tarojs/helper": "4.0.0-beta.84",
|
|
29
|
+
"@tarojs/service": "4.0.0-beta.84"
|
|
32
30
|
},
|
|
33
31
|
"devDependencies": {
|
|
34
|
-
"@
|
|
35
|
-
"@types/react-dom": "^18.2.25",
|
|
36
|
-
"solid-js": "^1.8.17",
|
|
37
|
-
"vite": "^4.2.0",
|
|
32
|
+
"@babel/core": "^7.14.5",
|
|
38
33
|
"webpack-chain": "^6.5.1",
|
|
39
|
-
"
|
|
40
|
-
"
|
|
41
|
-
"
|
|
42
|
-
"
|
|
43
|
-
"
|
|
34
|
+
"esbuild": "~0.19.5",
|
|
35
|
+
"solid-js": "^1.8.16",
|
|
36
|
+
"typescript": "^5.3.3",
|
|
37
|
+
"vite": "^4.2.0",
|
|
38
|
+
"vite-plugin-solid": "^2.10.2",
|
|
39
|
+
"@tarojs/runtime": "4.0.0-beta.84",
|
|
40
|
+
"@tarojs/shared": "4.0.0-beta.84",
|
|
41
|
+
"@tarojs/taro": "4.0.0-beta.84"
|
|
44
42
|
},
|
|
45
43
|
"peerDependencies": {
|
|
46
|
-
"solid
|
|
47
|
-
"vite": "^4",
|
|
44
|
+
"vite-plugin-solid": "^2",
|
|
48
45
|
"webpack": "^5",
|
|
49
|
-
"
|
|
50
|
-
"@tarojs/
|
|
51
|
-
"@tarojs/shared": "4.0.0-beta.
|
|
46
|
+
"solid-js": ">=1",
|
|
47
|
+
"@tarojs/runtime": "~4.0.0-beta.84",
|
|
48
|
+
"@tarojs/shared": "~4.0.0-beta.84"
|
|
52
49
|
},
|
|
53
50
|
"peerDependenciesMeta": {
|
|
54
|
-
"solid
|
|
51
|
+
"vite-plugin-solid": {
|
|
55
52
|
"optional": true
|
|
56
53
|
},
|
|
57
|
-
"
|
|
54
|
+
"webpack": {
|
|
58
55
|
"optional": true
|
|
59
56
|
},
|
|
60
|
-
"
|
|
57
|
+
"solid-js": {
|
|
58
|
+
"optional": true
|
|
59
|
+
},
|
|
60
|
+
"vite": {
|
|
61
61
|
"optional": true
|
|
62
62
|
}
|
|
63
63
|
},
|
|
64
64
|
"scripts": {
|
|
65
|
-
"prod": "pnpm run build",
|
|
66
65
|
"prebuild": "run-s clean",
|
|
67
66
|
"build": "pnpm run rollup --environment NODE_ENV:production",
|
|
68
67
|
"clean": "rimraf --impl=move-remove dist",
|
package/dist/api-loader.js
DELETED
|
@@ -1,84 +0,0 @@
|
|
|
1
|
-
'use strict';
|
|
2
|
-
|
|
3
|
-
function apiLoader (str) {
|
|
4
|
-
return `import {
|
|
5
|
-
useAddToFavorites,
|
|
6
|
-
useDidHide,
|
|
7
|
-
useDidShow,
|
|
8
|
-
useError,
|
|
9
|
-
useLaunch,
|
|
10
|
-
useLoad,
|
|
11
|
-
useOptionMenuClick,
|
|
12
|
-
usePageNotFound,
|
|
13
|
-
usePageScroll,
|
|
14
|
-
usePullDownRefresh,
|
|
15
|
-
usePullIntercept,
|
|
16
|
-
useReachBottom,
|
|
17
|
-
useReady,
|
|
18
|
-
useResize,
|
|
19
|
-
useRouter,
|
|
20
|
-
useSaveExitState,
|
|
21
|
-
useShareAppMessage,
|
|
22
|
-
useShareTimeline,
|
|
23
|
-
useTabItemTap,
|
|
24
|
-
useTitleClick,
|
|
25
|
-
useScope,
|
|
26
|
-
useUnhandledRejection,
|
|
27
|
-
useUnload
|
|
28
|
-
} from '@tarojs/plugin-framework-react/dist/runtime'
|
|
29
|
-
${str}
|
|
30
|
-
|
|
31
|
-
taro.useAddToFavorites = useAddToFavorites
|
|
32
|
-
taro.useDidHide = useDidHide
|
|
33
|
-
taro.useDidShow = useDidShow
|
|
34
|
-
taro.useError = useError
|
|
35
|
-
taro.useLaunch = useLaunch
|
|
36
|
-
taro.useLoad = useLoad
|
|
37
|
-
taro.useOptionMenuClick = useOptionMenuClick
|
|
38
|
-
taro.usePageNotFound = usePageNotFound
|
|
39
|
-
taro.usePageScroll = usePageScroll
|
|
40
|
-
taro.usePullDownRefresh = usePullDownRefresh
|
|
41
|
-
taro.usePullIntercept = usePullIntercept
|
|
42
|
-
taro.useReachBottom = useReachBottom
|
|
43
|
-
taro.useReady = useReady
|
|
44
|
-
taro.useResize = useResize
|
|
45
|
-
taro.useRouter = useRouter
|
|
46
|
-
taro.useSaveExitState = useSaveExitState
|
|
47
|
-
taro.useShareAppMessage = useShareAppMessage
|
|
48
|
-
taro.useShareTimeline = useShareTimeline
|
|
49
|
-
taro.useTabItemTap = useTabItemTap
|
|
50
|
-
taro.useTitleClick = useTitleClick
|
|
51
|
-
taro.useScope = useScope
|
|
52
|
-
taro.useUnhandledRejection = useUnhandledRejection
|
|
53
|
-
taro.useUnload = useUnload
|
|
54
|
-
|
|
55
|
-
export {
|
|
56
|
-
useAddToFavorites,
|
|
57
|
-
useDidHide,
|
|
58
|
-
useDidShow,
|
|
59
|
-
useError,
|
|
60
|
-
useLaunch,
|
|
61
|
-
useLoad,
|
|
62
|
-
useOptionMenuClick,
|
|
63
|
-
usePageNotFound,
|
|
64
|
-
usePageScroll,
|
|
65
|
-
usePullDownRefresh,
|
|
66
|
-
usePullIntercept,
|
|
67
|
-
useReachBottom,
|
|
68
|
-
useReady,
|
|
69
|
-
useResize,
|
|
70
|
-
useRouter,
|
|
71
|
-
useSaveExitState,
|
|
72
|
-
useShareAppMessage,
|
|
73
|
-
useShareTimeline,
|
|
74
|
-
useTabItemTap,
|
|
75
|
-
useTitleClick,
|
|
76
|
-
useScope,
|
|
77
|
-
useUnhandledRejection,
|
|
78
|
-
useUnload
|
|
79
|
-
}
|
|
80
|
-
`;
|
|
81
|
-
}
|
|
82
|
-
|
|
83
|
-
module.exports = apiLoader;
|
|
84
|
-
//# sourceMappingURL=api-loader.js.map
|
package/dist/api-loader.js.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"api-loader.js","sources":["../src/api-loader.ts"],"sourcesContent":["export default function (str: string) {\n return `import {\n useAddToFavorites,\n useDidHide,\n useDidShow,\n useError,\n useLaunch,\n useLoad,\n useOptionMenuClick,\n usePageNotFound,\n usePageScroll,\n usePullDownRefresh,\n usePullIntercept,\n useReachBottom,\n useReady,\n useResize,\n useRouter,\n useSaveExitState,\n useShareAppMessage,\n useShareTimeline,\n useTabItemTap,\n useTitleClick,\n useScope,\n useUnhandledRejection,\n useUnload\n} from '@tarojs/plugin-framework-react/dist/runtime'\n${str}\n\ntaro.useAddToFavorites = useAddToFavorites\ntaro.useDidHide = useDidHide\ntaro.useDidShow = useDidShow\ntaro.useError = useError\ntaro.useLaunch = useLaunch\ntaro.useLoad = useLoad\ntaro.useOptionMenuClick = useOptionMenuClick\ntaro.usePageNotFound = usePageNotFound\ntaro.usePageScroll = usePageScroll\ntaro.usePullDownRefresh = usePullDownRefresh\ntaro.usePullIntercept = usePullIntercept\ntaro.useReachBottom = useReachBottom\ntaro.useReady = useReady\ntaro.useResize = useResize\ntaro.useRouter = useRouter\ntaro.useSaveExitState = useSaveExitState\ntaro.useShareAppMessage = useShareAppMessage\ntaro.useShareTimeline = useShareTimeline\ntaro.useTabItemTap = useTabItemTap\ntaro.useTitleClick = useTitleClick\ntaro.useScope = useScope\ntaro.useUnhandledRejection = useUnhandledRejection\ntaro.useUnload = useUnload\n\nexport {\n useAddToFavorites,\n useDidHide,\n useDidShow,\n useError,\n useLaunch,\n useLoad,\n useOptionMenuClick,\n usePageNotFound,\n usePageScroll,\n usePullDownRefresh,\n usePullIntercept,\n useReachBottom,\n useReady,\n useResize,\n useRouter,\n useSaveExitState,\n useShareAppMessage,\n useShareTimeline,\n useTabItemTap,\n useTitleClick,\n useScope,\n useUnhandledRejection,\n useUnload\n}\n`\n}\n"],"names":[],"mappings":";;AAAc,kBAAA,EAAW,GAAW,EAAA;IAClC,OAAO,CAAA;;;;;;;;;;;;;;;;;;;;;;;;;EAyBP,GAAG,CAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAmDJ,CAAA;AACD;;;;"}
|