From: Jérôme Benoit Date: Sat, 22 Apr 2023 18:58:40 +0000 (+0200) Subject: build(deps-dev): refine vue.js dashboard tsconfig.json X-Git-Tag: v1.2.11~10 X-Git-Url: https://git.piment-noir.org/?a=commitdiff_plain;h=062f83f9f42274d115b666c04357f4b10e10e400;p=e-mobility-charging-stations-simulator.git build(deps-dev): refine vue.js dashboard tsconfig.json Signed-off-by: Jérôme Benoit --- diff --git a/ui/web/package.json b/ui/web/package.json index 500f6997..7105014f 100644 --- a/ui/web/package.json +++ b/ui/web/package.json @@ -32,6 +32,7 @@ "vue-router": "^4.1.6" }, "devDependencies": { + "@tsconfig/node20": "^1.0.0", "@types/chai": "^4.3.4", "@types/mocha": "^10.0.1", "@types/node": "^18.15.13", diff --git a/ui/web/pnpm-lock.yaml b/ui/web/pnpm-lock.yaml index baf3dca1..bffa2afa 100644 --- a/ui/web/pnpm-lock.yaml +++ b/ui/web/pnpm-lock.yaml @@ -21,6 +21,9 @@ dependencies: version: 4.1.6(vue@3.2.47) devDependencies: + '@tsconfig/node20': + specifier: ^1.0.0 + version: 1.0.0 '@types/chai': specifier: ^4.3.4 version: 4.3.4 @@ -1869,6 +1872,10 @@ packages: engines: {node: '>=10.13.0'} dev: true + /@tsconfig/node20@1.0.0: + resolution: {integrity: sha512-AwbXtpWEaRUjbGVwdlusNqwet+jeSk3Nnqf/8+77WJ1/9d6xnqs2QpE9Pdwv8RCoXxtMedWEtlmWY+/irBPcUw==} + dev: true + /@types/accepts@1.3.5: resolution: {integrity: sha512-jOdnI/3qTpHABjM5cx1Hc0sKsPoYCp+DP/GJRGtDlPd7fiV9oXGGIcjW/ZOxLIvjGz8MA+uMZI9metHlgqbgwQ==} dependencies: diff --git a/ui/web/tsconfig.json b/ui/web/tsconfig.json index 7fe09db6..043cdbac 100644 --- a/ui/web/tsconfig.json +++ b/ui/web/tsconfig.json @@ -1,5 +1,8 @@ { - "extends": "@vue/tsconfig/tsconfig.json", + "extends": [ + "@tsconfig/node20/tsconfig.json", + "@vue/tsconfig/tsconfig.json" + ], "compilerOptions": { "allowImportingTsExtensions": false, "experimentalDecorators": true,