Skip to content

Commit

Permalink
Ditched npm for yarn
Browse files Browse the repository at this point in the history
  • Loading branch information
hernan-clich committed Oct 20, 2021
1 parent 17050a0 commit 297f998
Show file tree
Hide file tree
Showing 9 changed files with 3,448 additions and 10,328 deletions.
10 changes: 5 additions & 5 deletions .husky/pre-commit
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
#!/bin/sh
. "$(dirname "$0")/_/husky.sh"

npm run check-types
npm run lint
npm run check-format
npm run format
npm run build
yarn check-types
yarn lint
yarn check-format
yarn format
yarn build
3 changes: 2 additions & 1 deletion app/components/ArrowIcon/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,8 @@ function ArrowIcon({ isActive }: Props) {
height="12"
viewBox="0 0 12 12"
fill="none"
xmlns="http://www.w3.org/2000/svg">
xmlns="http://www.w3.org/2000/svg"
>
<g clipPath="url(#clip0)">
<path
d="M10.5 2.5L12 4.0285L6 10L-6.68129e-08 4.0285L1.5 2.5L6 7L10.5 2.5Z"
Expand Down
3 changes: 2 additions & 1 deletion app/components/FilterItem/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,8 @@ function FilterItem({ filterState, filtersToList, title }: Props) {
<Styled.FilterItemContainer
ref={containerRef}
onClick={handleDivClickInside}
$isActive={isFilterActive}>
$isActive={isFilterActive}
>
<CustomText as="span" isUnselectable size="xsmall" textTransform="uppercase" weight="bold">
{title}
</CustomText>
Expand Down
3 changes: 2 additions & 1 deletion app/components/Header/components/Logo/index.tsx

Large diffs are not rendered by default.

3 changes: 2 additions & 1 deletion app/components/Header/components/ShoppingCartIcon/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,8 @@ function ShoppingCartIcon() {
return (
<ResizableSvg
breakpoint={MOBILE_BR}
svgSizes={{ defaultWidth: 44, heightRatio: 1, minWidth: 33 }}>
svgSizes={{ defaultWidth: 44, heightRatio: 1, minWidth: 33 }}
>
<path
d="M0 5.5L1.36217 9.16667H4.89867L11.2677 31.1667H35.5392L44 11H13.178L14.212 14.6667H38.4853L33.1008 27.5H13.9828L7.69083 5.5H0ZM28.4167 33C29.9347 33 31.1667 34.232 31.1667 35.75C31.1667 37.2698 29.9347 38.5 28.4167 38.5C26.8987 38.5 25.6667 37.2698 25.6667 35.75C25.6667 34.232 26.8987 33 28.4167 33ZM15.7667 20.1667L19.25 33C20.768 33 22 34.2302 22 35.75C22 37.2698 20.768 38.5 19.25 38.5C17.732 38.5 16.5 37.2698 16.5 35.75C16.5 34.232 17.732 33 19.25 33L15.7667 20.1667Z"
fill="#001F47"
Expand Down
3 changes: 2 additions & 1 deletion app/components/RezisableSvg/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,8 @@ function ResizableSvg({ breakpoint, children, svgSizes }: Props) {
height={svgWidth * heightRatio}
viewBox={`0 0 ${defaultWidth} ${defaultWidth * heightRatio}`}
fill="none"
xmlns="http://www.w3.org/2000/svg">
xmlns="http://www.w3.org/2000/svg"
>
{children}
</svg>
);
Expand Down
3 changes: 2 additions & 1 deletion app/screens/Home/components/HeaderBox/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,8 @@ function HeaderBox({ asHtmlElement, alignment, buttonText, secondary, titleText
textAlign={alignment.horizontal}
textTransform="uppercase"
weight="black"
secondary={secondary}>
secondary={secondary}
>
{titleText}
</CustomText>
<CustomButton size="small" weight="bold" textTransform="uppercase">
Expand Down
Loading

0 comments on commit 297f998

Please sign in to comment.