Skip to content

Commit

Permalink
build: add vercel adapter
Browse files Browse the repository at this point in the history
  • Loading branch information
noyyyy committed Dec 4, 2023
1 parent 6b7a2fd commit 8b9e784
Show file tree
Hide file tree
Showing 5 changed files with 253 additions and 59 deletions.
1 change: 1 addition & 0 deletions .github/workflows/dev.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ on:
env:
FOUNDRY_PROFILE: ci
PRIVATE_KEY: ${{ secrets.PRIVATE_KEY }}
W3S_KEY: ""

permissions:
pull-requests: write
Expand Down
1 change: 1 addition & 0 deletions packages/client/.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 packages/client/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,7 @@
"dependencies": {
"@ipld/car": "^5.2.4",
"@pushprotocol/restapi": "^1.4.38",
"@sveltejs/adapter-vercel": "^3.1.0",
"@ucanto/core": "^9.0.1",
"@ucanto/principal": "^9.0.0",
"@web3-storage/access": "^18.0.2",
Expand Down
5 changes: 3 additions & 2 deletions packages/client/svelte.config.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
import adapter from '@sveltejs/adapter-auto';
// import adapter from '@sveltejs/adapter-auto';
import vercelAdapter from '@sveltejs/adapter-vercel';
import { vitePreprocess } from '@sveltejs/kit/vite';

/** @type {import('@sveltejs/kit').Config} */
Expand All @@ -8,7 +9,7 @@ const config = {
preprocess: vitePreprocess(),

kit: {
adapter: adapter()
adapter: vercelAdapter()
}
};

Expand Down
Loading

0 comments on commit 8b9e784

Please # to comment.