Skip to content

Commit

Permalink
fix(build): missing dependencies failing aws amplify deployment
Browse files Browse the repository at this point in the history
  • Loading branch information
JowiAoun committed Aug 18, 2024
1 parent e816024 commit de59ba7
Show file tree
Hide file tree
Showing 6 changed files with 427 additions and 80 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,6 @@ Built with some of the most cutting-edge and stable open-source technologies, an

Installation instructions, contribution guidelines, and technology stacks are available in the [cuHacking DevDocs](https://cuhacking-portal-test-deployment.netlify.app/docs/contribution-guidelines).

| [📚 Documentation](https://cuhacking-portal-test-deployment.netlify.app/docs) | [🗓️ Project Board](https://github.com/orgs/cuhacking/projects/4) | [💅 Figma](https://www.figma.com/files/team/1400857924219798056/project/261344209/2025?fuid=1196916890248607098) | [🌟 Design System (WIP)](#) |
| [📚 Documentation](https://main.dzzy1fby58ukt.amplifyapp.com/docs) | [🗓️ Project Board](https://github.com/orgs/cuhacking/projects/4) | [💅 Figma](https://www.figma.com/files/team/1400857924219798056/project/261344209/2025?fuid=1196916890248607098) | [🌟 Design System (WIP)](#) |
| :------------------------------------------------------------------------------------------------------------------------------------------------------------: | :-----------------------------------------------------------------------------------------------------------------------------------------------: | :-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------: | :----------------------------------------------------------------------------------------------------: |
| [![Documentation](https://github.com/user-attachments/assets/a09af068-4187-4d98-9f2d-5312678a5348)](https://cuhacking-portal-test-deployment.netlify.app/docs) | [![Project Board](https://github.com/user-attachments/assets/b10ddf82-4a8e-4892-bc45-ffdb596cd678)](https://github.com/orgs/cuhacking/projects/4) | [![Figma](https://github.com/user-attachments/assets/8c0cedcf-ce27-4a9c-9bf3-eed8ab3af5d6)](https://www.figma.com/files/team/1400857924219798056/project/261344209/2025?fuid=1196916890248607098) | [![Design System](https://github.com/user-attachments/assets/c7ccdb15-f911-4a5e-b0b4-7c9984baa30a)](#) |
| [![Documentation](https://github.com/user-attachments/assets/a09af068-4187-4d98-9f2d-5312678a5348)](https://main.dzzy1fby58ukt.amplifyapp.com/docs) | [![Project Board](https://github.com/user-attachments/assets/b10ddf82-4a8e-4892-bc45-ffdb596cd678)](https://github.com/orgs/cuhacking/projects/4) | [![Figma](https://github.com/user-attachments/assets/8c0cedcf-ce27-4a9c-9bf3-eed8ab3af5d6)](https://www.figma.com/files/team/1400857924219798056/project/261344209/2025?fuid=1196916890248607098) | [![Design System](https://github.com/user-attachments/assets/c7ccdb15-f911-4a5e-b0b4-7c9984baa30a)](#) |
20 changes: 20 additions & 0 deletions amplify.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
version: 1
applications:
- appRoot: apps/docs
frontend:
phases:
preBuild:
commands:
- npm i -g pnpm
- pnpm i
- pnpm playwright install
build:
commands:
- pnpm nx build docs --verbose
artifacts:
baseDirectory: .next
files:
- '**/*'
cache:
paths:
- node_modules/**/*
9 changes: 9 additions & 0 deletions apps/hackathon/project.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
{
"name": "hackathon",
"$schema": "../../node_modules/nx/schemas/project-schema.json",
"sourceRoot": "apps/hackathon",
"projectType": "application",
"tags": [],
"// targets": "to see all targets run: nx show project hackathon --web",
"targets": {}
}
9 changes: 9 additions & 0 deletions apps/landing-page/project.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
{
"name": "landing-page",
"$schema": "../../node_modules/nx/schemas/project-schema.json",
"sourceRoot": "apps/landing-page",
"projectType": "application",
"tags": [],
"// targets": "to see all targets run: nx show project landing-page --web",
"targets": {}
}
14 changes: 9 additions & 5 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,9 @@
"type": "git",
"url": "https://github.com/cuhacking/2025.git"
},
"scripts": {},
"scripts": {
"postinstall": "pnpx playwright install"
},
"private": true,
"dependencies": {
"@remix-run/node": "^2.8.1",
Expand Down Expand Up @@ -36,7 +38,7 @@
"@nx/next": "19.5.7",
"@nx/playwright": "19.5.7",
"@nx/remix": "19.5.7",
"@nx/vite": "19.5.7",
"@nx/vite": "^19.6.0",
"@nx/web": "19.5.7",
"@nx/workspace": "19.5.7",
"@playwright/test": "^1.36.0",
Expand All @@ -56,8 +58,9 @@
"@typescript-eslint/eslint-plugin": "^7.16.0",
"@typescript-eslint/parser": "^7.16.0",
"@vitejs/plugin-react": "^4.2.0",
"@vitest/coverage-v8": "^1.0.4",
"@vitest/ui": "^1.3.1",
"@vitejs/plugin-react-swc": "^3.7.0",
"@vitest/coverage-v8": "^2.0.5",
"@vitest/ui": "^2.0.5",
"autoprefixer": "10.4.13",
"babel-jest": "^29.4.1",
"eslint": "~8.57.0",
Expand Down Expand Up @@ -87,5 +90,6 @@
"typescript": "~5.5.2",
"vite": "^5.0.0",
"vitest": "^2.0.5"
}
},
"packageManager": "[email protected]"
}
Loading

0 comments on commit de59ba7

Please sign in to comment.