Remove Tempo Labs, EmailJS dependencies and update package name #18
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Overview
This PR removes all Tempo Labs and EmailJS dependencies from the codebase to fix console errors, eliminate unused functionality, and streamline the application. Additionally, updates the package name from the generic
vite-react-typescript-starterto the project-specifichlsitech-com.Problems Addressed
https://api.tempolabs.ai/proxy-assetwhich resulted innet::ERR_ADDRESS_INVALIDerrors in the browser consoleChanges Made
Tempo Labs Removal
index.htmlTempoDevtoolsimport and initialization fromsrc/main.tsxtempo-routesimport and conditional route spreading fromsrc/routes/index.tsxvite.config.tsby removing:allowedHostsconfigurationtempo-devtoolspackage from devDependenciesEmailJS Removal
@emailjs/browserimport fromsrc/components/chat/useChatState.tssetUserNamefunction by removing async EmailJS notification logic@emailjs/browserpackage from dependenciesPackage Configuration
vite-react-typescript-startertohlsitech-comBenefits
Performance & Security
Code Quality
Functionality Impact
All core features continue to work as expected:
The chat feature no longer sends email notifications when users enter their name, but all other chat functionality remains intact.
Testing
Original prompt
COMPREHENSIVE CLEANUP - Remove Tempo Labs, EmailJS, AND Bolt from main2
Objective
Clean up main2 branch by removing all Tempo Labs, EmailJS, AND Bolt references to fix errors and simplify the codebase.
Current Problems on main2
GET https://api.tempolabs.ai/proxy-asset net::ERR_ADDRESS_INVALIDerrorFiles to Modify/Delete on main2 Branch
1. Remove Tempo script from index.html
File:
index.html(line 17)Remove:
2. Remove TempoDevtools from main.tsx
File:
src/main.tsxRemove lines 6 and 9:
Result should be:
3. Remove EmailJS from useChatState.ts
File:
src/components/chat/useChatState.tsRemove line 2:
Remove the entire async emailjs.send block and simplify setUserName:
4. Clean up vite.config.ts
File:
vite.config.tsRemove:
import { tempo } from "tempo-devtools/dist/vite";tempo(),from plugins arrayUpdate Content Security Policy:
Remove Tempo and EmailJS URLs:
Simplify plugins:
5. Update package.json
File:
package.jsonRemove from dependencies:
Remove from devDependencies:
Update name from "vite-react-typescript-starter" to "hlsitech-com":
{ "name": "hlsitech-com", "private": true, "version": "0.0.0", ... }6. Clean up .env.example
File:
.env.exampleRemove EmailJS section:
7. DELETE Bolt Configuration Files
Delete these entire files:
.bolt/prompt(Bolt prompt configuration).bolt/config.json(Bolt template configuration).bolt/directory (entire folder)Expected Results After Cleanup
✅ No ERR_ADDRESS_INVALID errors from Tempo Labs
✅ No EmailJS dependencies or imports
✅ No Bolt/StackBlitz configuration files
✅ Cleaner, lighter codebase
✅ All core features still work (video banner, contact card, routing)
✅ Chat interface works (without email notifications)
✅ Faster build and smaller bundle size
✅ Clean project name (hlsitech-com)
Files Changed Summary
index.html- Remove Tempo scriptsrc/main.tsx- Remove TempoDevtoolssrc/components/chat/useChatState.ts- Remove EmailJSvite.config.ts- Clean Tempo/EmailJS from CSPpackage.json- Remove deps + update name.env.example- Remove EmailJS config.bolt/prompt- DELETE.bolt/config.json- DELETE.bolt/directory - DELETETesting
After merge:
This pull request was created as a result of the following prompt from Copilot chat.
💡 You can make Copilot smarter by setting up custom instructions, customizing its development environment and configuring Model Context Protocol (MCP) servers. Learn more Copilot coding agent tips in the docs.