Aaaaaand back to Deno

This commit is contained in:
Ari Liu 2024-10-20 10:21:36 +00:00
parent 9408791153
commit d11077761f
Signed by: AhriVastaya
SSH Key Fingerprint: SHA256:B1V16w1/wkA2kWFt/YMDUqSAYIj6PpN99WCxVaK2yVo
20 changed files with 4055 additions and 13637 deletions

3
.eslintrc.json Normal file
View File

@ -0,0 +1,3 @@
{
"extends": ["next/core-web-vitals", "next/typescript"]
}

21
.gitignore vendored
View File

@ -4,20 +4,33 @@
/node_modules /node_modules
/.pnp /.pnp
.pnp.js .pnp.js
.yarn/install-state.gz
# testing # testing
/coverage /coverage
# next.js
/.next/
/out/
# production # production
/build /build
# misc # misc
.DS_Store .DS_Store
.env.local *.pem
.env.development.local
.env.test.local
.env.production.local
# debug
npm-debug.log* npm-debug.log*
yarn-debug.log* yarn-debug.log*
yarn-error.log* yarn-error.log*
# local env files
.env*.local
# vercel
.vercel
# typescript
*.tsbuildinfo
next-env.d.ts

BIN
app/favicon.ico Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 25 KiB

20
app/layout.tsx Normal file
View File

@ -0,0 +1,20 @@
import type { Metadata } from "next";
export const metadata: Metadata = {
title: "RemoteShell",
description: "By Ari and Entity",
};
export default function RootLayout({
children,
}: Readonly<{
children: React.ReactNode;
}>) {
return (
<html lang="en">
<body>
{children}
</body>
</html>
);
}

7
app/page.tsx Normal file
View File

@ -0,0 +1,7 @@
export default function Home() {
return (
<div>
</div>
);
}

2273
deno.lock Normal file

File diff suppressed because it is too large Load Diff

4
next.config.mjs Normal file
View File

@ -0,0 +1,4 @@
/** @type {import('next').NextConfig} */
const nextConfig = {};
export default nextConfig;

15183
package-lock.json generated

File diff suppressed because it is too large Load Diff

View File

@ -1,39 +1,26 @@
{ {
"name": "remoteshell", "name": "remoteshell",
"version": "0.0.0", "version": "0.1.0",
"private": true, "private": true,
"dependencies": {
"@types/node": "^16.18.114",
"@types/react": "^18.3.11",
"@types/react-dom": "^18.3.1",
"react": "^18.3.1",
"react-dom": "^18.3.1",
"react-scripts": "5.0.1",
"tailwind": "^4.0.0",
"typescript": "^4.9.5"
},
"scripts": { "scripts": {
"start": "react-scripts start", "dev": "next dev",
"build": "react-scripts build", "build": "next build",
"test": "react-scripts test", "start": "next start",
"eject": "react-scripts eject" "lint": "next lint"
}, },
"eslintConfig": { "dependencies": {
"extends": [ "react": "^18",
"react-app", "react-dom": "^18",
"react-app/jest" "next": "14.2.15"
]
}, },
"browserslist": { "devDependencies": {
"production": [ "typescript": "^5",
">0.2%", "@types/node": "^20",
"not dead", "@types/react": "^18",
"not op_mini all" "@types/react-dom": "^18",
], "postcss": "^8",
"development": [ "tailwindcss": "^3.4.1",
"last 1 chrome version", "eslint": "^8",
"last 1 firefox version", "eslint-config-next": "14.2.15"
"last 1 safari version"
]
} }
} }

8
postcss.config.mjs Normal file
View File

@ -0,0 +1,8 @@
/** @type {import('postcss-load-config').Config} */
const config = {
plugins: {
tailwindcss: {},
},
};
export default config;

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.8 KiB

View File

@ -1,10 +0,0 @@
<!DOCTYPE html>
<html lang="en">
<head>
<title>RemoteShell</title>
</head>
<body>
<noscript>You need to enable JavaScript to run this app.</noscript>
<div id="root"></div>
</body>
</html>

Binary file not shown.

Before

Width:  |  Height:  |  Size: 5.2 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 9.4 KiB

View File

@ -1,25 +0,0 @@
{
"short_name": "RemoteShell",
"name": "RemoteShell",
"icons": [
{
"src": "favicon.ico",
"sizes": "64x64 32x32 24x24 16x16",
"type": "image/x-icon"
},
{
"src": "logo192.png",
"type": "image/png",
"sizes": "192x192"
},
{
"src": "logo512.png",
"type": "image/png",
"sizes": "512x512"
}
],
"start_url": ".",
"display": "standalone",
"theme_color": "#000000",
"background_color": "#ffffff"
}

View File

@ -1,10 +0,0 @@
import React from 'react';
function App() : JSX.Element {
return (
<div>
</div>
);
}
export default App;

View File

@ -1,13 +0,0 @@
import App from './App';
import React from 'react';
import ReactDOM from 'react-dom/client';
const root : ReactDOM.Root = ReactDOM.createRoot(
document.getElementById('root') as HTMLElement
);
root.render(
<React.StrictMode>
<App />
</React.StrictMode>
);

View File

@ -1,9 +0,0 @@
/** @type {import('tailwindcss').Config} */
module.exports = {
content: [],
theme: {
extend: {},
},
plugins: [],
}

19
tailwind.config.ts Normal file
View File

@ -0,0 +1,19 @@
import type { Config } from "tailwindcss";
const config: Config = {
content: [
"./pages/**/*.{js,ts,jsx,tsx,mdx}",
"./components/**/*.{js,ts,jsx,tsx,mdx}",
"./app/**/*.{js,ts,jsx,tsx,mdx}",
],
theme: {
extend: {
colors: {
background: "var(--background)",
foreground: "var(--foreground)",
},
},
},
plugins: [],
};
export default config;

View File

@ -1,26 +1,26 @@
{ {
"compilerOptions": { "compilerOptions": {
"target": "es5", "lib": ["dom", "dom.iterable", "esnext"],
"lib": [ "allowJs": true,
"dom",
"dom.iterable",
"esnext"
],
"allowJs": false,
"skipLibCheck": true, "skipLibCheck": true,
"esModuleInterop": true,
"allowSyntheticDefaultImports": true,
"strict": true, "strict": true,
"forceConsistentCasingInFileNames": true, "noEmit": true,
"noFallthroughCasesInSwitch": true, "esModuleInterop": true,
"module": "esnext", "module": "esnext",
"moduleResolution": "node", "moduleResolution": "bundler",
"resolveJsonModule": true, "resolveJsonModule": true,
"isolatedModules": true, "isolatedModules": true,
"noEmit": true, "jsx": "preserve",
"jsx": "react-jsx" "incremental": true,
}, "plugins": [
"include": [ {
"src" "name": "next"
] }
],
"paths": {
"@/*": ["./*"]
}
},
"include": ["next-env.d.ts", "**/*.ts", "**/*.tsx", ".next/types/**/*.ts"],
"exclude": ["node_modules"]
} }