Skip to content

Commit dd710fc

Browse files
committed
remove
1 parent 03e29bc commit dd710fc

21 files changed

+2
-1476
lines changed

package.json

+1-8
Original file line numberDiff line numberDiff line change
@@ -10,21 +10,14 @@
1010
"preview": "vite preview"
1111
},
1212
"dependencies": {
13-
"@monaco-editor/react": "^4.6.0",
14-
"@stoplight/spectral-core": "^1.18.3",
15-
"@stoplight/spectral-rulesets": "^1.19.1",
1613
"bootstrap": "^5.3.3",
17-
"npm": "^10.8.1",
1814
"react": "^18.3.1",
1915
"react-bootstrap": "^2.10.4",
20-
"react-dom": "^18.3.1",
21-
"react-icons": "^5.2.1",
22-
"swagger-ui-react": "^5.17.14"
16+
"react-dom": "^18.3.1"
2317
},
2418
"devDependencies": {
2519
"@types/react": "^18.3.3",
2620
"@types/react-dom": "^18.3.0",
27-
"@types/swagger-ui-react": "^4.18.3",
2821
"@typescript-eslint/eslint-plugin": "^7.13.1",
2922
"@typescript-eslint/parser": "^7.13.1",
3023
"@vitejs/plugin-react-swc": "^3.5.0",

src/App.tsx

+1-17
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,7 @@
11
import { useEffect, useState } from 'react';
22
import './sass/index.scss';
3-
import ReadJSONYAMLfile from './components/Readfile/Readfile'
4-
import Editor from './components/Editor/Editor';
5-
import ReactSplitPane from './components/SplitPane/SplitPane';
6-
import SwaggerUI from 'swagger-ui-react';
73

84
function App() {
9-
const [ content, setContent ] = useState<string | undefined>();
105

116
useEffect(() => {
127
// Check IndexedDB to grab API Specification
@@ -18,23 +13,12 @@ function App() {
1813
}
1914
}
2015

21-
setContent(JSON.stringify(initialSpec, null, 2));
2216
}, [])
2317
return (
2418
<>
2519
<div className="app-wrapper">
2620
<div className="read-file-wrapper">
27-
<ReadJSONYAMLfile setContent={setContent} />
28-
</div>
29-
<div className="editor-page-wrapper">
30-
<ReactSplitPane
31-
size={'50%'}
32-
>
33-
<Editor content={content} setContent={setContent} />
34-
<div className="p-2">
35-
<SwaggerUI spec={content} />
36-
</div>
37-
</ReactSplitPane>
21+
TEST
3822
</div>
3923
</div>
4024
</>

src/components/Editor/Editor.tsx

-39
This file was deleted.

src/components/Editor/components/MonacoEditor.tsx

-48
This file was deleted.

src/components/Editor/components/Terminal/EditorTerminal.tsx

-86
This file was deleted.

0 commit comments

Comments
 (0)