Browse Source

chore: updated deps

alvarosabu 1 năm trước cách đây
mục cha
commit
22b0f2693a

+ 2 - 2
docs/api/composables.md

@@ -62,7 +62,7 @@ const context = useTresContext()
 | **advance** | a method to advance the render loop. This is only required if you set the `render-mode` prop to `manual`. |
 | **advance** | a method to advance the render loop. This is only required if you set the `render-mode` prop to `manual`. |
 | **loop** | the renderer loop |
 | **loop** | the renderer loop |
 
 
-### useLoop <Badge text="v4.1.0" />
+### useLoop <Badge text="v4.0.0" />
 
 
 This composable allows you to execute a callback on every rendered frame, similar to `useRenderLoop` but unique to each `TresCanvas` instance and with access to the [context](#usetrescontext).
 This composable allows you to execute a callback on every rendered frame, similar to `useRenderLoop` but unique to each `TresCanvas` instance and with access to the [context](#usetrescontext).
 
 
@@ -342,7 +342,7 @@ watch(character, ({ model }) => {
 The `useRenderLoop` composable can be use for animations that don't require access to the [context](#usetrescontext). It allows you to register a callback that will be called on native refresh rate.
 The `useRenderLoop` composable can be use for animations that don't require access to the [context](#usetrescontext). It allows you to register a callback that will be called on native refresh rate.
 
 
 ::: warning
 ::: warning
- Since v4.1.0, `useRenderLoop` is no longer used internally to control the rendering, if you want to use conditional rendering, multiple canvases or need access to state please `useLoop` instead. [Read why](#useloop)
+ Since v4.0.0, `useRenderLoop` is no longer used internally to control the rendering, if you want to use conditional rendering, multiple canvases or need access to state please `useLoop` instead. [Read why](#useloop)
 :::
 :::
 
 
 ```ts
 ```ts

+ 1 - 1
docs/components.d.ts

@@ -1,10 +1,10 @@
 /* eslint-disable */
 /* eslint-disable */
-/* prettier-ignore */
 // @ts-nocheck
 // @ts-nocheck
 // Generated by unplugin-vue-components
 // Generated by unplugin-vue-components
 // Read more: https://github.com/vuejs/core/pull/3399
 // Read more: https://github.com/vuejs/core/pull/3399
 export {}
 export {}
 
 
+/* prettier-ignore */
 declare module 'vue' {
 declare module 'vue' {
   export interface GlobalComponents {
   export interface GlobalComponents {
     BlenderCube: typeof import('./.vitepress/theme/components/BlenderCube.vue')['default']
     BlenderCube: typeof import('./.vitepress/theme/components/BlenderCube.vue')['default']

+ 1 - 1
docs/package.json

@@ -14,7 +14,7 @@
   "devDependencies": {
   "devDependencies": {
     "@iconify-json/logos": "^1.1.42",
     "@iconify-json/logos": "^1.1.42",
     "@iconify-json/mdi": "^1.1.66",
     "@iconify-json/mdi": "^1.1.66",
-    "unocss": "^0.59.4",
+    "unocss": "^0.60.2",
     "vite-svg-loader": "^5.1.0"
     "vite-svg-loader": "^5.1.0"
   }
   }
 }
 }

+ 19 - 19
package.json

@@ -73,19 +73,19 @@
   },
   },
   "devDependencies": {
   "devDependencies": {
     "@release-it/conventional-changelog": "^8.0.1",
     "@release-it/conventional-changelog": "^8.0.1",
-    "@stackblitz/sdk": "^1.9.0",
-    "@tresjs/cientos": "3.8.0",
+    "@stackblitz/sdk": "^1.10.0",
+    "@tresjs/cientos": "3.9.0",
     "@tresjs/eslint-config": "^1.0.0",
     "@tresjs/eslint-config": "^1.0.0",
-    "@types/three": "^0.163.0",
-    "@typescript-eslint/eslint-plugin": "^7.7.1",
-    "@typescript-eslint/parser": "^7.7.1",
+    "@types/three": "^0.164.0",
+    "@typescript-eslint/eslint-plugin": "^7.9.0",
+    "@typescript-eslint/parser": "^7.9.0",
     "@vitejs/plugin-vue": "^5.0.4",
     "@vitejs/plugin-vue": "^5.0.4",
     "@vitest/coverage-c8": "^0.33.0",
     "@vitest/coverage-c8": "^0.33.0",
-    "@vitest/coverage-v8": "^1.5.0",
-    "@vitest/ui": "^1.5.0",
-    "@vue/test-utils": "^2.4.5",
-    "eslint": "^9.1.1",
-    "eslint-plugin-vue": "^9.25.0",
+    "@vitest/coverage-v8": "^1.6.0",
+    "@vitest/ui": "^1.6.0",
+    "@vue/test-utils": "^2.4.6",
+    "eslint": "^9.2.0",
+    "eslint-plugin-vue": "^9.26.0",
     "esno": "^4.7.0",
     "esno": "^4.7.0",
     "gsap": "^3.12.5",
     "gsap": "^3.12.5",
     "husky": "^9.0.11",
     "husky": "^9.0.11",
@@ -93,23 +93,23 @@
     "kolorist": "^1.8.0",
     "kolorist": "^1.8.0",
     "ohmyfetch": "^0.4.21",
     "ohmyfetch": "^0.4.21",
     "pathe": "^1.1.2",
     "pathe": "^1.1.2",
-    "release-it": "^17.2.0",
+    "release-it": "^17.2.1",
     "rollup-plugin-analyzer": "^4.0.0",
     "rollup-plugin-analyzer": "^4.0.0",
     "rollup-plugin-copy": "^3.5.0",
     "rollup-plugin-copy": "^3.5.0",
     "rollup-plugin-visualizer": "^5.12.0",
     "rollup-plugin-visualizer": "^5.12.0",
-    "three": "^0.163.0",
-    "unocss": "^0.59.4",
+    "three": "^0.164.1",
+    "unocss": "^0.60.2",
     "unplugin": "^1.10.1",
     "unplugin": "^1.10.1",
-    "unplugin-vue-components": "^0.26.0",
-    "vite": "^5.2.10",
+    "unplugin-vue-components": "^0.27.0",
+    "vite": "^5.2.11",
     "vite-plugin-banner": "^0.7.1",
     "vite-plugin-banner": "^0.7.1",
-    "vite-plugin-dts": "3.9.0",
+    "vite-plugin-dts": "3.9.1",
     "vite-plugin-inspect": "^0.8.4",
     "vite-plugin-inspect": "^0.8.4",
     "vite-plugin-require-transform": "^1.0.21",
     "vite-plugin-require-transform": "^1.0.21",
     "vite-svg-loader": "^5.1.0",
     "vite-svg-loader": "^5.1.0",
-    "vitepress": "1.1.3",
-    "vitest": "^1.5.0",
-    "vue": "^3.4.24",
+    "vitepress": "1.1.4",
+    "vitest": "^1.6.0",
+    "vue": "^3.4.27",
     "vue-demi": "^0.14.7"
     "vue-demi": "^0.14.7"
   }
   }
 }
 }

+ 0 - 66
playground/auto-imports.d.ts

@@ -1,66 +0,0 @@
-/* eslint-disable */
-/* prettier-ignore */
-// @ts-nocheck
-// noinspection JSUnusedGlobalSymbols
-// Generated by unplugin-auto-import
-export {}
-declare global {
-  const EffectScope: typeof import('vue')['EffectScope']
-  const computed: typeof import('vue')['computed']
-  const createApp: typeof import('vue')['createApp']
-  const customRef: typeof import('vue')['customRef']
-  const defineAsyncComponent: typeof import('vue')['defineAsyncComponent']
-  const defineComponent: typeof import('vue')['defineComponent']
-  const effectScope: typeof import('vue')['effectScope']
-  const getCurrentInstance: typeof import('vue')['getCurrentInstance']
-  const getCurrentScope: typeof import('vue')['getCurrentScope']
-  const h: typeof import('vue')['h']
-  const inject: typeof import('vue')['inject']
-  const isProxy: typeof import('vue')['isProxy']
-  const isReactive: typeof import('vue')['isReactive']
-  const isReadonly: typeof import('vue')['isReadonly']
-  const isRef: typeof import('vue')['isRef']
-  const markRaw: typeof import('vue')['markRaw']
-  const nextTick: typeof import('vue')['nextTick']
-  const onActivated: typeof import('vue')['onActivated']
-  const onBeforeMount: typeof import('vue')['onBeforeMount']
-  const onBeforeUnmount: typeof import('vue')['onBeforeUnmount']
-  const onBeforeUpdate: typeof import('vue')['onBeforeUpdate']
-  const onDeactivated: typeof import('vue')['onDeactivated']
-  const onErrorCaptured: typeof import('vue')['onErrorCaptured']
-  const onMounted: typeof import('vue')['onMounted']
-  const onRenderTracked: typeof import('vue')['onRenderTracked']
-  const onRenderTriggered: typeof import('vue')['onRenderTriggered']
-  const onScopeDispose: typeof import('vue')['onScopeDispose']
-  const onServerPrefetch: typeof import('vue')['onServerPrefetch']
-  const onUnmounted: typeof import('vue')['onUnmounted']
-  const onUpdated: typeof import('vue')['onUpdated']
-  const provide: typeof import('vue')['provide']
-  const reactive: typeof import('vue')['reactive']
-  const readonly: typeof import('vue')['readonly']
-  const ref: typeof import('vue')['ref']
-  const resolveComponent: typeof import('vue')['resolveComponent']
-  const shallowReactive: typeof import('vue')['shallowReactive']
-  const shallowReadonly: typeof import('vue')['shallowReadonly']
-  const shallowRef: typeof import('vue')['shallowRef']
-  const toRaw: typeof import('vue')['toRaw']
-  const toRef: typeof import('vue')['toRef']
-  const toRefs: typeof import('vue')['toRefs']
-  const toValue: typeof import('vue')['toValue']
-  const triggerRef: typeof import('vue')['triggerRef']
-  const unref: typeof import('vue')['unref']
-  const useAttrs: typeof import('vue')['useAttrs']
-  const useCssModule: typeof import('vue')['useCssModule']
-  const useCssVars: typeof import('vue')['useCssVars']
-  const useSlots: typeof import('vue')['useSlots']
-  const watch: typeof import('vue')['watch']
-  const watchEffect: typeof import('vue')['watchEffect']
-  const watchPostEffect: typeof import('vue')['watchPostEffect']
-  const watchSyncEffect: typeof import('vue')['watchSyncEffect']
-}
-// for type re-export
-declare global {
-  // @ts-ignore
-  export type { Component, ComponentPublicInstance, ComputedRef, ExtractDefaultPropTypes, ExtractPropTypes, ExtractPublicPropTypes, InjectionKey, PropType, Ref, VNode, WritableComputedRef } from 'vue'
-  import('vue')
-}

+ 22 - 6
playground/components.d.ts

@@ -1,43 +1,59 @@
 /* eslint-disable */
 /* eslint-disable */
-/* prettier-ignore */
 // @ts-nocheck
 // @ts-nocheck
 // Generated by unplugin-vue-components
 // Generated by unplugin-vue-components
 // Read more: https://github.com/vuejs/core/pull/3399
 // Read more: https://github.com/vuejs/core/pull/3399
 export {}
 export {}
 
 
+/* prettier-ignore */
 declare module 'vue' {
 declare module 'vue' {
   export interface GlobalComponents {
   export interface GlobalComponents {
     AkuAku: typeof import('./src/components/AkuAku.vue')['default']
     AkuAku: typeof import('./src/components/AkuAku.vue')['default']
     AnimatedModel: typeof import('./src/components/AnimatedModel.vue')['default']
     AnimatedModel: typeof import('./src/components/AnimatedModel.vue')['default']
-    AnimatedObjectUseFrame: typeof import('./src/components/AnimatedObjectUseFrame.vue')['default']
-    AnimatedObjectuseUpdate: typeof import('./src/components/AnimatedObjectuseUpdate.vue')['default']
     AnimatedObjectUseUpdate: typeof import('./src/components/AnimatedObjectUseUpdate.vue')['default']
     AnimatedObjectUseUpdate: typeof import('./src/components/AnimatedObjectUseUpdate.vue')['default']
     BlenderCube: typeof import('./src/components/BlenderCube.vue')['default']
     BlenderCube: typeof import('./src/components/BlenderCube.vue')['default']
     Box: typeof import('./src/components/Box.vue')['default']
     Box: typeof import('./src/components/Box.vue')['default']
     CameraOperator: typeof import('./src/components/CameraOperator.vue')['default']
     CameraOperator: typeof import('./src/components/CameraOperator.vue')['default']
     Cameras: typeof import('./src/components/Cameras.vue')['default']
     Cameras: typeof import('./src/components/Cameras.vue')['default']
-    Component: typeof import('./src/components/useFBO/component.vue')['default']
-    copy: typeof import('./src/components/TheSphere copy.vue')['default']
+    copy: typeof import('./src/components/TheBasic copy.vue')['default']
     DanielTest: typeof import('./src/components/DanielTest.vue')['default']
     DanielTest: typeof import('./src/components/DanielTest.vue')['default']
     DebugUI: typeof import('./src/components/DebugUI.vue')['default']
     DebugUI: typeof import('./src/components/DebugUI.vue')['default']
     DeleteMe: typeof import('./src/components/DeleteMe.vue')['default']
     DeleteMe: typeof import('./src/components/DeleteMe.vue')['default']
     DirectiveSubComponent: typeof import('./src/components/DirectiveSubComponent.vue')['default']
     DirectiveSubComponent: typeof import('./src/components/DirectiveSubComponent.vue')['default']
     DynamicModel: typeof import('./src/components/DynamicModel.vue')['default']
     DynamicModel: typeof import('./src/components/DynamicModel.vue')['default']
-    EventsPropogation: typeof import('./src/components/EventsPropogation.vue')['default']
     FBOCube: typeof import('./src/components/FBOCube.vue')['default']
     FBOCube: typeof import('./src/components/FBOCube.vue')['default']
     FBXModels: typeof import('./src/components/FBXModels.vue')['default']
     FBXModels: typeof import('./src/components/FBXModels.vue')['default']
     Gltf: typeof import('./src/components/gltf/index.vue')['default']
     Gltf: typeof import('./src/components/gltf/index.vue')['default']
     GraphPane: typeof import('./src/components/GraphPane.vue')['default']
     GraphPane: typeof import('./src/components/GraphPane.vue')['default']
     LocalOrbitControls: typeof import('./src/components/LocalOrbitControls.vue')['default']
     LocalOrbitControls: typeof import('./src/components/LocalOrbitControls.vue')['default']
+    MeshWobbleMaterial: typeof import('./src/components/meshWobbleMaterial/index.vue')['default']
+    MultipleCanvas: typeof import('./src/components/MultipleCanvas.vue')['default']
+    PortalJourney: typeof import('./src/components/portal-journey/index.vue')['default']
     RenderingLogger: typeof import('./src/components/RenderingLogger.vue')['default']
     RenderingLogger: typeof import('./src/components/RenderingLogger.vue')['default']
+    Responsiveness: typeof import('./src/components/Responsiveness.vue')['default']
     RouterLink: typeof import('vue-router')['RouterLink']
     RouterLink: typeof import('vue-router')['RouterLink']
     RouterView: typeof import('vue-router')['RouterView']
     RouterView: typeof import('vue-router')['RouterView']
     ShadersExperiment: typeof import('./src/components/shaders-experiment/index.vue')['default']
     ShadersExperiment: typeof import('./src/components/shaders-experiment/index.vue')['default']
     TakeOverLoopExperience: typeof import('./src/components/TakeOverLoopExperience.vue')['default']
     TakeOverLoopExperience: typeof import('./src/components/TakeOverLoopExperience.vue')['default']
     TestSphere: typeof import('./src/components/TestSphere.vue')['default']
     TestSphere: typeof import('./src/components/TestSphere.vue')['default']
     Text3D: typeof import('./src/components/Text3D.vue')['default']
     Text3D: typeof import('./src/components/Text3D.vue')['default']
+    TheBasic: typeof import('./src/components/TheBasic.vue')['default']
     TheCameraOperator: typeof import('./src/components/TheCameraOperator.vue')['default']
     TheCameraOperator: typeof import('./src/components/TheCameraOperator.vue')['default']
+    TheConditional: typeof import('./src/components/TheConditional.vue')['default']
+    TheEnvironment: typeof import('./src/components/TheEnvironment.vue')['default']
+    TheEvents: typeof import('./src/components/TheEvents.vue')['default']
     TheExperience: typeof import('./src/components/TheExperience.vue')['default']
     TheExperience: typeof import('./src/components/TheExperience.vue')['default']
+    TheFireFlies: typeof import('./src/components/portal-journey/TheFireFlies.vue')['default']
+    TheFirstScene: typeof import('./src/components/TheFirstScene.vue')['default']
+    TheGizmos: typeof import('./src/components/TheGizmos.vue')['default']
+    TheGroups: typeof import('./src/components/TheGroups.vue')['default']
+    TheModel: typeof import('./src/components/gltf/TheModel.vue')['default']
+    TheParticles: typeof import('./src/components/TheParticles.vue')['default']
+    ThePortal: typeof import('./src/components/portal-journey/ThePortal.vue')['default']
+    TheSmallExperience: typeof import('./src/components/TheSmallExperience.vue')['default']
     TheSphere: typeof import('./src/components/TheSphere.vue')['default']
     TheSphere: typeof import('./src/components/TheSphere.vue')['default']
+    TheUSDZModel: typeof import('./src/components/udsz/TheUSDZModel.vue')['default']
+    TresLechesTest: typeof import('./src/components/TresLechesTest.vue')['default']
+    Udsz: typeof import('./src/components/udsz/index.vue')['default']
+    VectorSetProps: typeof import('./src/components/VectorSetProps.vue')['default']
   }
   }
 }
 }

Những thai đổi đã bị hủy bỏ vì nó quá lớn
+ 215 - 311
pnpm-lock.yaml


Một số tệp đã không được hiển thị bởi vì quá nhiều tập tin thay đổi trong này khác