Closed anilnatha closed 2 months ago
Fixed error regarding invalid data being passed when needing to generate the basename value in the icon template script.
basename
Tested build to verify that no errors are being generated any longer:
anatha@MT-407379 wds-react % npm run build-icons > @nasapds/wds-react@0.1.0 build-icons > svgr --jsx-runtime automatic -d ./src/components/Icons/ node_modules/@nasapds/wds/icons/ node_modules/@nasapds/wds/icons/arrow-circle-down.svg -> src/components/Icons/ArrowCircleDown.tsx node_modules/@nasapds/wds/icons/arrow-filled-right.svg -> src/components/Icons/ArrowFilledRight.tsx node_modules/@nasapds/wds/icons/arrow-circle-up.svg -> src/components/Icons/ArrowCircleUp.tsx node_modules/@nasapds/wds/icons/arrow-filled-down.svg -> src/components/Icons/ArrowFilledDown.tsx node_modules/@nasapds/wds/icons/arrow-filled-up.svg -> src/components/Icons/ArrowFilledUp.tsx node_modules/@nasapds/wds/icons/arrow-right.svg -> src/components/Icons/ArrowRight.tsx node_modules/@nasapds/wds/icons/arrow-left.svg -> src/components/Icons/ArrowLeft.tsx node_modules/@nasapds/wds/icons/chevron-up.svg -> src/components/Icons/ChevronUp.tsx node_modules/@nasapds/wds/icons/check-circled.svg -> src/components/Icons/CheckCircled.tsx node_modules/@nasapds/wds/icons/arrow-filled-left.svg -> src/components/Icons/ArrowFilledLeft.tsx node_modules/@nasapds/wds/icons/arrow-circle-left.svg -> src/components/Icons/ArrowCircleLeft.tsx node_modules/@nasapds/wds/icons/arrow-diagonal.svg -> src/components/Icons/ArrowDiagonal.tsx node_modules/@nasapds/wds/icons/chevron-left.svg -> src/components/Icons/ChevronLeft.tsx node_modules/@nasapds/wds/icons/arrow-up.svg -> src/components/Icons/ArrowUp.tsx node_modules/@nasapds/wds/icons/close.svg -> src/components/Icons/Close.tsx node_modules/@nasapds/wds/icons/filter.svg -> src/components/Icons/Filter.tsx node_modules/@nasapds/wds/icons/collapse.svg -> src/components/Icons/Collapse.tsx node_modules/@nasapds/wds/icons/chevron-right.svg -> src/components/Icons/ChevronRight.tsx node_modules/@nasapds/wds/icons/menu.svg -> src/components/Icons/Menu.tsx node_modules/@nasapds/wds/icons/chevron-down.svg -> src/components/Icons/ChevronDown.tsx node_modules/@nasapds/wds/icons/expand.svg -> src/components/Icons/Expand.tsx node_modules/@nasapds/wds/icons/play.svg -> src/components/Icons/Play.tsx node_modules/@nasapds/wds/icons/info.svg -> src/components/Icons/Info.tsx node_modules/@nasapds/wds/icons/list.svg -> src/components/Icons/List.tsx node_modules/@nasapds/wds/icons/plus.svg -> src/components/Icons/Plus.tsx node_modules/@nasapds/wds/icons/quote.svg -> src/components/Icons/Quote.tsx node_modules/@nasapds/wds/icons/arrow-down.svg -> src/components/Icons/ArrowDown.tsx node_modules/@nasapds/wds/icons/rotate.svg -> src/components/Icons/Rotate.tsx node_modules/@nasapds/wds/icons/download.svg -> src/components/Icons/Download.tsx node_modules/@nasapds/wds/icons/settings.svg -> src/components/Icons/Settings.tsx node_modules/@nasapds/wds/icons/share.svg -> src/components/Icons/Share.tsx node_modules/@nasapds/wds/icons/location.svg -> src/components/Icons/Location.tsx node_modules/@nasapds/wds/icons/search.svg -> src/components/Icons/Search.tsx node_modules/@nasapds/wds/icons/pause.svg -> src/components/Icons/Pause.tsx node_modules/@nasapds/wds/icons/arrow-circle-right.svg -> src/components/Icons/ArrowCircleRight.tsx node_modules/@nasapds/wds/icons/map.svg -> src/components/Icons/Map.tsx node_modules/@nasapds/wds/icons/sound-off.svg -> src/components/Icons/SoundOff.tsx node_modules/@nasapds/wds/icons/minus.svg -> src/components/Icons/Minus.tsx node_modules/@nasapds/wds/icons/tag-data.svg -> src/components/Icons/TagData.tsx node_modules/@nasapds/wds/icons/tag-all.svg -> src/components/Icons/TagAll.tsx node_modules/@nasapds/wds/icons/tag-bio.svg -> src/components/Icons/TagBio.tsx node_modules/@nasapds/wds/icons/slideshow.svg -> src/components/Icons/Slideshow.tsx node_modules/@nasapds/wds/icons/tag-file.svg -> src/components/Icons/TagFile.tsx node_modules/@nasapds/wds/icons/sound-on.svg -> src/components/Icons/SoundOn.tsx node_modules/@nasapds/wds/icons/tag-article.svg -> src/components/Icons/TagArticle.tsx node_modules/@nasapds/wds/icons/tag-feature.svg -> src/components/Icons/TagFeature.tsx node_modules/@nasapds/wds/icons/tag-gallery.svg -> src/components/Icons/TagGallery.tsx node_modules/@nasapds/wds/icons/tag-activity.svg -> src/components/Icons/TagActivity.tsx node_modules/@nasapds/wds/icons/tag-interactive.svg -> src/components/Icons/TagInteractive.tsx node_modules/@nasapds/wds/icons/tag-infographic.svg -> src/components/Icons/TagInfographic.tsx node_modules/@nasapds/wds/icons/tag-landing.svg -> src/components/Icons/TagLanding.tsx node_modules/@nasapds/wds/icons/tag-media-advisory.svg -> src/components/Icons/TagMediaAdvisory.tsx node_modules/@nasapds/wds/icons/tag-podcast.svg -> src/components/Icons/TagPodcast.tsx node_modules/@nasapds/wds/icons/tag-sound.svg -> src/components/Icons/TagSound.tsx node_modules/@nasapds/wds/icons/tag-launch.svg -> src/components/Icons/TagLaunch.tsx node_modules/@nasapds/wds/icons/tag-image.svg -> src/components/Icons/TagImage.tsx node_modules/@nasapds/wds/icons/tag-subscribe.svg -> src/components/Icons/TagSubscribe.tsx node_modules/@nasapds/wds/icons/tag-press-release.svg -> src/components/Icons/TagPressRelease.tsx node_modules/@nasapds/wds/icons/view-list.svg -> src/components/Icons/ViewList.tsx node_modules/@nasapds/wds/icons/tag-event.svg -> src/components/Icons/TagEvent.tsx node_modules/@nasapds/wds/icons/tag-topic.svg -> src/components/Icons/TagTopic.tsx node_modules/@nasapds/wds/icons/tag-video.svg -> src/components/Icons/TagVideo.tsx node_modules/@nasapds/wds/icons/tag-slideshow.svg -> src/components/Icons/TagSlideshow.tsx node_modules/@nasapds/wds/icons/view-mosaic.svg -> src/components/Icons/ViewMosaic.tsx node_modules/@nasapds/wds/icons/view-single.svg -> src/components/Icons/ViewSingle.tsx node_modules/@nasapds/wds/icons/view-grid.svg -> src/components/Icons/ViewGrid.tsx node_modules/@nasapds/wds/icons/sort.svg -> src/components/Icons/Sort.tsx node_modules/@nasapds/wds/icons/tag-blog.svg -> src/components/Icons/TagBlog.tsx node_modules/@nasapds/wds/icons/tag-notification.svg -> src/components/Icons/TagNotification.tsx anatha@MT-407379 wds-react %
Fixes #52
🗒️ Summary
Fixed error regarding invalid data being passed when needing to generate the
basename
value in the icon template script.⚙️ Test Data and/or Report
Tested build to verify that no errors are being generated any longer:
♻️ Related Issues
Fixes #52