Skip to content

Commit 95d8080

Browse files
authored
Merge pull request #20 from CatalysmsServerManager/expo-temp
2 parents db20714 + cb74e85 commit 95d8080

File tree

15 files changed

+10123
-10205
lines changed

15 files changed

+10123
-10205
lines changed

package-lock.json

Lines changed: 9275 additions & 9854 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 24 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -5,35 +5,34 @@
55
"homepage": "/playground/",
66
"scripts": {
77
"start": "craco start",
8+
"prebuild": "node scripts/versionSetter.js",
89
"build": "craco build"
910
},
1011
"dependencies": {
11-
"@craco/craco": "^6.1.1",
12-
"@material-ui/core": "^4.11.3",
13-
"@sentry/react": "^6.16.1",
14-
"@sentry/tracing": "^6.16.1",
15-
"antd": "^4.18.2",
16-
"axios": "^0.21.1",
17-
"faker": "^5.5.3",
18-
"framer-motion": "^3.10.3",
19-
"history": "^5.0.0",
20-
"immutable": "^4.0.0-rc.12",
21-
"match-sorter": "^6.3.1",
22-
"monaco-editor": "^0.23.0",
23-
"monaco-editor-webpack-plugin": "^3.0.1",
24-
"monaco-vim": "^0.1.12",
25-
"notistack": "^1.0.5",
26-
"react": "^17.0.1",
27-
"react-dom": "^17.0.1",
28-
"react-helmet": "^6.1.0",
29-
"react-redux": "^7.2.2",
30-
"react-router-dom": "^6.2.1",
12+
"@craco/craco": "6.1.1",
13+
"@material-ui/core": "4.11.3",
14+
"@sentry/react": "6.16.1",
15+
"@sentry/tracing": "6.16.1",
16+
"antd": "4.18.2",
17+
"axios": "0.21.1",
18+
"faker": "5.5.3",
19+
"framer-motion": "3.10.3",
20+
"history": "5.0.0",
21+
"immutable": "4.0.0-rc.12",
22+
"match-sorter": "6.3.1",
23+
"monaco-editor": "0.23.0",
24+
"monaco-editor-webpack-plugin": "3.0.1",
25+
"notistack": "1.0.5",
26+
"react": "17.0.1",
27+
"react-dom": "17.0.1",
28+
"react-helmet": "6.1.0",
29+
"react-redux": "7.2.2",
30+
"react-router-dom": "6.2.1",
3131
"react-scripts": "4.0.3",
32-
"react-sortable-hoc": "^1.11.0",
3332
"react-table": "latest",
34-
"styled-components": "^5.3.5",
35-
"typescript": "^4.6.3",
36-
"web-vitals": "^1.0.1"
33+
"styled-components": "5.3.5",
34+
"typescript": "4.6.3",
35+
"web-vitals": "1.0.1"
3736
},
3837
"resolutions": {
3938
"//": "See https://github.com/facebook/create-react-app/issues/11773",
@@ -192,4 +191,4 @@
192191
"last 1 safari version"
193192
]
194193
}
195-
}
194+
}

scripts/versionSetter.js

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
const date = new Date();
2+
const version = { version: date.toISOString() };
3+
4+
const fs = require('fs');
5+
6+
fs.writeFile('public/version.json', JSON.stringify(version), 'utf8', (error) => {
7+
if (error) {
8+
throw new Error(error);
9+
}
10+
});

src/components/IndeterminateCheckbox.tsx

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ import React, { useEffect, forwardRef } from 'react';
44
interface Props {
55
indeterminate?: boolean;
66
id?: string
7+
disabled?: boolean
78
}
89

910
const useCombinedRefs = (...refs: any[]): React.MutableRefObject<any> => {
@@ -37,7 +38,7 @@ const IndeterminateCheckbox = forwardRef<HTMLInputElement, Props>(
3738

3839
return (
3940
<React.Fragment>
40-
<Checkbox id={rest.id} ref={combinedRef} type="checkbox" {...rest} />
41+
<Checkbox disabled={rest.disabled} id={rest.id} ref={combinedRef} type="checkbox" {...rest} />
4142
</React.Fragment>
4243
);
4344
}

src/components/Playground/Tab.tsx

Lines changed: 0 additions & 12 deletions
This file was deleted.

src/components/Playground/TabBar.tsx

Lines changed: 0 additions & 74 deletions
This file was deleted.

src/components/Playground/Tabs.tsx

Lines changed: 0 additions & 7 deletions
This file was deleted.

0 commit comments

Comments
 (0)