Skip to content

Commit

Permalink
upgrade packages
Browse files Browse the repository at this point in the history
  • Loading branch information
moerabaya committed Mar 21, 2024
1 parent a5c8628 commit ec41822
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 17 deletions.
2 changes: 1 addition & 1 deletion components/atoms/Text/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import styled, { css, TextProps } from "styled-components";
import { mixins } from "styles";
import Component from "../Component";

const Text = styled((props) => (
const Text = styled((props: any) => (
<Component {...props} as={props.as ?? "span"} />
))<TextProps>`
padding: ${(props) => props.p};
Expand Down
2 changes: 1 addition & 1 deletion components/molecules/Menu/Menu.styled.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ const Item = styled.li<MenuItemComponent>`
`;

const Menu = Object.assign(
styled((props) => <Component {...props} as="ul" />)`
styled((props: any) => <Component {...props} as="ul" />)`
margin: 0;
padding: 0 0.75em;
text-align: end;
Expand Down
10 changes: 2 additions & 8 deletions next.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,16 +9,10 @@ const nextConfig = {
locales: ["en-US", "ar"],
defaultLocale: "en-US",
},
eslint: {
ignoreDuringBuilds: true,
eslint: {
ignoreDuringBuilds: true,
},
trailingSlash: true,
styledComponents: true,
experimental: {
images: {
allowFutureImage: true,
},
},
async redirects() {
return [
{
Expand Down
14 changes: 7 additions & 7 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
"fs": "^0.0.1-security",
"gray-matter": "^4.0.3",
"lodash": "^4.17.21",
"next": "^13.3.1",
"next": "^13.5.6",
"next-compose-plugins": "^2.2.1",
"next-mdx-remote": "^4.0.3",
"path": "^0.12.7",
Expand All @@ -27,12 +27,12 @@
"react-icons": "^4.4.0",
"react-moving-text": "^0.0.7",
"rehype-img-size": "^1.0.1",
"styled-components": "^5.3.5",
"styled-components": "^6.1.8",
"swiper": "^8.4.5",
"universal-cookie": "^4.0.4"
},
"devDependencies": {
"@svgr/webpack": "^8.0.1",
"@svgr/webpack": "^8.1.0",
"@types/lodash": "^4.14.186",
"@types/node": "17.0.35",
"@types/react": "18.0.9",
Expand All @@ -41,11 +41,11 @@
"autoprefixer": "^10.4.14",
"babel-plugin-styled-components": "^2.0.7",
"eslint": "8.16.0",
"eslint-config-next": "^13.3.1",
"postcss": "^8.4.23",
"eslint-config-next": "^13.5.6",
"postcss": "^8.4.38",
"prettier": "2.7.1",
"sass": "^1.52.1",
"tailwindcss": "^3.3.2",
"tailwindcss": "^3.4.1",
"typescript": "4.6.4"
}
}
}

0 comments on commit ec41822

Please sign in to comment.