From f713319c603abd50fcd8f3cf71a38b522c867b2c Mon Sep 17 00:00:00 2001 From: skjnldsv Date: Mon, 30 Dec 2024 14:52:50 +0100 Subject: [PATCH] fix: tsconfig vue Signed-off-by: skjnldsv --- package-lock.json | 18 +++++------------- package.json | 2 +- tsconfig.json | 8 +++++++- 3 files changed, 13 insertions(+), 15 deletions(-) diff --git a/package-lock.json b/package-lock.json index f6ee0e355a..1ffbd0287e 100644 --- a/package-lock.json +++ b/package-lock.json @@ -55,7 +55,7 @@ "@types/dockerode": "^3.3.14", "@types/jest": "^29.5.1", "@vue/test-utils": "^1.3.6", - "@vue/tsconfig": "^0.1.3", + "@vue/tsconfig": "^0.5.1", "@vue/vue2-jest": "^29.2.6", "autoprefixer": "^10.4.14", "babel-loader-exclude-node-modules-except": "^1.2.1", @@ -7524,19 +7524,11 @@ } }, "node_modules/@vue/tsconfig": { - "version": "0.1.3", - "resolved": "https://registry.npmjs.org/@vue/tsconfig/-/tsconfig-0.1.3.tgz", - "integrity": "sha512-kQVsh8yyWPvHpb8gIc9l/HIDiiVUy1amynLNpCy8p+FoCiZXCo6fQos5/097MmnNZc9AtseDsCrfkhqCrJ8Olg==", + "version": "0.5.1", + "resolved": "https://registry.npmjs.org/@vue/tsconfig/-/tsconfig-0.5.1.tgz", + "integrity": "sha512-VcZK7MvpjuTPx2w6blwnwZAu5/LgBUtejFOi3pPGQFXQN5Ela03FUtd2Qtg4yWGGissVL0dr6Ro1LfOFh+PCuQ==", "dev": true, - "license": "MIT", - "peerDependencies": { - "@types/node": "*" - }, - "peerDependenciesMeta": { - "@types/node": { - "optional": true - } - } + "license": "MIT" }, "node_modules/@vue/vue2-jest": { "version": "29.2.6", diff --git a/package.json b/package.json index a96ec072b0..ba87e67729 100644 --- a/package.json +++ b/package.json @@ -91,7 +91,7 @@ "@types/dockerode": "^3.3.14", "@types/jest": "^29.5.1", "@vue/test-utils": "^1.3.6", - "@vue/tsconfig": "^0.1.3", + "@vue/tsconfig": "^0.5.1", "@vue/vue2-jest": "^29.2.6", "autoprefixer": "^10.4.14", "babel-loader-exclude-node-modules-except": "^1.2.1", diff --git a/tsconfig.json b/tsconfig.json index aa3f5efdcf..35f977a8f6 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -12,11 +12,17 @@ "noImplicitAny": false, "resolveJsonModule": true }, + "vueCompilerOptions": { + "target": 2.7 + }, "ts-node": { // these options are overrides used only by ts-node // same as our --compilerOptions flag and our TS_NODE_COMPILER_OPTIONS environment variable "compilerOptions": { - "module": "commonjs" + "moduleResolution": "node", + "module": "commonjs", + "verbatimModuleSyntax": false } } + } \ No newline at end of file