@ray-js/ray 1.5.48-alpha.0 → 1.5.48-alpha.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/index.js +21 -3
- package/package.json +8 -9
- package/unified.js +0 -21
- /package/{unified.mini.js → index.mini.js} +0 -0
package/index.js
CHANGED
@@ -1,3 +1,21 @@
|
|
1
|
-
|
2
|
-
|
3
|
-
|
1
|
+
export {
|
2
|
+
createApp,
|
3
|
+
lifecycle,
|
4
|
+
PageInstance,
|
5
|
+
PageInstanceContext,
|
6
|
+
withPageLifecycle,
|
7
|
+
useAppEvent,
|
8
|
+
usePageEvent,
|
9
|
+
useNativeEffect,
|
10
|
+
useQuery,
|
11
|
+
usePageInstance,
|
12
|
+
useComponentInstance,
|
13
|
+
useModal, // TODO: useModal web端待实现
|
14
|
+
} from '@ray-js/framework'
|
15
|
+
export * from '@ray-js/components'
|
16
|
+
export * from '@ray-js/api'
|
17
|
+
export { router as nativeRouter } from '@ray-js/api'
|
18
|
+
export { default as router } from '@ray-js/router'
|
19
|
+
export { default as location } from '@ray-js/location'
|
20
|
+
export { default as platform } from '@ray-js/env'
|
21
|
+
export * from '@ray-js/capability'
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@ray-js/ray",
|
3
|
-
"version": "1.5.48-alpha.
|
3
|
+
"version": "1.5.48-alpha.2",
|
4
4
|
"description": "ray",
|
5
5
|
"keywords": [
|
6
6
|
"ray"
|
@@ -16,10 +16,9 @@
|
|
16
16
|
"main": "index.js",
|
17
17
|
"types": "index.d.ts",
|
18
18
|
"files": [
|
19
|
-
"index.js",
|
20
19
|
"index.d.ts",
|
21
|
-
"
|
22
|
-
"
|
20
|
+
"index.js",
|
21
|
+
"index.mini.js",
|
23
22
|
"main",
|
24
23
|
"macro.js",
|
25
24
|
"macro.d.ts",
|
@@ -28,14 +27,14 @@
|
|
28
27
|
"dependencies": {
|
29
28
|
"@ray-core/html2mini-plugin": "^1.0.0",
|
30
29
|
"@ray-core/macro": "^0.4.8",
|
31
|
-
"@ray-js/api": "1.5.48-alpha.
|
32
|
-
"@ray-js/capability": "1.5.48-alpha.
|
33
|
-
"@ray-js/components": "1.5.48-alpha.
|
34
|
-
"@ray-js/framework": "1.5.48-alpha.
|
30
|
+
"@ray-js/api": "1.5.48-alpha.2",
|
31
|
+
"@ray-js/capability": "1.5.48-alpha.2",
|
32
|
+
"@ray-js/components": "1.5.48-alpha.2",
|
33
|
+
"@ray-js/framework": "1.5.48-alpha.2"
|
35
34
|
},
|
36
35
|
"publishConfig": {
|
37
36
|
"access": "public",
|
38
37
|
"registry": "https://registry.npmjs.com"
|
39
38
|
},
|
40
|
-
"gitHead": "
|
39
|
+
"gitHead": "a2cd3121b60ccc4d3a532bba8654b40c5f979893"
|
41
40
|
}
|
package/unified.js
DELETED
@@ -1,21 +0,0 @@
|
|
1
|
-
export {
|
2
|
-
createApp,
|
3
|
-
lifecycle,
|
4
|
-
PageInstance,
|
5
|
-
PageInstanceContext,
|
6
|
-
withPageLifecycle,
|
7
|
-
useAppEvent,
|
8
|
-
usePageEvent,
|
9
|
-
useNativeEffect,
|
10
|
-
useQuery,
|
11
|
-
usePageInstance,
|
12
|
-
useComponentInstance,
|
13
|
-
useModal, // TODO: useModal web端待实现
|
14
|
-
} from '@ray-js/framework'
|
15
|
-
export * from '@ray-js/components'
|
16
|
-
export * from '@ray-js/api'
|
17
|
-
export { router as nativeRouter } from '@ray-js/api'
|
18
|
-
export { default as router } from '@ray-js/router'
|
19
|
-
export { default as location } from '@ray-js/location'
|
20
|
-
export { default as platform } from '@ray-js/env'
|
21
|
-
export * from '@ray-js/capability'
|
File without changes
|