From 64f0cf31d67efee6ebb83098e5c1fe1a0b152f90 Mon Sep 17 00:00:00 2001 From: Matt Scholta Date: Wed, 5 Feb 2025 09:17:02 -0800 Subject: [PATCH 1/2] Update package.json to use .cjs extension #1 The current mappings are incorrect and point to two `.umd.js` files that are actually being build out as `.cjs.js` files. --- package.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/package.json b/package.json index 254f12b0..f3e55479 100644 --- a/package.json +++ b/package.json @@ -11,7 +11,7 @@ "test": "jest", "test:watch": "jest --watch" }, - "main": "./dist/react-calendar-timeline.umd.js", + "main": "./dist/react-calendar-timeline.cjs.js", "module": "./dist/react-calendar-timeline.es.js", "sideEffects": false, "exports": { @@ -25,7 +25,7 @@ "sass": "./dist/Timeline.scss", "style": "./dist/Timeline.css", "import": "./dist/react-calendar-timeline.es.js", - "require": "./dist/react-calendar-timeline.umd.js" + "require": "./dist/react-calendar-timeline.cjs.js" } }, "types": "./dist/index.d.ts", From 7f048608722c3d8bbdfe6390152af05b5bdf0f38 Mon Sep 17 00:00:00 2001 From: Matt Scholta Date: Wed, 5 Feb 2025 09:21:33 -0800 Subject: [PATCH 2/2] Update CHANGELOG.md --- CHANGELOG.md | 1 + 1 file changed, 1 insertion(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 1727e69d..bfa2caf3 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -8,6 +8,7 @@ and this project adheres (more or less) to [Semantic Versioning](http://semver.o ## Unreleased * Fix issue where the redraw mechanism was not based on the `buffer` prop. +* Fix incorrect references to ".umd.js" file paths in the package.json ## 0.30.0 (beta) Huge update made by @Remco4EF and @remcoblumink