Skip to content

Commit

Permalink
chore(.gitignore): add .vercel to the list of ignored files and direc…
Browse files Browse the repository at this point in the history
…tories

feat(package.json): add @sveltejs/adapter-vercel as a dev dependency to enable deployment on Vercel

fix(PromptEditForm.svelte): update error log message to include "Error log from client" for better clarity

feat(refinePrompt/+server.ts): import VITE_VERCEL_ENV_OPENAI_API_KEY from $env/static/private instead of using import.meta.env.VITE_OPENAI_API_KEY to improve security

fix(svelte.config.js): switch adapter from @sveltejs/adapter-auto to @sveltejs/adapter-vercel for deployment on Vercel
  • Loading branch information
edwardspresume committed Jul 24, 2023
1 parent 3eacadd commit 562d2fe
Show file tree
Hide file tree
Showing 6 changed files with 313 additions and 3 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -8,3 +8,4 @@ node_modules
!.env.example
vite.config.js.timestamp-*
vite.config.ts.timestamp-*
.vercel
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@
"devDependencies": {
"@playwright/test": "^1.36.1",
"@sveltejs/adapter-auto": "^2.1.0",
"@sveltejs/adapter-vercel": "^3.0.2",
"@sveltejs/kit": "^1.22.3",
"@total-typescript/ts-reset": "^0.4.2",
"@types/jsdom": "^21.1.1",
Expand Down
Loading

0 comments on commit 562d2fe

Please sign in to comment.