updated packages + add chaotic recode

This commit is contained in:
Daniel 2020-08-12 10:08:02 -04:00
parent 4c0a1d9f3b
commit c795b33fed
8 changed files with 970 additions and 596 deletions

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

1498
package-lock.json generated

File diff suppressed because it is too large Load Diff

View File

@ -20,13 +20,13 @@
"@material-ui/core": "^4.11.0",
"@material-ui/icons": "^4.9.1",
"@material-ui/styles": "^4.10.0",
"lokijs": "^1.5.9",
"mobx": "^5.15.4",
"mobx-react": "^6.2.3",
"lokijs": "^1.5.10",
"mobx": "^5.15.5",
"mobx-react": "^6.2.5",
"prop-types": "^15.7.2",
"react": "^16.13.1",
"react-collapsible": "^2.8.0",
"react-digit-input": "^1.0.0",
"react-digit-input": "^2.1.0",
"react-dom": "^16.13.1",
"react-interactive": "^0.9.1",
"react-loadable": "^5.5.0",
@ -34,31 +34,31 @@
"react-process-string": "^1.2.0",
"react-router": "^5.2.0",
"react-router-dom": "^5.2.0",
"tone": "^14.7.35",
"tone": "^14.7.39",
"universal-cookie": "^4.0.3",
"whatwg-fetch": "^3.2.0"
"whatwg-fetch": "^3.4.0"
},
"devDependencies": {
"@babel/cli": "^7.10.5",
"@babel/core": "^7.10.5",
"@babel/core": "^7.11.1",
"@babel/node": "^7.10.5",
"@babel/plugin-proposal-class-properties": "^7.10.4",
"@babel/plugin-proposal-decorators": "^7.10.5",
"@babel/plugin-proposal-dynamic-import": "^7.10.4",
"@babel/plugin-proposal-object-rest-spread": "^7.10.4",
"@babel/plugin-proposal-object-rest-spread": "^7.11.0",
"@babel/plugin-syntax-dynamic-import": "^7.8.3",
"@babel/plugin-transform-computed-properties": "^7.10.4",
"@babel/plugin-transform-runtime": "^7.10.5",
"@babel/plugin-transform-runtime": "^7.11.0",
"@babel/polyfill": "^7.10.4",
"@babel/preset-env": "^7.10.4",
"@babel/preset-env": "^7.11.0",
"@babel/preset-flow": "^7.10.4",
"@babel/preset-react": "^7.10.4",
"@babel/preset-typescript": "^7.10.4",
"@babel/register": "^7.10.5",
"@babel/runtime": "^7.10.5",
"@babel/runtime": "^7.11.2",
"@types/chai": "^4.2.12",
"@types/mocha": "^7.0.2",
"@types/react": "^16.9.43",
"@types/mocha": "^8.0.2",
"@types/react": "^16.9.46",
"@types/react-dom": "^16.9.8",
"@types/react-router-dom": "^5.1.5",
"babel-eslint": "^10.1.0",
@ -69,21 +69,21 @@
"eslint": "^6.8.0",
"eslint-plugin-flowtype": "^4.7.0",
"eslint-plugin-import": "^2.22.0",
"eslint-plugin-react": "^7.20.3",
"eslint-plugin-react": "^7.20.5",
"eslint-plugin-react-hooks": "^3.0.0",
"ignore-styles": "^5.0.1",
"jsdom": "^16.3.0",
"jsdom": "^16.4.0",
"jsdom-global": "^3.0.2",
"mini-css-extract-plugin": "^0.9.0",
"mocha": "^7.2.0",
"mocha": "^8.1.1",
"node-sass": "^4.14.1",
"optimize-css-assets-webpack-plugin": "^5.0.3",
"sass-loader": "^8.0.2",
"style-loader": "^1.2.1",
"terser-webpack-plugin": "^2.3.7",
"terser-webpack-plugin": "^2.3.8",
"ts-node": "^8.10.2",
"typescript": "^3.9.7",
"webpack": "^4.44.0",
"webpack": "^4.44.1",
"webpack-cli": "^3.3.12",
"webpack-dev-server": "^3.11.0"
},

View File

@ -1,32 +1,32 @@
import React from 'react';
import {render} from 'react-dom';
import {BrowserRouter as Router, Link, Route, Switch, Redirect} from 'react-router-dom';
import { render } from 'react-dom';
import { BrowserRouter as Router, Link, Route, Switch, Redirect } from 'react-router-dom';
import loadable from '@loadable/component';
import s from '../styles/app.style';
/* Components */
import API from './SpreadsheetData';
import {PageNotFound, UnderConstruction, Donate, Loading} from './Snippets';
import { PageNotFound, UnderConstruction, Donate, Loading } from './Snippets';
import Create from './create/index';
const EnterTheCode = loadable(
() => import('./entercode'),
{fallback: <Loading />}
{ fallback: <Loading /> }
);
const Home = loadable(
() => import('./home'),
{fallback: <Loading />}
{ fallback: <Loading /> }
);
const Portal = loadable(
() => import('./portal'),
{fallback: <Loading />}
{ fallback: <Loading /> }
);
const Collection = loadable(
() => import('./collection'),
{fallback: <Loading />}
{ fallback: <Loading /> }
);
/**
@ -37,7 +37,7 @@ function BetaRoutingWrapper(props) {
<Switch>
<Route path="/beta/collection" component={Collection} />
<Route path="/beta">
{({location}) => <Redirect to={location.pathname.replace("/beta", "")} /> }
{({ location }) => <Redirect to={location.pathname.replace("/beta", "")} /> }
</Route>
<Route component={Routing} />
</Switch>
@ -86,7 +86,7 @@ function Base(props) {
<li id="unity-nav5" className={language}><Link to={`/`}><span>Home</span></Link></li>
<li id="unity-nav6" className={language}><a href="http://chaoticbackup.forumotion.com"><span>Forums</span></a></li>
<li id="unity-nav7" className={language}><Link to={`/portal/`}><span>Portal</span></Link></li>
<li id="unity-nav8" className={language}><a href="https://untap.in"><span>Play</span></a></li>
<li id="unity-nav8" className={language}><a href="https://chaoticrecode.com"><span>Play</span></a></li>
<li id="unity-nav9" className={language}></li>
</ul>
<ul id="unityETC-sprite" className={language}>
@ -100,7 +100,7 @@ function Base(props) {
</div>
<div className="legacy content">
<div className="left-column">
<div className="full-width clear-line" style={{marginBottom: "5px"}}>
<div className="full-width clear-line" style={{ marginBottom: "5px" }}>
</div>
</div>
<div className="full-column">
@ -141,7 +141,7 @@ function Base(props) {
</div>
</div>
<div className="right-column">
<div className="full-width clear-line" style={{marginBottom: "5px"}}>
<div className="full-width clear-line" style={{ marginBottom: "5px" }}>
</div>
</div>
</div>