Skip to content

Commit

Permalink
Merge pull request #166 from palladians/chore/upgrade-vite
Browse files Browse the repository at this point in the history
chore(build): upgrade vite to v5
  • Loading branch information
mrcnk authored Apr 11, 2024
2 parents 8e62579 + bc17928 commit 99b5f8f
Show file tree
Hide file tree
Showing 6 changed files with 344 additions and 404 deletions.
6 changes: 3 additions & 3 deletions apps/extension/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -47,15 +47,15 @@
"@types/webextension-polyfill": "^0.10.7",
"@typescript-eslint/eslint-plugin": "^6.15.0",
"@typescript-eslint/parser": "^6.15.0",
"@vitejs/plugin-react-swc": "^3.5.0",
"@vitejs/plugin-react-swc": "^3.6.0",
"path": "^0.12.7",
"rollup-plugin-node-polyfills": "^0.2.1",
"rollup-plugin-polyfill-node": "^0.12.0",
"vite": "^4.5.1",
"vite": "^5.2.8",
"vite-plugin-commonjs": "^0.10.1",
"vite-plugin-node-polyfills": "^0.17.0",
"vite-plugin-require-transform": "^1.0.21",
"vite-plugin-svgr": "^3.2.0",
"vite-plugin-svgr": "^4.2.0",
"vite-plugin-top-level-await": "^1.4.1",
"vite-plugin-wasm": "^3.3.0",
"web-ext": "^7.9.0"
Expand Down
2 changes: 1 addition & 1 deletion apps/extension/vite.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ export default defineConfig({
crx({ manifest }),
topLevelAwait(),
nodePolyfills({ protocolImports: true, globals: { Buffer: true } }),
svgr({ exportAsDefault: true })
svgr()
],
define: {
'global.browser': {}
Expand Down
8 changes: 3 additions & 5 deletions packages/features/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -97,16 +97,14 @@
"zustand": "^4.4.7"
},
"devDependencies": {
"@chialab/esbuild-plugin-commonjs": "^0.17.2",
"@hyrious/esbuild-plugin-commonjs": "^0.2.2",
"@ladle/react": "^4.0.2",
"@palladxyz/common": "^1.0.0",
"@svgr/plugin-jsx": "^8.0.1",
"@svgr/rollup": "^8.0.1",
"@testing-library/react": "^14.1.2",
"@trpc/server": "^10.44.1",
"@tsconfig/recommended": "^1.0.3",
"@tsconfig/vite-react": "^3.0.0",
"@tsconfig/vite-react": "^3.0.2",
"@types/mocha": "^10.0.6",
"@types/react": "^18.2.45",
"@types/react-dom": "^18.2.18",
Expand All @@ -116,9 +114,9 @@
"graphql-request": "^6.1.0",
"mina-signer": "^2.1.1",
"swr": "^2.2.4",
"vite": "^4.5.1",
"vite": "^5.2.8",
"vite-plugin-node-polyfills": "^0.17.0",
"vite-plugin-svgr": "^3.2.0",
"vite-plugin-svgr": "^4.2.0",
"vite-plugin-top-level-await": "^1.4.1"
},
"peerDependencies": {
Expand Down
2 changes: 1 addition & 1 deletion packages/persistence/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
"devDependencies": {
"@capacitor/core": "^5.6.0",
"@palladxyz/common": "^1.0.0",
"vite": "^5.0.10",
"vite": "^5.2.8",
"zustand": "^4.4.7"
}
}
2 changes: 1 addition & 1 deletion packages/vault/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,6 @@
"@types/secp256k1": "^4.0.3",
"mina-signer": "^2.1.1",
"msw": "^1.2.2",
"vite": "^4.5.1"
"vite": "^5.2.8"
}
}
Loading

0 comments on commit 99b5f8f

Please sign in to comment.