From 4a8495ca31afe8304e61c72b74e28388b725f54b Mon Sep 17 00:00:00 2001 From: Adam Zielinski Date: Mon, 29 Aug 2022 14:25:51 +0200 Subject: [PATCH] Bundle TypeScript types with the published core-data package (#43643) --- packages/core-data/CHANGELOG.md | 4 ++++ packages/core-data/package.json | 1 + 2 files changed, 5 insertions(+) diff --git a/packages/core-data/CHANGELOG.md b/packages/core-data/CHANGELOG.md index 22fc210a046c53..c524359c7aae92 100644 --- a/packages/core-data/CHANGELOG.md +++ b/packages/core-data/CHANGELOG.md @@ -2,6 +2,10 @@ ## Unreleased +### Breaking Changes + +– Add TypeScript types to the built package (via "types": "build-types" in the package.json) + ## 4.14.0 (2022-08-24) ### New Features diff --git a/packages/core-data/package.json b/packages/core-data/package.json index 2ed128063b2b97..ebb1e8c7671a03 100644 --- a/packages/core-data/package.json +++ b/packages/core-data/package.json @@ -25,6 +25,7 @@ "main": "build/index.js", "module": "build-module/index.js", "react-native": "src/index", + "types": "build-types", "sideEffects": [ "{src,build,build-module}/index.js" ],