Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Updated packages and fixed build #1283

Closed
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion .dockerignore
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,5 @@ node_modules
.git
.gitignore
.env.example
.env
.env
pnpm-lock.yaml
7 changes: 6 additions & 1 deletion .eslintrc
Original file line number Diff line number Diff line change
Expand Up @@ -108,6 +108,7 @@ rules:
"@typescript-eslint/no-this-alias": "off"
"@typescript-eslint/no-unnecessary-type-constraint": "off"
"@typescript-eslint/ban-types": "off"
"@typescript-eslint/no-unused-vars": "off"

overrides:
- files:
Expand All @@ -117,4 +118,8 @@ overrides:
rules:
prefer-arrow-callback: 0
"@typescript-eslint/no-non-null-assertion": 0
"@typescript-eslint/no-unused-vars": 0
"@typescript-eslint/no-unused-vars": 0
- files:
- "src/components/ui/**.tsx"
rules:
"@typescript-eslint/no-empty-object-type": 0
3 changes: 3 additions & 0 deletions .github/workflows/lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,9 @@ jobs:
steps:
- name: Checkout the Repository
uses: actions/checkout@v3

- name: Install pnpm
run: npm install -g pnpm

- name: Install Dependencies
run: pnpm install --legacy-peer-deps
Expand Down
12 changes: 0 additions & 12 deletions .husky/pre-commit

This file was deleted.

5 changes: 3 additions & 2 deletions Dockerfile.prod
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,10 @@ WORKDIR /usr/src/app

COPY . .

RUN npm install
RUN npm install -g pnpm
RUN pnpm install
RUN DATABASE_URL=$DATABASE_URL npx prisma generate
RUN DATABASE_URL=$DATABASE_URL npm run build
RUN DATABASE_URL=$DATABASE_URL pnpm run build

EXPOSE 3000

