Skip to content

Commit

Permalink
Update dependencies for ZotHacks 2024 (#150)
Browse files Browse the repository at this point in the history
  • Loading branch information
waalbert authored Sep 23, 2024
1 parent 1e5c190 commit d0a6a97
Show file tree
Hide file tree
Showing 9 changed files with 4,981 additions and 3,515 deletions.
34 changes: 17 additions & 17 deletions apps/sanity/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,24 +17,24 @@
"sanity"
],
"dependencies": {
"@portabletext/react": "^3.0.7",
"@sanity/color-input": "^3.1.0",
"@sanity/vision": "^3.15.1",
"lucide-react": "^0.271.0",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"react-is": "^18.2.0",
"sanity": "^3.15.1",
"sanity-plugin-media": "^2.2.2",
"styled-components": "^5.3.9"
"@portabletext/react": "^3.1.0",
"@sanity/color-input": "^4.0.1",
"@sanity/vision": "^3.57.4",
"lucide-react": "^0.441.0",
"react": "^18.3.1",
"react-dom": "^18.3.1",
"react-is": "^18.3.1",
"sanity": "^3.57.4",
"sanity-plugin-media": "^2.3.2",
"styled-components": "^6.1.13"
},
"devDependencies": {
"@sanity/eslint-config-studio": "^3.0.0",
"@types/react": "^18.0.25",
"@types/styled-components": "^5.1.26",
"eslint": "^8.6.0",
"eslint-plugin-sanity-studio": "^0.4.0",
"prettier": "^2.8.8",
"typescript": "^4.9.5"
"@sanity/eslint-config-studio": "^4.0.0",
"@types/react": "^18.3.8",
"@types/styled-components": "^5.1.34",
"eslint": "^9.10.0",
"eslint-plugin-sanity-studio": "^1.0.0",
"prettier": "^3.3.3",
"typescript": "^5.6.2"
}
}
2 changes: 1 addition & 1 deletion apps/sanity/turbo.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"extends": ["//"],
"pipeline": {
"tasks": {
"build": {
"outputs": ["dist/**"]
}
Expand Down
38 changes: 19 additions & 19 deletions apps/site/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,26 +11,26 @@
"format:check": "prettier --check ."
},
"dependencies": {
"@portabletext/react": "^3.0.7",
"@portabletext/react": "^3.1.0",
"@sanity/image-url": "^1.0.2",
"@types/node": "20.4.9",
"@types/react": "18.2.20",
"@types/react-dom": "^18.2.0",
"bootstrap": "^5.3.1",
"clsx": "^2.0.0",
"date-fns-tz": "^2.0.0",
"eslint": "8.46.0",
"eslint-config-next": "^13.4.1",
"framer-motion": "^10.16.4",
"next": "^13.4.1",
"next-sanity": "^5.5.4",
"react": "18.2.0",
"react-bootstrap": "^2.8.0",
"@types/node": "22.5.5",
"@types/react": "18.3.8",
"@types/react-dom": "^18.3.0",
"bootstrap": "^5.3.3",
"clsx": "^2.1.1",
"date-fns-tz": "^3.1.3",
"eslint": "9.10.0",
"eslint-config-next": "^14.2.13",
"framer-motion": "^11.5.5",
"next": "^14.2.13",
"next-sanity": "^9.5.0",
"react": "18.3.1",
"react-bootstrap": "^2.10.4",
"react-confetti": "^6.1.0",
"react-dom": "^18.2.0",
"react-use": "^17.4.0",
"sass": "^1.65.1",
"typescript": "5.1.6",
"zod": "^3.22.2"
"react-dom": "^18.3.1",
"react-use": "^17.5.1",
"sass": "^1.79.2",
"typescript": "5.6.2",
"zod": "^3.23.8"
}
}
2 changes: 1 addition & 1 deletion apps/site/src/app/(home)/sections/Intro/Intro.module.scss
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
margin-left: 10px;
margin-right: 10px;

background-image: url("~src/assets/images/index-card-mobile.svg");
background-image: url("~@/assets/images/index-card-mobile.svg");
background-size: cover;
background-position: top;
background-repeat: no-repeat;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ import Col from "react-bootstrap/Col";
import Container from "react-bootstrap/Container";
import Row from "react-bootstrap/Row";
import { cubicBezier, motion, Variants } from "framer-motion";
import { utcToZonedTime } from "date-fns-tz";
import { toZonedTime } from "date-fns-tz";
import Confetti from "react-confetti";
import useWindowSize from "react-use/lib/useWindowSize";

Expand Down Expand Up @@ -99,12 +99,12 @@ const ClipboardSchedule: React.FC<ClipboardScheduleProps> = ({ schedule }) => {
<div key={i}>
<h2 className="mt-5">
{weekdayFormat.format(
utcToZonedTime(day[0].startTime, "America/Los_Angeles"),
toZonedTime(day[0].startTime, "America/Los_Angeles"),
)}
</h2>
<p className="text-center mb-5 h3">
{monthDayFormat.format(
utcToZonedTime(day[0].startTime, "America/Los_Angeles"),
toZonedTime(day[0].startTime, "America/Los_Angeles"),
)}
</p>
{day.map(
Expand All @@ -116,11 +116,11 @@ const ClipboardSchedule: React.FC<ClipboardScheduleProps> = ({ schedule }) => {
startTime,
endTime,
}) => {
const startTimeZoned = utcToZonedTime(
startTime,
"America/Los_Angeles",
),
endTimeZoned = utcToZonedTime(
const startTimeZoned = toZonedTime(
startTime,
"America/Los_Angeles",
),
endTimeZoned = toZonedTime(
endTime,
"America/Los_Angeles",
);
Expand Down
2 changes: 1 addition & 1 deletion apps/site/turbo.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"extends": ["//"],
"pipeline": {
"tasks": {
"build": {
"outputs": [".vercel/**", ".next/**", "!.next/cache/**"]
}
Expand Down
10 changes: 5 additions & 5 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,11 +8,11 @@
"format:check": "turbo run format:check"
},
"devDependencies": {
"@turbo/gen": "^1.10.13",
"eslint": "^7.32.0",
"prettier": "3.0.1",
"turbo": "latest"
"@turbo/gen": "^2.1.2",
"eslint": "^9.10.0",
"prettier": "3.3.3",
"turbo": "^2.1.2"
},
"packageManager": "[email protected]",
"name": "zothacks-site-2023"
"name": "zothacks-site"
}
Loading

0 comments on commit d0a6a97

Please sign in to comment.