File tree Expand file tree Collapse file tree 7 files changed +28341
-25044
lines changed
Expand file tree Collapse file tree 7 files changed +28341
-25044
lines changed Original file line number Diff line number Diff line change @@ -3,3 +3,4 @@ node_modules/
33** /dist /
44packages /* /stats.html
55.eslintcache
6+ .DS_Store
Original file line number Diff line number Diff line change 3232 "@mdx-js/react" : " ^1.6.22" ,
3333 "@pixi/react" : " *" ,
3434 "@pixi/react-animated" : " *" ,
35+ "@react-spring/web" : " ^9.6.1" ,
3536 "clsx" : " ^1.2.1" ,
3637 "lodash.times" : " ^4.3.2" ,
3738 "pixi.js" : " ^7.1.1" ,
Original file line number Diff line number Diff line change @@ -2,7 +2,7 @@ import React from 'react';
22import * as PIXI from 'pixi.js' ;
33import * as ReactPixi from '@pixi/react' ;
44import * as ReactPixiAnimated from '@pixi/react-animated' ;
5- import { Spring } from 'react-spring' ;
5+ import { Spring } from '@ react-spring/web ' ;
66import times from 'lodash.times' ;
77
88import makeAnimatedSpriteTextures from './makeAnimatedSpriteTextures' ;
Original file line number Diff line number Diff line change 4343 "test:watch" : " jest --watch"
4444 },
4545 "dependencies" : {
46- "@pixi/react-invariant" : " *" ,
46+ "@pixi/react-invariant" : " *"
47+ },
48+ "devDependencies" : {
49+ "react-reconciler" : " ~0.29.0"
50+ },
51+ "peerDependencies" : {
4752 "react-reconciler" : " ^0.29.0"
4853 },
4954 "publishConfig" : {
Original file line number Diff line number Diff line change @@ -3,9 +3,9 @@ import { makeHostConfig } from './hostconfig';
33import rootPackageJson from '../../../package.json' ;
44import packageJson from '../package.json' ;
55
6- export const REACT_DOM_VERSION = rootPackageJson . dependencies [
6+ export const REACT_DOM_VERSION = rootPackageJson ? .dependencies ?. [
77 'react-dom'
8- ] . replace ( / [ ^ 0 - 9 . ] / g, '' ) ;
8+ ] ? .replace ( / [ ^ 0 - 9 . ] / g, '' ) || '18.0.0' ;
99export const VERSION = packageJson . version ;
1010export const PACKAGE_NAME = packageJson . name ;
1111
Original file line number Diff line number Diff line change 4545 "@pixi/react-components" : " *" ,
4646 "@pixi/react-fiber" : " *" ,
4747 "@pixi/react-invariant" : " *" ,
48- "@pixi/react-modular" : " *" ,
49- "react" : " ^18.2.0" ,
50- "react-dom" : " ^18.2.0"
48+ "@pixi/react-modular" : " *"
5149 },
5250 "devDependencies" : {
5351 "@pixi/app" : " ^7.0.0" ,
6765 "@pixi/ticker" : " ^7.0.0" ,
6866 "@testing-library/react" : " ^13.4.0" ,
6967 "jest-webgl-canvas-mock" : " ^0.2.3" ,
68+ "react" : " ^18.2.0" ,
69+ "react-dom" : " ^18.2.0" ,
7070 "react-test-renderer" : " ^18.2.0"
7171 },
72+ "peerDependencies" : {
73+ "react" : " >=17.0.0" ,
74+ "react-dom" : " >=17.0.0"
75+ },
7276 "publishConfig" : {
7377 "access" : " public"
7478 }
You can’t perform that action at this time.
0 commit comments