From 8eaceefbb87dd693210e799dd501c3df456d9703 Mon Sep 17 00:00:00 2001 From: Ivan Popelyshev Date: Sun, 8 Jan 2023 22:12:09 +0300 Subject: [PATCH] Revert "chore: Add "exports" to package.json" --- bundles/all-3.8/package.json | 12 ------------ bundles/all-4.0/package.json | 12 ------------ bundles/all-4.1/package.json | 12 ------------ bundles/pixi-spine/package.json | 12 ------------ packages/base/package.json | 12 ------------ packages/loader-3.8/package.json | 12 ------------ packages/loader-4.0/package.json | 12 ------------ packages/loader-4.1/package.json | 12 ------------ packages/loader-base/package.json | 14 +------------- packages/loader-uni/package.json | 15 +-------------- packages/runtime-3.7/package.json | 14 +------------- packages/runtime-3.8/package.json | 14 +------------- packages/runtime-4.0/package.json | 12 ------------ packages/runtime-4.1/package.json | 12 ------------ 14 files changed, 4 insertions(+), 173 deletions(-) diff --git a/bundles/all-3.8/package.json b/bundles/all-3.8/package.json index 7eaf4e94..06f3125e 100644 --- a/bundles/all-3.8/package.json +++ b/bundles/all-3.8/package.json @@ -6,18 +6,6 @@ "module": "lib/all-3.8.es.js", "bundle": "dist/pixi-spine-3.8.umd.js", "types": "./index.d.ts", - "exports": { - ".": { - "import": { - "types": "./index.d.ts", - "default": "./lib/all-3.8.es.js" - }, - "require": { - "types": "./index.d.ts", - "default": "./lib/all-3.8.js" - } - } - }, "namespace": "PIXI.spine", "dependencies": { "@pixi-spine/base": "~3.1.0", diff --git a/bundles/all-4.0/package.json b/bundles/all-4.0/package.json index 279e9b41..b46b763c 100644 --- a/bundles/all-4.0/package.json +++ b/bundles/all-4.0/package.json @@ -6,18 +6,6 @@ "module": "lib/all-4.0.es.js", "bundle": "dist/pixi-spine-4.0.umd.js", "types": "./index.d.ts", - "exports": { - ".": { - "import": { - "types": "./index.d.ts", - "default": "./lib/all-4.0.es.js" - }, - "require": { - "types": "./index.d.ts", - "default": "./lib/all-4.0.js" - } - } - }, "namespace": "PIXI.spine", "dependencies": { "@pixi-spine/base": "~3.1.0", diff --git a/bundles/all-4.1/package.json b/bundles/all-4.1/package.json index 591d5ec8..2733af2d 100644 --- a/bundles/all-4.1/package.json +++ b/bundles/all-4.1/package.json @@ -6,18 +6,6 @@ "module": "lib/all-4.1.es.js", "bundle": "dist/pixi-spine-4.1.umd.js", "types": "./index.d.ts", - "exports": { - ".": { - "import": { - "types": "./index.d.ts", - "default": "./lib/all-4.1.es.js" - }, - "require": { - "types": "./index.d.ts", - "default": "./lib/all-4.1.js" - } - } - }, "namespace": "PIXI.spine", "dependencies": { "@pixi-spine/base": "~3.1.0", diff --git a/bundles/pixi-spine/package.json b/bundles/pixi-spine/package.json index d696fd69..ced7f3e3 100644 --- a/bundles/pixi-spine/package.json +++ b/bundles/pixi-spine/package.json @@ -6,18 +6,6 @@ "module": "lib/all.es.js", "bundle": "dist/pixi-spine.umd.js", "types": "./index.d.ts", - "exports": { - ".": { - "import": { - "types": "./index.d.ts", - "default": "./lib/all.es.js" - }, - "require": { - "types": "./index.d.ts", - "default": "./lib/all.js" - } - } - }, "namespace": "PIXI.spine", "dependencies": { "@pixi-spine/base": "~3.1.0", diff --git a/packages/base/package.json b/packages/base/package.json index 966f0cd0..eb7aae25 100644 --- a/packages/base/package.json +++ b/packages/base/package.json @@ -7,18 +7,6 @@ "bundle": "dist/base.js", "namespace": "PIXI.spine", "types": "./index.d.ts", - "exports": { - ".": { - "import": { - "types": "./index.d.ts", - "default": "./lib/base.es.js" - }, - "require": { - "types": "./index.d.ts", - "default": "./lib/base.js" - } - } - }, "peerDependencies": { "@pixi/constants": "^6.1.0", "@pixi/core": "^6.1.0", diff --git a/packages/loader-3.8/package.json b/packages/loader-3.8/package.json index 312b6044..6d43eda8 100644 --- a/packages/loader-3.8/package.json +++ b/packages/loader-3.8/package.json @@ -6,18 +6,6 @@ "module": "lib/loader-3.8.es.js", "bundle": "dist/loader-3.8.js", "types": "./index.d.ts", - "exports": { - ".": { - "import": { - "types": "./index.d.ts", - "default": "./lib/loader-3.8.es.js" - }, - "require": { - "types": "./index.d.ts", - "default": "./lib/loader-3.8.js" - } - } - }, "namespace": "PIXI.spine", "peerDependencies": { "@pixi/loaders": "^6.1.0" diff --git a/packages/loader-4.0/package.json b/packages/loader-4.0/package.json index 8e05e4de..fc609799 100644 --- a/packages/loader-4.0/package.json +++ b/packages/loader-4.0/package.json @@ -6,18 +6,6 @@ "module": "lib/loader-4.0.es.js", "bundle": "dist/loader-4.0.js", "types": "./index.d.ts", - "exports": { - ".": { - "import": { - "types": "./index.d.ts", - "default": "./lib/loader-4.0.es.js" - }, - "require": { - "types": "./index.d.ts", - "default": "./lib/loader-4.0.js" - } - } - }, "namespace": "PIXI.spine", "peerDependencies": { "@pixi/core": "^6.1.0", diff --git a/packages/loader-4.1/package.json b/packages/loader-4.1/package.json index 4de5fbec..7c2bea74 100644 --- a/packages/loader-4.1/package.json +++ b/packages/loader-4.1/package.json @@ -6,18 +6,6 @@ "module": "lib/loader-4.1.es.js", "bundle": "dist/loader-4.1.js", "types": "./index.d.ts", - "exports": { - ".": { - "import": { - "types": "./index.d.ts", - "default": "./lib/loader-4.1.es.js" - }, - "require": { - "types": "./index.d.ts", - "default": "./lib/loader-4.1.js" - } - } - }, "namespace": "PIXI.spine", "peerDependencies": { "@pixi/core": "^6.1.0", diff --git a/packages/loader-base/package.json b/packages/loader-base/package.json index b4f0c610..910734f6 100644 --- a/packages/loader-base/package.json +++ b/packages/loader-base/package.json @@ -6,18 +6,6 @@ "module": "lib/loader-base.es.js", "bundle": "dist/loader-base.js", "types": "./index.d.ts", - "exports": { - ".": { - "import": { - "types": "./index.d.ts", - "default": "./lib/loader-base.es.js" - }, - "require": { - "types": "./index.d.ts", - "default": "./lib/loader-base.js" - } - } - }, "namespace": "PIXI.spine", "peerDependencies": { "@pixi/constants": "^6.1.0", @@ -61,4 +49,4 @@ "tslib": "~2.2.0", "typescript": "~4.3.0" } -} \ No newline at end of file +} diff --git a/packages/loader-uni/package.json b/packages/loader-uni/package.json index 462df8d7..3466b612 100644 --- a/packages/loader-uni/package.json +++ b/packages/loader-uni/package.json @@ -4,20 +4,7 @@ "description": "Pixi integration with EsotericSoftware Spine, big, contains all runtimes", "main": "lib/loader-uni.js", "module": "lib/loader-uni.es.js", - "bundle": "dist/loader-uni.js", "types": "./index.d.ts", - "exports": { - ".": { - "import": { - "types": "./index.d.ts", - "default": "./lib/loader-uni.es.js" - }, - "require": { - "types": "./index.d.ts", - "default": "./lib/loader-uni.js" - } - } - }, "namespace": "PIXI.spine", "peerDependencies": { "@pixi/loaders": "^6.1.0" @@ -63,4 +50,4 @@ "tslib": "~2.2.0", "typescript": "~4.3.0" } -} \ No newline at end of file +} diff --git a/packages/runtime-3.7/package.json b/packages/runtime-3.7/package.json index 5e474f44..dd62af12 100644 --- a/packages/runtime-3.7/package.json +++ b/packages/runtime-3.7/package.json @@ -7,18 +7,6 @@ "bundle": "dist/runtime-3.7.js", "namespace": "PIXI.spine37", "types": "./index.d.ts", - "exports": { - ".": { - "import": { - "types": "./index.d.ts", - "default": "./lib/runtime-3.7.es.js" - }, - "require": { - "types": "./index.d.ts", - "default": "./lib/runtime-3.7.js" - } - } - }, "peerDependencies": { "@pixi/constants": "^6.1.0", "@pixi/math": "^6.1.0" @@ -60,4 +48,4 @@ "tslib": "~2.2.0", "typescript": "~4.3.0" } -} \ No newline at end of file +} diff --git a/packages/runtime-3.8/package.json b/packages/runtime-3.8/package.json index 96c52111..4bcfeb60 100644 --- a/packages/runtime-3.8/package.json +++ b/packages/runtime-3.8/package.json @@ -7,18 +7,6 @@ "bundle": "dist/runtime-3.8.js", "namespace": "PIXI.spine38", "types": "./index.d.ts", - "exports": { - ".": { - "import": { - "types": "./index.d.ts", - "default": "./lib/runtime-3.8.es.js" - }, - "require": { - "types": "./index.d.ts", - "default": "./lib/runtime-3.8.js" - } - } - }, "peerDependencies": { "@pixi/constants": "^6.1.0", "@pixi/math": "^6.1.0" @@ -60,4 +48,4 @@ "tslib": "~2.2.0", "typescript": "~4.3.0" } -} \ No newline at end of file +} diff --git a/packages/runtime-4.0/package.json b/packages/runtime-4.0/package.json index fdaf50c1..b457e0e8 100644 --- a/packages/runtime-4.0/package.json +++ b/packages/runtime-4.0/package.json @@ -7,18 +7,6 @@ "bundle": "dist/runtime-4.0.js", "namespace": "PIXI.spine40", "types": "./index.d.ts", - "exports": { - ".": { - "import": { - "types": "./index.d.ts", - "default": "./lib/runtime-4.0.es.js" - }, - "require": { - "types": "./index.d.ts", - "default": "./lib/runtime-4.0.js" - } - } - }, "peerDependencies": { "@pixi/constants": "^6.1.0", "@pixi/math": "^6.1.0" diff --git a/packages/runtime-4.1/package.json b/packages/runtime-4.1/package.json index 0ecb9b6b..2383cd37 100644 --- a/packages/runtime-4.1/package.json +++ b/packages/runtime-4.1/package.json @@ -7,18 +7,6 @@ "bundle": "dist/runtime-4.1.js", "namespace": "PIXI.spine41", "types": "./index.d.ts", - "exports": { - ".": { - "import": { - "types": "./index.d.ts", - "default": "./lib/runtime-4.1.es.js" - }, - "require": { - "types": "./index.d.ts", - "default": "./lib/runtime-4.1.js" - } - } - }, "peerDependencies": { "@pixi/constants": "^6.1.0", "@pixi/math": "^6.1.0"