浏览代码

[ts] Updated to version 4.0.13

Mario Zechner 4 年之前
父节点
当前提交
168bea6fdb

+ 20 - 20
spine-ts/package-lock.json

@@ -1,12 +1,12 @@
 {
   "name": "@esotericsoftware/spine-ts",
-  "version": "4.0.12",
+  "version": "4.0.13",
   "lockfileVersion": 2,
   "requires": true,
   "packages": {
     "": {
       "name": "@esotericsoftware/spine-ts",
-      "version": "4.0.12",
+      "version": "4.0.13",
       "license": "LicenseRef-LICENSE",
       "workspaces": [
         "spine-core",
@@ -15,10 +15,8 @@
         "spine-threejs",
         "spine-webgl"
       ],
-      "dependencies": {
-        "@types/offscreencanvas": "^2019.6.4"
-      },
       "devDependencies": {
+        "@types/offscreencanvas": "^2019.6.4",
         "concurrently": "^6.2.1",
         "copyfiles": "^2.4.1",
         "esbuild": "^0.12.22",
@@ -154,7 +152,8 @@
     "node_modules/@types/offscreencanvas": {
       "version": "2019.6.4",
       "resolved": "https://registry.npmjs.org/@types/offscreencanvas/-/offscreencanvas-2019.6.4.tgz",
-      "integrity": "sha512-u8SAgdZ8ROtkTF+mfZGOscl0or6BSj9A4g37e6nvxDc+YB/oDut0wHkK2PBBiC2bNR8TS0CPV+1gAk4fNisr1Q=="
+      "integrity": "sha512-u8SAgdZ8ROtkTF+mfZGOscl0or6BSj9A4g37e6nvxDc+YB/oDut0wHkK2PBBiC2bNR8TS0CPV+1gAk4fNisr1Q==",
+      "dev": true
     },
     "node_modules/@types/three": {
       "version": "0.131.1",
@@ -8256,41 +8255,41 @@
     },
     "spine-canvas": {
       "name": "@esotericsoftware/spine-canvas",
-      "version": "4.0.12",
+      "version": "4.0.13",
       "license": "LicenseRef-LICENSE",
       "dependencies": {
-        "@esotericsoftware/spine-core": "^4.0.12"
+        "@esotericsoftware/spine-core": "^4.0.13"
       }
     },
     "spine-core": {
       "name": "@esotericsoftware/spine-core",
-      "version": "4.0.12",
+      "version": "4.0.13",
       "license": "LicenseRef-LICENSE"
     },
     "spine-player": {
       "name": "@esotericsoftware/spine-player",
-      "version": "4.0.12",
+      "version": "4.0.13",
       "license": "LicenseRef-LICENSE",
       "dependencies": {
-        "@esotericsoftware/spine-webgl": "^4.0.12"
+        "@esotericsoftware/spine-webgl": "^4.0.13"
       }
     },
     "spine-threejs": {
       "name": "@esotericsoftware/spine-threejs",
-      "version": "4.0.12",
+      "version": "4.0.13",
       "license": "LicenseRef-LICENSE",
       "dependencies": {
-        "@esotericsoftware/spine-core": "^4.0.12",
+        "@esotericsoftware/spine-core": "^4.0.13",
         "@types/three": "^0.131.0",
         "three": "^0.132.0"
       }
     },
     "spine-webgl": {
       "name": "@esotericsoftware/spine-webgl",
-      "version": "4.0.12",
+      "version": "4.0.13",
       "license": "LicenseRef-LICENSE",
       "dependencies": {
-        "@esotericsoftware/spine-core": "^4.0.12"
+        "@esotericsoftware/spine-core": "^4.0.13"
       }
     }
   },
@@ -8376,7 +8375,7 @@
     "@esotericsoftware/spine-canvas": {
       "version": "file:spine-canvas",
       "requires": {
-        "@esotericsoftware/spine-core": "^4.0.12"
+        "@esotericsoftware/spine-core": "^4.0.13"
       }
     },
     "@esotericsoftware/spine-core": {
@@ -8385,13 +8384,13 @@
     "@esotericsoftware/spine-player": {
       "version": "file:spine-player",
       "requires": {
-        "@esotericsoftware/spine-webgl": "^4.0.12"
+        "@esotericsoftware/spine-webgl": "^4.0.13"
       }
     },
     "@esotericsoftware/spine-threejs": {
       "version": "file:spine-threejs",
       "requires": {
-        "@esotericsoftware/spine-core": "^4.0.12",
+        "@esotericsoftware/spine-core": "^4.0.13",
         "@types/three": "^0.131.0",
         "three": "^0.132.0"
       }
@@ -8399,7 +8398,7 @@
     "@esotericsoftware/spine-webgl": {
       "version": "file:spine-webgl",
       "requires": {
-        "@esotericsoftware/spine-core": "^4.0.12"
+        "@esotericsoftware/spine-core": "^4.0.13"
       }
     },
     "@types/normalize-package-data": {
@@ -8411,7 +8410,8 @@
     "@types/offscreencanvas": {
       "version": "2019.6.4",
       "resolved": "https://registry.npmjs.org/@types/offscreencanvas/-/offscreencanvas-2019.6.4.tgz",
-      "integrity": "sha512-u8SAgdZ8ROtkTF+mfZGOscl0or6BSj9A4g37e6nvxDc+YB/oDut0wHkK2PBBiC2bNR8TS0CPV+1gAk4fNisr1Q=="
+      "integrity": "sha512-u8SAgdZ8ROtkTF+mfZGOscl0or6BSj9A4g37e6nvxDc+YB/oDut0wHkK2PBBiC2bNR8TS0CPV+1gAk4fNisr1Q==",
+      "dev": true
     },
     "@types/three": {
       "version": "0.131.1",

+ 3 - 5
spine-ts/package.json

@@ -1,6 +1,6 @@
 {
   "name": "@esotericsoftware/spine-ts",
-  "version": "4.0.12",
+  "version": "4.0.13",
   "description": "The official Spine Runtimes for the web.",
   "files": [
     "README.md"
@@ -57,9 +57,7 @@
     "live-server": "^1.2.1",
     "npx": "^10.2.2",
     "rimraf": "^3.0.2",
-    "typescript": "^4.3.5"
-  },
-  "dependencies": {
+    "typescript": "^4.3.5",
     "@types/offscreencanvas": "^2019.6.4"
   }
-}
+}

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

@@ -1,6 +1,6 @@
 {
   "name": "@esotericsoftware/spine-canvas",
-  "version": "4.0.12",
+  "version": "4.0.13",
   "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.0.12"
+    "@esotericsoftware/spine-core": "^4.0.13"
   }
 }

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

@@ -1,6 +1,6 @@
 {
   "name": "@esotericsoftware/spine-core",
-  "version": "4.0.12",
+  "version": "4.0.13",
   "description": "The official Spine Runtimes for the web.",
   "main": "dist/index.js",
   "types": "dist/index.d.ts",
@@ -29,4 +29,4 @@
     "url": "https://github.com/esotericsoftware/spine-runtimes/issues"
   },
   "homepage": "https://github.com/esotericsoftware/spine-runtimes#readme"
-}
+}

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

@@ -1,6 +1,6 @@
 {
   "name": "@esotericsoftware/spine-player",
-  "version": "4.0.12",
+  "version": "4.0.13",
   "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.0.12"
+    "@esotericsoftware/spine-webgl": "^4.0.13"
   }
 }

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

@@ -1,6 +1,6 @@
 {
   "name": "@esotericsoftware/spine-threejs",
-  "version": "4.0.12",
+  "version": "4.0.13",
   "description": "The official Spine Runtimes for the web.",
   "main": "dist/index.js",
   "types": "dist/index.d.ts",
@@ -32,6 +32,6 @@
   "dependencies": {
     "@types/three": "^0.131.0",
     "three": "^0.132.0",
-    "@esotericsoftware/spine-core": "^4.0.12"
+    "@esotericsoftware/spine-core": "^4.0.13"
   }
 }

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

@@ -1,6 +1,6 @@
 {
   "name": "@esotericsoftware/spine-webgl",
-  "version": "4.0.12",
+  "version": "4.0.13",
   "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.0.12"
+    "@esotericsoftware/spine-core": "^4.0.13"
   }
 }

+ 2 - 1
spine-ts/spine-webgl/src/CameraController.ts

@@ -27,8 +27,9 @@
  * THE SPINE RUNTIMES, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
  *****************************************************************************/
 
-import { Input, Vector3 } from "src";
+import { Input } from "./Input";
 import { OrthoCamera } from "./Camera";
+import { Vector3 } from "./Vector3";
 
 export class CameraController {
 	constructor (public canvas: HTMLElement, public camera: OrthoCamera) {