@ray-js/framework 1.3.99-beta.4 → 1.4.0-alpha.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.
@@ -1,3 +1,3 @@
1
1
  import { responsive } from './responsive'; // 响应式设计 rem 单位
2
2
 
3
- typeof document !== 'undefined' && responsive();
3
+ responsive();
@@ -1,7 +1,6 @@
1
1
  import "core-js/modules/es.parse-float.js";
2
+ var htmlRoot = document.querySelector('html');
2
3
  export function responsive() {
3
- var htmlRoot = document.querySelector('html');
4
-
5
4
  function setRem() {
6
5
  var clientWidth = htmlRoot.clientWidth; // clientWidth = Math.min(clientWidth, 640); // PC 模式下限定最大值
7
6
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ray-js/framework",
3
- "version": "1.3.99-beta.4",
3
+ "version": "1.4.0-alpha.0",
4
4
  "description": "Ray Core",
5
5
  "keywords": [
6
6
  "ray"
@@ -20,12 +20,12 @@
20
20
  "watch": "tsc -p ./tsconfig.build.json --module esnext --outDir lib --watch"
21
21
  },
22
22
  "dependencies": {
23
- "@ray-js/framework-mp": "^1.3.99-beta.4",
24
- "@ray-js/framework-shared": "^1.3.99-beta.4",
25
- "@ray-js/library": "^1.3.99-beta.4",
26
- "@ray-js/location": "^1.3.99-beta.4",
27
- "@ray-js/router": "^1.3.99-beta.4",
28
- "@ray-js/runtime": "^1.3.99-beta.4",
23
+ "@ray-js/framework-mp": "^1.4.0-alpha.0",
24
+ "@ray-js/framework-shared": "^1.4.0-alpha.0",
25
+ "@ray-js/library": "^1.4.0-alpha.0",
26
+ "@ray-js/location": "^1.4.0-alpha.0",
27
+ "@ray-js/router": "^1.4.0-alpha.0",
28
+ "@ray-js/runtime": "^1.4.0-alpha.0",
29
29
  "clsx": "^1.1.1",
30
30
  "hoist-non-react-statics": "^3.3.2",
31
31
  "lodash.get": "^4.4.2",
@@ -34,8 +34,8 @@
34
34
  "tiny-invariant": "^1.1.0"
35
35
  },
36
36
  "devDependencies": {
37
- "@ray-js/cli": "^1.3.99-beta.4",
38
- "@ray-js/types": "^1.3.99-beta.4"
37
+ "@ray-js/cli": "^1.4.0-alpha.0",
38
+ "@ray-js/types": "^1.4.0-alpha.0"
39
39
  },
40
40
  "maintainers": [
41
41
  {
@@ -43,6 +43,6 @@
43
43
  "email": "tuyafe@tuya.com"
44
44
  }
45
45
  ],
46
- "gitHead": "d7023ac947690654dc0c20e8bc7c292f16005236",
46
+ "gitHead": "92a9834964bb74c3a3b0553438b0f0c7a77ad8d0",
47
47
  "repository": {}
48
48
  }