From cb0d3aec312e598c20b1c1fff97499c0db8a94f5 Mon Sep 17 00:00:00 2001 From: "Blades, Stephen" Date: Tue, 4 Jan 2022 13:46:59 -0600 Subject: [PATCH 1/2] fix(sass): Reference distributed folder in SASS compile Since `./src` folder is not distributed with package install, we must reference the `./lib` folder for proper sourcemapping. --- .size-snapshot.json | 22 +++++++++++----------- package.json | 4 ++-- 2 files changed, 13 insertions(+), 13 deletions(-) diff --git a/.size-snapshot.json b/.size-snapshot.json index 50fba7596..860ecf65c 100644 --- a/.size-snapshot.json +++ b/.size-snapshot.json @@ -1,25 +1,25 @@ { "./dist/react-big-calendar.js": { - "bundled": 536877, - "minified": 165660, - "gzipped": 51022 + "bundled": 536878, + "minified": 165661, + "gzipped": 51020 }, "./dist/react-big-calendar.min.js": { - "bundled": 464776, - "minified": 143848, - "gzipped": 45240 + "bundled": 464777, + "minified": 143849, + "gzipped": 45238 }, "dist/react-big-calendar.esm.js": { - "bundled": 220156, - "minified": 99914, - "gzipped": 24835, + "bundled": 220157, + "minified": 99915, + "gzipped": 24833, "treeshaked": { "rollup": { - "code": 63400, + "code": 63401, "import_statements": 1445 }, "webpack": { - "code": 66893 + "code": 66894 } } } diff --git a/package.json b/package.json index cb7254a73..1fbb43bf1 100644 --- a/package.json +++ b/package.json @@ -32,9 +32,9 @@ "scripts": { "clean": "rimraf lib", "clean:examples": "rimraf examples/static", - "s": "sass src/sass/styles.scss ./lib/css/react-big-calendar.css", + "s": "sass ./lib/sass/styles.scss ./lib/css/react-big-calendar.css", "sass": "yarn s && yarn sass-dnd", - "sass-dnd": "sass src/addons/dragAndDrop/styles.scss ./lib/addons/dragAndDrop/styles.css", + "sass-dnd": "sass ./lib/addons/dragAndDrop/styles.scss ./lib/addons/dragAndDrop/styles.css", "autoprefixer": "postcss ./lib/css/react-big-calendar.css && postcss ./lib/addons/dragAndDrop/styles.css", "build:css": "yarn sass && yarn autoprefixer", "assets": "cpy src/sass/* lib/sass && yarn assets-addons", From 8febc7f1a7b5349816b27a82930f982af0a48d68 Mon Sep 17 00:00:00 2001 From: "Blades, Stephen" Date: Tue, 4 Jan 2022 14:27:47 -0600 Subject: [PATCH 2/2] chore: Manually update package version for bump test --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index 1fbb43bf1..02ef81d8c 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "react-big-calendar", - "version": "0.38.2", + "version": "0.38.3", "description": "Calendar! with events", "author": { "name": "Jason Quense",