Mario Zechner 2 жил өмнө
parent
commit
f0ad8e2024

+ 3 - 0
CHANGELOG.md

@@ -144,6 +144,9 @@
   * `RegionAttachment#computeWorldVertices()` takes a `Slot` instead of a `Bone` as the first argument.
   * Removed `PlayerEditor`.
   * `VertexEffect` has been removed.
+  * Removed `RegionAttachment.rendererObject`.
+  * Renamed `TextureRegion.renderObject` to `TextureRegion.texture`.
+  
 
 ### WebGL backend
   * `PolygonBatcher` can now disable culling automatically if the static variable `PolygonBatcher.disableCulling` is set to true.

Файлын зөрүү хэтэрхий том тул дарагдсан байна
+ 197 - 528
spine-ts/package-lock.json


+ 5 - 2
spine-ts/package.json

@@ -1,6 +1,6 @@
 {
   "name": "@esotericsoftware/spine-ts",
-  "version": "4.1.26",
+  "version": "4.1.27",
   "description": "The official Spine Runtimes for the web.",
   "files": [
     "README.md"
@@ -60,6 +60,9 @@
     "esbuild": "^0.16.4",
     "live-server": "^1.2.2",
     "rimraf": "^3.0.2",
-    "typescript": "^4.9.4"
+    "typescript": "^4.9.4",
+    "@types/three": "^0.146.0",
+    "three": "^0.146.0",
+    "phaser": "^3.60.0"
   }
 }

+ 1 - 1
spine-ts/publish.sh

@@ -20,6 +20,6 @@ sed -i '' "s/$lastVersion/$newVersion/" spine-threejs/package.json
 sed -i '' "s/$lastVersion/$newVersion/" spine-webgl/package.json
 
 rm -rf node_modules
-rm package-lock.json
+rm -rf package-lock.json
 npm install
 npm publish --access public --workspaces

+ 2 - 2
spine-ts/spine-canvas/package.json

@@ -1,6 +1,6 @@
 {
   "name": "@esotericsoftware/spine-canvas",
-  "version": "4.1.26",
+  "version": "4.1.27",
   "description": "The official Spine Runtimes for the web.",
   "main": "dist/index.js",
   "types": "dist/index.d.ts",
@@ -30,6 +30,6 @@
   },
   "homepage": "https://github.com/esotericsoftware/spine-runtimes#readme",
   "dependencies": {
-    "@esotericsoftware/spine-core": "^4.1.26"
+    "@esotericsoftware/spine-core": "^4.1.27"
   }
 }

+ 1 - 1
spine-ts/spine-core/package.json

@@ -1,6 +1,6 @@
 {
   "name": "@esotericsoftware/spine-core",
-  "version": "4.1.26",
+  "version": "4.1.27",
   "description": "The official Spine Runtimes for the web.",
   "main": "dist/index.js",
   "types": "dist/index.d.ts",

+ 4 - 5
spine-ts/spine-phaser/package.json

@@ -1,6 +1,6 @@
 {
   "name": "@esotericsoftware/spine-phaser",
-  "version": "4.1.26",
+  "version": "4.1.27",
   "description": "The official Spine Runtimes for the Phaser.",
   "main": "dist/index.js",
   "types": "dist/index.d.ts",
@@ -30,9 +30,8 @@
   },
   "homepage": "https://github.com/esotericsoftware/spine-runtimes#readme",
   "dependencies": {
-    "@esotericsoftware/spine-core": "^4.2.10",
-    "@esotericsoftware/spine-webgl": "^4.2.10",
-    "@esotericsoftware/spine-canvas": "^4.2.10",
-    "phaser": "^3.55.2"
+    "@esotericsoftware/spine-core": "^4.1.27",
+    "@esotericsoftware/spine-webgl": "^4.1.27",
+    "@esotericsoftware/spine-canvas": "^4.1.27"    
   }
 }

+ 2 - 2
spine-ts/spine-player/package.json

@@ -1,6 +1,6 @@
 {
   "name": "@esotericsoftware/spine-player",
-  "version": "4.1.26",
+  "version": "4.1.27",
   "description": "The official Spine Runtimes for the web.",
   "main": "dist/index.js",
   "types": "dist/index.d.ts",
@@ -30,6 +30,6 @@
   },
   "homepage": "https://github.com/esotericsoftware/spine-runtimes#readme",
   "dependencies": {
-    "@esotericsoftware/spine-webgl": "^4.1.26"
+    "@esotericsoftware/spine-webgl": "^4.1.27"
   }
 }

+ 2 - 4
spine-ts/spine-threejs/package.json

@@ -1,6 +1,6 @@
 {
   "name": "@esotericsoftware/spine-threejs",
-  "version": "4.1.26",
+  "version": "4.1.27",
   "description": "The official Spine Runtimes for the web.",
   "main": "dist/index.js",
   "types": "dist/index.d.ts",
@@ -30,8 +30,6 @@
   },
   "homepage": "https://github.com/esotericsoftware/spine-runtimes#readme",
   "dependencies": {
-    "@types/three": "^0.146.0",
-    "three": "^0.146.0",
-    "@esotericsoftware/spine-core": "^4.1.26"
+    "@esotericsoftware/spine-core": "^4.1.27"
   }
 }

+ 1 - 1
spine-ts/spine-webgl/example/custom-attachment.html

@@ -59,7 +59,7 @@
 				let newHeadAttachment = headSlot.getAttachment().copy();				
 				newHeadAttachment.region = textureRegion;
 				newHeadAttachment.updateRegion();
-				headSlot.setAttachment(newHeadAttachment);				
+				headSlot.setAttachment(newHeadAttachment);			
 			}
 
 			update(canvas, delta) {

+ 2 - 2
spine-ts/spine-webgl/package.json

@@ -1,6 +1,6 @@
 {
   "name": "@esotericsoftware/spine-webgl",
-  "version": "4.1.26",
+  "version": "4.1.27",
   "description": "The official Spine Runtimes for the web.",
   "main": "dist/index.js",
   "types": "dist/index.d.ts",
@@ -30,6 +30,6 @@
   },
   "homepage": "https://github.com/esotericsoftware/spine-runtimes#readme",
   "dependencies": {
-    "@esotericsoftware/spine-core": "^4.1.26"
+    "@esotericsoftware/spine-core": "^4.1.27"
   }
 }

Энэ ялгаанд хэт олон файл өөрчлөгдсөн тул зарим файлыг харуулаагүй болно