From 3c23f5847588562ac84ed1cf2ba294e825918125 Mon Sep 17 00:00:00 2001 From: Chris Basham Date: Thu, 20 Jan 2022 15:47:23 -0500 Subject: [PATCH 1/2] Fix paths in Windows --- lib/lib.js | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/lib/lib.js b/lib/lib.js index c23c6485..4ef58e8a 100644 --- a/lib/lib.js +++ b/lib/lib.js @@ -26,7 +26,11 @@ async function readIcons (options = {}) { process } = options const selectedIcons = (typeof icons === 'string' ? [icons] : icons) - .map((n) => path.resolve(__dirname, '..', ICON_SRC_DIR, `${n}.svg`)) + .map((n) => + path + .resolve(__dirname, '..', ICON_SRC_DIR, `${n}.svg`) + .replace(/\\/g, '/') + ) const selectedIconFiles = await fg(selectedIcons) const includedIconFiles = await fg(include) const files = [...selectedIconFiles, ...includedIconFiles] From 80ee295761a31dd77df4486d759bb7216dfd0632 Mon Sep 17 00:00:00 2001 From: Levi McGranahan Date: Fri, 21 Jan 2022 11:40:54 -0500 Subject: [PATCH 2/2] Bumped version to 1.0.1 for patch release --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index 87a23a84..0292511b 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "rivet-icons", - "version": "1.0.0", + "version": "1.0.1", "description": "Icon set for Indiana University's Rivet design system", "files": [ "dist/**/*",