Skip to content

Commit

Permalink
chore: updated deps, published opfs-mock as a standalone npm package
Browse files Browse the repository at this point in the history
  • Loading branch information
jurerotar committed Oct 4, 2024
1 parent 7d3c1d6 commit e4f89c3
Show file tree
Hide file tree
Showing 7 changed files with 640 additions and 708 deletions.
2 changes: 1 addition & 1 deletion biome.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"$schema": "https://biomejs.dev/schemas/1.9.2/schema.json",
"$schema": "https://biomejs.dev/schemas/1.9.3/schema.json",
"formatter": {
"useEditorconfig": true,
"formatWithErrors": true,
Expand Down
1,212 changes: 625 additions & 587 deletions package-lock.json

Large diffs are not rendered by default.

23 changes: 12 additions & 11 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,9 @@
"analyze-bundle": "npx vite-bundle-visualizer"
},
"dependencies": {
"@tanstack/react-query": "5.56.2",
"@tanstack/react-query-devtools": "5.58.0",
"@tanstack/react-query-persist-client": "5.56.2",
"@tanstack/react-query": "5.59.0",
"@tanstack/react-query-devtools": "5.59.0",
"@tanstack/react-query-persist-client": "5.59.0",
"clsx": "2.1.1",
"dayjs": "1.11.13",
"esm-seedrandom": "3.0.5",
Expand All @@ -38,26 +38,27 @@
"usehooks-ts": "3.1.0"
},
"devDependencies": {
"@biomejs/biome": "1.9.2",
"@biomejs/biome": "1.9.3",
"@testing-library/jest-dom": "6.5.0",
"@testing-library/react": "16.0.1",
"@testing-library/user-event": "14.5.2",
"@types/node": "22.7.4",
"@types/react": "18.3.10",
"@types/react": "18.3.11",
"@types/react-dom": "18.3.0",
"@types/react-modal": "3.16.3",
"@types/react-window": "1.8.8",
"@vitejs/plugin-react": "4.3.1",
"@vitest/coverage-v8": "2.1.1",
"@vitest/web-worker": "2.1.1",
"@vitejs/plugin-react": "4.3.2",
"@vitest/coverage-v8": "2.1.2",
"@vitest/web-worker": "2.1.2",
"autoprefixer": "10.4.20",
"happy-dom": "15.7.4",
"husky": "9.1.6",
"knip": "5.30.6",
"knip": "5.31.0",
"lint-staged": "15.2.10",
"opfs-mock": "1.0.0",
"postcss": "8.4.47",
"resize-observer-polyfill": "1.5.1",
"rollup-plugin-visualizer": "^5.12.0",
"rollup-plugin-visualizer": "5.12.0",
"sass-embedded": "1.79.4",
"tailwindcss": "3.4.13",
"typescript": "5.6.2",
Expand All @@ -66,7 +67,7 @@
"vite-plugin-pwa": "0.20.5",
"vite-plugin-svgr": "4.2.0",
"vite-tsconfig-paths": "5.0.1",
"vitest": "2.1.1",
"vitest": "2.1.2",
"vitest-localstorage-mock": "0.1.2"
},
"browserslist": {
Expand Down
105 changes: 0 additions & 105 deletions packages/vitest-opfs-mock/index.ts

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import { initializeServer } from 'app/[public]/components/create-server-modal-co
import type { OccupiedOasisTile, Tile } from 'interfaces/models/game/tile';
import { serverMock } from 'mocks/game/server-mock';
import { beforeAll, describe, expect, test } from 'vitest';
import 'packages/vitest-opfs-mock';
import 'opfs-mock';
import '@vitest/web-worker';
import { QueryClient, hydrate } from '@tanstack/react-query';
import type { PersistedClient } from '@tanstack/react-query-persist-client';
Expand Down
3 changes: 1 addition & 2 deletions tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,7 @@
"interfaces/*": ["src/interfaces/*"],
"assets/*": ["src/assets/*"],
"test-utils": ["src/test-utils"],
"mocks/*": ["__mocks__/*"],
"packages/*": ["packages/*"]
"mocks/*": ["__mocks__/*"]
}
},
"exclude": ["node_modules", "dist", "coverage", "public"],
Expand Down
1 change: 0 additions & 1 deletion vite.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,6 @@ export default defineConfig({
},
resolve: {
alias: {
packages: path.resolve(__dirname, 'packages'),
locales: path.resolve(__dirname, 'locales'),
app: path.resolve(__dirname, 'src/app'),
interfaces: path.resolve(__dirname, 'src/interfaces'),
Expand Down

0 comments on commit e4f89c3

Please sign in to comment.