Skip to content

Commit

Permalink
cleanup: wip 4
Browse files Browse the repository at this point in the history
  • Loading branch information
mochaaP committed Mar 5, 2024
1 parent 643f73c commit e7b4111
Show file tree
Hide file tree
Showing 16 changed files with 89 additions and 528 deletions.
1 change: 0 additions & 1 deletion app/Http/View/Composers/UserMenuComposer.php
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,6 @@ public function compose(View $view)
['label' => trans('general.admin-panel'), 'link' => route('admin.view')],
['label' => trans('general.user-manage'), 'link' => route('admin.users.view')],
['label' => trans('general.report-manage'), 'link' => route('admin.reports.view')],
['label' => 'Web CLI', 'link' => '#launch-cli'],
);
}
$menuItems = $this->filter->apply('user_menu', $menuItems, [$user]);
Expand Down
20 changes: 7 additions & 13 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -69,18 +69,14 @@
"kleur": "^4.1.3"
},
"dependencies": {
"@emotion/react": "^11.0.0",
"@emotion/react": "^11.11.4",
"@emotion/styled": "^11.0.0",
"@fortawesome/fontawesome-free": "^6.3.0",
"@tweenjs/tween.js": "^23.1.1",
"admin-lte": "^3.2.0",
"blessing-skin-shell": "^0.3.4",
"bootstrap": "^5.3.3",
"cac": "6.7.14",
"cli-spinners": "^2.5.0",
"clsx": "^2.1.0",
"echarts": "^5.5.0",
"events": "^3.2.0",
"immer": "^10.0.3",
"jquery": "^3.6.0",
"lodash-es": "^4.0.8",
Expand All @@ -97,9 +93,7 @@
"skinview-utils": "^0.7.1",
"skinview3d": "^3.0.0-alpha.1",
"spectre.css": "^0.5.8",
"use-immer": "^0.9.0",
"xterm": "^5.3.0",
"xterm-addon-fit": "^0.8.0"
"use-immer": "^0.9.0"
},
"devDependencies": {
"@testing-library/jest-dom": "^6.4.2",
Expand All @@ -110,22 +104,22 @@
"@types/js-yaml": "^4.0.9",
"@types/lodash-es": "^4.0.6",
"@types/prompts": "^2.0.9",
"@types/react": "^18.2.57",
"@types/react": "^18.2.62",
"@types/react-autosuggest": "^10.1.11",
"@types/react-dom": "^18.2.19",
"@types/tween.js": "^18.5.0",
"@vitejs/plugin-react-swc": "^3.6.0",
"autoprefixer": "^10.4.17",
"autoprefixer": "^10.4.18",
"browserslist": "^4.23.0",
"browserslist-to-esbuild": "^2.1.1",
"eslint-config-xo-react": "^0.27.0",
"eslint-plugin-react": "^7.33.2",
"eslint-plugin-react": "^7.34.0",
"eslint-plugin-react-hooks": "^4.6.0",
"js-yaml": "^4.1.0",
"laravel-vite-plugin": "^1.0.1",
"laravel-vite-plugin": "^1.0.2",
"postcss": "^8.4.35",
"typescript": "^5.3.3",
"vite": "^5.1.4",
"vite": "^5.1.5",
"vite-plugin-top-level-await": "^1.4.1",
"vite-plugin-wasm": "^3.3.0",
"vitest": "^1.3.1",
Expand Down
6 changes: 0 additions & 6 deletions resources/assets/src/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -9,12 +9,6 @@ import routes from './scripts/route';
// eslint-disable-next-line @typescript-eslint/naming-convention
Object.assign(window, {React, ReactDOM, $});

const entry = document.querySelector('[href="#launch-cli"]');
entry?.addEventListener('click', async () => {
const {launch} = await import('./scripts/cli');
launch();
});

const route = routes.find(route =>
new RegExp(`^${route.path}$`, 'i').test(blessing.route),
);
Expand Down
141 changes: 0 additions & 141 deletions resources/assets/src/scripts/cli.tsx

This file was deleted.

2 changes: 0 additions & 2 deletions resources/assets/src/scripts/cli/.eslintrc.yml

This file was deleted.

23 changes: 0 additions & 23 deletions resources/assets/src/scripts/cli/AptCommand.ts

This file was deleted.

46 changes: 0 additions & 46 deletions resources/assets/src/scripts/cli/ClosetCommand.ts

This file was deleted.

23 changes: 0 additions & 23 deletions resources/assets/src/scripts/cli/DnfCommand.ts

This file was deleted.

31 changes: 0 additions & 31 deletions resources/assets/src/scripts/cli/PacmanCommand.ts

This file was deleted.

40 changes: 0 additions & 40 deletions resources/assets/src/scripts/cli/RmCommand.ts

This file was deleted.

Loading

0 comments on commit e7b4111

Please sign in to comment.