Skip to content

Commit

Permalink
chore(deps): update dependency vite to v6 (#321)
Browse files Browse the repository at this point in the history
* chore(deps): update dependency vite to v6

* fix(solid): configure Vite for client-side testing

- Disable SSR in `vite-plugin-solid` to ensure client-side environment
- Add development and browser conditions to resolve config for proper
test environment

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Doug Richar <[email protected]>
  • Loading branch information
renovate[bot] and drichar authored Dec 5, 2024
1 parent 2342b8c commit 7c460e5
Show file tree
Hide file tree
Showing 7 changed files with 125 additions and 49 deletions.
2 changes: 1 addition & 1 deletion examples/react-ts/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,6 @@
"eslint-plugin-react-hooks": "5.0.0",
"eslint-plugin-react-refresh": "0.4.14",
"typescript": "5.6.3",
"vite": "5.4.11"
"vite": "6.0.2"
}
}
2 changes: 1 addition & 1 deletion examples/solid-ts/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
},
"devDependencies": {
"typescript": "5.6.3",
"vite": "5.4.11",
"vite": "6.0.2",
"vite-plugin-solid": "2.11.0"
}
}
2 changes: 1 addition & 1 deletion examples/vanilla-ts/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
"devDependencies": {
"@walletconnect/types": "2.17.2",
"typescript": "5.6.3",
"vite": "5.4.11"
"vite": "6.0.2"
},
"dependencies": {
"@algorandfoundation/liquid-auth-use-wallet-client": "1.1.0",
Expand Down
2 changes: 1 addition & 1 deletion examples/vue-ts/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
"devDependencies": {
"@vitejs/plugin-vue": "5.2.1",
"typescript": "5.6.3",
"vite": "5.4.11",
"vite": "6.0.2",
"vue-tsc": "2.1.10"
}
}
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@
"eslint-config-prettier": "9.1.0",
"eslint-plugin-prettier": "5.2.1",
"prettier": "3.4.1",
"vite": "5.4.11",
"vite": "6.0.2",
"vite-plugin-solid": "2.11.0",
"vitest": "2.1.6",
"vue-demi": "0.14.10"
Expand Down
5 changes: 4 additions & 1 deletion packages/use-wallet-solid/vite.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,16 @@ import { defineConfig } from 'vitest/config'
import solid from 'vite-plugin-solid'

export default defineConfig({
plugins: [solid()],
plugins: [solid({ ssr: false })],
test: {
name: 'use-wallet-solid',
dir: './src',
watch: false,
environment: 'jsdom',
setupFiles: ['./vitest.setup.ts'],
globals: true
},
resolve: {
conditions: ['development', 'browser']
}
})
Loading

0 comments on commit 7c460e5

Please sign in to comment.