@tarojs/taro 3.7.0-beta.1 → 3.7.0-beta.3

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.
Files changed (47) hide show
  1. package/package.json +11 -4
  2. package/types/api/ai/visionkit.d.ts +625 -54
  3. package/types/api/base/performance.d.ts +5 -5
  4. package/types/api/canvas/index.d.ts +67 -54
  5. package/types/api/device/accelerometer.d.ts +8 -6
  6. package/types/api/device/accessibility.d.ts +1 -1
  7. package/types/api/device/battery.d.ts +2 -2
  8. package/types/api/device/bluetooth-ble.d.ts +40 -17
  9. package/types/api/device/bluetooth-peripheral.d.ts +26 -26
  10. package/types/api/device/bluetooth.d.ts +37 -13
  11. package/types/api/device/calendar.d.ts +11 -1
  12. package/types/api/device/clipboard.d.ts +2 -2
  13. package/types/api/device/compass.d.ts +5 -5
  14. package/types/api/device/gyroscope.d.ts +4 -4
  15. package/types/api/device/iBeacon.d.ts +10 -8
  16. package/types/api/device/keyboard.d.ts +7 -5
  17. package/types/api/device/memory.d.ts +3 -4
  18. package/types/api/device/motion.d.ts +8 -6
  19. package/types/api/device/network.d.ts +12 -6
  20. package/types/api/device/nfc.d.ts +13 -13
  21. package/types/api/device/phone.d.ts +1 -1
  22. package/types/api/device/scan.d.ts +5 -3
  23. package/types/api/device/screen.d.ts +27 -11
  24. package/types/api/device/sms.d.ts +1 -1
  25. package/types/api/device/vibrate.d.ts +5 -5
  26. package/types/api/device/wifi.d.ts +25 -13
  27. package/types/api/media/camera.d.ts +9 -3
  28. package/types/api/open-api/device-voip.d.ts +2 -2
  29. package/types/api/open-api/login.d.ts +1 -1
  30. package/types/api/open-api/my-miniprogram.d.ts +2 -2
  31. package/types/api/open-api/privacy.d.ts +99 -0
  32. package/types/api/route/index.d.ts +1 -0
  33. package/types/api/skyline/index.d.ts +59 -0
  34. package/types/api/storage/cache-manager.d.ts +10 -10
  35. package/types/api/taro.extend.d.ts +1 -1
  36. package/types/api/ui/fonts.d.ts +4 -3
  37. package/types/compile/compiler.d.ts +7 -5
  38. package/types/compile/config/h5.d.ts +20 -10
  39. package/types/compile/config/mini.d.ts +36 -24
  40. package/types/compile/config/project.d.ts +8 -8
  41. package/types/compile/config/util.d.ts +18 -8
  42. package/types/compile/viteCompilerContext.d.ts +130 -0
  43. package/types/global.d.ts +1 -0
  44. package/types/index.d.ts +2 -0
  45. package/types/taro.api.d.ts +3 -0
  46. package/types/taro.component.d.ts +1 -1
  47. package/types/taro.config.d.ts +35 -4
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tarojs/taro",
3
- "version": "3.7.0-beta.1",
3
+ "version": "3.7.0-beta.3",
4
4
  "description": "Taro framework",
5
5
  "homepage": "https://github.com/nervjs/taro/tree/master/packages/taro#readme",
6
6
  "main": "index.js",
@@ -21,11 +21,12 @@
21
21
  "author": "O2Team",
22
22
  "license": "MIT",
23
23
  "dependencies": {
24
- "@tarojs/api": "3.7.0-beta.1",
25
- "@tarojs/runtime": "3.7.0-beta.1"
24
+ "@tarojs/api": "3.7.0-beta.3",
25
+ "@tarojs/runtime": "3.7.0-beta.3"
26
26
  },
27
27
  "devDependencies": {
28
- "@tarojs/helper": "3.7.0-beta.1"
28
+ "@tarojs/helper": "3.7.0-beta.3",
29
+ "@tarojs/shared": "3.7.0-beta.3"
29
30
  },
30
31
  "peerDependenciesMeta": {
31
32
  "@types/react": {
@@ -37,11 +38,17 @@
37
38
  "@types/webpack-dev-server": {
38
39
  "optional": true
39
40
  },
41
+ "@types/postcss-url": {
42
+ "optional": true
43
+ },
40
44
  "postcss": {
41
45
  "optional": true
42
46
  },
43
47
  "vue": {
44
48
  "optional": true
49
+ },
50
+ "rollup": {
51
+ "optional": true
45
52
  }
46
53
  },
47
54
  "scripts": {