-
Notifications
You must be signed in to change notification settings - Fork 43
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
ffed1e8
commit aecdd6d
Showing
37 changed files
with
1,127 additions
and
4,245 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,6 @@ | ||
.github | ||
.next | ||
.vercel | ||
|
||
/out | ||
/build | ||
/dist | ||
|
||
.idea | ||
*.iml | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
# https://editorconfig.org | ||
root = true | ||
|
||
[*] | ||
charset = utf-8 | ||
end_of_line = lf | ||
indent_size = 2 | ||
indent_style = space | ||
insert_final_newline = true | ||
trim_trailing_whitespace = true |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
import globals from 'globals' | ||
import js from '@eslint/js' | ||
import solid from 'eslint-plugin-solid/configs/typescript.js' | ||
import * as tsParser from '@typescript-eslint/parser' | ||
import tailwind from 'eslint-plugin-tailwindcss' | ||
|
||
export default [ | ||
{ languageOptions: { globals: globals.browser } }, | ||
js.configs.recommended, | ||
{ | ||
files: ['src/**/*.{ts,tsx}'], | ||
...solid, | ||
languageOptions: { | ||
parser: tsParser, | ||
parserOptions: { | ||
project: true, | ||
}, | ||
}, | ||
}, | ||
...tailwind.configs['flat/recommended'], | ||
{ | ||
rules: { | ||
// FIXME: add @typescript-eslint/no-unused-vars instead | ||
'no-unused-vars': 'off', | ||
}, | ||
ignores: ['node_modules', 'dist'] | ||
} | ||
] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,38 @@ | ||
<!doctype html> | ||
<html lang="en"> | ||
<head> | ||
<meta charset="utf-8" /> | ||
<meta name="viewport" content="width=device-width, initial-scale=1, minimum-scale=1, maximum-scale=1, user-scalable=no" /> | ||
<meta name="theme-color" content="#1B1B1F" /> | ||
<meta name="description" content="manage your openpilot experience" /> | ||
<title>connect</title> | ||
|
||
<link rel="manifest" href="/manifest.json" /> | ||
<link | ||
href="/images/favicon-16x16.png" | ||
rel="icon" | ||
type="image/png" | ||
sizes="16x16" | ||
/> | ||
<link | ||
href="/images/favicon-32x32.png" | ||
rel="icon" | ||
type="image/png" | ||
sizes="32x32" | ||
/> | ||
<link | ||
rel="stylesheet" | ||
href="https://fonts.googleapis.com/css2?family=Material+Symbols+Outlined:opsz,wght,FILL,[email protected],400,0..1,0&display=block" | ||
/> | ||
<link | ||
rel="stylesheet" | ||
href="https://fonts.googleapis.com/css2?family=Inter:[email protected]&family=JetBrains+Mono:wght@400;500&display=swap" | ||
/> | ||
</head> | ||
<body data-theme="dark" class="overflow-x-hidden bg-background text-on-background"> | ||
<noscript>You need to enable JavaScript to run this app.</noscript> | ||
<div id="root"></div> | ||
|
||
<script src="/src/index.tsx" type="module"></script> | ||
</body> | ||
</html> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -9,48 +9,41 @@ | |
"url": "https://github.com/commaai/connect-beta.git" | ||
}, | ||
"scripts": { | ||
"dev": "solid-start dev", | ||
"build": "solid-start build", | ||
"start": "solid-start start", | ||
"lint": "eslint --ext .ts,.tsx src", | ||
"lint:fix": "eslint --ext .ts,.tsx --fix src" | ||
"build": "vite build", | ||
"dev": "vite", | ||
"serve": "vite prefix", | ||
"lint": "eslint .", | ||
"lint:fix": "eslint --fix ." | ||
}, | ||
"packageManager": "[email protected]", | ||
"type": "module", | ||
"devDependencies": { | ||
"@types/luxon": "^3.2.0", | ||
"@types/mapbox__polyline": "^1.0.2", | ||
"@typescript-eslint/eslint-plugin": "^5.53.0", | ||
"@typescript-eslint/parser": "^5.53.0", | ||
"@typescript-eslint/eslint-plugin": "^7.12.0", | ||
"@typescript-eslint/parser": "^7.12.0", | ||
"autoprefixer": "^10.4.13", | ||
"eslint": "^8.34.0", | ||
"eslint-config-prettier": "^8.6.0", | ||
"eslint-plugin-prettier": "^4.2.1", | ||
"eslint-plugin-solid": "^0.10.0", | ||
"eslint-plugin-tailwindcss": "^3.9.0", | ||
"eslint": "^9.4.0", | ||
"eslint-plugin-solid": "^0.14.0", | ||
"eslint-plugin-tailwindcss": "^3.17.3", | ||
"globals": "^15.4.0", | ||
"postcss": "^8.4.21", | ||
"prettier": "2.8.4", | ||
"prettier-plugin-tailwindcss": "^0.2.2", | ||
"rollup-plugin-visualizer": "^5.9.0", | ||
"solid-start-node": "^0.2.21", | ||
"solid-devtools": "^0.30.1", | ||
"tailwindcss": "^3.2.7", | ||
"typescript": "^4.9.5", | ||
"vite": "^3.2.5" | ||
"typescript": "^5.4.5", | ||
"vite": "^5.2.12", | ||
"vite-plugin-solid": "^2.10.2" | ||
}, | ||
"dependencies": { | ||
"@mapbox/polyline": "^1.1.1", | ||
"@solidjs/meta": "^0.28.2", | ||
"@solidjs/router": "^0.7.0", | ||
"@solidjs/router": "^0.13.5", | ||
"clsx": "^1.2.1", | ||
"dayjs": "^1.11.7", | ||
"hls.js": "^1.3.3", | ||
"lodash.kebabcase": "^4.1.1", | ||
"solid-js": "^1.6.11", | ||
"solid-start": "^0.2.22", | ||
"tw-colors": "^1.1.2", | ||
"undici": "^5.20.0" | ||
"solid-js": "^1.8.17", | ||
"tw-colors": "^1.1.2" | ||
}, | ||
"engines": { | ||
"node": ">=16" | ||
"node": ">=20.11.0" | ||
} | ||
} |
Oops, something went wrong.