@ray-js/framework 1.6.0-beta.8 → 1.6.0

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.
@@ -16,5 +16,5 @@ export function createApp(options) {
16
16
  set(cfg, 'tabBar', normalizeTabBar(cfg.tabBar, cfg.routes));
17
17
 
18
18
  // 作为 web 构建的启动入口文件
19
- ReactDOM.render( /*#__PURE__*/React.createElement(Application, cfg), root);
19
+ ReactDOM.render(/*#__PURE__*/React.createElement(Application, cfg), root);
20
20
  }
@@ -1,4 +1,6 @@
1
1
  import _defineProperty from "@babel/runtime/helpers/esm/defineProperty";
2
+ import "core-js/modules/esnext.iterator.constructor.js";
3
+ import "core-js/modules/esnext.iterator.for-each.js";
2
4
  import React from 'react';
3
5
  import { lifecycle, PageInstance, PageInstanceContext } from '@ray-js/runtime';
4
6
  import { pageLifecycles } from '@ray-js/types';
@@ -1,4 +1,5 @@
1
1
  import _defineProperty from "@babel/runtime/helpers/esm/defineProperty";
2
+ import "core-js/modules/esnext.iterator.map.js";
2
3
  import "core-js/modules/web.dom-collections.iterator.js";
3
4
  import clsx from 'clsx';
4
5
  import React from 'react';
package/lib/index.d.ts CHANGED
@@ -1,3 +1,3 @@
1
1
  export { createApp, getApp } from './app';
2
2
  export { lifecycle, PageInstance, PageInstanceContext, withPageLifecycle, useAppEvent, usePageEvent, useNativeEffect, useQuery, usePageInstance, useComponentInstance, useModal, } from '@ray-js/runtime';
3
- export * from './api';
3
+ export { showTabBar, hideTabBar } from './api';
package/lib/index.js CHANGED
@@ -1,3 +1,3 @@
1
1
  export { createApp, getApp } from './app';
2
2
  export { lifecycle, PageInstance, PageInstanceContext, withPageLifecycle, useAppEvent, usePageEvent, useNativeEffect, useQuery, usePageInstance, useComponentInstance, useModal } from '@ray-js/runtime';
3
- export * from './api';
3
+ export { showTabBar, hideTabBar } from './api';
@@ -1,3 +1,4 @@
1
+ import "core-js/modules/es.regexp.exec.js";
1
2
  import slash from 'slash';
2
3
  export function normalizeBasename(p) {
3
4
  var _p;
@@ -1,3 +1,4 @@
1
+ import "core-js/modules/es.regexp.exec.js";
1
2
  import "core-js/modules/es.string.replace.js";
2
3
  export function withPublicPath(basePath) {
3
4
  return PUBLIC_PATH + basePath.replace(/^\//, '');
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ray-js/framework",
3
- "version": "1.6.0-beta.8",
3
+ "version": "1.6.0",
4
4
  "description": "Ray Core",
5
5
  "keywords": [
6
6
  "ray"
@@ -23,12 +23,12 @@
23
23
  "watch": "tsc -p ./tsconfig.build.json --module esnext --outDir lib --watch"
24
24
  },
25
25
  "dependencies": {
26
- "@ray-js/framework-mp": "^1.6.0-beta.8",
27
- "@ray-js/framework-shared": "^1.6.0-beta.8",
28
- "@ray-js/library": "^1.6.0-beta.8",
29
- "@ray-js/location": "^1.6.0-beta.8",
30
- "@ray-js/router": "^1.6.0-beta.8",
31
- "@ray-js/runtime": "^1.6.0-beta.8",
26
+ "@ray-js/framework-mp": "1.6.0",
27
+ "@ray-js/framework-shared": "1.6.0",
28
+ "@ray-js/library": "1.6.0",
29
+ "@ray-js/location": "1.6.0",
30
+ "@ray-js/router": "1.6.0",
31
+ "@ray-js/runtime": "1.6.0",
32
32
  "clsx": "^1.2.1",
33
33
  "hoist-non-react-statics": "^3.3.2",
34
34
  "lodash.get": "^4.4.2",
@@ -37,12 +37,12 @@
37
37
  "tiny-invariant": "^1.3.3"
38
38
  },
39
39
  "devDependencies": {
40
- "@ray-js/cli": "^1.6.0-beta.8",
41
- "@ray-js/types": "^1.6.0-beta.8"
40
+ "@ray-js/cli": "1.6.0",
41
+ "@ray-js/types": "1.6.0"
42
42
  },
43
43
  "publishConfig": {
44
44
  "access": "public",
45
- "registry": "https://registry.npmjs.org"
45
+ "registry": "https://registry.npmjs.com"
46
46
  },
47
- "gitHead": "b1d4118961bba4f3f2a889ec5bb9444d165df0dc"
47
+ "gitHead": "b5b10947abcec036f88b73320491fb4e0a4cbe52"
48
48
  }