From 5518e5423d6a800bd53abcfc1eda0d24bfb9cf9f Mon Sep 17 00:00:00 2001 From: Johann Schopplich Date: Wed, 4 Dec 2024 09:45:19 +0100 Subject: [PATCH] chore: add `typesVersions` back (fixes #57) --- packages/core/package.json | 7 +++++++ packages/unlazy/package.json | 7 +++++++ packages/vue/package.json | 7 +++++++ 3 files changed, 21 insertions(+) diff --git a/packages/core/package.json b/packages/core/package.json index c15821e..caca265 100644 --- a/packages/core/package.json +++ b/packages/core/package.json @@ -66,6 +66,13 @@ }, "main": "./dist/index.cjs", "types": "./dist/index.d.ts", + "typesVersions": { + "*": { + "*": [ + "dist/*" + ] + } + }, "files": [ "dist" ], diff --git a/packages/unlazy/package.json b/packages/unlazy/package.json index 5d7a08b..8173b75 100644 --- a/packages/unlazy/package.json +++ b/packages/unlazy/package.json @@ -67,6 +67,13 @@ "unpkg": "./dist/unlazy.iife.js", "jsdelivr": "./dist/unlazy.iife.js", "types": "./dist/index.d.ts", + "typesVersions": { + "*": { + "*": [ + "dist/*" + ] + } + }, "files": [ "dist" ], diff --git a/packages/vue/package.json b/packages/vue/package.json index 8616793..dbfbd20 100644 --- a/packages/vue/package.json +++ b/packages/vue/package.json @@ -37,6 +37,13 @@ } }, "types": "./dist/index.d.ts", + "typesVersions": { + "*": { + "*": [ + "dist/*" + ] + } + }, "files": [ "dist" ],