From 340df35b552d33de620451c15c3d1e793bbf453f Mon Sep 17 00:00:00 2001 From: Jacek Jan Pietal Date: Mon, 8 Aug 2022 00:48:10 +0200 Subject: [PATCH] fix: impossible to not include types for rbush and sat in dependencies --- package.json | 6 +++--- tsconfig.json | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/package.json b/package.json index 25ed6caa..ebc8a107 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "detect-collisions", - "version": "6.3.4", + "version": "6.3.5", "description": "2d collision detection for Points, Lines, Boxes, Polygons, Ellipses and Circles (with SAT and BVH)", "main": "dist/index.js", "types": "dist/index.d.ts", @@ -50,13 +50,13 @@ }, "homepage": "https://prozi.github.io/detect-collisions/", "dependencies": { + "@types/rbush": "^3.0.0", + "@types/sat": "^0.0.31", "poly-decomp": "^0.3.0", "rbush": "^3.0.1", "sat": "^0.9.0" }, "devDependencies": { - "@types/rbush": "^3.0.0", - "@types/sat": "^0.0.31", "chef-express": "^1.3.0", "html-webpack-plugin": "^5.5.0", "jest": "^28.1.3", diff --git a/tsconfig.json b/tsconfig.json index 61e11d20..30397714 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -11,7 +11,7 @@ "target": "es2015", "module": "none", "outDir": "dist", - "types": [] + "types": ["rbush", "sat"] }, "files": ["src/index.ts"], "include": ["src/**/*.ts"],