From 1e747782de59dd41c983b79555844459cb83ed10 Mon Sep 17 00:00:00 2001 From: mealno Date: Mon, 25 May 2026 11:11:23 +0000 Subject: [PATCH] Delete directory 'src' --- src/.env.example | 9 --------- src/.gitignore | 8 -------- src/README.md | 20 -------------------- src/index.html | 16 ---------------- src/metadata.json | 6 ------ src/package.json | 35 ----------------------------------- src/tsconfig.json | 26 -------------------------- src/vite.config.ts | 22 ---------------------- 8 files changed, 142 deletions(-) delete mode 100644 src/.env.example delete mode 100644 src/.gitignore delete mode 100644 src/README.md delete mode 100644 src/index.html delete mode 100644 src/metadata.json delete mode 100644 src/package.json delete mode 100644 src/tsconfig.json delete mode 100644 src/vite.config.ts diff --git a/src/.env.example b/src/.env.example deleted file mode 100644 index 7a550fe..0000000 --- a/src/.env.example +++ /dev/null @@ -1,9 +0,0 @@ -# GEMINI_API_KEY: Required for Gemini AI API calls. -# AI Studio automatically injects this at runtime from user secrets. -# Users configure this via the Secrets panel in the AI Studio UI. -GEMINI_API_KEY="MY_GEMINI_API_KEY" - -# APP_URL: The URL where this applet is hosted. -# AI Studio automatically injects this at runtime with the Cloud Run service URL. -# Used for self-referential links, OAuth callbacks, and API endpoints. -APP_URL="MY_APP_URL" diff --git a/src/.gitignore b/src/.gitignore deleted file mode 100644 index 5a86d2a..0000000 --- a/src/.gitignore +++ /dev/null @@ -1,8 +0,0 @@ -node_modules/ -build/ -dist/ -coverage/ -.DS_Store -*.log -.env* -!.env.example diff --git a/src/README.md b/src/README.md deleted file mode 100644 index f1aa5e9..0000000 --- a/src/README.md +++ /dev/null @@ -1,20 +0,0 @@ -
-GHBanner -
- -# Run and deploy your AI Studio app - -This contains everything you need to run your app locally. - -View your app in AI Studio: https://ai.studio/apps/3ee1668e-a64b-4275-bbd0-23ae0f558de6 - -## Run Locally - -**Prerequisites:** Node.js - - -1. Install dependencies: - `npm install` -2. Set the `GEMINI_API_KEY` in [.env.local](.env.local) to your Gemini API key -3. Run the app: - `npm run dev` diff --git a/src/index.html b/src/index.html deleted file mode 100644 index be2fbb7..0000000 --- a/src/index.html +++ /dev/null @@ -1,16 +0,0 @@ - - - - - - Mealno - Cloud Kitchen - - - - - -
- - - - diff --git a/src/metadata.json b/src/metadata.json deleted file mode 100644 index 80ee3e0..0000000 --- a/src/metadata.json +++ /dev/null @@ -1,6 +0,0 @@ -{ - "name": "Mealno", - "description": "Gen-Z cloud kitchen landing page for students with dark-tech-appetizing aesthetic.", - "requestFramePermissions": [], - "majorCapabilities": ["MAJOR_CAPABILITY_SERVER_SIDE_GEMINI_API"] -} diff --git a/src/package.json b/src/package.json deleted file mode 100644 index 44745ed..0000000 --- a/src/package.json +++ /dev/null @@ -1,35 +0,0 @@ -{ - "name": "react-example", - "private": true, - "version": "0.0.0", - "type": "module", - "scripts": { - "dev": "vite --port=3000 --host=0.0.0.0", - "build": "vite build", - "preview": "vite preview", - "clean": "rm -rf dist server.js", - "lint": "tsc --noEmit" - }, - "dependencies": { - "@google/genai": "^2.4.0", - "@tailwindcss/vite": "^4.1.14", - "@vitejs/plugin-react": "^5.0.4", - "lucide-react": "^0.546.0", - "react": "^19.0.1", - "react-dom": "^19.0.1", - "vite": "^6.2.3", - "express": "^4.21.2", - "dotenv": "^17.2.3", - "motion": "^12.23.24" - }, - "devDependencies": { - "@types/node": "^22.14.0", - "autoprefixer": "^10.4.21", - "esbuild": "^0.25.0", - "tailwindcss": "^4.1.14", - "tsx": "^4.21.0", - "typescript": "~5.8.2", - "vite": "^6.2.3", - "@types/express": "^4.17.21" - } -} diff --git a/src/tsconfig.json b/src/tsconfig.json deleted file mode 100644 index d88f175..0000000 --- a/src/tsconfig.json +++ /dev/null @@ -1,26 +0,0 @@ -{ - "compilerOptions": { - "target": "ES2022", - "experimentalDecorators": true, - "useDefineForClassFields": false, - "module": "ESNext", - "lib": [ - "ES2022", - "DOM", - "DOM.Iterable" - ], - "skipLibCheck": true, - "moduleResolution": "bundler", - "isolatedModules": true, - "moduleDetection": "force", - "allowJs": true, - "jsx": "react-jsx", - "paths": { - "@/*": [ - "./*" - ] - }, - "allowImportingTsExtensions": true, - "noEmit": true - } -} diff --git a/src/vite.config.ts b/src/vite.config.ts deleted file mode 100644 index fc23e76..0000000 --- a/src/vite.config.ts +++ /dev/null @@ -1,22 +0,0 @@ -import tailwindcss from '@tailwindcss/vite'; -import react from '@vitejs/plugin-react'; -import path from 'path'; -import {defineConfig} from 'vite'; - -export default defineConfig(() => { - return { - plugins: [react(), tailwindcss()], - resolve: { - alias: { - '@': path.resolve(__dirname, '.'), - }, - }, - server: { - // HMR is disabled in AI Studio via DISABLE_HMR env var. - // Do not modify—file watching is disabled to prevent flickering during agent edits. - hmr: process.env.DISABLE_HMR !== 'true', - // Disable file watching when DISABLE_HMR is true to save CPU during agent edits. - watch: process.env.DISABLE_HMR === 'true' ? null : {}, - }, - }; -});