Skip to content

Commit

Permalink
update some packages and config
Browse files Browse the repository at this point in the history
  • Loading branch information
shannonwells committed Sep 18, 2024
1 parent 39c1dc1 commit f0dbf7e
Show file tree
Hide file tree
Showing 4 changed files with 438 additions and 175 deletions.
1 change: 1 addition & 0 deletions .github/workflows/verify-pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ jobs:
with:
node-version: 20
- run: yarn install --frozen-lockfile
- run: yarn run check
- name: Install Playwright
run: npx playwright install
- run: yarn run test
Expand Down
5 changes: 3 additions & 2 deletions client/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,11 +7,12 @@
"build": "vite build",
"preview": "vite preview",
"test": "playwright test",
"check": "svelte-kit sync && svelte-check --tsconfig ./tsconfig.json",
"check": "svelte-kit sync && svelte-check --tsconfig ./tsconfig.json --threshold error",
"check:watch": "svelte-kit sync && svelte-check --tsconfig ./tsconfig.json --watch"
},
"devDependencies": {
"@playwright/test": "^1.40.0",
"@playwright/test": "^1.47.1",
"@polkadot/util-crypto": "^13.1.1",
"@sveltejs/adapter-auto": "^3.2.5",
"@sveltejs/adapter-node": "^5.2.3",
"@sveltejs/adapter-static": "^3.0.5",
Expand Down
4 changes: 2 additions & 2 deletions client/svelte.config.js
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
import nodeAdapter from "@sveltejs/adapter-node";
import staticAdapter from "@sveltejs/adapter-static";
import preprocess from "svelte-preprocess";
import {sveltePreprocess} from 'svelte-preprocess'

/** @type {import('@sveltejs/kit').Config} */

const config = {
preprocess: [preprocess({ postcss: true })],
preprocess: sveltePreprocess({ postcss: true }),

kit: {
adapter: process.env.STATIC ? staticAdapter() : nodeAdapter(),
Expand Down
Loading

0 comments on commit f0dbf7e

Please sign in to comment.