Skip to content

Commit

Permalink
Fix vite deps (#597)
Browse files Browse the repository at this point in the history
hoisted
  • Loading branch information
turbocrime authored Feb 23, 2024
1 parent 2b65c1a commit 52d1393
Show file tree
Hide file tree
Showing 12 changed files with 1,009 additions and 571 deletions.
10 changes: 1 addition & 9 deletions apps/node-status/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,14 +21,6 @@
},
"devDependencies": {
"@types/react": "^18.2.57",
"@types/react-dom": "^18.2.19",
"@typescript-eslint/eslint-plugin": "^7.0.2",
"@typescript-eslint/parser": "^7.0.2",
"@vitejs/plugin-react": "^4.2.1",
"eslint": "^8.56.0",
"eslint-plugin-react-hooks": "^4.6.0",
"eslint-plugin-react-refresh": "^0.4.5",
"typescript": "^5.3.3",
"vite": "^5.1.4"
"@types/react-dom": "^18.2.19"
}
}
5 changes: 1 addition & 4 deletions apps/webapp/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -37,11 +37,8 @@
"@types/react": "^18.2.55",
"@types/react-dom": "^18.2.19",
"@types/react-helmet": "^6.1.11",
"@vitejs/plugin-basic-ssl": "^1.1.0",
"@vitejs/plugin-react-swc": "^3.6.0",
"autoprefixer": "^10.4.17",
"firebase-tools": "^13.3.0",
"postcss": "^8.4.35",
"vite": "^5.1.3"
"postcss": "^8.4.35"
}
}
1 change: 1 addition & 0 deletions apps/webapp/vite.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ export default defineConfig({
},
},
test: {
snapshotSerializers: [],
environment: 'jsdom',
setupFiles: ['./tests-setup.ts'],
},
Expand Down
16 changes: 13 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -30,16 +30,26 @@
"devDependencies": {
"@penumbra-zone/types": "workspace:*",
"@penumbra-zone/wasm": "workspace:*",
"@storybook/react-vite": "8.0.0-beta.4",
"@turbo/gen": "^1.12.4",
"@typescript-eslint/eslint-plugin": "^7.0.1",
"@typescript-eslint/parser": "^7.0.1",
"@typescript-eslint/eslint-plugin": "^7.0.2",
"@typescript-eslint/parser": "^7.0.2",
"@vitejs/plugin-basic-ssl": "^1.1.0",
"@vitejs/plugin-react": "^4.2.1",
"@vitejs/plugin-react-swc": "^3.6.0",
"@vitest/browser": "^1.3.1",
"eslint": "^8.56.0",
"eslint-config-custom": "workspace:*",
"eslint-plugin-vitest": "^0.3.22",
"jsdom": "^24.0.0",
"playwright": "^1.41.2",
"prettier": "^3.2.5",
"tsconfig": "workspace:*",
"turbo": "^1.12.4",
"typescript": "^5.3.3",
"vitest": "^1.2.2"
"vite": "^5.1.4",
"vite-plugin-top-level-await": "^1.4.1",
"vite-plugin-wasm": "^3.3.0",
"vitest": "^1.3.1"
}
}
4 changes: 1 addition & 3 deletions packages/crypto/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,6 @@
"crypto-js": "^4.2.0"
},
"devDependencies": {
"@types/crypto-js": "^4.2.2",
"@vitest/browser": "^1.2.2",
"vite": "^5.1.3"
"@types/crypto-js": "^4.2.2"
}
}
3 changes: 1 addition & 2 deletions packages/crypto/vitest.config.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
import { defineConfig } from 'vitest/config';
import { defaultExclude } from 'vitest/config';
import { defineConfig, defaultExclude } from 'vitest/config';

export default defineConfig({
test: {
Expand Down
5 changes: 1 addition & 4 deletions packages/router/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,6 @@
"@penumbra-zone/wasm": "workspace:*"
},
"devDependencies": {
"@types/chrome": "0.0.260",
"vite": "^5.1.3",
"vite-plugin-top-level-await": "^1.4.1",
"vite-plugin-wasm": "^3.3.0"
"@types/chrome": "0.0.260"
}
}
4 changes: 1 addition & 3 deletions packages/storage/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,12 +11,10 @@
"dependencies": {
"@penumbra-zone/constants": "workspace:*",
"@penumbra-zone/crypto-web": "workspace:*",
"idb": "^8.0.0",
"vite": "^5.1.3"
"idb": "^8.0.0"
},
"devDependencies": {
"@types/chrome": "0.0.260",
"@vitest/browser": "^1.2.2",
"playwright": "^1.41.2"
}
}
7 changes: 2 additions & 5 deletions packages/ui/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -45,21 +45,18 @@
"@storybook/blocks": "^7.6.16",
"@storybook/preview-api": "^7.6.16",
"@storybook/react": "^7.6.16",
"@storybook/react-vite": "^7.6.16",
"@storybook/react-vite": "^7.6.17",
"@testing-library/react": "^14.2.1",
"@types/node": "^20.11.19",
"@types/react": "^18.2.55",
"@types/react-dom": "^18.2.19",
"@types/tinycolor2": "^1.4.6",
"@vitest/browser": "^1.2.2",
"autoprefixer": "^10.4.17",
"eslint-plugin-storybook": "^0.6.15",
"jsdom": "^24.0.0",
"postcss": "^8.4.35",
"prop-types": "^15.8.1",
"react": "^18.2.0",
"storybook": "^7.6.16",
"tailwindcss": "^3.4.1",
"vite": "^5.1.3"
"tailwindcss": "^3.4.1"
}
}
3 changes: 2 additions & 1 deletion packages/ui/vitest.config.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
import { defineConfig } from 'vite';
import { defineConfig } from 'vitest/config';

export default defineConfig({
test: {
snapshotSerializers: [],
environment: 'jsdom',
setupFiles: ['./tests-setup.ts'],
},
Expand Down
4 changes: 1 addition & 3 deletions packages/wasm/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,6 @@
},
"devDependencies": {
"fake-indexeddb": "^5.0.2",
"tsx": "^4.7.1",
"vite-plugin-top-level-await": "^1.4.1",
"vite-plugin-wasm": "^3.3.0"
"tsx": "^4.7.1"
}
}
Loading

0 comments on commit 52d1393

Please sign in to comment.