Skip to content

Commit

Permalink
fix(EditProfile):
Browse files Browse the repository at this point in the history
- add missing deps
- update tsconfig & vite config to include aliases
  • Loading branch information
lonewanderer27 committed Aug 28, 2023
1 parent 0a800fe commit fefd2d3
Show file tree
Hide file tree
Showing 4 changed files with 225 additions and 9 deletions.
4 changes: 4 additions & 0 deletions apps/app/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,16 +10,19 @@
"lint": "eslint"
},
"dependencies": {
"@capacitor-community/camera-preview": "^5.0.0",
"@capacitor-firebase/authentication": "^5.1.0",
"@capacitor/android": "5.2.1",
"@capacitor/app": "5.0.6",
"@capacitor/camera": "^5.0.7",
"@capacitor/core": "5.2.1",
"@capacitor/geolocation": "^5.0.6",
"@capacitor/haptics": "5.0.6",
"@capacitor/keyboard": "5.0.6",
"@capacitor/preferences": "^5.0.6",
"@capacitor/status-bar": "5.0.6",
"@dotlottie/react-player": "^1.2.1",
"@ionic/pwa-elements": "^3.2.2",
"@ionic/react": "^7.3.1",
"@ionic/react-router": "^7.3.1",
"@maskito/core": "^1.4.0",
Expand Down Expand Up @@ -81,6 +84,7 @@
"tailwindcss": "^3.3.3",
"typescript": "^5.1.6",
"vite": "^4.4.9",
"vite-plugin-mkcert": "^1.16.0",
"workbox-window": "^7.0.0"
},
"description": "The Coffee Lounge is an E-commerce coffee app built with Ionic React. It features a unique 3D View that allows our customers to virtually visit the cafe, using only their mobile phone."
Expand Down
10 changes: 9 additions & 1 deletion apps/app/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,15 @@
"resolveJsonModule": true,
"isolatedModules": true,
"noEmit": true,
"jsx": "react-jsx"
"jsx": "react-jsx",
"baseUrl": ".",
"paths": {
"@/*": ["./src/*", "./dist/*", ""],
"@components/*": ["src/components/*"],
"@pages/*": ["src/pages/*"],
"@hooks/*": ["src/hooks/*"],
"@atoms/*": ["src/utils/*"],
}
},
"include": ["src", "node_modules/vite-plugin-pwa/client.d.ts"],
"references": [{ "path": "./tsconfig.node.json" }]
Expand Down
15 changes: 15 additions & 0 deletions apps/app/vite.config.ts
Original file line number Diff line number Diff line change
@@ -1,11 +1,26 @@
import { VitePWA } from "vite-plugin-pwa";
import { defineConfig } from "vite";
import legacy from "@vitejs/plugin-legacy";
import mkcert from 'vite-plugin-mkcert'
import path from "path";
import react from "@vitejs/plugin-react";

/** @type {import('vite').UserConfig} */
export default defineConfig({
server: {
https: true
},
resolve: {
alias: {
"@": path.resolve(__dirname, "./src"),
components: path.resolve(__dirname, "./src/components"),
pages: path.resolve(__dirname, "./src/pages"),
hooks: path.resolve(__dirname, "./src/hooks"),
atoms: path.resolve(__dirname, "./src/atoms"),
}
},
plugins: [
mkcert(),
react(),
legacy(),
VitePWA({
Expand Down
Loading

2 comments on commit fefd2d3

@vercel
Copy link

@vercel vercel bot commented on fefd2d3 Aug 28, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Successfully deployed to the following URLs:

payment-gateway – ./apps/payment-gateway

payment-gateway-git-main-lonewanderer27.vercel.app
payment-gateway-lonewanderer27.vercel.app
payment-gateway-weld.vercel.app

@vercel
Copy link

@vercel vercel bot commented on fefd2d3 Aug 28, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Successfully deployed to the following URLs:

coffee-lounge-app – ./apps/app

coffee-lounge-app.vercel.app
coffee-lounge-app-git-main-lonewanderer27.vercel.app
coffee-lounge-app-lonewanderer27.vercel.app

Please sign in to comment.