From ed348033b3f9a8f3d30ca2668612ab65b90e4cd7 Mon Sep 17 00:00:00 2001 From: lisonge Date: Thu, 23 May 2024 12:08:33 +0800 Subject: [PATCH] chore: format --- .github/workflows/deploy.yml | 2 +- index.html | 6 +++++- package.json | 5 ++++- tsconfig.app.json | 6 +----- tsconfig.node.json | 2 +- 5 files changed, 12 insertions(+), 9 deletions(-) diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index 1291080..05d6991 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -39,4 +39,4 @@ jobs: apiToken: ${{ secrets.CLOUDFLARE_API_TOKEN }} accountId: ${{ secrets.CLOUDFLARE_ACCOUNT_ID }} projectName: gkd-inspect - directory: dist \ No newline at end of file + directory: dist diff --git a/index.html b/index.html index 4b97fe6..e71648b 100644 --- a/index.html +++ b/index.html @@ -2,7 +2,11 @@ - + GKD diff --git a/package.json b/package.json index 529edc5..9b727cc 100644 --- a/package.json +++ b/package.json @@ -75,7 +75,7 @@ "volta": { "node": "20.12.2" }, - "packageManager": "pnpm@9.0.4", + "packageManager": "pnpm@9.1.2", "simple-git-hooks": { "pre-commit": "pnpm exec lint-staged" }, @@ -83,6 +83,9 @@ "*.{vue,js,jsx,cjs,mjs,ts,tsx}": [ "prettier --cache --write", "eslint --cache --fix" + ], + "*.{json,yml,html}": [ + "prettier --cache --write" ] } } diff --git a/tsconfig.app.json b/tsconfig.app.json index df411cd..2738c22 100644 --- a/tsconfig.app.json +++ b/tsconfig.app.json @@ -5,11 +5,7 @@ "compilerOptions": { "composite": true, "tsBuildInfoFile": "./node_modules/.tmp/tsconfig.app.tsbuildinfo", - "lib": [ - "ESNext", - "DOM", - "DOM.Iterable" - ], + "lib": ["ESNext", "DOM", "DOM.Iterable"], "baseUrl": ".", "paths": { "@/*": ["./src/*"] diff --git a/tsconfig.node.json b/tsconfig.node.json index bfd0949..9fa152f 100644 --- a/tsconfig.node.json +++ b/tsconfig.node.json @@ -7,7 +7,7 @@ "nightwatch.conf.*", "playwright.config.*", "plugins", - "scripts", + "scripts" ], "compilerOptions": { "composite": true,