From a6436dfc8a4071969f8f2ef1ff37365d75045ef3 Mon Sep 17 00:00:00 2001 From: cha0s Date: Wed, 6 Jan 2021 21:58:04 -0600 Subject: [PATCH] feat: react + pixi + UI --- app/package.json | 2 + app/src/react/components/renderer.jsx | 18 ++ app/src/react/components/stage.jsx | 17 ++ app/src/react/components/stage.scss | 21 ++ app/src/react/components/ui.jsx | 44 ++++ app/src/react/components/ui.scss | 14 + app/src/react/index.jsx | 16 +- app/src/react/index.scss | 10 + app/yarn.lock | 358 +++++++++++++++++++++++++- 9 files changed, 485 insertions(+), 15 deletions(-) create mode 100644 app/src/react/components/renderer.jsx create mode 100644 app/src/react/components/stage.jsx create mode 100644 app/src/react/components/stage.scss create mode 100644 app/src/react/components/ui.jsx create mode 100644 app/src/react/components/ui.scss create mode 100644 app/src/react/index.scss diff --git a/app/package.json b/app/package.json index ceac704..bfffb92 100644 --- a/app/package.json +++ b/app/package.json @@ -27,6 +27,7 @@ "@avocado/sound": "^1.0.0", "@avocado/timing": "^2.0.0", "@avocado/topdown": "^2.0.0", + "@inlet/react-pixi": "^6.0.7", "@latus/core": "2.0.0", "@latus/db": "2.0.0", "@latus/governor": "2.0.0", @@ -37,6 +38,7 @@ "@latus/socket": "2.0.0", "@latus/user": "2.0.0", "dotenv": "8.2.0", + "pixi.js": "^5.3.7", "react": "^17.0.1", "react-hot-loader": "4.13.0" }, diff --git a/app/src/react/components/renderer.jsx b/app/src/react/components/renderer.jsx new file mode 100644 index 0000000..2ca439e --- /dev/null +++ b/app/src/react/components/renderer.jsx @@ -0,0 +1,18 @@ +import {Color, Renderer, Primitives} from '@avocado/graphics'; +import {PixiComponent} from '@inlet/react-pixi' + +const primitives = new Primitives(); +primitives.drawCircle( + [250, 250], + 50, + { + color: new Color(255, 0, 255), + thickness: 1, + }, +); + +export default PixiComponent('Humus', { + create: props => { + return primitives.internal + }, +}); diff --git a/app/src/react/components/stage.jsx b/app/src/react/components/stage.jsx new file mode 100644 index 0000000..f35d37d --- /dev/null +++ b/app/src/react/components/stage.jsx @@ -0,0 +1,17 @@ +import './stage.scss'; + +import {Stage} from '@inlet/react-pixi' +import React from 'react'; + +import Renderer from './renderer'; + +export default ({width = 800, height = 450}) => ( +
+ + + +
+); diff --git a/app/src/react/components/stage.scss b/app/src/react/components/stage.scss new file mode 100644 index 0000000..95a8233 --- /dev/null +++ b/app/src/react/components/stage.scss @@ -0,0 +1,21 @@ +.stage { + display: inline-block; + left: 50%; + line-height: 0; + position: absolute; + top: 50%; + transform: translate(-50%, -50%); +} + +/* Exact aspect ratio, put it at the bottom to avoid override*/ +@media (max-aspect-ratio: 16/9) { + .stage, .stage > canvas { + width: 100%; + } +} + +@media (min-aspect-ratio: 16/9) { + .stage, .stage > canvas { + height: 100%; + } +} diff --git a/app/src/react/components/ui.jsx b/app/src/react/components/ui.jsx new file mode 100644 index 0000000..b8dd30d --- /dev/null +++ b/app/src/react/components/ui.jsx @@ -0,0 +1,44 @@ +import './ui.scss'; + +import React, {useEffect, useRef} from 'react'; + +export default ({width = 800, height = 450}) => { + const RATIO = width / height; + const $ui = useRef(); + useEffect(() => { + if (!$ui.current) { + return undefined; + } + const onResize = () => { + const {overflow} = window.document.documentElement.style; + const {innerWidth, innerHeight} = window; + const ratio = innerWidth / innerHeight; + let scale; + if (ratio < RATIO) { + scale = innerWidth / width; + } + else if (ratio > RATIO) { + scale = innerHeight / height; + } + else { + scale = 1; + } + $ui.current.style.setProperty('--scale', scale); + }; + window.addEventListener('resize', onResize); + onResize(); + return () => window.removeEventListener('resize', onResize); + }, $ui); + return ( +
+ +
+ ); +}; diff --git a/app/src/react/components/ui.scss b/app/src/react/components/ui.scss new file mode 100644 index 0000000..1a13b33 --- /dev/null +++ b/app/src/react/components/ui.scss @@ -0,0 +1,14 @@ +.ui { + display: inline-block; + left: 50%; + line-height: 0; + position: absolute; + --scale: 0; + top: 50%; + transform: scale(var(--scale)) translate(-50%, -50%); + transform-origin: 0 0; +} + +button { + font-size: 3em; +} diff --git a/app/src/react/index.jsx b/app/src/react/index.jsx index c7ab970..0728aa0 100644 --- a/app/src/react/index.jsx +++ b/app/src/react/index.jsx @@ -1,18 +1,20 @@ +import './index.scss'; + import React from 'react'; import {hot} from 'react-hot-loader'; -import Login from '@latus/user/client/components/login'; +import Stage from './components/stage'; +import Ui from './components/ui'; -const App = () => ( -
-

Latus react app

-

Yay, you maaaaade it! :)

