@tresjs/leches 0.14.0 → 0.15.0-next.1

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,2 +1,3 @@
1
1
  export * from './normalize';
2
2
  export * from './is';
3
+ export * from './perf';
@@ -0,0 +1,6 @@
1
+ import type { TresObject } from '@tresjs/core';
2
+ import type { Scene } from 'three';
3
+ export declare function calculateMemoryUsage(object: TresObject | Scene): number;
4
+ export declare function bytesToKB(bytes: number): string;
5
+ export declare function bytesToMB(bytes: number): string;
6
+ export declare function bytesToGB(bytes: number): string;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@tresjs/leches",
3
3
  "type": "module",
4
- "version": "0.14.0",
4
+ "version": "0.15.0-next.1",
5
5
  "packageManager": "pnpm@8.3.1",
6
6
  "description": "Tasty GUI for Vue controls 🍰",
7
7
  "author": "Alvaro Saburido <hola@alvarosaburido.dev> (https://github.com/alvarosabu/)",
@@ -55,16 +55,21 @@
55
55
  "vue": ">=3.3.4"
56
56
  },
57
57
  "dependencies": {
58
- "@unocss/core": "^0.57.7",
59
- "@vueuse/components": "^10.6.1",
58
+ "@tresjs/core": "3.5.1",
59
+ "@types/three": "^0.158.1",
60
+ "@unocss/core": "^0.57.2",
61
+ "@vueuse/components": "^10.5.0",
62
+ "three": "^0.159.0",
60
63
  "vite-plugin-css-injected-by-js": "^3.3.0"
61
64
  },
62
65
  "devDependencies": {
63
66
  "@histoire/plugin-vue": "^0.17.6",
64
67
  "@iconify-json/ic": "^1.1.16",
68
+ "@iconify-json/iconoir": "^1.1.33",
65
69
  "@iconify/json": "^2.2.150",
66
70
  "@release-it/conventional-changelog": "^8.0.1",
67
71
  "@tresjs/eslint-config-vue": "^0.2.1",
72
+ "@types/webgl2": "^0.0.10",
68
73
  "@typescript-eslint/eslint-plugin": "^6.13.1",
69
74
  "@typescript-eslint/parser": "^6.13.1",
70
75
  "@vitejs/plugin-vue": "^4.5.0",