Skip to content

Commit

Permalink
[Frontend] WIP TypeScript, refactor
Browse files Browse the repository at this point in the history
  • Loading branch information
r2binx committed Oct 17, 2023
1 parent a812641 commit 04e981b
Show file tree
Hide file tree
Showing 26 changed files with 3,112 additions and 2,129 deletions.
2 changes: 1 addition & 1 deletion frontend/.eslintrc.cjs
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ module.exports = {
"plugin:vue/vue3-recommended",
"eslint:recommended",
"@vue/eslint-config-typescript",
"@vue/eslint-config-prettier",
"@vue/eslint-config-prettier/skip-formatting",
],
parser: "vue-eslint-parser",
parserOptions: {
Expand Down
14 changes: 13 additions & 1 deletion frontend/env.d.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,15 @@
/// <reference types="vite/client" />
/// <reference types="vue/macros-global" />
/// <reference types="vite-plugin-pwa/client" />
/// <reference types="vite-plugin-pwa/vue" />
/// <reference types="vite-plugin-pwa/info" />
interface ImportMetaEnv {
readonly VITE_APP_IDLEREPORTER: string;
readonly VITE_APP_WAKESERVER: string;
readonly VITE_AUTH0_DOMAIN: string;
readonly VITE_AUTH0_CLIENT_ID: string;
readonly VITE_AUTH0_AUDIENCE: string;
}

interface ImportMeta {
readonly env: ImportMetaEnv;
}
58 changes: 32 additions & 26 deletions frontend/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,10 @@
{
"name": "heimboard",
"version": "0.9.14",
"version": "0.9.15",
"packageManager": "pnpm@8.9.2+sha256.8d62573d93061f2722b7b48c9739e96cd4603c3ab153bc81c619dcb9861a214e",
"engines": {
"node": "^18.18.0"
},
"scripts": {
"dev": "vite --port 4000",
"watch": "vite build --watch --mode development",
Expand All @@ -12,34 +16,36 @@
"format": "prettier --write \"src/**/*.{ts,js,vue}\""
},
"dependencies": {
"@auth0/auth0-vue": "2.0.2",
"@vueuse/core": "^9.13.0",
"@vueuse/head": "^1.1.15",
"axios": "1.3.4",
"vue": "3.2.47"
"@auth0/auth0-vue": "^2.3.1",
"@vueuse/core": "^10.5.0",
"@vueuse/head": "^2.0.0",
"axios": "1.5.1",
"vue": "3.3.4"
},
"devDependencies": {
"@rushstack/eslint-patch": "^1.2.0",
"@types/node": "^18.14.6",
"@typescript-eslint/parser": "^5.54.0",
"@rushstack/eslint-patch": "^1.5.1",
"@tsconfig/node18": "^18.2.2",
"@types/node": "^18.18.5",
"@typescript-eslint/parser": "^6.8.0",
"@vicons/fa": "0.12.0",
"@vitejs/plugin-vue": "4.0.0",
"@vue/eslint-config-prettier": "^7.1.0",
"@vue/eslint-config-typescript": "^11.0.2",
"@vue/tsconfig": "^0.1.3",
"eslint": "^8.35.0",
"eslint-plugin-vue": "^9.9.0",
"espree": "^9.4.1",
"naive-ui": "2.34.3",
"prettier": "2.8.4",
"typescript": "^4.9.5",
"vite": "4.1.4",
"vite-plugin-checker": "^0.5.6",
"vite-plugin-inspect": "^0.7.15",
"vite-plugin-pwa": "0.14.4",
"@vitejs/plugin-vue": "4.4.0",
"@vue/eslint-config-prettier": "^8.0.0",
"@vue/eslint-config-typescript": "^12.0.0",
"@vue/tsconfig": "^0.4.0",
"eslint": "8.51.0",
"eslint-plugin-vue": "^9.17.0",
"espree": "^9.6.1",
"naive-ui": "2.35.0",
"prettier": "^3.0.3",
"typescript": "5.2.2",
"unplugin-vue-components": "^0.25.2",
"vite": "4.4.11",
"vite-plugin-checker": "^0.6.2",
"vite-plugin-inspect": "^0.7.40",
"vite-plugin-pwa": "0.16.5",
"vite-plugin-vue-devtools": "1.0.0-rc.5",
"vite-svg-loader": "4.0.0",
"vue-eslint-parser": "^9.1.0",
"vue-tsc": "1.2.0",
"workbox-window": "^6.5.4"
"vue-eslint-parser": "^9.3.2",
"vue-tsc": "1.8.19"
}
}
Loading

0 comments on commit 04e981b

Please sign in to comment.