Skip to content

Commit

Permalink
Merge branch 'beta' into 555-react-19-support
Browse files Browse the repository at this point in the history
  • Loading branch information
trezy committed Dec 30, 2024
2 parents 07cfdac + b1cb314 commit d73cc54
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 50 deletions.
45 changes: 7 additions & 38 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

10 changes: 1 addition & 9 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,6 @@
"@testing-library/react": "^16.1.0",
"@testing-library/user-event": "^14.5.2",
"@types/react": "^19.0.0",
"@types/react-dom": "^19.0.0",
"@types/react-reconciler": "^0.28.9",
"@vitejs/plugin-react": "^4.3.1",
"@vitest/browser": "^2.0.4",
Expand All @@ -81,7 +80,6 @@
"pixi.js": "8.2.6",
"playwright": "^1.45.3",
"react": "^19.0.0",
"react-dom": "^19.0.0",
"rollup": "^4.18.0",
"rollup-plugin-esbuild": "^6.1.1",
"rollup-plugin-sourcemaps": "^0.6.3",
Expand All @@ -90,13 +88,7 @@
},
"peerDependencies": {
"pixi.js": "^8.2.6",
"react": ">=19.0.0",
"react-dom": ">=19.0.0"
},
"peerDependenciesMeta": {
"react-dom": {
"optional": true
}
"react": ">=19.0.0"
},
"overrides": {
"rollup": "^4.18.0"
Expand Down
7 changes: 4 additions & 3 deletions test/e2e/hooks/useApplication.test.tsx
Original file line number Diff line number Diff line change
@@ -1,17 +1,18 @@
import { type Application as PixiApplication } from 'pixi.js';
import { type ReactNode } from 'react';
import {
describe,
expect,
it,
} from 'vitest';
import { Application } from '../../../src/components/Application';
import { useApplication } from '../../../src/hooks/useApplication';
import { Application } from '../../../src/components/Application.ts';
import { useApplication } from '../../../src/hooks/useApplication.ts';
import {
render,
renderHook,
} from '@testing-library/react';

import type { ReactNode } from 'react';

describe('useApplication', () =>
{
it('returns the nearest application', async () =>
Expand Down

0 comments on commit d73cc54

Please sign in to comment.