diff --git a/package.json b/package.json index 8edf11a..4986d05 100644 --- a/package.json +++ b/package.json @@ -3,8 +3,10 @@ "private": true, "scripts": { "build": "lerna run build", + "build:docker": "docker build -t docker.hq.cha0s.io/cha0s6983/$(echo $(jq -r .name package.json):$(jq -r .version package.json)) .", + "build:lat": "latus-build", "clean": "lerna run clean", - "docker": "yarn run build && docker build", + "docker": "yarn build:lat && docker-compose up --build", "electron": "NODE_ENV=production NODE_PATH=./node_modules electron build/electron.js", "fp": "lerna run fp", "http": "LATUS_ONLY_BUILD=http latus-build -d --hot --watch", @@ -30,6 +32,7 @@ "@avocado/math-persea": "^1.0.0", "@avocado/physics": "^1.0.0", "@avocado/physics-persea": "^1.0.0", + "@avocado/react": "^1.0.0", "@avocado/resource": "^2.0.0", "@avocado/resource-persea": "^1.0.0", "@avocado/s13n": "^2.0.0", diff --git a/yarn.lock b/yarn.lock index 129911c..b22936a 100644 --- a/yarn.lock +++ b/yarn.lock @@ -4,11 +4,11 @@ "@avocado/behavior-persea@^1.0.0": version "1.0.0" - resolved "https://verdaccio.hq.cha0s.io/@avocado%2fbehavior-persea/-/behavior-persea-1.0.0.tgz#abb426506a5d190fe96906c23976cc60687a42a0" - integrity sha512-tPu0/HaCc2GRgfJMNzzTgJVJATK4Bd0+ZOM2A8V/tJYJHl2SF0H4jq7lApF1zdc2cbxT4b9kHYygFIWSVywe8w== + resolved "https://verdaccio.hq.cha0s.io/@avocado%2fbehavior-persea/-/behavior-persea-1.0.0.tgz#0aa4571afa642a7a22cfe35d2ea135871c33da7b" + integrity sha512-VCItAOqH+oosTxJvb/sQ6RPNT6bwHvuhqMrz6xbRZRN5XX4hrSdfp9M51xKsyJuHEwHIFw0L2+ju90aDUwkRuw== dependencies: "@avocado/math-persea" "^1.0.0" - "@avocado/persea" "^1.0.0" + "@avocado/react" "^1.0.0" "@avocado/resource-persea" "^1.0.0" "@latus/react" "^2.0.0" classnames "^2.2.6" @@ -16,11 +16,10 @@ "@avocado/behavior@2.0.0", "@avocado/behavior@^2.0.0": version "2.0.0" - resolved "https://verdaccio.hq.cha0s.io/@avocado%2fbehavior/-/behavior-2.0.0.tgz#5c37cf9d00d14c4e70951b1a08e362ada1ca942a" - integrity sha512-qQgINxmPuRHVSGNU1/jLSp+axVuy6P5CUvwldxdyM1Y7VDAMO0E27BnAeIyuoD/PWh4RA2VAEbLy0PG5KGwEyw== + resolved "https://verdaccio.hq.cha0s.io/@avocado%2fbehavior/-/behavior-2.0.0.tgz#2cda63b60bba205481c222291821bef81c9233de" + integrity sha512-0Ko+tLjSvQ5jiLBKIpIw897JAJP0JTyexIRshfKzlqG7I9D2Khln/2zDKYcr/5gMELnYi72mPw5zg8YESFh2Vw== dependencies: "@avocado/core" "2.0.0" - "@avocado/persea" "^1.0.0" "@avocado/resource" "^2.0.0" "@avocado/sandbox" "^1.0.0" "@avocado/traits" "^2.0.0" @@ -45,12 +44,12 @@ "@avocado/entity-persea@^1.0.0": version "1.0.0" - resolved "https://verdaccio.hq.cha0s.io/@avocado%2fentity-persea/-/entity-persea-1.0.0.tgz#e3a9bed21b1611db34626f84c651c9d57400ec6e" - integrity sha512-NHWKSZFcgIvEIm6z7snTJmVUygroAwDTowmZrxr99ybbeLpV074jFyAme1ul+2cUwqcFUdr/IQ76Wlkqk2tAtw== + resolved "https://verdaccio.hq.cha0s.io/@avocado%2fentity-persea/-/entity-persea-1.0.0.tgz#81cd453b372d65bece0511171dc54ebf17451dc5" + integrity sha512-ykO1ffw0YqZsEYJXD5N5PLn9F59Wt9d5lFDvvaXf9uggljwxnspgy+Q2852fgE+811YbPYSHhK9ekTA2UbREGw== dependencies: "@avocado/graphics" "^2.0.0" "@avocado/math" "^2.0.0" - "@avocado/persea" "^1.0.0" + "@avocado/react" "^1.0.0" "@avocado/resource-persea" "^1.0.0" "@latus/react" "^2.0.0" lodash.difference "^4.5.0" @@ -76,16 +75,16 @@ "@avocado/graphics-persea@^1.0.0": version "1.0.0" - resolved "https://verdaccio.hq.cha0s.io/@avocado%2fgraphics-persea/-/graphics-persea-1.0.0.tgz#a282219a4e13ec6d329cedda1266a1aaab7e581c" - integrity sha512-W63ykk60OC4U7qZQ6c7GXUkJOSraO7wVLpkONpD5zg6p5VsTLqN2F1hO1gUy83lwcYC3TrVYxsZnvfD7t3EzlA== + resolved "https://verdaccio.hq.cha0s.io/@avocado%2fgraphics-persea/-/graphics-persea-1.0.0.tgz#0deba009dfbc064bd6790eb6d292cb78513cb302" + integrity sha512-wkpq7ktB8BPWdkG0hS1pZohVneBbf4x2ScOqOy8baw0l5EhKhLJ/NsotFvUnQroG1MeZk2NGdzPE5gXmImZT4Q== dependencies: "@avocado/resource-persea" "^1.0.0" "@latus/react" "^2.0.0" "@avocado/graphics@2.0.0", "@avocado/graphics@^2.0.0": version "2.0.0" - resolved "https://verdaccio.hq.cha0s.io/@avocado%2fgraphics/-/graphics-2.0.0.tgz#aaddae705b66d24a8e0c4bf793f7a89b1de29222" - integrity sha512-M8QKIHVCOjK+NTAdFFOPNlrtscJaZ4c9yWSak38pMg2VOwJr+UsdSaPrwls6nzRWjXx907wLfcaG61KbR4jM9g== + resolved "https://verdaccio.hq.cha0s.io/@avocado%2fgraphics/-/graphics-2.0.0.tgz#88a72b51c40556d5d47065759d56a497f794c6e4" + integrity sha512-kxAiXy7Ixrafo8WUfNrXpKyIrqowu4moEaHe7ZBqjzS3cVuTxxFzmHdYcYRwbg+l7K0WEVZnSazXk6LhxIPICw== dependencies: "@avocado/core" "2.0.0" "@avocado/math" "2.0.0" @@ -123,16 +122,16 @@ "@avocado/math-persea@^1.0.0": version "1.0.0" - resolved "https://verdaccio.hq.cha0s.io/@avocado%2fmath-persea/-/math-persea-1.0.0.tgz#3b6ea004b6a91e0fa87d79b7e78a849be64977bf" - integrity sha512-2sPJ+XkZNBrBhzvsZgUpv00AUi7vMuBep1Uec0M580rxiT1pTo4/A7NKr+DATlfh8kGCPx9bqeynxUG4horncA== + resolved "https://verdaccio.hq.cha0s.io/@avocado%2fmath-persea/-/math-persea-1.0.0.tgz#20fed4a0211eca3c347846443b6ced4344f8a78b" + integrity sha512-hsepky3IvC5kVwVVV9Eo8nN4sC0InIrbqIU35kfsdhjDqh+Z0ZknRklUo3Rx3PiWE+cgb2gOt7AbnnK9Z6bDkA== dependencies: - "@avocado/persea" "^1.0.0" + "@avocado/react" "^1.0.0" "@latus/react" "^2.0.0" "@avocado/math@2.0.0", "@avocado/math@^2.0.0": version "2.0.0" - resolved "https://verdaccio.hq.cha0s.io/@avocado%2fmath/-/math-2.0.0.tgz#9ed642baa141bac5ff78b9dddbb5d50233b518b1" - integrity sha512-3OLaWeLQWux1+m2BCuLsOUd2hztUZDQJW9eitvHkyiN5O60WWPsWqiBOO//VplO/zgqGlIN0pZ78RDzhJEesuw== + resolved "https://verdaccio.hq.cha0s.io/@avocado%2fmath/-/math-2.0.0.tgz#f8c97b6d095a9db1285d7f2793d0e233d27c1f68" + integrity sha512-w5WSALhZMTlwbdlGZIkOr/pL4FfXVuxS5v+UnEu5TEt3b9dPE6qhsCE1qmNdJRfPWMtahrsPZ7vE3T66L5+QLw== dependencies: "@avocado/core" "2.0.0" "@latus/core" "^2.0.0" @@ -152,30 +151,28 @@ "@avocado/physics-persea@^1.0.0": version "1.0.0" - resolved "https://verdaccio.hq.cha0s.io/@avocado%2fphysics-persea/-/physics-persea-1.0.0.tgz#e633aa1b6dd590bce3018f07d0a15ced653321fa" - integrity sha512-8Rr/u3W0RHoQf6MPAjjE5L/AzYDYmcRJkv/3WE3nHcXNu7/E0I2rp8yj+I/DIV8SV6L5yE2yB98w27TK0vUzmA== + resolved "https://verdaccio.hq.cha0s.io/@avocado%2fphysics-persea/-/physics-persea-1.0.0.tgz#feefa6e2c70f7e5b08bebd39d138feb63ec68270" + integrity sha512-e4Nk87fiWw2vmI9wz4edEmNqLPwr07J8hi6WP9oiQ/FFIIyiGSH6KUfOKqCmvx5ftUgKhQtKbm42pIs91WwMjw== dependencies: "@avocado/entity" "^2.0.0" "@avocado/entity-persea" "^1.0.0" "@avocado/graphics" "^2.0.0" "@avocado/math-persea" "^1.0.0" - "@avocado/persea" "^1.0.0" + "@avocado/react" "^1.0.0" "@avocado/resource-persea" "^1.0.0" "@latus/react" "^2.0.0" "@avocado/physics@^1.0.0": version "1.0.0" - resolved "https://verdaccio.hq.cha0s.io/@avocado%2fphysics/-/physics-1.0.0.tgz#af545eef985591e2391e665d2ba3be978d175004" - integrity sha512-+AOtLUJLjRQicR/saHU91CaW1baC0XBMjKX6E76OUY8FKU7iS5m6j57VA3DRPfW8YwQXe4CyQEAnXo4AqibdIA== + resolved "https://verdaccio.hq.cha0s.io/@avocado%2fphysics/-/physics-1.0.0.tgz#7c3bbeaa69f10726833bc2fa3b6afec1c4442747" + integrity sha512-IlyUZ4tC15N0ppaiozaI7aLcHe9U3n95FNizpVTZNfi7qNsIcJ0vXVFfoTzHwo9q3x7gGIH/7MZ/nfCIfIdm5g== dependencies: "@avocado/core" "^2.0.0" "@avocado/graphics" "^2.0.0" "@avocado/math" "^2.0.0" - "@avocado/persea" "^1.0.0" "@avocado/timing" "^2.0.0" "@avocado/traits" "^2.0.0" "@latus/core" "^2.0.0" - "@latus/react" "^2.0.0" "@latus/socket" "^2.0.0" deepmerge "^4.2.2" immutable "^4.0.0-rc.12" @@ -185,12 +182,17 @@ proton-engine "^4.2.1" "@avocado/react@^1.0.0": - version "1.0.0" - resolved "https://verdaccio.hq.cha0s.io/@avocado%2freact/-/react-1.0.0.tgz#75fadd577014d3dfa36a8bf7f73ea809a0b7bac8" - integrity sha512-TR3HiS24P6jL9LaKSMEq+ZPH3iqSe+eAKlvzb8mGhMAXUn0fFymVXpSSV81GsWXlKXzEk//PY3k+xTCabznBLg== + version "1.0.1" + resolved "https://verdaccio.hq.cha0s.io/@avocado%2freact/-/react-1.0.1.tgz#db52003cb049481f96a54468abbbaeb5a35d31c0" + integrity sha512-FMsdNZOVT4+1vME8Jj8Z78VvKTzgtzm/3AkTnfPLlUp4hLI+GFqHVZbBph55SLkHSCfxSSDMFH6B1R8unhsT6Q== dependencies: "@latus/react" "^2.0.0" + ace-builds "^1.4.12" classnames "^2.2.6" + deepmerge "^4.2.2" + react-ace "^9.4.0" + react-json-editor-ajrm "^2.5.13" + react-modal "^3.12.1" "@avocado/resource-persea@^1.0.0": version "1.0.0" @@ -207,8 +209,8 @@ "@avocado/resource@2.0.0", "@avocado/resource@^2.0.0": version "2.0.0" - resolved "https://verdaccio.hq.cha0s.io/@avocado%2fresource/-/resource-2.0.0.tgz#99734832c89eff3097933a34e78f61b3b03a6acd" - integrity sha512-HdHSw83DKBfpMyT2gTQUQgAw389spnscLQ1sVdsdBJyv3XwazykVzs6j6tGzuCJC4u9G4TSGQPIAEkpfxyOgjw== + resolved "https://verdaccio.hq.cha0s.io/@avocado%2fresource/-/resource-2.0.0.tgz#d54a8c3d79744d80ea9de39185c7d2842c98f669" + integrity sha512-6BNoMr50AENZZq11A3ct3C9jwQr/hrXqFvQQ1S6Q/UO+GZKaJwgl9AXvhnulU/+ziQehCuHsaoB6308I7dun9Q== dependencies: "@avocado/core" "2.0.0" "@latus/core" "2.0.0" @@ -232,18 +234,18 @@ "@avocado/sound-persea@^1.0.0": version "1.0.0" - resolved "https://verdaccio.hq.cha0s.io/@avocado%2fsound-persea/-/sound-persea-1.0.0.tgz#2bd8105eec1e3544e1928fb7ee4570b0b6ebde5e" - integrity sha512-BYhpQ+XBAwbvxET6vVgMILhvZtY/Nc81X8JUkpYGTB3UxSXIfHlGctJyLYvpkzinm1pL96S5xoh/OkMNQB07ZQ== + resolved "https://verdaccio.hq.cha0s.io/@avocado%2fsound-persea/-/sound-persea-1.0.0.tgz#91ba9d2b338c3dd6ec5fced56ade46659adf3694" + integrity sha512-RUbsHtk/lrbB2RCC9bDwyAJNhLKbqIOy6/f3/3eT//3VURwTGQdBp6Litfeyd/FcYBHPUuMmStb5ZjmubwtohQ== dependencies: - "@avocado/persea" "^1.0.0" + "@avocado/react" "^1.0.0" "@avocado/resource" "^2.0.0" "@avocado/resource-persea" "^1.0.0" "@latus/react" "^2.0.0" "@avocado/sound@^1.0.0": version "1.0.0" - resolved "https://verdaccio.hq.cha0s.io/@avocado%2fsound/-/sound-1.0.0.tgz#f6ad890e326c3cdedad8efd5773a91c17dd26455" - integrity sha512-CIdXW6iEbgGofkFrZ4tby7ZO/pV4Z/W4ms13F3GmrgTMks+Z14PBcUZAqclxStHTTakfen3rSgkOx4RscAgWTg== + resolved "https://verdaccio.hq.cha0s.io/@avocado%2fsound/-/sound-1.0.0.tgz#32f898867c23fdb68e2dc5219ae3b4963c98ecab" + integrity sha512-LAS4Uv/f+oi+sL7foTFw1SZmDXClPue+rfl6TtMyxngIh36yvvLIVoaIf4cVez8BmoJeHSY+t5O5JVm0rqOLXA== dependencies: "@avocado/resource" "^2.0.0" "@avocado/traits" "^2.0.0" @@ -254,13 +256,13 @@ "@avocado/timing-persea@^1.0.0": version "1.0.0" - resolved "https://verdaccio.hq.cha0s.io/@avocado%2ftiming-persea/-/timing-persea-1.0.0.tgz#95f1d0748b092f6cfe099128060bc21708a81ebd" - integrity sha512-fjc4W01+0klB9pheNBwCuO4YYiEh3tpoy/M7druxOfgbeabmXPhOhanL7oICTPzNwDH2da9x1W4B153s+mrbrQ== + resolved "https://verdaccio.hq.cha0s.io/@avocado%2ftiming-persea/-/timing-persea-1.0.0.tgz#1024367d9eacbe3a8b37162c5cfc6083920b2707" + integrity sha512-CWcICMgT3g4DGtI/qrxHHAYx2S6RltTnI80yWM0Ol2OtzA63t5mQC+tqAyTHR/DCif3nzRh8jxbkOOTpPgEjKw== dependencies: "@avocado/graphics" "^2.0.0" "@avocado/math" "^2.0.0" "@avocado/math-persea" "^1.0.0" - "@avocado/persea" "^1.0.0" + "@avocado/react" "^1.0.0" "@avocado/resource-persea" "^1.0.0" "@avocado/timing" "^2.0.0" "@latus/react" "^2.0.0" @@ -281,16 +283,18 @@ "@avocado/topdown-persea@^1.0.0": version "1.0.0" - resolved "https://verdaccio.hq.cha0s.io/@avocado%2ftopdown-persea/-/topdown-persea-1.0.0.tgz#93038dec7ff01c7cff4f264d7e56b7fa92491bd3" - integrity sha512-LmEuWkk9W0qplXZod5hWcSasFV21wp/WtitEo0GximnOk5A8HHvO+y/E9n78h0qa3JV/NYBifaor9nA1HgnSQg== + resolved "https://verdaccio.hq.cha0s.io/@avocado%2ftopdown-persea/-/topdown-persea-1.0.0.tgz#ebf95b41023d07a739502b4e1037531aff387590" + integrity sha512-fLJwFnLzUd74zrfcFmdEpVFgECgc5rznbpr0ryJpWzXRkErI2xe3XcTfLr1QIcQ+EMZQu5Z4dckY6yGL1G03cg== dependencies: + "@avocado/graphics" "^2.0.0" + "@avocado/math" "^2.0.0" "@avocado/resource-persea" "^1.0.0" "@latus/react" "^2.0.0" "@avocado/topdown@^2.0.0": version "2.0.0" - resolved "https://verdaccio.hq.cha0s.io/@avocado%2ftopdown/-/topdown-2.0.0.tgz#3f991a16bad0c2ee46950c17407f183a3df3665b" - integrity sha512-ItPFIu5lXd5VUXIr+c4xUuSQ7gfPzr8sYytNqF5UPhxvdNkHEH+yTSOsPfKrLA5wbFdNTKOB5SMxCVJXQcSoOw== + resolved "https://verdaccio.hq.cha0s.io/@avocado%2ftopdown/-/topdown-2.0.0.tgz#b083d511b0443eac848a4d6cfc1943640cf1dafb" + integrity sha512-+vPRWRuSxHxAK/ktNzVAj9C8unHF/SE3QCkm7vhSMhhfnuYx4bhmMNmDsyrrn3kfguhbHShBBgDCZ8X0xgB1Tw== dependencies: "@avocado/core" "2.0.0" "@avocado/entity" "^2.0.0" @@ -1492,10 +1496,10 @@ webpack-cli "^3" webpack-node-externals "2.5.2" -"@latus/core@2.0.0", "@latus/core@^2.0.0": +"@latus/core@2.0.0": version "2.0.0" - resolved "https://verdaccio.hq.cha0s.io/@latus%2fcore/-/core-2.0.0.tgz#a0480ea9e0bda8bac5c068bee1240d20cf3f16b1" - integrity sha512-DiKVRth4RKlJoZArwxgZipq5QTwMQkIKEbQw6YVphk5/qOqtn0tCmu3RfRgRzfBL1KIuzyqgcC6+KUhuo2dG9A== + resolved "https://verdaccio.hq.cha0s.io/@latus%2fcore/-/core-2.0.0.tgz#cff74306f18cd06fc710925891867d3d4b7a655b" + integrity sha512-yfE42bAFXPrKzvHuPSWA7VCnIpopeGJR1ikslDScdwbZsm7RHospQI3i8NHieb9kPSYrGz0P8ZSZalSU90YkiA== dependencies: "@neutrinojs/banner" "^9.5.0" "@neutrinojs/node" "^9.1.0" @@ -1511,6 +1515,27 @@ mkdirp "^1.0.4" webpack-node-externals "2.5.2" +"@latus/core@^2.0.0": + version "2.0.3" + resolved "https://verdaccio.hq.cha0s.io/@latus%2fcore/-/core-2.0.3.tgz#e88f310d8be63f1aaa7f823f436b79f0ad0e8837" + integrity sha512-Lqg3Dzgm9Le3/ierg8hB2U6w3+HbIFRY7u41bYPBz4B8wxXd5ThSszyE+rO5F0uGhsrS6yGlv461U8DxnWabDg== + dependencies: + "@neutrinojs/banner" "^9.5.0" + "@neutrinojs/image-loader" "^9.1.0" + "@neutrinojs/node" "^9.1.0" + "@neutrinojs/style-loader" "^9.1.0" + debug "4.3.1" + deepmerge "^4.2.2" + dotenv "^8.2.0" + js-yaml "3.14.0" + loader-utils "^1.4.0" + lodash.flatten "^4.4.0" + lodash.get "^4.4.2" + lodash.set "^4.3.2" + lodash.without "^4.4.0" + mkdirp "^1.0.4" + webpack-node-externals "2.5.2" + "@latus/db@^2.0.0": version "2.1.1" resolved "https://verdaccio.hq.cha0s.io/@latus%2fdb/-/db-2.1.1.tgz#bd88b335591e28412c646a3a7155186bd1732d56" @@ -2411,7 +2436,7 @@ dependencies: html-webpack-plugin "^4.5.0" -"@neutrinojs/image-loader@9.5.0": +"@neutrinojs/image-loader@9.5.0", "@neutrinojs/image-loader@^9.1.0": version "9.5.0" resolved "https://verdaccio.hq.cha0s.io/@neutrinojs%2fimage-loader/-/image-loader-9.5.0.tgz#026bea0d324a2603de92c6bbcabc997dbb67c5b7" integrity sha512-k0Y8WqqTk5lV+QVtcnbmQcztoVgEGrSmR2CW8tWoqrWHEpsRxNU9Zr/YHClswU8u6zLihyLp60gF/j4omvDe0w== @@ -2469,7 +2494,7 @@ dependencies: start-server-webpack-plugin "^2.2.5" -"@neutrinojs/style-loader@9.5.0": +"@neutrinojs/style-loader@9.5.0", "@neutrinojs/style-loader@^9.1.0": version "9.5.0" resolved "https://verdaccio.hq.cha0s.io/@neutrinojs%2fstyle-loader/-/style-loader-9.5.0.tgz#5f1f151d76f5f1168e557612d5e3407ffb99049e" integrity sha512-tuizyMF9z0xFi5HeQqTZ8n8ZNn49G+SgDnBTwBzHJWhYVtmKfYlgMuTUnNd6vo1dJtgSSR5+1TkkzFMee2IXtg== @@ -2622,14 +2647,14 @@ "@persea/core@^3.0.0": version "3.0.0" - resolved "https://verdaccio.hq.cha0s.io/@persea%2fcore/-/core-3.0.0.tgz#588ff265bda2406771edc975a6ff7fffaa35d1db" - integrity sha512-mXa+IWOkP2sgi8VHYe1cYDDQz3Q9Hn8tGGxNROMB3QatdgbwCsthBl2k7HLnYIEHh1DdDBi7HEj2je/3MrNRmw== + resolved "https://verdaccio.hq.cha0s.io/@persea%2fcore/-/core-3.0.0.tgz#cac64a45a53c15b93005435022b4267d1728bae7" + integrity sha512-d5ARYi2ivys88EQ8tfC49c/PP+s+5HCODZN3UE//NC8NHMyJTQkvPMoVapl7nCkOKQmqVXwEV61Bu+qaufHPag== dependencies: "@avocado/graphics" "^2.0.0" "@avocado/math" "^2.0.0" - "@avocado/persea" "^1.0.0" "@avocado/react" "^1.0.0" "@avocado/resource" "^2.0.0" + "@avocado/resource-persea" "^1.0.0" "@latus/core" "^2.0.0" "@latus/db" "^2.0.0" "@latus/react" "^2.0.0" @@ -2648,7 +2673,6 @@ react-hot-loader "^4.13.0" react-modal "^3.12.1" react-resize-panel "^0.3.5" - react-router-dom "^5.2.0" react-ui-tree "^4.0.0" "@pixi/constants@5.3.10", "@pixi/constants@^5.3.9":