- +const Humus = () => ( +
+ +
); export default { hooks: { - '@latus/react/components': () => hot(module)(App), + '@latus/react/components': () => hot(module)(Humus), }, }; diff --git a/app/src/react/index.scss b/app/src/react/index.scss new file mode 100644 index 0000000..7df901e --- /dev/null +++ b/app/src/react/index.scss @@ -0,0 +1,10 @@ +body { + margin: 0; +} + +.humus { + height: 100vh; + overflow: hidden; + position: relative; + width: 100vw; +} diff --git a/app/yarn.lock b/app/yarn.lock index 57801f1..de122a1 100644 --- a/app/yarn.lock +++ b/app/yarn.lock @@ -1061,6 +1061,15 @@ lodash "^4.17.19" to-fast-properties "^2.0.0" +"@inlet/react-pixi@^6.0.7": + version "6.0.7" + resolved "https://npm.i12e.cha0s.io/@inlet%2freact-pixi/-/react-pixi-6.0.7.tgz#0b05a85893213b78962c1cbe9c5016f3c183f032" + integrity sha512-xJF8pucMxdQVwKwBgipFrfPLJ4UfZsIvntUtNA6j1FOc5Aigyc1gKLXQpC7y5W9/T7DfbFhpLohgMIQTdCwCvw== + dependencies: + performance-now "2.1.0" + react-reconciler "0.26.1" + replace-in-file "6.1.0" + "@latus/core@2.0.0", "@latus/core@^2.0.0": version "2.0.0" resolved "https://npm.i12e.cha0s.io/@latus%2fcore/-/core-2.0.0.tgz#f8a860fa8ef52368e25adbef28b9554e4e45bab4" @@ -1330,6 +1339,23 @@ babel-merge "^3.0.0" deepmerge "^1.5.2" +"@pixi/accessibility@5.3.7": + version "5.3.7" + resolved "https://npm.i12e.cha0s.io/@pixi%2faccessibility/-/accessibility-5.3.7.tgz#a9ca9c7c04925014af4b137b38dd8b77b208e603" + integrity sha512-104qzGZWnA/cQUH48jTiCXKGqOCfOqZAHmVg1z0p5l5tnzVX5zUQDBJxt4AAIPguZZe1YkniealwO1WGz0yBgA== + dependencies: + "@pixi/core" "5.3.7" + "@pixi/display" "5.3.7" + "@pixi/utils" "5.3.7" + +"@pixi/app@5.3.7": + version "5.3.7" + resolved "https://npm.i12e.cha0s.io/@pixi%2fapp/-/app-5.3.7.tgz#1a469dcdb9a3746d98eb58f2f7fa3e0951880a82" + integrity sha512-xlXxMGiGGmOA154SyltOQ2ZfPEtErzXl8GOxXJJJBxmIfvCQa+Y6iO5jf4q7yNbpSbrfaeIrYUnNbJAViiACzg== + dependencies: + "@pixi/core" "5.3.7" + "@pixi/display" "5.3.7" + "@pixi/constants@5.3.7", "@pixi/constants@^5.3.6": version "5.3.7" resolved "https://npm.i12e.cha0s.io/@pixi%2fconstants/-/constants-5.3.7.tgz#a2e1789a98deb3713cfcb3eba3db84588bc9161e" @@ -1356,6 +1382,15 @@ "@pixi/settings" "5.3.7" "@pixi/utils" "5.3.7" +"@pixi/extract@5.3.7": + version "5.3.7" + resolved "https://npm.i12e.cha0s.io/@pixi%2fextract/-/extract-5.3.7.tgz#2f32b804d90621ad3187e4ae7fb959d19b3959f1" + integrity sha512-xQ5hYFIdxQTjNWwtwsjIK0DjbGLlUl92rIj5yvNJFiJvRjZ8IfvtIaM5uwjhiY2U9q3fDLFgb8EiNfmdDc78xQ== + dependencies: + "@pixi/core" "5.3.7" + "@pixi/math" "5.3.7" + "@pixi/utils" "5.3.7" + "@pixi/filter-advanced-bloom@^3.2.0": version "3.2.0" resolved "https://npm.i12e.cha0s.io/@pixi%2ffilter-advanced-bloom/-/filter-advanced-bloom-3.2.0.tgz#c345adebf6605d814fb7ff8fda2292ed3d04ec01" @@ -1363,19 +1398,56 @@ dependencies: "@pixi/filter-kawase-blur" "3.2.0" -"@pixi/filter-color-matrix@^5.3.6": +"@pixi/filter-alpha@5.3.7": + version "5.3.7" + resolved "https://npm.i12e.cha0s.io/@pixi%2ffilter-alpha/-/filter-alpha-5.3.7.tgz#e979db57e9ee47b84d0900e5f9767b8632426fb4" + integrity sha512-jkvbzmSCIPjCJMFNUocAxsZ7Cq3ssFwXnmXNYKYhJy01LxiyO/JbVDAxAD7Chyn5jbKsI21OV3UQaIJhFpXw7Q== + dependencies: + "@pixi/core" "5.3.7" + +"@pixi/filter-blur@5.3.7": + version "5.3.7" + resolved "https://npm.i12e.cha0s.io/@pixi%2ffilter-blur/-/filter-blur-5.3.7.tgz#7eee3559704b280e8588c2fc9e8d912aac80f8a9" + integrity sha512-xM+Zz2i2UCmY7oHBPlGaN2ImhCY4l/V8NFc8FNSUIHm8NXHJ4/VCQpXp9BFTjY1+GZExFLkqB8kIYEddGVFiLA== + dependencies: + "@pixi/core" "5.3.7" + "@pixi/settings" "5.3.7" + +"@pixi/filter-color-matrix@5.3.7", "@pixi/filter-color-matrix@^5.3.6": version "5.3.7" resolved "https://npm.i12e.cha0s.io/@pixi%2ffilter-color-matrix/-/filter-color-matrix-5.3.7.tgz#230cafe46bde36e25441b13f3ac5dd8e8fee4311" integrity sha512-Z12cxoHx9uMh3CZ0PLVRzsaFHHF/CfU3J83KI9k+Bg/DFOh/J/5EToCd44jYJbMKp3nvXcO1EJyZ3wwC/IsyfQ== dependencies: "@pixi/core" "5.3.7" +"@pixi/filter-displacement@5.3.7": + version "5.3.7" + resolved "https://npm.i12e.cha0s.io/@pixi%2ffilter-displacement/-/filter-displacement-5.3.7.tgz#4364d5514221c4a03950b67795cebd1b34dca401" + integrity sha512-akMVkAHqliQujveiJ5KBMuwh/JVGN37NQsD8n1XbDDSe6SKjpX0kaq2Bh2Xu9pPj3+Jhofy0sI65q2M8qs2Uog== + dependencies: + "@pixi/core" "5.3.7" + "@pixi/math" "5.3.7" + +"@pixi/filter-fxaa@5.3.7": + version "5.3.7" + resolved "https://npm.i12e.cha0s.io/@pixi%2ffilter-fxaa/-/filter-fxaa-5.3.7.tgz#55b778fbc60fd87f16d17d66a36b122e2f5c3b57" + integrity sha512-NJpVcbOCUVYUDGqxvh7Jp/+arWEnLKgI/7Qf8VEYv0aQslqE8ZtFSAX7JfP+iGfFWXlkMe6AKspesYhUrIpRKg== + dependencies: + "@pixi/core" "5.3.7" + "@pixi/filter-kawase-blur@3.2.0": version "3.2.0" resolved "https://npm.i12e.cha0s.io/@pixi%2ffilter-kawase-blur/-/filter-kawase-blur-3.2.0.tgz#f3fe6e3c17d191ae353959768c1170e85b2ad1dc" integrity sha512-IO1UKn/XLvnV+ya4r1UOC9fTfXZjWvH9m6eQ/U+moBsQN5I5FihQfXCu586X4jb9VHNu3gFl7SUzirobhBfgtA== -"@pixi/graphics@^5.3.6": +"@pixi/filter-noise@5.3.7": + version "5.3.7" + resolved "https://npm.i12e.cha0s.io/@pixi%2ffilter-noise/-/filter-noise-5.3.7.tgz#70e638f5d6ebc4b62b4c67f2de939a7fa900d7a5" + integrity sha512-P0mVQR2J7GHujVcq0iiuD2/1yvmue7orpppa5iuNHoOMT+vZpO0hdCKTg5vm5ZcWnHrOwtvv8zYngnT9rLdCtw== + dependencies: + "@pixi/core" "5.3.7" + +"@pixi/graphics@5.3.7", "@pixi/graphics@^5.3.6": version "5.3.7" resolved "https://npm.i12e.cha0s.io/@pixi%2fgraphics/-/graphics-5.3.7.tgz#36ae80e2508e0a9c61ce454807d517d370d90a74" integrity sha512-+6+bT/AC29a1Hw5XDxsH1UqBsXSqcna7wNTTrBQ02owotIJtyRc6w48f5qxzhxycumyVCR87IV5tAtdwX3xhag== @@ -1387,11 +1459,112 @@ "@pixi/sprite" "5.3.7" "@pixi/utils" "5.3.7" +"@pixi/interaction@5.3.7": + version "5.3.7" + resolved "https://npm.i12e.cha0s.io/@pixi%2finteraction/-/interaction-5.3.7.tgz#dd4d7b43fc266c9b0e8994f4f05cb9f73438b586" + integrity sha512-B+5suog6fo8tJclTIO1Nn0HikyXQ9OWQGmTiYUnDVDriX5dGujh79RpcL51HFQ/2Gs2Gt0rl3AfP9OsCLe7VPA== + dependencies: + "@pixi/core" "5.3.7" + "@pixi/display" "5.3.7" + "@pixi/math" "5.3.7" + "@pixi/ticker" "5.3.7" + "@pixi/utils" "5.3.7" + +"@pixi/loaders@5.3.7": + version "5.3.7" + resolved "https://npm.i12e.cha0s.io/@pixi%2floaders/-/loaders-5.3.7.tgz#7231106d8d490d9ca230df7a07a53e1e4d412163" + integrity sha512-zwWgvhUz7l5Z3me5gT1XbJzmj4bnz176PnawoUdlRxNARnMW3Rsk7Egzu8atWhJUL+MWEv+t8KkyHRXG39q5FA== + dependencies: + "@pixi/core" "5.3.7" + "@pixi/utils" "5.3.7" + resource-loader "^3.0.1" + "@pixi/math@5.3.7": version "5.3.7" resolved "https://npm.i12e.cha0s.io/@pixi%2fmath/-/math-5.3.7.tgz#066e7ea149fd38db8d8a9584aac5f41d02b36bdd" integrity sha512-WnjUwX7rkxR36F0xknpsNd9BsfQosV0BbyFE0Il88IURBM3Tu9X4tC7RGJDgWU+aXw23HgHu0j+MWJrCVCM2fA== +"@pixi/mesh-extras@5.3.7": + version "5.3.7" + resolved "https://npm.i12e.cha0s.io/@pixi%2fmesh-extras/-/mesh-extras-5.3.7.tgz#e4ab9e4b0cb05606a621cacd6d37d472067c6041" + integrity sha512-txVo2yk935gLgvlwO/ODUuz0wHUZtc9AK0sOQbbD9rh1TUdZ9OYrRvqshItLC34EimmAfgOsyzT78zeUTaP1OA== + dependencies: + "@pixi/constants" "5.3.7" + "@pixi/core" "5.3.7" + "@pixi/math" "5.3.7" + "@pixi/mesh" "5.3.7" + "@pixi/utils" "5.3.7" + +"@pixi/mesh@5.3.7": + version "5.3.7" + resolved "https://npm.i12e.cha0s.io/@pixi%2fmesh/-/mesh-5.3.7.tgz#9de12a6404abdd17fe14c08d2bbe163bdf72bb9a" + integrity sha512-7K5Ba3+t0rBAfZeuQi7nem0DgVH9GNhRvZ8HYbhPs5XVI7yZZhUN4HpUMy7gYEnz8EbXqwUz20X4ham/0O9WsQ== + dependencies: + "@pixi/constants" "5.3.7" + "@pixi/core" "5.3.7" + "@pixi/display" "5.3.7" + "@pixi/math" "5.3.7" + "@pixi/settings" "5.3.7" + "@pixi/utils" "5.3.7" + +"@pixi/mixin-cache-as-bitmap@5.3.7": + version "5.3.7" + resolved "https://npm.i12e.cha0s.io/@pixi%2fmixin-cache-as-bitmap/-/mixin-cache-as-bitmap-5.3.7.tgz#2a30fc3f552f7a0a51bd0fe5a6e937132a5fff52" + integrity sha512-UEP1PVEEqgWs8vUx/GvOiQ4r130NDLQoD9i5YA1i5BGml2UmNyrFlIh8N9hVAPiIpTIpECkU6nLakP7t6fm9zA== + dependencies: + "@pixi/core" "5.3.7" + "@pixi/display" "5.3.7" + "@pixi/math" "5.3.7" + "@pixi/settings" "5.3.7" + "@pixi/sprite" "5.3.7" + "@pixi/utils" "5.3.7" + +"@pixi/mixin-get-child-by-name@5.3.7": + version "5.3.7" + resolved "https://npm.i12e.cha0s.io/@pixi%2fmixin-get-child-by-name/-/mixin-get-child-by-name-5.3.7.tgz#49c5aa84840bf09e2c089011665407e8c1a3466e" + integrity sha512-KiWirq5HpLKrAsShdZx0+RwNwY6nO5cM+Wqq59n11xTgvUoNULiptZRePQR5rOIsLIcwNtro/2LWPj1UzbJHbg== + dependencies: + "@pixi/display" "5.3.7" + +"@pixi/mixin-get-global-position@5.3.7": + version "5.3.7" + resolved "https://npm.i12e.cha0s.io/@pixi%2fmixin-get-global-position/-/mixin-get-global-position-5.3.7.tgz#68c0167054abbac01ecd10275212f5b9afe049bf" + integrity sha512-OIXi+m611GVH1dVAc5YdiMC55Bbjf0JmesiB+6/gMzrjKxW/YDAA5ZRVri75hmRedHA8LPflf+i0pO10mrGP8g== + dependencies: + "@pixi/display" "5.3.7" + "@pixi/math" "5.3.7" + +"@pixi/particles@5.3.7": + version "5.3.7" + resolved "https://npm.i12e.cha0s.io/@pixi%2fparticles/-/particles-5.3.7.tgz#9f0500b818f20af8e9338fee24c1c33530dfa925" + integrity sha512-mEnBljvBVbKuUJVZ0oH9dP/k7qsHEHUlvfBQgLOSkd6viHlx3PoSPKOYm35+I6fAylkV0Xm9+j5v/IESuip2RQ== + dependencies: + "@pixi/constants" "5.3.7" + "@pixi/core" "5.3.7" + "@pixi/display" "5.3.7" + "@pixi/math" "5.3.7" + "@pixi/utils" "5.3.7" + +"@pixi/polyfill@5.3.7": + version "5.3.7" + resolved "https://npm.i12e.cha0s.io/@pixi%2fpolyfill/-/polyfill-5.3.7.tgz#eb43ef1eefc7967bf8d44f704677c19adfdc539c" + integrity sha512-qU23xdb/e4Qvze0TWVy4fNZ0nlABIEZmuLu5nI9SpgfIYtjd2tZo7ngCXU5mZHxW1/xvkAMJEHCsSszotzF9xQ== + dependencies: + es6-promise-polyfill "^1.2.0" + object-assign "^4.1.1" + +"@pixi/prepare@5.3.7": + version "5.3.7" + resolved "https://npm.i12e.cha0s.io/@pixi%2fprepare/-/prepare-5.3.7.tgz#00916a56c61d8349be47937a9b384f3cf90157ca" + integrity sha512-saU+o202vA3U2HVMYvh5aB2RJmP4hR//J22QuRfGen/ukM5mApOroJ445Id2+kSvis0M+UeFUKfBGWDzitr19Q== + dependencies: + "@pixi/core" "5.3.7" + "@pixi/display" "5.3.7" + "@pixi/graphics" "5.3.7" + "@pixi/settings" "5.3.7" + "@pixi/text" "5.3.7" + "@pixi/ticker" "5.3.7" + "@pixi/runner@5.3.7": version "5.3.7" resolved "https://npm.i12e.cha0s.io/@pixi%2frunner/-/runner-5.3.7.tgz#78ed2c92b392b8c099d2e4557dded7faa921446b" @@ -1404,6 +1577,27 @@ dependencies: ismobilejs "^1.1.0" +"@pixi/sprite-animated@5.3.7": + version "5.3.7" + resolved "https://npm.i12e.cha0s.io/@pixi%2fsprite-animated/-/sprite-animated-5.3.7.tgz#94e6d7657cd133a8953e476bd24e18cbfab6a978" + integrity sha512-CSXTSwH/UUcTe5637AD35OCETQO+tDkmlr6e1/eIyUlgOsPkbjo+l134feLZtZudiPHTPyb/YAYIlgPfVr7MGw== + dependencies: + "@pixi/core" "5.3.7" + "@pixi/sprite" "5.3.7" + "@pixi/ticker" "5.3.7" + +"@pixi/sprite-tiling@5.3.7": + version "5.3.7" + resolved "https://npm.i12e.cha0s.io/@pixi%2fsprite-tiling/-/sprite-tiling-5.3.7.tgz#f4ec4cd205ff7ecebe636062ea27f7a139fb8e22" + integrity sha512-0BMLQGniJF1HvfyrJVe5jC8ayBpTh19dAHJIQWGp8zxxFh/WHjR1b32BN74rDjxQQSjZjV8vBNio8J3W+yDttw== + dependencies: + "@pixi/constants" "5.3.7" + "@pixi/core" "5.3.7" + "@pixi/display" "5.3.7" + "@pixi/math" "5.3.7" + "@pixi/sprite" "5.3.7" + "@pixi/utils" "5.3.7" + "@pixi/sprite@5.3.7", "@pixi/sprite@^5.3.6": version "5.3.7" resolved "https://npm.i12e.cha0s.io/@pixi%2fsprite/-/sprite-5.3.7.tgz#c6edf3d4a9928868696b62e35a60ded27d167058" @@ -1416,7 +1610,31 @@ "@pixi/settings" "5.3.7" "@pixi/utils" "5.3.7" -"@pixi/text@^5.3.6": +"@pixi/spritesheet@5.3.7": + version "5.3.7" + resolved "https://npm.i12e.cha0s.io/@pixi%2fspritesheet/-/spritesheet-5.3.7.tgz#826b84c8220ca41c3eba201f453d42394d4da562" + integrity sha512-K1Befbrq3LDbFtnLmbk54QQ/YRk2Mgd+2iOkZx5KsS2pTh1va/GM9FbpO9aZgsEu8Eq76QPxyR8nRqygyMRSuQ== + dependencies: + "@pixi/core" "5.3.7" + "@pixi/loaders" "5.3.7" + "@pixi/math" "5.3.7" + "@pixi/utils" "5.3.7" + +"@pixi/text-bitmap@5.3.7": + version "5.3.7" + resolved "https://npm.i12e.cha0s.io/@pixi%2ftext-bitmap/-/text-bitmap-5.3.7.tgz#736b489424c6e9c26c2907356e2d70e1ae2cb292" + integrity sha512-LWXgxyMgBAldHA6Swx0irAISCMEyDEcZV7YxBoBpSDnV8ybtZP4fSgtj6vlpnrttKcnXFEcGokOuC3vSdEs39g== + dependencies: + "@pixi/core" "5.3.7" + "@pixi/display" "5.3.7" + "@pixi/loaders" "5.3.7" + "@pixi/math" "5.3.7" + "@pixi/mesh" "5.3.7" + "@pixi/settings" "5.3.7" + "@pixi/text" "5.3.7" + "@pixi/utils" "5.3.7" + +"@pixi/text@5.3.7", "@pixi/text@^5.3.6": version "5.3.7" resolved "https://npm.i12e.cha0s.io/@pixi%2ftext/-/text-5.3.7.tgz#cb71b2576bdc1f66fb79977d281f9575dd06d3d5" integrity sha512-WVAc31MDgHTvP0dJNWsvLVJhjeVGZ3NrLpHcH9iIAd6HVO5Z+i+fk4zvodD+Y7jWU0psx8ZD8xe1wy8ECfbCBA== @@ -1793,7 +2011,7 @@ ansi-styles@^3.2.0, ansi-styles@^3.2.1: dependencies: color-convert "^1.9.0" -ansi-styles@^4.1.0: +ansi-styles@^4.0.0, ansi-styles@^4.1.0: version "4.3.0" resolved "https://npm.i12e.cha0s.io/ansi-styles/-/ansi-styles-4.3.0.tgz#edd803628ae71c04c85ae7a0906edad34b648937" integrity sha512-zbB9rCJAT1rbjiVDb2hqKFHNYLxgtk8NURxZ3IZwD3F6NtxbXZQCnnSi1Lkx+IDohdPlFp222wVALIheZJQSEg== @@ -2673,6 +2891,15 @@ cliui@^5.0.0: strip-ansi "^5.2.0" wrap-ansi "^5.1.0" +cliui@^6.0.0: + version "6.0.0" + resolved "https://npm.i12e.cha0s.io/cliui/-/cliui-6.0.0.tgz#511d702c0c4e41ca156d7d0e96021f23e13225b1" + integrity sha512-t6wbgtoCXvAzst7QgXxJYqPt0usEfbgQdftEPbLL/cvv6HPE5VgvqCuAIDR0NgU52ds6rFwqrgakNLrHEjCbrQ== + dependencies: + string-width "^4.2.0" + strip-ansi "^6.0.0" + wrap-ansi "^6.2.0" + code-point-at@^1.0.0: version "1.1.0" resolved "https://npm.i12e.cha0s.io/code-point-at/-/code-point-at-1.1.0.tgz#0d070b4d043a5bea33a2f1a40e2edb3d9a4ccf77" @@ -3617,6 +3844,11 @@ es-to-primitive@^1.2.1: is-date-object "^1.0.1" is-symbol "^1.0.2" +es6-promise-polyfill@^1.2.0: + version "1.2.0" + resolved "https://npm.i12e.cha0s.io/es6-promise-polyfill/-/es6-promise-polyfill-1.2.0.tgz#f38925f23cb3e3e8ce6cda8ff774fcebbb090cde" + integrity sha1-84kl8jyz4+jObNqP93T867sJDN4= + es6-templates@^0.2.3: version "0.2.3" resolved "https://npm.i12e.cha0s.io/es6-templates/-/es6-templates-0.2.3.tgz#5cb9ac9fb1ded6eb1239342b81d792bbb4078ee4" @@ -4213,7 +4445,7 @@ find-up@^3.0.0: dependencies: locate-path "^3.0.0" -find-up@^4.0.0: +find-up@^4.0.0, find-up@^4.1.0: version "4.1.0" resolved "https://npm.i12e.cha0s.io/find-up/-/find-up-4.1.0.tgz#97afe7d6cdc0bc5928584b7c8d7b16e8a9aa5d19" integrity sha512-PpOwAdQ/YlXQ2vj8a3h8IipDuYRi3wceVQQGYWxNINccq40Anw7BlsEXCMbt1Zt+OLA6Fq9suIpIWD0OsnISlw== @@ -4459,7 +4691,7 @@ glob-parent@^5.0.0, glob-parent@~5.1.0: dependencies: is-glob "^4.0.1" -glob@7.1.6, glob@^7.0.0, glob@^7.0.3, glob@^7.1.2, glob@^7.1.3, glob@^7.1.4, glob@~7.1.1: +glob@7.1.6, glob@^7.0.0, glob@^7.0.3, glob@^7.1.2, glob@^7.1.3, glob@^7.1.4, glob@^7.1.6, glob@~7.1.1: version "7.1.6" resolved "https://npm.i12e.cha0s.io/glob/-/glob-7.1.6.tgz#141f33b81a7c2492e125594307480c46679278a6" integrity sha512-LwaxwyZ72Lk7vZINtNNrywX0ZuLyStrdDtabefZKAY5ZGJhVtgdznluResxNmPitE0SAO+O26sWTHeKSI2wMBA== @@ -5953,6 +6185,11 @@ mini-css-extract-plugin@^0.12.0: schema-utils "^1.0.0" webpack-sources "^1.1.0" +mini-signals@^1.2.0: + version "1.2.0" + resolved "https://npm.i12e.cha0s.io/mini-signals/-/mini-signals-1.2.0.tgz#45b08013c5fae51a24aa1a935cd317c9ed721d74" + integrity sha1-RbCAE8X65RokqhqTXNMXye1yHXQ= + minimalistic-assert@^1.0.0, minimalistic-assert@^1.0.1: version "1.0.1" resolved "https://npm.i12e.cha0s.io/minimalistic-assert/-/minimalistic-assert-1.0.1.tgz#2e194de044626d4a10e7f7fbc00ce73e83e4d5c7" @@ -6806,6 +7043,11 @@ parse-passwd@^1.0.0: resolved "https://npm.i12e.cha0s.io/parse-passwd/-/parse-passwd-1.0.0.tgz#6d5b934a456993b23d37f40a382d6f1666a8e5c6" integrity sha1-bVuTSkVpk7I9N/QKOC1vFmao5cY= +parse-uri@^1.0.0: + version "1.0.3" + resolved "https://npm.i12e.cha0s.io/parse-uri/-/parse-uri-1.0.3.tgz#f3c24a74907a4e357c1741e96ca9faadecfd6db5" + integrity sha512-upMnGxNcm+45So85HoguwZTVZI9u11i36DdxJfGF2HYWS2eh3TIx7+/tTi7qrEq15qzGkVhsKjesau+kCk48pA== + parseqs@0.0.5: version "0.0.5" resolved "https://npm.i12e.cha0s.io/parseqs/-/parseqs-0.0.5.tgz#d5208a3738e46766e291ba2ea173684921a8b89d" @@ -6964,7 +7206,7 @@ pbkdf2@^3.0.3: safe-buffer "^5.0.1" sha.js "^2.4.8" -performance-now@^2.1.0: +performance-now@2.1.0, performance-now@^2.1.0: version "2.1.0" resolved "https://npm.i12e.cha0s.io/performance-now/-/performance-now-2.1.0.tgz#6309f4e0e5fa913ec1c69307ae364b4b377c9e7b" integrity sha1-Ywn04OX6kT7BxpMHrjZLSzd8nns= @@ -7008,6 +7250,46 @@ pirates@^4.0.0: dependencies: node-modules-regexp "^1.0.0" +pixi.js@^5.3.7: + version "5.3.7" + resolved "https://npm.i12e.cha0s.io/pixi.js/-/pixi.js-5.3.7.tgz#d295076cdb631a0578ee5976d9da195087b6a50e" + integrity sha512-DyFTn6sHB6njtBd879OCx7UZpt8dpVtOSNuLAdVaWZ2GhAFsTY59n07Ol0f+zx07QtpCmSt1P3pXGHjt9sPzbw== + dependencies: + "@pixi/accessibility" "5.3.7" + "@pixi/app" "5.3.7" + "@pixi/constants" "5.3.7" + "@pixi/core" "5.3.7" + "@pixi/display" "5.3.7" + "@pixi/extract" "5.3.7" + "@pixi/filter-alpha" "5.3.7" + "@pixi/filter-blur" "5.3.7" + "@pixi/filter-color-matrix" "5.3.7" + "@pixi/filter-displacement" "5.3.7" + "@pixi/filter-fxaa" "5.3.7" + "@pixi/filter-noise" "5.3.7" + "@pixi/graphics" "5.3.7" + "@pixi/interaction" "5.3.7" + "@pixi/loaders" "5.3.7" + "@pixi/math" "5.3.7" + "@pixi/mesh" "5.3.7" + "@pixi/mesh-extras" "5.3.7" + "@pixi/mixin-cache-as-bitmap" "5.3.7" + "@pixi/mixin-get-child-by-name" "5.3.7" + "@pixi/mixin-get-global-position" "5.3.7" + "@pixi/particles" "5.3.7" + "@pixi/polyfill" "5.3.7" + "@pixi/prepare" "5.3.7" + "@pixi/runner" "5.3.7" + "@pixi/settings" "5.3.7" + "@pixi/sprite" "5.3.7" + "@pixi/sprite-animated" "5.3.7" + "@pixi/sprite-tiling" "5.3.7" + "@pixi/spritesheet" "5.3.7" + "@pixi/text" "5.3.7" + "@pixi/text-bitmap" "5.3.7" + "@pixi/ticker" "5.3.7" + "@pixi/utils" "5.3.7" + pkg-dir@^2.0.0: version "2.0.0" resolved "https://npm.i12e.cha0s.io/pkg-dir/-/pkg-dir-2.0.0.tgz#f6d5d1109e19d63edf428e0bd57e12777615334b" @@ -7378,6 +7660,15 @@ react-lifecycles-compat@^3.0.4: resolved "https://npm.i12e.cha0s.io/react-lifecycles-compat/-/react-lifecycles-compat-3.0.4.tgz#4f1a273afdfc8f3488a8c516bfda78f872352362" integrity sha512-fBASbA6LnOU9dOU2eW7aQ8xmYBSXUIWr+UmF9b1efZBazGNO+rcXT/icdKnYm2pTwcRylVUYwW7H1PHfLekVzA== +react-reconciler@0.26.1: + version "0.26.1" + resolved "https://npm.i12e.cha0s.io/react-reconciler/-/react-reconciler-0.26.1.tgz#860952dd359fd870f94895c254271e3a9de3b2d6" + integrity sha512-6E/CvH9zcDmHjhiNJlP0qJ8+3ufnY2b5RWs774Uy8XKWN0l6qfnlkz0XnDacxqj2rbJdq76w9dlFXjPPOQrmqA== + dependencies: + loose-envify "^1.1.0" + object-assign "^4.1.1" + scheduler "^0.20.1" + react@^17.0.1: version "17.0.1" resolved "https://npm.i12e.cha0s.io/react/-/react-17.0.1.tgz#6e0600416bd57574e3f86d92edba3d9008726127" @@ -7629,6 +7920,15 @@ repeating@^2.0.0: dependencies: is-finite "^1.0.0" +replace-in-file@6.1.0: + version "6.1.0" + resolved "https://npm.i12e.cha0s.io/replace-in-file/-/replace-in-file-6.1.0.tgz#9f9ddd7bb70d6ad231d2ad692e1b646e73d06647" + integrity sha512-URzjyF3nucvejuY13HFd7O+Q6tFJRLKGHLYVvSh+LiZj3gFXzSYGnIkQflnJJulCAI2/RTZaZkpOtdVdW0EhQA== + dependencies: + chalk "^4.0.0" + glob "^7.1.6" + yargs "^15.3.1" + request@^2.88.0, request@^2.88.2: version "2.88.2" resolved "https://npm.i12e.cha0s.io/request/-/request-2.88.2.tgz#d73c918731cb5a87da047e207234146f664d12b3" @@ -7708,6 +8008,14 @@ resolve@^1.10.0, resolve@^1.12.0, resolve@^1.13.1, resolve@^1.17.0, resolve@^1.1 is-core-module "^2.1.0" path-parse "^1.0.6" +resource-loader@^3.0.1: + version "3.0.1" + resolved "https://npm.i12e.cha0s.io/resource-loader/-/resource-loader-3.0.1.tgz#33355bb5421e2994f59454bbc7f6dbff8df06d47" + integrity sha512-fBuCRbEHdLCI1eglzQhUv9Rrdcmqkydr1r6uHE2cYHvRBrcLXeSmbE/qI/urFt8rPr/IGxir3BUwM5kUK8XoyA== + dependencies: + mini-signals "^1.2.0" + parse-uri "^1.0.0" + restore-cursor@^3.1.0: version "3.1.0" resolved "https://npm.i12e.cha0s.io/restore-cursor/-/restore-cursor-3.1.0.tgz#39f67c54b3a7a58cea5236d95cf0034239631f7e" @@ -8447,7 +8755,7 @@ string-width@^3.0.0, string-width@^3.1.0: is-fullwidth-code-point "^2.0.0" strip-ansi "^5.1.0" -string-width@^4.1.0: +string-width@^4.1.0, string-width@^4.2.0: version "4.2.0" resolved "https://npm.i12e.cha0s.io/string-width/-/string-width-4.2.0.tgz#952182c46cc7b2c313d1596e623992bd163b72b5" integrity sha512-zUz5JD+tgqtuDjMhwIg5uFVV3dtqZ9yQJlZVfq4I01/K5Paj5UHj7VyrQOJvzawSVlKpObApbfD0Ed6yJc+1eg== @@ -9325,6 +9633,15 @@ wrap-ansi@^5.1.0: string-width "^3.0.0" strip-ansi "^5.0.0" +wrap-ansi@^6.2.0: + version "6.2.0" + resolved "https://npm.i12e.cha0s.io/wrap-ansi/-/wrap-ansi-6.2.0.tgz#e9393ba07102e6c91a3b221478f0257cd2856e53" + integrity sha512-r6lPcBGxZXlIcymEu7InxDMhdW0KDxpLgoFLcguasxCaJ/SOIZwINatK9KY/tf+ZrlywOKU0UDj3ATXUBfxJXA== + dependencies: + ansi-styles "^4.0.0" + string-width "^4.1.0" + strip-ansi "^6.0.0" + wrappy@1: version "1.0.2" resolved "https://npm.i12e.cha0s.io/wrappy/-/wrappy-1.0.2.tgz#b5243d8f3ec1aa35f1364605bc0d1036e30ab69f" @@ -9394,6 +9711,14 @@ yargs-parser@13.1.2, yargs-parser@^13.1.2: camelcase "^5.0.0" decamelize "^1.2.0" +yargs-parser@^18.1.2: + version "18.1.3" + resolved "https://npm.i12e.cha0s.io/yargs-parser/-/yargs-parser-18.1.3.tgz#be68c4975c6b2abf469236b0c870362fab09a7b0" + integrity sha512-o50j0JeToy/4K6OZcaQmW6lyXXKhq7csREXcDwk2omFPJEwUNOVtJKvmDr9EI1fAJZUyZcRF7kxGBWmRXudrCQ== + dependencies: + camelcase "^5.0.0" + decamelize "^1.2.0" + yargs-parser@^19.0.4: version "19.0.4" resolved "https://npm.i12e.cha0s.io/yargs-parser/-/yargs-parser-19.0.4.tgz#99183a3a59268b205c6b04177f2a5bfb46e79ba7" @@ -9430,6 +9755,23 @@ yargs@13.3.2, yargs@^13.3.2: y18n "^4.0.0" yargs-parser "^13.1.2" +yargs@^15.3.1: + version "15.4.1" + resolved "https://npm.i12e.cha0s.io/yargs/-/yargs-15.4.1.tgz#0d87a16de01aee9d8bec2bfbf74f67851730f4f8" + integrity sha512-aePbxDmcYW++PaqBsJ+HYUFwCdv4LVvdnhBy78E57PIor8/OVvhMrADFFEDh8DHDFRv/O9i3lPhsENjO7QX0+A== + dependencies: + cliui "^6.0.0" + decamelize "^1.2.0" + find-up "^4.1.0" + get-caller-file "^2.0.1" + require-directory "^2.1.1" + require-main-filename "^2.0.0" + set-blocking "^2.0.0" + string-width "^4.2.0" + which-module "^2.0.0" + y18n "^4.0.0" + yargs-parser "^18.1.2" + yeast@0.1.2: version "0.1.2" resolved "https://npm.i12e.cha0s.io/yeast/-/yeast-0.1.2.tgz#008e06d8094320c372dbc2f8ed76a0ca6c8ac419"