Browse Source

chore: release v1.5.0 cientos 1.4.0

Alvaro 2 years ago
parent
commit
2fd129f5c8

+ 6 - 0
packages/cientos/CHANGELOG.md

@@ -1,3 +1,9 @@
+# 1.4.0 (2023-01-10)
+
+### Features
+
+- **cientos:** useFBX and FBXModel ([cdb0665](https://github.com/Tresjs/tres/commit/cdb0665eecbad4b09dfbb60f3c33666bc422af86))
+
 # 1.3.0 (2022-12-30)
 
 ### Bug Fixes

+ 3 - 3
packages/cientos/package.json

@@ -1,7 +1,7 @@
 {
   "name": "@tresjs/cientos",
   "description": "Collection of useful helpers and fully functional, ready-made abstractions for Tres",
-  "version": "1.3.0",
+  "version": "1.4.0",
   "type": "module",
   "author": "Alvaro Saburido <hola@alvarosaburido.dev> (https://github.com/alvarosabu/)",
   "files": [
@@ -55,7 +55,7 @@
     "vite-plugin-dts": "^1.7.1"
   },
   "dependencies": {
-    "@tresjs/core": "workspace:^1.4.0",
-    "three-stdlib": "^2.21.1"
+    "@tresjs/core": "workspace:^1.5.0",
+    "three-stdlib": "^2.21.5"
   }
 }

+ 6 - 0
packages/tres/CHANGELOG.md

@@ -1,3 +1,9 @@
+# 1.5.0 (2023-01-10)
+
+### Features
+
+- **core:** support for groups ([b0963b9](https://github.com/Tresjs/tres/commit/b0963b9e47ec399fc67340c06e97a0b6f3e6c600))
+
 # 1.4.0 (2022-12-22)
 
 ### Features

+ 3 - 3
packages/tres/package.json

@@ -1,7 +1,7 @@
 {
   "name": "@tresjs/core",
   "description": "Declarative ThreeJS using Vue Components",
-  "version": "1.4.0",
+  "version": "1.5.0",
   "type": "module",
   "author": "Alvaro Saburido <hola@alvarosaburido.dev> (https://github.com/alvarosabu/)",
   "files": [
@@ -53,8 +53,8 @@
   "devDependencies": {
     "@alvarosabu/utils": "^2.2.0",
     "@histoire/plugin-vue": "0.11.7",
-    "@tresjs/cientos": "workspace:^1.3.0",
-    "@types/three": "^0.146.0",
+    "@tresjs/cientos": "workspace:^1.4.0",
+    "@types/three": "^0.148.0",
     "@vitejs/plugin-vue": "^4.0.0",
     "@vitest/coverage-c8": "^0.25.8",
     "@vitest/ui": "^0.25.8",

+ 1 - 1
packages/tres/src/core/useInstanceCreator/index.ts

@@ -89,7 +89,7 @@ export function useInstanceCreator(prefix: string) {
         if (vnode.children?.default) {
           const internal = vnode.children
             .default()
-            .map(child => createInstanceFromVNode(child as TresVNode)) as TresInstance[]
+            .map((child: TresVNode) => createInstanceFromVNode(child)) as TresInstance[]
 
           internalInstance = new catalogue.value[vNodeType](...internal.flat().filter(Boolean))
         } else if (vnode?.props?.args) {