Expand Down
152 changes: 76 additions & 76 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -34,108 +34,108 @@
"build-storybook": "npm run build:tailwind && storybook build"
},
"dependencies": {
"@auth/prisma-adapter": "^1.0.6",
"@discordjs/core": "^1.1.1",
"@discordjs/next": "^0.1.1-dev.1673526225-a580768.0",
"@hookform/resolvers": "^3.6.0",
"@icons-pack/react-simple-icons": "^9.4.0",
"@prisma/client": "^5.18.0",
"@radix-ui/react-accordion": "^1.1.2",
"@radix-ui/react-avatar": "^1.0.4",
"@radix-ui/react-dialog": "^1.0.5",
"@radix-ui/react-dropdown-menu": "^2.0.6",
"@radix-ui/react-label": "^2.0.2",
"@radix-ui/react-navigation-menu": "^1.1.4",
"@auth/prisma-adapter": "^2.5.0",
"@discordjs/core": "^2.0.0",
"@discordjs/next": "0.1.1-dev.1673526225-a580768.0",
"@hookform/resolvers": "^3.9.0",
"@icons-pack/react-simple-icons": "^10.0.0",
"@prisma/client": "^5.19.1",
"@radix-ui/react-accordion": "^1.2.0",
"@radix-ui/react-avatar": "^1.1.0",
"@radix-ui/react-dialog": "^1.1.1",
"@radix-ui/react-dropdown-menu": "^2.1.1",
"@radix-ui/react-label": "^2.1.0",
"@radix-ui/react-navigation-menu": "^1.2.0",
"@radix-ui/react-popover": "^1.1.1",
"@radix-ui/react-radio-group": "^1.2.0",
"@radix-ui/react-scroll-area": "^1.1.0",
"@radix-ui/react-separator": "^1.1.0",
"@radix-ui/react-slot": "^1.1.0",
"@radix-ui/react-switch": "^1.1.0",
"@radix-ui/react-tooltip": "^1.0.7",
"@tabler/icons-react": "^3.14.0",
"@radix-ui/react-tooltip": "^1.1.2",
"@tabler/icons-react": "^3.17.0",
"@types/bcrypt": "^5.0.2",
"@types/jsonwebtoken": "^9.0.5",
"@types/jsonwebtoken": "^9.0.7",
"@uiw/react-md-editor": "^4.0.4",
"axios": "^1.6.2",
"axios": "^1.7.7",
"bcrypt": "^5.1.1",
"class-variance-authority": "^0.7.0",
"clsx": "^2.1.0",
"date-fns": "^3.6.0",
"dayjs": "^1.11.10",
"discord-oauth2": "^2.11.0",
"discord.js": "^14.14.1",
"embla-carousel-react": "^8.0.0",
"framer-motion": "^11.3.28",
"clsx": "^2.1.1",
"date-fns": "^4.1.0",
"dayjs": "^1.11.13",
"discord-oauth2": "^2.12.1",
"discord.js": "^14.16.2",
"embla-carousel-react": "^8.3.0",
"framer-motion": "^11.5.5",
"fuse.js": "^7.0.0",
"ioredis": "^5.4.1",
"jose": "^5.2.2",
"jose": "^5.9.2",
"jsonwebtoken": "^9.0.2",
"lucide-react": "^0.321.0",
"lucide-react": "^0.441.0",
"moment": "^2.30.1",
"next": "14.0.2",
"next-auth": "^4.24.5",
"next-themes": "^0.2.1",
"nextjs-toploader": "^1.6.11",
"next": "14.2.1",
"next-auth": "^4.24.7",
"next-themes": "^0.3.0",
"nextjs-toploader": "^3.6.15",
"node-fetch": "^3.3.2",
"notion-client": "^6.16.0",
"pdf-lib": "^1.17.1",
"qs": "^6.13.0",
"react": "^18",
"react-big-calendar": "^1.13.2",
"react-day-picker": "8.10.1",
"react-dom": "^18",
"react-hook-form": "^7.50.1",
"react-icons": "^5.1.0",
"react": "^18.3.1",
"react-big-calendar": "^1.14.1",
"react-day-picker": "9.1.1",
"react-dom": "^18.3.1",
"react-hook-form": "^7.53.0",
"react-icons": "^5.3.0",
"react-notion-x": "^6.16.0",
"react-resizable-panels": "^1.0.7",
"react-resizable-panels": "^2.1.3",
"recoil": "^0.7.7",
"sonner": "^1.4.0",
"storybook": "^8.0.8",
"tailwind-merge": "^2.2.1",
"sonner": "^1.5.0",
"storybook": "^8.3.2",
"tailwind-merge": "^2.5.2",
"tailwindcss-animate": "^1.0.7",
"vaul": "^0.8.9",
"video.js": "^8.6.1",
"videojs-contrib-eme": "^3.11.1",
"vaul": "^0.9.4",
"video.js": "^8.17.4",
"videojs-contrib-eme": "^5.5.1",
"videojs-mobile-ui": "^1.1.1",
"videojs-seek-buttons": "^4.0.3",
"videojs-sprite-thumbnails": "^2.1.1",
"zod": "^3.22.4"
"videojs-sprite-thumbnails": "^2.2.1",
"zod": "^3.23.8"
},
"devDependencies": {
"@chromatic-com/storybook": "^1.3.3",
"@storybook/addon-controls": "^8.0.8",
"@storybook/addon-essentials": "^8.0.8",
"@storybook/addon-interactions": "^8.0.8",
"@storybook/addon-links": "^8.0.8",
"@storybook/addon-onboarding": "^8.0.8",
"@storybook/blocks": "^8.0.8",
"@storybook/nextjs": "^8.0.8",
"@storybook/react": "^8.0.8",
"@storybook/test": "^8.0.8",
"@testing-library/jest-dom": "^6.4.5",
"@testing-library/react": "^15.0.7",
"@types/node": "^20",
"@types/react": "^18",
"@types/react-big-calendar": "^1.8.9",
"@types/react-dom": "^18",
"@typescript-eslint/eslint-plugin": "^6.20.0",
"@typescript-eslint/parser": "^6.20.0",
"@vitejs/plugin-react": "^4.3.0",
"@vitest/coverage-v8": "^1.6.0",
"autoprefixer": "^10.0.1",
"eslint": "^8.56.0",
"@chromatic-com/storybook": "^2.0.2",
"@storybook/addon-controls": "^8.3.2",
"@storybook/addon-essentials": "^8.3.2",
"@storybook/addon-interactions": "^8.3.2",
"@storybook/addon-links": "^8.3.2",
"@storybook/addon-onboarding": "^8.3.2",
"@storybook/blocks": "^8.3.2",
"@storybook/nextjs": "^8.3.2",
"@storybook/react": "^8.3.2",
"@storybook/test": "^8.3.2",
"@testing-library/jest-dom": "^6.5.0",
"@testing-library/react": "^16.0.1",
"@types/node": "^22.5.5",
"@types/react": "^18.3.8",
"@types/react-big-calendar": "^1.8.11",
"@types/react-dom": "^18.3.0",
"@typescript-eslint/eslint-plugin": "^8.6.0",
"@typescript-eslint/parser": "^8.6.0",
"@vitejs/plugin-react": "^4.3.1",
"@vitest/coverage-v8": "^2.1.1",
"autoprefixer": "^10.4.20",
"eslint": "^8.0.0",
"eslint-plugin-storybook": "^0.8.0",
"husky": "^9.0.7",
"jsdom": "^24.0.0",
"postcss": "^8",
"prettier": "^3.2.4",
"prettier-plugin-tailwindcss": "^0.6.1",
"prisma": "^5.18.0",
"tailwindcss": "^3.3.0",
"husky": "^9.1.6",
"jsdom": "^25.0.0",
"postcss": "^8.4.47",
"prettier": "^3.3.3",
"prettier-plugin-tailwindcss": "^0.6.6",
"prisma": "^5.19.1",
"tailwindcss": "^3.4.12",
"ts-node": "^10.9.2",
"typescript": "^5.4.5",
"vitest": "^1.6.0",
"vitest-mock-extended": "^1.3.1"
"typescript": "^5.6.2",
"vitest": "^2.1.1",
"vitest-mock-extended": "^2.0.2"
}
}
Loading
Loading